![]() Increase productivity - Work simultaneously on documents, create presentations together in real-time, annotate files, and much more, thereby saving time on coordination and feedback processes.sudo nano /etc/apache2/sites-available/000-default.sudo nano /etc/apache2/sites-available/nf.sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/owncloud.key -out /etc/ssl/certs/owncloud.crt.sudo chown -R www-data: /var/www/owncloud. ![]() sudo apt-get install php php-gd php-curl php-mysqlnd php-intl php-json php-ldap php-mbstring php-xml php-zip -y.Sudo nano /etc/apache2/sites-available/nfĪnd in this editor by entering the following:Īfter these actions, your cloud storage will be available. This way you will get access to your cloud storage, and also if you need you can make a redirect to HTTPS with automatic using the command to do this, enter the following:Īfter that, restart the Apache server and go to your IP address or domain. It is necessary for the changes to take effect, and it is also necessary to include several additions. Local host - replace with your domain or IP address of the server. SSLCertificateKeyFile /etc/ssl/private/owncloud.key SSLCertificateFile /etc/ssl/certs/owncloud.crt In this file, you will need to enter the following. Sudo nano /etc/apache2/sites-available/nfĪfter entering this command, a text editor will open in which we will configure the Apache server. Since we are using the command line, we need to enter the following command to configure: Sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/owncloud.key -out /etc/ssl/certs/owncloud.crt Configuring Apache Server Next, we will create a secure SSL certificate using the command: This is all done by the following two commands: In order to install the SSL certificate protocol, you will need to enter the command and restart the apache server. Sudo chown -R www-data: /var/www/owncloud Installing an SSL certificate Using this command, the latest free version of your own cloud will be downloaded to your server.Īfter unpacking this archive, you will have an owncloud directory created, move it to the apache directory and change the owner to www-data using the commands: In order to download owncloud, use the command and then unpack it. GRANT ALL ON databasename.* TO WITH GRANT OPTION.You can do all this with the following commands: Next, log in to MySQL and create: a database, a user and give him the rights to access the database, then log out of the MySQL database. You will need to enable MySQL on your server using the following commandsĪfter that, configure it using the command Sudo systemctl restarts apache2 Installing a MySQL Server Sudo apt-get install php php-gd php-curl php-mysqlnd php-intl php-json php-ldap php-mbstring php-xml php-zip -yĪfter that restart the apache server using the command You will need to install protocols for PHP this is done using the following command If your page shows the same as the screenshot above, then everything went well. To install the lamp stack on your server, you will need to enter the following command on behalf of the root user.Īfter the installation of this stack is completed, start the apache server using the commands.Īfter starting the Apache server, you can check whether it works by entering the IP address of your server in the address bar. The first thing to do is to check if your server needs updates by entering the commands one by oneĪfter checking the system and updating (if necessary), you can restart it if the system requires it, or proceed to the next step. We will install it on a server built on Ubuntu 20.04 and the latest version of ownCloud at the moment is 10.9.1 ![]() However, if you need a printed version of the instructions, then it will be slightly lower. We have a video instruction that will clearly explain to you what actions you need to do to install owncloud on the server. If suddenly you need to create your own cloud storage on the server, then you can choose a owncloud file with because it is free (The version is very limited, but you can use it).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |