• Skip to primary navigation
  • Skip to main content
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

How to install owncloud in Ubuntu 12.10

March 29, 2013 by Sharad Chhetri 3 Comments

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/

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. Setup Owncloud 6 with self signed SSL certificate on Ubuntu 13.10
  2. Installing owncloud in Ubuntu 13.04
  3. How to configure self signed SSL certificate in owncloud Ubuntu
  4. How to install owncloud in Debian Wheezy 7
  5. How to install Owncloud 6 in Ubuntu 13.10 Server
  6. How to install Owncloud 6 on Ubuntu 14.04 LTS Server
  7. Your data directory and files are probably accessible from the internet because the .htaccess file does not work owncloud
  8. how to mount NAS storage in owncloud to keep all users data
  9. How to rescan filesystem in owncloud 5
  10. Reindex lucene search in owncloud 5.0.22

Filed Under: Linux, owncloud, Server Tagged With: owncloud

Reader Interactions

Comments

  1. Hawkeye King says

    June 12, 2013 at 7:39 pm

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

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

    Reply
  2. Tuyre says

    April 10, 2013 at 7:30 pm

    White on white text… code snippets not readable.

    Reply
    • admin says

      April 29, 2013 at 2:17 am

      Thanks,code snippets issue is rectified

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy