4,461
edits
mNo edit summary |
|||
Line 1: | Line 1: | ||
= Setting up from scratch on a VM at work = | = Setting up from scratch on a VM at work = | ||
== User accounts == | |||
=== Create a new group === | |||
<source lang="console"> | |||
$ sudo groupadd dev | |||
$ sudo usermod -a -G dev mhan1 | |||
</source> | |||
== Folder set up for web services == | |||
<source lang="console"> | |||
$ sudo mkdir /srv/www | |||
$ sudo chown -R mhan1:dev /srv/www | |||
$ sudo chmod g+s /srv/www | |||
</source> | |||
== Web services == | == Web services == |