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
Last revisionBoth sides next 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:18] – [Extract the Downloaded nextcloud.zip file to the root directory of the Website virtual directory] 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>
 +
 +===== Setup a MySQL Database for the Nextcloud Installation using PhpMyAdmin =====
 +
 +Login as rootuser in PhpMyAdmin from a Web Browser on the local network and Create a Database for the Nextcloud Installation:
 +
 +Select the Database Tab, and where it says New Database Name, provide the following information.
 +
 +Example:
 +
 +database name: yourusername_nextcloud  
 +Create it.
 +
 +Select that new empty Database from the left panel.
 +
 +Create the Username - yourusername - and select 'Grant All Privileges' for the username on the new Database.
 +
 +db username: yourusername
 +
 +on: localhost
 +
 +db Password: $Pwd#4646116 (Something that meets the applicable complexity requirements)
installing_nextcloud_19_0_linux_ubuntu_20_04_lts.txt · Last modified: 2021/04/28 05:20 by wikiadmin