How to setup your own personal Cloud from start to finish 2018

Step 1

Login with root permissions

sudo su

Step 2

copy and paste the following and hit enter

apt install -y libapache2-mod-php7.0 \
      php7.0-gd php7.0-json php7.0-mysql php7.0-curl \
      php7.0-intl php7.0-mcrypt php-imagick \
      php7.0-zip php7.0-xml php7.0-mbstring

Step 3

Restart Apache2

service apache2 restart

Step 4

Add the owncloud repository

echo 'deb /' > /etc/apt/sources.list.d/owncloud.list

Step 5

Update our sources list

apt-get update

Step 6

Install Owncloud

apt-get install owncloud-files

Step 7

login to the mysql prompt

mysql -u root -p

Step 8

Create the owncloud database


Step 9

Create mysql user and grant access to the owncloud database

CREATE USER ‘owncloud’@‘localhost' IDENTIFIED BY ‘password’;

GRANT ALL ON owncloud.* to 'owncloud'@'localhost';

Step 10



Step 11

nano /etc/apache2/sites-available/000-default.conf

service apache2 restart