(*Es necesario cambiar las credenciales de MySQL en el último paso)
$ yum install httpd
$ cd /var/www/html/
$ wget https://download.nextcloud.com/server/releases/nextcloud-13.0.1.zip
$ unzip nextcloud-13.0.1.zip
$ yum install centos-release-scl
$ yum install rh-php70 rh-php70-php rh-php70-php-gd rh-php70-php-mbstring
$ yum install rh-php70-php-mysqlnd
$ mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php54.off
$ mv /etc/httpd/conf.modules.d/10-php.conf /etc/httpd/conf.modules.d/10-php54.off
$ cp /opt/rh/httpd24/root/etc/httpd/conf.d/rh-php70-php.conf /etc/httpd/conf.d/
$ cp /opt/rh/httpd24/root/etc/httpd/conf.modules.d/15-rh-php70-php.conf /etc/httpd/conf.modules.d/
$ cp /opt/rh/httpd24/root/etc/httpd/modules/librh-php70-php7.so /etc/httpd/modules/
$ service httpd restart
$ sudo chown -R apache: /var/www/html/nextcloud
$ cd /var/www/html/nextcloud
$ sudo -u apache /opt/rh/rh-php70/root/usr/bin/php occ maintenance:install --database "mysql" --database-name "nextcloud" --database-user "root" --database-pass "changeme" --admin-user "admin" --admin-pass "changeme"
No hay comentarios:
Publicar un comentario