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 16:26] – wikiadmin | download_extract_nextcloud_27_0_ubuntu_22_04_apache2 [2023/06/21 17:39] (current) – wikiadmin | ||
---|---|---|---|
Line 19: | Line 19: | ||
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 " | 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. | ||
< | < | ||
- | sudo mkdir -p -v var/www/dbusername/ | + | cd /var/www/ |
+ | |||
+ | sudo mkdir -p -v dbusername/ | ||
- | sudo mkdir -p -v var/www/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 34: | 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 40: | Line 52: | ||
</ | </ | ||
- | This command as scripted above should change the name of the downloaded | + | This command, as scripted above, should change the name of the download |
- | After downloading, | + | After downloading, |
At this point, make sure that the ' | At this point, make sure that the ' | ||
Line 48: | Line 60: | ||
< | < | ||
sudo apt install unzip | sudo apt install unzip | ||
+ | </ | ||
+ | Resulting Installation should appear like this: | ||
+ | |||
+ | < | ||
Reading package lists... Done | Reading package lists... Done | ||
Building dependency tree... Done | Building dependency tree... Done | ||
Line 89: | Line 105: | ||
< | < | ||
- | unzip nextcloud.zip | + | sudo unzip nextcloud.zip |
</ | </ | ||
Line 95: | Line 111: | ||
< | < | ||
- | unzip nextcloud-27.0.0.zip | + | sudo unzip nextcloud-27.0.0.zip |
</ | </ | ||
From the current domain_com directory (one directory level above the nextcloud directory), use the list command with -l option to check the ownership privileges and permissions of the " | From the current domain_com directory (one directory level above the nextcloud directory), use the list command with -l option to check the ownership privileges and permissions of the " | ||
- | (code) | + | <code> |
cd / | cd / | ||
ls -l | ls -l | ||
- | (/code) | + | </code> |
Then, change the ownership privileges and permissions of the " | Then, change the ownership privileges and permissions of the " | ||
< | < | ||
- | chown -R www-data: | + | sudo chown -R www-data: |
+ | |||
+ | ls -l | ||
</ | </ | ||
Line 119: | Line 137: | ||
ls -l | ls -l | ||
- | chown -R www-data: | + | sudo chown -R www-data: |
+ | |||
+ | ls -l | ||
</ | </ |
download_extract_nextcloud_27_0_ubuntu_22_04_apache2.1687364788.txt.gz · Last modified: 2023/06/21 16:26 by wikiadmin