software:nextcloud:installation
NextCloud Installation
# first, make sure PHP is the latest version available
http://kb.unixservertech.com/unix/linux/debian/devuan_sury
apt install apache2 libapache2-mod-php mariadb-server php-xml php-cli php-cgi php-mysql php-mbstring php-gd php-curl php-zip wget unzip -y a2enmod rewrite a2enmod headers a2enmod env a2enmod dir a2enmod mime a2enmod ssl a2ensite default-ssl
joe /etc/php/7.??/apache2/php.ini
memory_limit = 512M upload_max_filesize = 500M post_max_size = 500M max_execution_time = 300 date.timezone = America/Chicago
service apache2 reload mysql_secure_installation # do what needs to be done, then # Create database mysql
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password'; CREATE DATABASE IF NOT EXISTS nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; GRANT ALL PRIVILEGES ON nextcloud.* TO 'username'@'localhost'; FLUSH PRIVILEGES;
chown www-data:www-data /var/www/html mkdir /srv/nextcloud chown www-data:www-data /srv/nextcloud/ wget https://download.nextcloud.com/server/installer/setup-nextcloud.php
Links
software/nextcloud/installation.txt · Last modified: 2023/11/01 23:28 by rodolico