Install A2enmod Fedora
This tutorial shows you how to install NextCloud on Debian 9 with LAMP stack. NextCloud is a free and opensource selfhosted cloud storage solution. How to Install Next. Cloud on Debian 9 Stretch with LAMPThis tutorial is going to show you how to install Next. Cloud on Debian 9 with LAMP stack. Next. Cloud is a free and open source self hosted cloud storage solution, providing an alternative to third party cloud storage services like Dropbox. Prerequisites. To follow this tutorial, you need the following Step 1 Download Next. Cloud. Download the Next. Shellinabox With Apache Authentication Over HTTPS 443 shellinabox is an amazing webbased SSH client. It is very handy if you are not on a machine with. NextCloud is a Dropboxlike solution for selfhosted file sharing and syncing. Installing NextCloud on Ubuntu is trivial, learn how to do it today Ive got fresh install of Apache 2. Vista machine, everything works fine, except mod rewrite. Ive uncommented LoadModule rewritemodule modulesmodrewrite. The Apache HTTP server is the most widelyused web server in the world. It provides many powerful features including dynamically loadable modules, robust media. Openssl. apachehttps Openssl aptget install openssl. PrePackaged, Binary Installation. The easiest method of installing ModSecurity is to use your existing OS Package Manager application Yum or Aptitude to install it. Cloud server zip archive onto your Debian 9 system with the following command. The latest stable version is 1. There may be a newer version when you follow this tutorial. Install-Lets-Encrypt-for-Apache-on-CentOS.png' alt='Install A2enmod Fedora' title='Install A2enmod Fedora' />Go to https nextcloud. To get the download link of Next. Cloud, simply right click on Download Next. Cloud button and select Copy Link Location as shown in the screenshot below. Extract it to varwww directory with un Now we make www data Apache user as the owner of varwwwnextcloud. RStep 2 Create a Database and User in Maria. DBLog into Maria. DB database server with the following command sudo mariadb u root. Then create a database for Next. Cloud using the Maria. Fedora-httpd-test-page-1024x487.png' alt='Install A2enmod Fedora' title='Install A2enmod Fedora' />DB command below. This tutorial name the database nextcloud. You can use whatever name you like. How To Make A Random World Generator In Game Maker. Dont leave out the semicolon at the end. Then create a separate user. Again, you can use your preferred name for this user. Replace your password with your preferred password. The above command will create the user and grant all privileges. Now flush Maria. DB privileges and exit. Step 3 Enable Binary Logging in Maria. DBEdit Maria. DB configuration file. Add the following three lines in mysqld section. The format of binary log must be mixed. Save and close the file. Then restart Maria. DB service. sudo systemctl restart mariadb. Now binary log is enabled in Maria. DB. Step 4 Create an Apache Virtual Host File for Nextcloud. We will create a nextcloud. Copy and paste the following lines in the file. Replace the red text with your actual domain name. You also need to point your domain name to the IP address of your Debian 9 server in DNS. Virtual. Host 8. 0. Document. Root varwwwnextcloud. Server. Name nextcloud. Error. Log APACHELOGDIRerror. Custom. Log APACHELOGDIRaccess. Directory varwwwnextcloud. Options Follow. Symlinks. Allow. Override All. If. Module moddav. If. Module. Set. Env HOME varwwwnextcloud. Set. Env HTTPHOME varwwwnextcloud. Directory. lt Virtual. Host. Save and close the file. Then enable this virtual host using the command below. We also need to enable some Apache modules. Install needed PHP modules. Restart Apache so that the above Apache and PHP modules can be loaded. Step 5 Enabling HTTPSNow you can access the Nextcloud web install wizard in your browser by entering the domain name for your Nextcloud installation. Before entering any sensitive information, we should enable secure HTTPS connection on Nextcloud. We can obtain a free TLS certificate from Lets Encrypt. Install certbot Lets Encrypt client from Debian 9 repository. Now issue the following command to obtain a free TLSSSL certificate. Replace the red colored text with your actual data. Explanation apache Use the apache plugin. Agree terms of service. Automatically redirect all HTTP traffic to HTTPS. Add the Strict Transport Security header. Within a few seconds, you shall see a message like below, which means the TLS certificate was successfully obtained and installed. The TLS configuration scores A in SSL test. Finish the Installation in your Web Browser. Now in your web browser address bar, type in your Next. Cloud domain name. You will see that its automatically redirected to https. You will need to create an admin account. The data folder is where users files are stored. For security reasons, its best to place the data directory outside of Nextcloud web root, such as varwwwnextcloud data. Then make sure the Apache user www data has write permission to the data directory. RThen enter the database username, database name and password you created earlier to connect Nextcloud to Maria. DB database. Once its done, you will see the Web interface of Nextcloud. Congrats You can now start using it as your private cloud storage. I hope this tutorial helped you install Next. Cloud on Debian 9 with LAMP stack. As always, if you found this post useful, then subscribe to our free newsletter to get new tutorials. Rate this tutorialTotal 1.