2.6 KiB
[TOC]
Downloading The Arsse
Since version 0.9.2 The Arsse is available from the Arch User Repository as packages arsse
and arsse-git
. The latter should normally only be used to test bug fixes.
Generic release tarballs may also be downloaded from our Web site, and the PKGBUILD
file (found under arsse/dist/arch/
) can then be extracted alongside the tarball and used to build the arsse
package. Installing directly from the generic release tarball without producing an Arch package is not recommended as the package-building process performs various adjustments to handle Arch peculiarities.
Installation
For illustrative purposes, this document assumes the yay
AUR helper will be used to download, build, and install The Arsse. This section summarises the steps necessary to configure and use The Arsse after installtion:
# Install the package
sudo yay -S arsse
# Enable the necessary PHP extensions; curl is optional but recommended; pdo_sqlite may be used instead of sqlite3, but this is not recommended
sudo sed -ie 's/^;\(extension=\(curl\|iconv\|intl\|sqlite3\)\)$/\1/' /etc/php/php.ini
# Enable and start the necessary systemd units
sudo systemctl enable php-fpm arsse
sudo systemctl restart php-fpm arsse
Note that the above is the most concise process, not necessarily the recommended one. In particular it is recommended to use /etc/php/conf.d/
to enable PHP extensions rather than editing php.ini
as done above.
The PHP extensions listed in the requirements not mentioned above are compiled into Arch's PHP binaries and thus always enabled.
Web server configuration
Sample configuration for both Nginx and Apache HTTPd can be found in /etc/webapps/arsse/nginx/
and /etc/webapps/arsse/apache/
, respectively. The example.conf
files are basic virtual host examples; the other files they include should normally be usable without modification, but may be modified if desired.
Next steps
If using a database other than SQLite, you will likely want to set it up before doing anything else.
In order for The Arsse to serve users, those users must be created.
You may also want to review the config.defaults.php
file included in /etc/webapps/arsse/
or consult the documentation for the configuration file, though The Arsse should function with the default configuration.