To use ownCloud like any other File Sync & Share provider, you need an ownCloud server. So, let’s test the renewal feature using the following command.The structure of the Univention appliance What is an ownCloud server? Step 9: Renewing SSL CertificateĬertificates provided by Let’s Encrypt are valid for 90 days only, so you need to renew them often. This command will install Free SSL, configure redirection to HTTPS and restarts the Apache server. sudo certbot -apache -agree-tos -redirect -m -d -d Select the appropriate option and hit Enter Now we have installed Cert bot by Let’s Encrypt for Ubuntu 18.04, run this command to receive your certificates. sudo add-apt-repository ppa:certbot/certbot Due to the introduction of Let’s Encrypt, which provides free SSL certificates, HTTPS are adopted by everyone and also provides trust to your audiences. HTTPS is a protocol for secure communication between a server (instance) and a client (web browser). ServerAlias DocumentRoot /var/sudo a2ensite nf Step 8: Install Let’s Encrypt SSL Paste the following configurations in the new file. sudo nano /etc/apache2/sites-available/ nf sudo a2dissite 000-defaultĬreate a new virtual host configuration. Sudo chown -R www-data:www-data /var/www/html/owncloud Step 7: Configure Apache for ownCloudĭisable default Apache configuration. Now you need to setup correct permissions. Now ownCloud will be located inside this directory /var/www/html/owncloud Once the download is completed you can extract the zip file inside the /var/-d /var/www/html ![]() Now you can download latest ownCloud package from the official website using the wget command. Once you have modified your PHP settings you need to restart your Apache for the changes to take effect. Hit F6 for search inside the editor and update the following values for better performance. Now we configure PHP for Web Applications by changing some values in php.ini file.įor PHP 7.3 with Apache the php.ini location will be in following directory. sudo apt install php7.3 libapache2-mod-php7.3 openssl php7.3-common php7.3-mysql php7.3-xml php7.3-xmlrpc php7.3-curl php7.3-gd php7.3-imagick php7.3-dev php7.3-imap php7.3-mbstring php7.3-zip php7.3-intl php7.3-json php-ssh2 php-apcu php-redis redis-server unzip mysql-client -y Step 5: Configure PHP 7.3 for ownCloud Once you have added the PPA you can execute the following command to install PHP 7.3. sudo apt install software-properties-common Add the ondrej/php which has PHP 7.3 package and other required PHP extensions. Here we will install PHP 7.3 the current supported version for ownCloud. sudo systemctl status apache2 Step 4: Install PHP 7.3 Check the status of Apache with the following command. Once Apache is installed is is started automatically and already be up and running.Įvery process in Apache is managed with the systemctl command. ![]() OpenSSH (v6) ALLOW Anywhere (v6) Step 3: Configure Apache With this command you can view the status of UFW. Now you can set up Uncomplicated Firewall (UFW) with Apache to allow public access on default web ports for HTTP and HTTPS sudo ufw app list This will install apache2 and all required dependencies. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |