This tutorial covers the installation of ownCloud 8.1.0 on an Ubuntu 15.04 system via Shell.
We will install ownCloud 8.1.0 manual on the Ubuntu system. We don’t use any ready-to-deploy packages.
1. Prequisities
Open a terminal on your system and type following command into it. This will install the required modules for a ownCloud installation. We will use Apache and mySQL. Type following commands in a terminal:
sudo apt-get install apache2 mysql-server libapache2-mod-php5 php5-gd php5-json php5-mysql php5-curl php5-intl php5-mcrypt php5-imagick
This will install the PHP5 and mySQL server on the system.
To run ownCloud you also need an running Apache web server. Type following command in a terminal to install the Apache web server :
sudo apt-get install apache2 apache2-doc
2. Download the latest ownCloud version
To download the latest version from shell, type following command in your command line (the link can change from version to version!)
wget https://download.owncloud.org/community/owncloud-8.2.0.tar.bz2
The packed file will be downloaded and saved into your home directory. After the download you have to extract the .tar.bz2 file
Go to your home directory and run:
tar -xjf owncloud-8.1.0.tar.bz2
3. Copy the ownCloud files to the root of your web server
sudo cp -r owncloud /var/www/
To set Apache as owner of the ownCloud files use following command:
sudo chown -R www-data:www-data /var/www/owncloud/
4. Installation Wizard
Open your Web browser and type one of following URL in:
- If you are running the installation wizard from same machine on which you installed it: http://localhost/owncloud
- If you running the installation on another machine: http://example.com/owncloud
You will see following screen in your browser:
Fill in all required information. If you haven’t created a database already, create one. (You can use any name you want) I used the phpMyAdmin tool to accomplish this. To install this one type following command into your shell:
sudo apt-get install phymyadmin
After your click on the button to complete your installation and you will see the start page from ownCloud.
Your installation was successful. Have fun with your new ownCloud installation. 🙂
If you have problems or errors, feel free to comment and ask.