Like Dropbox or any cloud service, OwnCloud is very convenient to use and it’s free. One of the main benefits of Cloud compared to other commercialized cloud storage services is the fact that it is on your own private server. If you are the type of person who loves to manage your own services, such as securing and backing up your own data without the help of others, installing OwnCloud may be for you. Since OwnCloud is an open-source environment, it gets tweaked here and there pretty often so expect updates frequently. This may be a nuisance to others; however, this indicates that the community is fairly active and striving to improve, which is always a great thing.
Let’s find out how to install OwnCloud on your own CentOS 7 server.
- Have L.A.M.P (Linux, Apache, MySQL, and PHP) installed on your server prior to proceeding with installation steps
- Secure your server with an SSL certificate
After you have installed the prerequisites listed above, make sure your server has been updated before installing OwnCloud. Not only is this necessary, it is also good practice.
#yum install owncloud
Creating a Database
Log into your MySQL and create a new database for OwnCloud by entering the following:
#mysql -u root -p
> CREATE DATABASE owncloud;
Next, we will create a new user with a password. In this example, we’ve used admin and password123 but you may want to use a stronger password for yourself.
> GRANT ALL ON owncloud.* to ‘admin’@’localhost’ IDENTIFIED BY ‘password123’;
> FLUSH PRIVILEGES;
After the above, the last step is to configure your OwnCloud. Open your browser and go to the following URL to begin. You can type in either your domain name or IP (whichever you have set up in your SSL conf):
You should now see OwnCloud’s login page.
After, proceed with logging in and follow their guide.
You may want to leave the data folder to the directory as is and select the SQL database that you have installed from the database configure step.
After, you should be able to enter your logins for the database as in the previous step.
And we’re done! Let us know if you have any questions about installing OwnCloud and we’ll be happy to help!