Installing OpenACS on Arch Linux
Make sure the Arch User Repository is set up correctly. On a fresh installation, follow the instructions as described here: https://wiki.archlinux.org/index.php/yaourt
or, in greater detail, here: https://www.digitalocean.com/community/tutorials/how-to-use-yaourt-to-easily-download-arch-linux-community-packages
Let's start with installing postgres. Postgres is automatically pulled in as a dependency of openacs, but you should verify before installing openacs that everything is working. In case anything goes wrong with your postgres installation, OpenACS will run into errors when trying to setup the database after installation.
➤ sudo pacman -S postgresql
Let's start the service and check if it runs correctly.
➤ sudo systemctl start postgresql
➤ sudo systemctl status postgresql
● postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; vendor preset: disabled)
Active: active (running) since ....
A fresh installation of postgres might require to run initdb first:
➤ sudo -u postgres -i
[postgres]➤ initdb --locale en_US.UTF-8 -E UTF8 -D '/var/lib/postgres/data'
Now let's install OpenACS.
➤ yaourt -S openacs
After the installation we can start it conveniently with systemd:
➤ sudo systemctl start openacs
➤ sudo systemctl status openacs