How to install owncloud in Ubuntu 12.10

In this we will learn,how to install owncloud in Ubuntu 12.10. Owncloud is a free and opensource software.Through owncloud you can store,sync or share data.
The owncloud is managed through web browser by user.

In this tutorial we are installing the owncloud with the help of apt-get command.
You can download the package supporting other O.S from the given below URL
Download Link:
http://software.opensuse.org/download/package?project=isv:ownCloud:community&package=owncloud

Now we will start installing owncloud in Ubuntu

Step 1: Install the owncloud with the help of apt-get command

sudo apt-get install owncloud apache2 mysql-server php5

Step 2: While installing the mysql-server from above command it asked you to set the root mysql password.Use the same mysql root password to login into localhost mysql server.
In mysql-server we will create a user,database and grant privileges to user on the database.

$ sudo /etc/init.d/mysql restart

$ mysql -u root -p

After login you will the mysql console like this
mysql >

Now create a user and set the password. Use strong password

mysql> CREATE USER 'ownclouduser'@'localhost' IDENTIFIED BY 'Password';

Now create database

mysql> create database owncloud;

Now Grant privileges to user to database

mysql> GRANT ALL ON owncloud.* TO 'ownclouduser'@'localhost';

mysql> flush privileges;

mysql> exit

Restart the mysql service once (Optional,not necessary)

$ sudo /etc/init.d/mysql restart

Step 3: Start the apache2

$ sudo /etc/init.d/apache2 restart

Step 4: Open the owncloud console in web browser (firefox,chrome etc.)

http://localhost/owncloud

Now you will get the owncloud console like this in web browser

owncloud

Step 5 : Fill all the required field in owncloud page. And click on Finish Setup button.

Now you will be directly login into the owncloud console page.Try uploading some files and check is everything working or not.
This is the final step, now you can start uploading and sharing the files through owncloud console.

owncloud3

If you are facing problem while uploading the file and getting the error “The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the html form”

Click to this post https://sharadchhetri.com/2013/03/29/the-uploaded-file-exceeds-the-max_file_size-directive-that-was-specified-in-the-html-form/

3 thoughts on “How to install owncloud in Ubuntu 12.10”

  1. Installation half successful: Web interface worked properly, but client on OSX failed.

    I’m going to uninstall via apt and reinstall manually.

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.