Create your Own Cloud Server on Linux

In the previous article ‘Create your own Custom Cloud Server (Windows)’ we have mentioned the steps that are required to create your own cloud on Windows. This article is dedicated to the Linux users where you will get to know about the installation process to host your own cloud on Linux.

You have to fulfill the following requirements to install the web server to get your cloud running on Linux area:

PHP 5.3, php5-json, php-xml, php-mbstring, php5-zip, php5-gd, and optionally php5-sqlite (>=3), curl, libcurl3, libcurl3-dev, php5-curl, php-do.

If your system fulfills all the above needs, then you have to draw up some commands on the web server:

apt-get install apache2 php5 php5-json php-xml php-mbstring php5-zip php5-gd

apt-get install php5-sqlite curl libcurl3 libcurl3-dev php5-curl php-pdo

Download the latest stable release or latest development version, and run the following commands

tar -xjf path/to/downloaded/owncloud-x.x.x.tar.bz2
cp -r owncloud /path/to/your/webserver

After these commands, you need to set the permissions for config/ and data/

chown -R www-data:www-data /path/to/your/owncloud/install/data

Finally you need to make sure that .htaccess is configured properly regarding security concern.

If you are running the apache webserver, it is recommended that you enable .htaccess files as ownCloud uses them to enhance security and allows you to use webfinger. To enable .htaccess files you need to ensure that ‘AllowOverride’ is set to ‘All’ in the ‘Directory /var/www/’ section of your virtual host file. This is usually in /etc/apache2/sites-available/000-default. You should also run ‘a2enmod rewrite’ and ‘a2enmod headers’. Then restart apache: service apache2 restart (for Ubuntu systems).

Once that is done, you need to start the install wizard by loading the http://IP/owncloud/index.php and follow the wizard.  Take a look at the distro notes for additional instructions for specific distributions.

This is all you have to do to host your own cloud web server. However there are other alternatives available if you do not want to access to your own web server running Linux or if you don’t want to use it to host your files online. The other alternative is that you can use the third party hosting providers.

The links of some third party hosting services are available on the homepage of OwnCloud. For example you can get 5 or 6 gigabytes of free cloud hosting space. If you want more space, then the plan for 100 gigabytes of space is available for $6.60 per month, an admin account for a multiple users and 150 Gigabytes of free storage $13 per month.

Visit the homepage using the link given below for further information.

Download OwnCloud

One Reply to “Create your Own Cloud Server on Linux”

Leave a Reply