• 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

Install owncloud 8 on ubuntu server 14.04

April 26, 2015 by Sharad Chhetri

Owncloud which is now very very famous and considered as one the best free Open Source alternate of Dropbox. The steps of installation is almost similar as we did while installing Owncloud 7.

Checkout what is new in Owncloud 8.

Install Owncloud 8

Before starting , let’s share our practical scenario –

1. Owncloud : Owncloud version 8
2. Database : MySQL Server version 5.6
3. Web Server : Apache 2.4 (Default shipped with Ubuntu 14.04 LTS)
4. No. of server : One (Webserver,Database and Owncloud installed on single server)

Install MySQL Server :

First we will install MySQL Server 5.6 on Ubuntu Server. (Learn more about installing MySQL Server on Ubuntu)

sudo apt-get install mysql-server-5.6
sudo service mysql restart

While installation you will see couple of screen to set the MySQL root password. Hence, set the strong password for root user.

mysql Ubuntu 14.04

MySQL Server 5.6 Ubuntu 14.04

Now login into MySQL Server with root user

mysql -u root -p

Create Database , Owncloud Database user and password in MySQL Server.
You will get the mysql prompt after login (mysql> )

mysql> create database owncloudDB;
mysql> CREATE USER 'ownclouduser'@'localhost' IDENTIFIED BY 'Password';
mysql> GRANT ALL ON owncloudDB.* TO 'ownclouduser'@'localhost'; 
mysql> flush privileges;
mysql> exit

Install Apache,php and php mysql module

Now install the Apache web browser. Because owncloud is php based application hence installation of php is required. To connect with mysql , php require module called php-mysql, so it is also to be installed.

sudo apt-get install apache2 php5 php5-mysql

Now enable the rewrite in apache that is requirement by Owncloud application. And then restart the Apache service.

sudo a2enmod rewrite
sudo service apache2 restart

Install Owncloud with apt-get command

Just hit the command as given below.We will first add Owncloud repo and then start installing owncloud.

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

wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key
sudo apt-key add - < Release.key  

sudo apt-get update
sudo apt-get install owncloud

After owncloud package get installed you will see a new file called owncloud.conf in Apache config directory.

Given below is reference of owncloud.conf content.

sharad@ubuntu:~$ cat /etc/apache2/conf-enabled/owncloud.conf 
Alias /owncloud "/var/www/owncloud/"

    Options +FollowSymLinks
    AllowOverride All


sharad@ubuntu:~$ 

Now time to complete the owncloud installation from Web browser.

Open the web browser and in address field, type the ip address of server prefix with /owncloud.
http://IP-ADDRESS-OF-SERVER/owncloud

EXAMPLE: Check you server ip address with command ifconfig and replace with 192.168.122.85 inbelow given reference.

http://192.168.122.85/owncloud

Set the Admin username and password for Owncloud. Give the details of database which we have set in first section in this post. Click on MySQL/MariaDB tab as given in below given screenshot.

owncloud-8-1

Wait for a few minutes, and you will see Owncloud dashboard and admin user by default get login on first time.
owncloud-8-2

When you logout, you will see the Owncloud page like this.
owncloud-8-3

Share this:

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

Related posts:

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

Filed Under: Linux Tagged With: owncloud 8

Reader Interactions

Comments

  1. Jorge Luis says

    July 29, 2016 at 4:14 pm

    Por si acso tienes como configurar el owncloud con protocolo https

  2. Jorge Luis says

    July 29, 2016 at 4:13 pm

    Buen articulo, Gracias

  3. Noel says

    April 1, 2016 at 9:57 pm

    Hi. I’m reading https://sharadchhetri.com/2015/04/26/install-owncloud-8-on-ubuntu-server-14-04/. I’m nothing when it comes to Linux. I just want to ask what do you mean when a text is green or red or blue or violet.

    Thank you.

    • sharad chhetri says

      April 2, 2016 at 2:35 am

      Hi Noel,

      These are just highlight for writing tutorial. It has no co-relation with functionality of the system.

      Regards
      Sharad

  4. Constantine says

    March 31, 2016 at 10:26 am

    Thanks a lot, its working)) simple and usefull)

  5. Stormense (@stormense) says

    September 5, 2015 at 10:16 am

    create database owncloudDB; do the trick

  6. Stormense (@stormense) says

    September 5, 2015 at 8:11 am

    Yeah, error on first command
    mysql> mysql> create database owncloudDB;
    ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘mysql> create database owncloudDB’ at line 1

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

Terminal Recording with script and scriptreplay command

Print double hyphen sign simultaneously in post of Octopress

Password prompt in single user mode is not secure : CentOS/Red Hat

Nagios HTTP WARNING: HTTP/1.1 403 Forbidden

Read the file inside compressed .gz files without extract

How to page scroll up/down in Linux terminal

Do not show line haveing particular keyword by grep command

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