• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

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

How to install Owncloud 6 in Ubuntu 13.10 Server

January 16, 2014 by Sharad Chhetri 43 Comments

In this tutorial we will learn,how to install Owncloud 6 in Ubuntu 13.10 Server.Recently, the Owncloud community has released its new verison called Owncloud 6. Owncloud is one the best alternative for Dropbox and Google Drive. You can self host the Owncloud very quickly in short span of time.You can access,share and sync the data from owncloud from computers and mobile devices.

Detail of Server in which practical is done

Operating System: Ubuntu 13.10 Server editon
Operating System Architecture: x86_64
IP Address: 192.168.56.102

To install Owncloud 6 in Ubuntu 13.10,follow the given below steps

Step 1: Become a superuser

Login into Ubuntu System.Open the terminal and become a superuser by typing given below password

sudo su -

Step 2: Add Owncloud repository information in Apt source list file

Run the below command to add Owncloud repo URL in Apt source list file

apt-get install -y wget

sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_13.10/ /' >> /etc/apt/sources.list.d/owncloud.list"

wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_13.10/Release.key

apt-key add - < Release.key  

apt-get update

Step 3: Install Web Server,Database Server,Owncloud package and PHP 5

Run the below given command to install apache,mysql-server,owncloud and php version 5. While installation it will ask to give new password for MySQL root user.Hence give new MySQL root password while installation.

apt-get install owncloud apache2 mysql-server php5 php5-mysql

Step 4: Edit the apache2.conf file

First take the backup of apache2.conf file,

cp -p /etc/apache2/apache2.conf /etc/apache2/apache2.conf.orig

Now edit the apache2.conf, find the line <Directory /var/www> .Now replace AllowOverride None to AllowOverride All as given below.
Note: I have edited with vim editor,use your favorite editor

vim /etc/apache2/apache2.conf


        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted

Step 5: Edit the owncloud.conf file

First we will take backup of owncloud.conf file. Clear all the contents from /etc/apache2/conf.d/owncloud.conf and paste below given content.

cp -p /etc/apache2/conf.d/owncloud.conf  /etc/apache2/conf.d/owncloud.conf.orig
vim /etc/apache2/conf.d/owncloud.conf 


    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Require all granted

Step 6: Enable rewrite module in apache

Enable rewrite module in apache and restart the apache service

a2enmod rewrite

/etc/init.d/apache2 restart

Step 7: Create Database and user for owncloud in MySQL server

We will create database called owncloud and mysql user called ownclouduser.Now login into mysql server.Create mysql user and database plus grant privileges to user on the database.

First restart the mysql (If mysql server is running then not require)

/etc/init.d/mysql restart
mysql -u root -p
 
After login you will get the mysql prompt like this
mysql >
 
Now create a user and set the password. Use strong password
 
mysql> CREATE USER 'ownclouduser'@'localhost' IDENTIFIED BY 'Password';
 
create database called owncloud
 
mysql> create database owncloud;
 
Grant privileges to owncloud user in owncloud database
 
mysql> GRANT ALL ON owncloud.* TO 'ownclouduser'@'localhost';
 
mysql> flush privileges;
 
mysql> exit

Step 8: Install Owncloud from Web interface

Open the browser and type http://IP-address-Of-Server/owncloud .Fill all the information field as asked in Webinterface

User Name : Give Admin user name
Password : Give Admin user's password

Click on Advanced button

Data Folder: It will be selected by-default

In "configure the database" section,click on MySQL and fill

MySQL user : ownclouduser
Password : Give mysql ownclouduser password
Database Name : owncloud
Database Host: localhost

Owncloud 6

Now it takes a few seconds to complete and suddenly you will get next screen opened like this

Owncloud 6 dashboard

Now the installation is completed.Now you can start uploading,downloading,sharing the data in owncloud. With Admin user you can create user and install useful apps. Explore owncloud,it is awesome

Further Reading : Setup Owncloud 6 with Self Signed SSL Certificate in Ubuntu 13.10

Share this:

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

Related posts:

  1. How to install Owncloud 6 on Ubuntu 14.04 LTS Server
  2. htaccess file does not work : Owncloud 6 in Ubuntu 13.10 Server
  3. Setup self signed ssl certificate on Owncloud 6 in Ubuntu 14.04 LTS Server
  4. Install Owncloud 7 on Ubuntu 14.04 LTS Server
  5. Install owncloud 8 on ubuntu server 14.04
  6. How to install owncloud in Ubuntu 12.10
  7. Installing owncloud in Ubuntu 13.04
  8. How to configure self signed SSL certificate in owncloud Ubuntu
  9. Setup CRAM-MD5 authentication for mailing in owncloud Ubuntu
  10. Setup Owncloud 6 with self signed SSL certificate on Ubuntu 13.10

