User Tools

Site Tools


Sidebar

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 DATABASE nextcloud;
GRANT ALL ON nextcloud.* TO 'nextcloud'@'localhost' IDENTIFIED BY '_Pa$$w0rd_';
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
software/nextcloud/installation.txt · Last modified: 2021/07/14 15:54 by rodolico