How To Install PHP 7.4 and PHP 7.3 ON Ubuntu 18.04/19.04/16.04

banner image

Personal cloud storage on your server similar like Dropbox : Installation OwnCloud on CentOS


OwnCloud is a open score system for File hosting for self-host. It has a good web suite that provides a cloud storage over the network, data can be uploaded via web browser or using software client. The project is based on PHP and a SQLite, MySQL or PostgreSQL database. This blog for install ownCloud on CentOS. Personal cloud storage : Installation OwnCloud on CentOS

Initial setup:

Install all CentOS current updates

yum -y update                                                                                           

Next, Need to install Apache, PHP and MySQL (LAMP) and some php extensions

Apache Install

yum -y install httpd                                                                                    

PHP Install with Extensions

yum -y install php php-mysql php-dom php-mbstring php-gd php-pdo            

MySQL Install

yum -y install mysql-server                                                                         

Start Apache using the following command:
service httpd start                                                                                      

Start  MySQL by issuing this command:
service mysqld start                                                                                    

OwnCloud Installation:

First need to download ownCloud with following command.


Extract the archive we just downloaded.

tar -jxvf owncloud-7.0.0.tar.bz2 -C /var/www/html/                                      

Next, Need to assign the permission of read and write the files to owncloud directory.

chown -R apache.apache /var/www/html/owncloud/                                      

DataBase configuration

Login to mysql server, Using the following command

mysql -u root -p                                                                                         

mysql> create database clouddb;                                                      
mysql> create user 'clouddbuser'@'localhost' identified by'password';  
mysql> grant all on clouddb.* to 'clouddbuser'@'localhost';                 
mysql> flush privileges;                                                                   
mysql> quit;                                                                                   

Apache server configuration

nano /etc/httpd/conf.d/owncloud.conf                                                           

Add the following lines in the config file.

<IfModule mod_alias.c>

Alias /owncloud /var/www/html/owncloud


<Directory “/var/www/html/owncloud”>

Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
allow from all

Restart all apache and MySQL services:

service httpd restart                                                                                 

service mysqld restart                                                                                 

OwnCloud configuration:

Open up your browser and paste http://your_ip_address/owncloud.
It will shows the initial owncloud setup page.
it must be configured before going to live.  


Now you have your own storage in the cloud. Congratulations !!              

Personal cloud storage on your server similar like Dropbox : Installation OwnCloud on CentOS Personal cloud storage on your server similar like Dropbox : Installation OwnCloud on CentOS Reviewed by Raj on October 08, 2018 Rating: 5


  1. This comment has been removed by a blog administrator.

  2. Wonderful . an amazing popular activity to use a game title server in some two to three last years. A personal game server is generally a software application over a dedicated server to let gamers gather online to relax and play against the other in a certain location. ark server hosting

  3. Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.


Powered by Blogger.