There are my notes for installing Nextcloud in Arch Linux in my home server. Server installation sudo pacman -Syu apache php php-apache mariadb cower -d nextcloud sudo pacman -Syu php-gd php-intl php-mcrypt php-apcu PHP configuration sudo nano /etc/php/php.ini Uncomment the following modules: Add the following to open_basedir: /tmp:/usr/share/webapps/nextcloud:/dev/urandom MariaDB setup sudo mysql_install_db -–user=mysql -–basedir=/usr -–datadir=/var/lib/mysql sudo systemctl enable mariadb.service sudo systemctl start mariadb.