Last time we covered what Secure Shell was a nice secure way for you to connect to a remote computer
ssh pi-username@ip-address
LAMP: Linux Apache MySQL PHP
This is your basic configuration for most Self Hosted Applications
sudo apt install apache2 php5 php5-gd php5-sqlite php5-curl php5-common php5-intl php-pear php-apc php-xml-parser libapache2-mod-php5 curl libcurl3 libcurl3-dev sqlite -y
cd /var/www/
sudo wget https://download.nextcloud.com/server/releases/nextcloud-10.0.1.zip
sudo unzip nextcloud-*.zip
sudo rm nextcloud-*.zip
In Linux ownership is very important it decides what users have access to in our case www-data is the account in charge of apache and controls the web based directories
So we will change the ownership of the nextCloud directory
# chown user: user group /path/to/direcotry
sudo chown -R www-data:www-data /var/www/nextcloud
Go to http://ipaddress/nextcloud