-
-
Save YourFriendCaspian/b07667824002c408ad900398c180d16a to your computer and use it in GitHub Desktop.
Installing nextcloud 12.0 on Debian GNU/Linux (sid) [lighttpd/mariadb]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Written: 2017-06-13 | |
### Updated: - | |
### Get, verify and unpack, delete and move the distribution package (12.0) | |
wget https://download.nextcloud.com/server/releases/nextcloud-12.0.0.tar.bz2 | |
wget https://download.nextcloud.com/server/releases/nextcloud-12.0.0.tar.bz2.sha256 | |
sha256sum -c nextcloud-12.0.0.tar.bz2.sha256 < nextcloud-12.0.0.tar.bz2.sha256 | |
tar xvf nextcloud-12.0.0.tar.bz2 && rm nextcloud-12.0.0.tar.bz2 | |
sudo mv nextcloud /var/www/html | |
### required packages | |
sudo aptitude install mariadb-server lighttpd php7.0-cgi php-fpm php-ctype php-gd php-iconv php-json php7.0-xml php7.0-xmlreader php7.0-xmlwriter php-mbstring php7.0-posix php-simplexml php7.0-zip php7.0-mysql | |
### optional packages | |
sudo aptitude install mariadb-client php7.0-curl php7.0-fileinfo php7.0-bz2 php7.0-intl php7.0-mcrypt php7.0-exif php7.0-redis php7.0-imagick | |
### Enable fastcgi mod | |
sudo lighttpd-enable-mod cgi fastcgi-php fastcgi-php | |
sudo /etc/init.d/lighttpd restart | |
### Permissions | |
sudo chown -R www-data:www-data /var/www/html/nextcloud/ | |
### Install nextcloud using the occ installer | |
cd /var/www/html/nextcloud/ | |
sudo -u www-data php occ maintenance:install --database "mysql" --database-name "nextcloud" --database-user "root" --database-pass "password" --admin-user "admin" --admin-pass "password" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment