Gyaan With Anand Nayyar1 month ago
Installing NextCloud on Ubuntu 16.04
Step 1: Login in Root
#su -
password:
Step 2: Update the System
#apt-get update
Step 3: Install LAMP Server + PHP Extension
#apt-get install lamp-server^
#apt-get install libapache2-mod-php7.0 php7.0-mbstring php7.0-curl php7.0-zip php7.0-gd php7.0-mysql php7.0-mcrypt
#apt-get install php-xml
Step 4: Download NextCloud
#wget https://download.nextcloud.com/server/releases/nextcloud-9.0.52.zip
Step 5: Unzip + Permissions
#unzip nextcloud-9.0.52.zip
#mv nextcloud /var/www/html
#chown -R www-data:www-data /var/www/html/nextcloud
Step 6: Configuring MariaDB for NextCloud
#mysql_secure_installation
Type Y for all except root password
CREATE DATABASE nextcloud;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost' IDENTIFIED BY 'anand';
FLUSH PRIVILEGES;
exit;
Step 7: Disable MariaDB binary logging
#nano /etc/mysql/my.cnf
Add the following three lines at the end:
log-bin = /var/log/mysql/mariadb-bin
log-bin-index = /var/log/mysql/mariadb-bin.index
binlog_format = mixed
Step 8: Configuring Apache Web Server
#sudo a2enmod rewrite
#touch /etc/apache2/sites-available/nextcloud.conf
#ln -s /etc/apache2/sites-available/nextcloud.conf /etc/apache2/sites-enabled/nextcloud.conf
#nano /etc/apache2/sites-available/nextcloud.conf
ln -s /etc/apache2/sites-available/nextcloud.conf /etc/apache2/sites-enabled/nextcloud.conf
Add the following:
<VirtualHost *:80>
ServerAdmin admin@ubuntu
DocumentRoot "/var/www/html/nextcloud/"
ServerName ipaddress
ServerAlias ubuntu
<Directory "/var/www/html/nextcloud/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common
</VirtualHost>
Restart the Apache web server
#systemctl restart apache2.service?
==========
next panduan setelah install mysql apache dll
https://websetnet.com/install-configure-nextcloud-ubuntu-16-04-apache/
Tuesday, June 13, 2017
Panduan Install Nextcloud
Artikel Terkait
Subscribe to:
Post Comments (Atom)
EmoticonEmoticon