Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


installing_nextcloud_19_0_linux_ubuntu_20_04_lts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
installing_nextcloud_19_0_linux_ubuntu_20_04_lts [2020/06/09 07:55] – created wikiadmininstalling_nextcloud_19_0_linux_ubuntu_20_04_lts [2021/04/28 05:20] (current) – [Setup a MySQL Database for the Nextcloud Installation using PhpMyAdmin] wikiadmin
Line 18: Line 18:
  
 ===== Download the NextCloud Zip File to the Server ===== ===== Download the NextCloud Zip File to the Server =====
 +
 +SSH to login to the server and obtain a command line prompt.  Make a directory names downloads. 
  
 <code>sudo mkdir /downloads/</code> <code>sudo mkdir /downloads/</code>
 +
 +Change directory to the downloads directory:
  
 <code>cd /downloads/ </code> <code>cd /downloads/ </code>
 +
 +Download the nextcloud-19.0.0.zip file using the option to change the target filename to nextcloud.zip in the /downloads/ directory.
  
 <code>  <code> 
 sudo wget -O nextcloud.zip https://download.nextcloud.com/server/releases/nextcloud-19.0.0.zip sudo wget -O nextcloud.zip https://download.nextcloud.com/server/releases/nextcloud-19.0.0.zip
 </code> </code>
 +
 +===== Extract the Downloaded nextcloud.zip file to the root directory of the Website virtual directory =====
 +
 +Example Extract Folder to the path of the root directory of the website:
 +
 +/var/www/exampledomain/public_html/examledomain_com/nextcloud/
 +
 +Install Unzip utility
 +
 +<code>sudo apt install unzip </code>
 +
 +Unzip the nextcloud.zip file to the directory one step in the path before the root 'nextcloud' sub-directory of your website virtual directory, which will extract the files into the nextcloud sub-directory.  So the target subdirectory should terminate at /exampledomain_com/ because /nextcloud/ will be the sub-directory where the nextcloud files will be extracted per the structure within the Zip file. Change 'exampledomain' to your secondary domain name where it appears in the unzip path below.  You must adjust the path based on where you set up the virtual directory in your website.conf file in the /etc/apache2/sites-available/ directory, and ultimately, as the path of your website.conf file enabled in you /sites-enabled/ directory.
 +
 +<code>
 +cd /downloads/
 +
 +sudo unzip nextcloud.zip -d /var/www/exampledomain/public_html/exampledomain_com/
 +</code>
 +
 +Make the Apache web-user the owner of the nextcloud directory so that the Apache server has access to the website root and all subdirectories.
 +
 +<code>
 +sudo chown www-data:www-data /var/www/exampledomain/public_html/exampledomain_com/nextcloud/ -R
 +</code>
 +
 +
installing_nextcloud_19_0_linux_ubuntu_20_04_lts.1591689354.txt.gz · Last modified: 2020/06/09 07:55 by wikiadmin