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: gd.so iconv.so xmlrpc.so zip.so extension=pdo_mysql.so bz2.so curl.so intl.so mcrypt.so 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.