installing_nextcloud_27_0_ubuntu_server_22_04_lts
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
installing_nextcloud_27_0_ubuntu_server_22_04_lts [2023/06/20 18:58] – wikiadmin | installing_nextcloud_27_0_ubuntu_server_22_04_lts [2023/06/20 19:09] (current) – wikiadmin | ||
---|---|---|---|
Line 22: | Line 22: | ||
< | < | ||
sudo mysql | sudo mysql | ||
+ | |||
</ | </ | ||
Line 32: | Line 33: | ||
GRANT ALL PRIVILEGES ON nextcloud.* TO ' | GRANT ALL PRIVILEGES ON nextcloud.* TO ' | ||
FLUSH PRIVILEGES; | FLUSH PRIVILEGES; | ||
- | </doce> | + | </code> |
You can quit the prompt by entering: | You can quit the prompt by entering: | ||
Line 52: | Line 53: | ||
Verify the MD5 or SHA256 sum: | Verify the MD5 or SHA256 sum: | ||
+ | |||
+ | < | ||
md5sum -c nextcloud-x.y.z.tar.bz2.md5 < nextcloud-x.y.z.tar.bz2 | md5sum -c nextcloud-x.y.z.tar.bz2.md5 < nextcloud-x.y.z.tar.bz2 | ||
sha256sum -c nextcloud-x.y.z.tar.bz2.sha256 < nextcloud-x.y.z.tar.bz2 | sha256sum -c nextcloud-x.y.z.tar.bz2.sha256 < nextcloud-x.y.z.tar.bz2 | ||
md5sum | md5sum | ||
sha256sum | sha256sum | ||
+ | </ | ||
+ | |||
+ | |||
You may also verify the PGP signature: | You may also verify the PGP signature: | ||
+ | < | ||
wget https:// | wget https:// | ||
wget https:// | wget https:// | ||
gpg --import nextcloud.asc | gpg --import nextcloud.asc | ||
gpg --verify nextcloud-x.y.z.tar.bz2.asc nextcloud-x.y.z.tar.bz2 | gpg --verify nextcloud-x.y.z.tar.bz2.asc nextcloud-x.y.z.tar.bz2 | ||
+ | </ | ||
+ | |||
Now you can extract the archive contents. Run the appropriate unpacking command for your archive type: | Now you can extract the archive contents. Run the appropriate unpacking command for your archive type: | ||
+ | < | ||
tar -xjvf nextcloud-x.y.z.tar.bz2 | tar -xjvf nextcloud-x.y.z.tar.bz2 | ||
unzip nextcloud-x.y.z.zip | unzip nextcloud-x.y.z.zip | ||
+ | </ | ||
+ | |||
This unpacks to a single nextcloud directory. Copy the Nextcloud directory to its final destination. When you are running the Apache HTTP server you may safely install Nextcloud in your Apache document root: | This unpacks to a single nextcloud directory. Copy the Nextcloud directory to its final destination. When you are running the Apache HTTP server you may safely install Nextcloud in your Apache document root: | ||
+ | |||
+ | < | ||
sudo cp -r nextcloud /var/www | sudo cp -r nextcloud /var/www | ||
+ | </ | ||
+ | |||
+ | COMMENT: | ||
+ | |||
Finally, change the ownership of your Nextcloud directories to your HTTP user: | Finally, change the ownership of your Nextcloud directories to your HTTP user: | ||
+ | < | ||
sudo chown -R www-data: | sudo chown -R www-data: | ||
+ | </ | ||
+ | |||
On other HTTP servers it is recommended to install Nextcloud outside of the document root. | On other HTTP servers it is recommended to install Nextcloud outside of the document root. | ||
- | Next steps | + | Next steps |
- | After installing the prerequisites and extracting the nextcloud directory, you should follow the instructions for Apache configuration at Apache Web server configuration. Once Apache is installed, you can optionally follow the Installation on Linux guide from Pretty URLs until Other Web servers | + | |
+ | After installing the prerequisites and extracting the nextcloud directory, you should follow the instructions for Apache configuration at Apache Web server configuration | ||
+ | |||
+ | Once Apache is installed, you can optionally follow the Installation on Linux guide https:// |
installing_nextcloud_27_0_ubuntu_server_22_04_lts.1687287523.txt.gz · Last modified: 2023/06/20 18:58 by wikiadmin