Difference between revisions of "NextCloud"

From Jon's Wiki
(Created page with "Assumes Ubuntu 20.04, stable19 branch (c. September 2020). == Install prerequisites == sudo apt install apache2 libapache2-mod-php7.4 \ php7.4-{curl,gd,intl,json,mbstri...")
 
Line 4: Line 4:
  
 
  sudo apt install apache2 libapache2-mod-php7.4 \
 
  sudo apt install apache2 libapache2-mod-php7.4 \
     php7.4-{curl,gd,intl,json,mbstring,opcache,pgsql,tidy,xmlrpc,xsl,zip}
+
     php7.4-{bcmath,curl,gd,gmp,intl,json,mbstring,opcache,pgsql,tidy,xmlrpc,xsl,zip}
 
     php-{imagick,redis} composer dehydrated postgresql redis-server
 
     php-{imagick,redis} composer dehydrated postgresql redis-server
 
   
 
   

Revision as of 01:29, 8 September 2020

Assumes Ubuntu 20.04, stable19 branch (c. September 2020).

Install prerequisites

sudo apt install apache2 libapache2-mod-php7.4 \
   php7.4-{bcmath,curl,gd,gmp,intl,json,mbstring,opcache,pgsql,tidy,xmlrpc,xsl,zip}
   php-{imagick,redis} composer dehydrated postgresql redis-server

cd /var/www
git clone https://github.com/nextcloud/server.git nextcloud && cd nextcloud
git submodule update --init --recursive
chown www-data:www-data config apps .htaccess
sudo -u www-data ./occ maintenance:update:htaccess
mkdir /var/lib/nextcloud/data
chown -R www-data:www-data /var/lib/nextcloud

Create a database. Bump up the PHP memory limit to at least 512M.