Downloading The Arsse
The Arsse should run on any operating system for which PHP and a Web server are available, but only the combination of Linux, Systemd, Nginx, and PHP-FPM has been extensively tested.
Below are very generic instructions and suggestions for installing The Arsse on systems for which pre-built packages are not available.
Requirements
The Arsse has the following requirements:
- A Web server such as:
- Nginx
- Apache HTTP server 2.4 or later
- PHP 7.3.0 or later with the following extensions:
- An interface between PHP and the Web server, such as PHP-FPM
- Privileges either to create and run system services, or to run cron jobs
Installation
- Download the latest release and extract it somewhere, such as
/usr/share/arsse/
- Set up your database
- Create a configuration file if needed
- Consult the files under
dist/nginx
anddist/apache
for sample Web server configuration - Consult
dist/arsse
for a sample executable script which drops privileges on POSIX systems - Start the newsfeed fetching service:
- Sample Systemd service files are available under
dist/systemd
- A sample System V init script is available in
dist/init.sh
- A persistent process can be started by running
php arsse.php daemon
- It is also possible to use cron or a similar task-scheduling tool
- Sample Systemd service files are available under
- Create users to grant them access
Upgrading
Upgrading The Arsse is usually simple:
- Download the latest release
- Check the
UPGRADING
file for any special notes - Stop the newsfeed refreshing service if it is running
- Back up your configurationm and database
- Extract the new version on top of the old one
- Restart the newsfeed refreshing service
By default The Arsse will perform any required database schema upgrades when the new version is executed.
Occasionally changes to Web server configuration have been required, when new protocols become supported; such changes are always explicit in the UPGRADING
file