Jump to content
Toggle menu
  • 28 articles
  • 16 files
  • 17 users
  • 2.5K edits
Jon's Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

NextCloud: Difference between revisions

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..."
 
No edit summary
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.