download_extract_nextcloud_27_0_ubuntu_22_04_apache2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
download_extract_nextcloud_27_0_ubuntu_22_04_apache2 [2023/06/21 15:30] – wikiadmin | download_extract_nextcloud_27_0_ubuntu_22_04_apache2 [2023/06/21 17:39] (current) – wikiadmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Download and Extract the Latest Version of NextCloud onto Ubuntu Server 22.04 having Apache2 Webserver ====== | ====== Download and Extract the Latest Version of NextCloud onto Ubuntu Server 22.04 having Apache2 Webserver ====== | ||
- | As of the time this article was posted, the latest NextCloud version was 27.0.0. | + | As of the time this article was posted |
Let's first plan and provision the NextCloud web space structure on the Ubuntu / Apache2 server. | Let's first plan and provision the NextCloud web space structure on the Ubuntu / Apache2 server. | ||
Line 9: | Line 9: | ||
index.html is the default html test page that is contained in that directory in order to show whether the Apache2 webserver was correctly installed. | index.html is the default html test page that is contained in that directory in order to show whether the Apache2 webserver was correctly installed. | ||
- | Suggestions as follow - Replacing ' | + | Suggestions as follow - **Replacing ' |
- | * Make and put the NextCloud website directory into a new path adjacent to the above default website path | + | * Make and put the "/NextCloud/" |
* Example: / | * Example: / | ||
- | * Make and move the NextCloud data directory path outside but adjacent to the new website path | + | * Make and move the NextCloud |
* Example: / | * Example: / | ||
Use the Make Directory command ' | Use the Make Directory command ' | ||
+ | |||
+ | You might want to use mkdir command with the -p option (path create) and/or the -v option (verbose to have linux tell you each directory that was created). **You should change the directory names appearing after " | ||
+ | |||
+ | Assume we want these two directory paths: | ||
+ | |||
+ | / | ||
+ | |||
+ | and | ||
+ | |||
+ | / | ||
+ | |||
+ | So, first switch to the /var/www/ directory as the current working directory. Then, make the directory path below the /var/www/ level. | ||
+ | |||
+ | < | ||
+ | cd /var/www/ | ||
+ | |||
+ | sudo mkdir -p -v dbusername/ | ||
+ | |||
+ | sudo mkdir -p -v dbusername/ | ||
+ | </ | ||
Next, download the latest version of NextCloud zip file into the subdirectory that is located one level above the /nextcloud/ subdirectory in the website path, i.e. the / | Next, download the latest version of NextCloud zip file into the subdirectory that is located one level above the /nextcloud/ subdirectory in the website path, i.e. the / | ||
- | Switch | + | First, switch |
< | < | ||
Line 26: | Line 46: | ||
</ | </ | ||
- | Use the wget / curl command to download the latest NextCloud Release as a zip file to the current working directory. | + | Then, use the wget / curl command to download the latest NextCloud Release as a zip file to the current working directory. |
< | < | ||
Line 32: | Line 52: | ||
</ | </ | ||
- | This should change the name of the downloaded | + | This command, as scripted above, |
- | After downloading, | + | After downloading, |
At this point, make sure that the ' | At this point, make sure that the ' | ||
Line 40: | Line 60: | ||
< | < | ||
sudo apt install unzip | sudo apt install unzip | ||
+ | </ | ||
+ | |||
+ | Resulting Installation should appear like this: | ||
+ | |||
+ | < | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree... Done | ||
+ | Reading state information... Done | ||
+ | Suggested packages: | ||
+ | zip | ||
+ | The following NEW packages will be installed: | ||
+ | unzip | ||
+ | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | ||
+ | Need to get 174 kB of archives. | ||
+ | After this operation, 385 kB of additional disk space will be used. | ||
+ | Get:1 http:// | ||
+ | Fetched 174 kB in 0s (484 kB/s) | ||
+ | Selecting previously unselected package unzip. | ||
+ | (Reading database ... 82975 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking unzip (6.0-26ubuntu3.1) ... | ||
+ | Setting up unzip (6.0-26ubuntu3.1) ... | ||
+ | Processing triggers for mailcap (3.70+nmu1ubuntu1) ... | ||
+ | Processing triggers for man-db (2.10.2-1) ... | ||
+ | Scanning processes... | ||
+ | Scanning candidates... | ||
+ | Scanning processor microcode... | ||
+ | Scanning linux images... | ||
+ | |||
+ | Running kernel seems to be up-to-date. | ||
+ | |||
+ | The processor microcode seems to be up-to-date. | ||
+ | |||
+ | No services need to be restarted. | ||
+ | |||
+ | No containers need to be restarted. | ||
+ | |||
+ | No user sessions are running outdated binaries. | ||
+ | |||
+ | No VM guests are running outdated hypervisor (qemu) binaries on this host. | ||
</ | </ | ||
Line 45: | Line 105: | ||
< | < | ||
- | unzip nextcloud.zip | + | sudo unzip nextcloud.zip |
</ | </ | ||
Line 51: | Line 111: | ||
< | < | ||
- | unzip nextcloud-27.0.0.zip | + | sudo unzip nextcloud-27.0.0.zip |
</ | </ | ||
- | From the current domain_com directory, use the list command with -l option to check the ownership privileges of the " | + | From the current domain_com directory |
+ | |||
+ | < | ||
+ | cd / | ||
- | (code) | ||
ls -l | ls -l | ||
- | (/code) | + | </code> |
- | Then, change the ownership privileges of the " | + | Then, change the ownership privileges |
< | < | ||
- | chown -R www-data: | + | sudo chown -R www-data: |
+ | |||
+ | ls -l | ||
+ | </ | ||
+ | |||
+ | Switch to the storage '/ | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | |||
+ | ls -l | ||
+ | |||
+ | sudo chown -R www-data: | ||
+ | |||
+ | ls -l | ||
</ | </ |
download_extract_nextcloud_27_0_ubuntu_22_04_apache2.1687361450.txt.gz · Last modified: 2023/06/21 15:30 by wikiadmin