Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


install_nextcloud_nginx_let_encrypt_ssl_ubuntu_20_04_lts

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
install_nextcloud_nginx_let_encrypt_ssl_ubuntu_20_04_lts [2020/06/19 22:49] – [Step 6 - Configure Nginx Virtual Host for Nextcloud] wikiadmininstall_nextcloud_nginx_let_encrypt_ssl_ubuntu_20_04_lts [2020/06/19 23:21] (current) – [Step 8 - Nextcloud Post-Installation] wikiadmin
Line 428: Line 428:
  
 The Nginx virtual host configuration for nextcloud has been created. The Nginx virtual host configuration for nextcloud has been created.
 +
 +
 +===== Step 7 - Configure UFW Firewall =====
 +
 +In this tutorial, we will turn on the firewall, and we will be using the UFW firewall for Ubuntu.
 +
 +Add the SSH, HTTP and HTTPS to the UFW firewall list using the command below.
 +
 +
 +<code>
 +for svc in ssh http https
 +do
 +ufw allow $svc
 +done
 +</code>
 +
 +After that, enable the UFW firewall and check the allowed service and port.
 +
 +
 +<code>
 +ufw enable
 +ufw status numbered
 +</code>
 +
 +And you will get the HTTP port 80 and HTTPS port 443 is on the list.
 +
 +
 +===== Step 8 - Nextcloud Post-Installation =====
 +
 +Open your web browser and type the nextcloud URL address.
 +
 +And you will be redirected to the secure HTTPS connection.
 +
 +On the Top page, we need to create the admin user for nextcloud, type the admin user password. On the 'Data folder' configuration, type the full path of the 'data' directory '/var/www/nextcloud/data'.
 +
 +Scroll the page to the bottom, and you will get the database configuration. Type the database info that we've created in step 3 and then click the 'Finish Setup' button.
 +
 +If you check the option 'Install recommended apps', you will get a page listing the recommended apps to be installed.
 +
 +
 +Nextcloud is installing additional recommended applications for you.
 +
 +And after the installation is complete, you will see the Nextcloud Dashboard in your browser. 
 +
 +The Nextcloud 18 installation with Nginx web server and MySQL database on Ubuntu 20.04 has been completed successfully.
 +
 +===== Reference and Credits =====
 +
 +https://docs.nextcloud.com/
 +
 +And Muhammad Arul and his article at
 +
 +[[https://www.howtoforge.com/tutorial/ubuntu-nginx-nextcloud/]]
  
  
  
  
install_nextcloud_nginx_let_encrypt_ssl_ubuntu_20_04_lts.1592606971.txt.gz · Last modified: 2020/06/19 22:49 by wikiadmin