Fix chmod/chown permissions on `foo` user. I imagine this will

eventually be scripted anyway but it's always nice to see something up
and running quickly.
This commit is contained in:
Rey Dhuny 2014-10-09 13:21:23 +01:00
parent 55fdc30177
commit 589cdbceb3
1 changed files with 7 additions and 5 deletions

View File

@ -45,12 +45,14 @@ This document will talk you through setting up your own tilde.club flavoured ser
* `sudo vim /etc/ssh/sshd_config` change `PasswordAuthentication` to `yes`
* `sudo service sshd restart`
## Create a user `bill` with correct permissions
## Create a test user `foo` account and `public_html` folder
* `sudo adduser bill`
* `sudo passwd bill`
* `mkdir /home/bill/public_html`
* `sudo chmod 755 /home/bill`
* `sudo adduser foo`
* `sudo passwd foo`
* `sudo mkdir /home/foo/public_html`
* `sudo chown foo:foo /home/foo/public_html`
* `sudo chmod 755 /home/foo`
* `sudo chmod 755 /home/foo/public_html`
## Install Apache