Filed Under: Linux, owncloud Tagged With: ownlcoud6

Reader Interactions

Comments

  1. Evgeniy Popov says

    September 15, 2014 at 7:34 am

    Привет есть вопрос как можно убрать вункцую восстановление пароля в owncloud

    Reply
  2. Armen says

    July 4, 2014 at 9:25 pm

    Nice article but I have found this one
    http://example.com

    Reply
    • sharadchhetri says

      July 7, 2014 at 4:34 am

      Hello Armen,

      Thankyou,I have checked your given URL. The post is nice. I have edited your comment because we do not promote backlinks.
      I hope you understand.

      Reply
  3. fawzi says

    May 7, 2014 at 4:45 pm

    hi Sharad,
    Thanks for the tutorial above.
    My ownCloud 6 server works fine on my Ubuntu 13.1, both with HTTP and HTTPS access.
    I also used the instructions from owncloud to allow uploads of files larger that 512MB and it works well in HTTP access. (http://doc.owncloud.org/server/6.0/admin_manual/configuration/configuring_big_file_upload.html)

    However in HTTPS access, my max file size limit is set back to 512MB. Do you know how to address this? is there a php file for https mode?
    thanks,

    Reply
    • sharad chhetri says

      May 8, 2014 at 2:21 pm

      Welcome Fawzi,

      I am glad, my tutorial helped you.
      As per your question, php size upload limit can be controlled from php.ini file.
      Well, for SSL connection. I have written this post https://sharadchhetri.com/2014/03/09/setup-owncloud-6-self-signed-ssl-certificate-ubuntu-13-10/ .
      You have to modify some setting as per your requirement from above tutorial.

      Let me know in case still the issue is not solved.

      Regards
      Sharad

      Reply
  4. Ralphael says

    April 26, 2014 at 2:25 am

    would this install guide work on 14.04?

    Reply
    • sharad chhetri says

      April 27, 2014 at 3:09 pm

      Hello Ralphael,

      It should also work in Ubuntu 14.04.
      I just downloaded the Ubuntu 14.04 , will write the post soon.

      Regards
      Sharad

      Reply
  5. Evgeniy says

    April 6, 2014 at 2:13 pm

    извиняюсь еще один вопрос как установить модель ldap для аутентификации active directory

    Reply
    • sharad chhetri says

      April 6, 2014 at 2:23 pm

      Login into Owncloud dashboard with Admin user.
      See at right hand side bar, bottom. Click on App button.
      Now list will be open, click on “LDAP user and group backend” , enable it.
      Click on Admin User > Admin (at top right corner of dashboard)
      Now from “LDAP user and group backend” option will be enabled and you can set the configuration

      Вход в OwnCloud приборной панели с пользователем Админ.
      Смотреть на правой стороне панели, внизу. Нажмите на кнопку App.
      Теперь список будет открыт, нажмите на кнопку “пользователь LDAP и группы серверной”, включите его.
      Нажмите на Админ пользователей> Администратор (в верхнем правом углу панели)
      Теперь из “пользователь LDAP и группы серверной” опция активируется, и вы можете настроить конфигурацию

      Reply
      • Evgeniy says

        April 7, 2014 at 3:09 pm

        Спасибо но вот почту не получается настроить

        Reply
        • sharad chhetri says

          April 7, 2014 at 4:21 pm

          Для почтового сервера, у вас есть для устранения себя.
          Вещи, чтобы проверить во время рассылки устранение неполадок
          (1) Является ли от OwnCloud сервере, вы в состоянии связаться с вашим почтовым сервером
          (2) тип аутентификации используется в почтовому серверу
          (3) Проверьте журналы в Mail Server
          (4) Кроме того, проверить журналы в OwnCloud сервере
          (5) Это ваш почтовый сервер учетные данные правильно

          For mail server ,you have to troubleshoot yourself.
          Things to check while mailing troubleshooting
          (1) Is from owncloud server,are you able to contact to your mail server
          (2) type of authentication used in Mail server
          (3) Check the logs in Mail Server
          (4) Also check the logs in owncloud server
          (5) Is your mail server credentials are correct

          Reply
« Older Comments

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.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

How to backup and restore iptables on Linux systems

How to empty Trash through command line in Ubuntu

30 useful Linux terminal keyboard shortcuts

Terminal Recording with script and scriptreplay command

Recover Linux Grub Password in linux rescue mode CentOS/Red Hat

How to increase Password Expire date without resetting the password

Edit the crontab without using crontab -e

Explore 90+ Article On "Linux Tips And Tricks"

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