First, make sure that all your system packages are up-to-date by running the following apt commands in the terminal. Install OwnCloud on Ubuntu 20.04 LTS Focal Fossa We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root. A non-root sudo useror access to the root user.SSH access to the server (or just open Terminal if you’re on a desktop).It’s recommended that you use a fresh OS install to prevent any potential issues.A server running one of the following operating systems: Ubuntu 20.04, 18.04, and any other Debian-based distribution like Linux Mint or elementary OS.You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint. I will show you the step-by-step installation of OwnCloud on Ubuntu 20.04 (Focal Fossa). The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘ sudo‘ to the commands to get root privileges. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. You can access it via the good-looking and easy-to-use web interface or install the OwnCloud client on your Desktop or Laptop machine (supports Linux, Windows, and macOS). OwnCloud also enables you to easily view and sync address books, calendar events, tasks, and bookmarks. Owncloud is made by PHP and backend database MySQL (MariaDB), SQLLite, or PostgreSQL. OwnCloud is similar to DropBox service with the difference of being free to download and install on your private server. For those of you who didn’t know, OwnCloud is free and open-source software that enables you to create a private “file-hosting” cloud. You can do the same for your mobile device or tablet.In this tutorial, we will show you how to install OwnCloud on Ubuntu 20.04 LTS. Once your install is complete you will be able to download ownclouds own filesync client or you can use a WebDAV client to navigate through your files. SSLCertificateKeyFile /etc/apache2/ssl/apache.keyĪt this point your should be able to visit your box’s url ( or or ) and finish installing owncloud with the native install wizard. SSLCertificateFile /etc/apache2/ssl/apache.crt Edit default-ssl in sites-available folder in your apache install ( vim /etc/apache2/sites-available/default-ssl ) and comment out lines add the following lines 51 & 52 (use a #).Note: Your going to be asked a couple of questions after you run this command, answer them as accurate as possible as this will be displayed on your cert when people try to access your site. now lets generate a general cert with the following command ( openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt ).Now your going to want to create a directory to store your SSL certs ( mkdir /etc/apache2/ssl ).Now lets install our SSL and get it configured correctly: These credentials will be used later in the process. Create a new database in mysql and call it owncloud, create a new user and password with specific access to the owncloud database.Restart your apache service ( service apache2 restart ).Your going to want to enable mod_rewrite ( a2enmod rewrite ).( chown -R www-data:www-data /var/www/data ) Note: Keep in mind that /var/www is just the default root folder of apache yours might be different, just make sure you make the appropriate changes so they point to your apache/web install. ![]() ![]() ( chown -R www-data:www-data /var/www/config ) ( chown -R www-data:www-data /var/www/apps ) For owncloud to configure & work correctly apache needs to be given ownership of certain folders so their is no problem for apache to read and write data inside your website.Run the following commands.Inside your owncloud root directory create a new folder called “data” ( mkdir data ).Upload extracted files to your apache root ( default is located at /var/www ), you can install vsftpd server( apt-get install vsftpd )or any other type of ftp server service.Install more server dependances ( apt-get install php5-sqlite php5-mysql php5-pgsql smbclient curl libcurl3 php5-curl ). ![]()
0 Comments
Leave a Reply. |