lunes, 3 de noviembre de 2014

install ownCloud on Ubuntu

ownCloud is one of the best file storage and private cloud opensource project available. In  a next POST I will explain the benefits. Meanwhile these are the steps to install it on Debian and Ubuntu:

1. install apache2, php and mysql

2. install these complements:
  sudo apt-get install php5-gd php-xml-parser php5-intl smbclient curl php5-curl

3. enable these 2 modules on apache:
  sudo a2enmod rewrite
  sudo a2enmod headers

4. modify the 'default' config file:
  sudo nano /etc/apache2/sites-available/default

5. inside this file look for the line : '', inside this directory definition change the line AllowOverride None for this:
  AllowOverride All

Save it

6.  restart apache:

 sudo service apache2 restart

7. download ownCloud:
   wget http://download.owncloud.org/community/owncloud-latest.tar.bz2

8. decompress it:
  tar -xjf owncloud-latest.tar.bz2

9. move the directory to 'www':
  mv owncloud /var/www

10. change the owner's directory:
  sudo chown -R www-data:www-data /var/www/owncloud/

11. let's create a database for owncloud using mysql:
  mysql -u user -p
 create database owncloud;
 grant all on owncloud.* to 'owncloud'@'localhost' identified by 'yourpaasswortdhere';

12. Cool, finally go to a web browser and type:
  localhost/owncloud

13. That's it, just add and admin user and password and you're ready

All the best


 

No hay comentarios:

Publicar un comentario