Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now we create users that will have access to their respective websites,

Code Block
langhtml
sudo useradd \-d /home/kalel \-m \-u 2500 \-G wgkryptonian \-c "Client" \-s /bin/bash kalel # Add user kalel with additional group and make the user's home directory
sudo useradd \-d /home/jorel \-m \-u 2501 \-G wgkryptonian \-c "Client" \-s /bin/bash jorel
 
sudo passwd kalel
sudo passwd jorel
 
sudo useradd \-d /home/loislane \-u 2502 \-m \-G wgearthling \-c "Client" \-s /bin/bash loislane
sudo useradd \-d /home/jimmyolsen \-u 2503 \-m \-G wgearthling \-c "Client" \-s /bin/bash jimmyolsen

sudo passwd loislane
sudo passwd jimmyolsen

Next you create your physical virtual host file in /etc/apache2/sites-available and then create a symbolic link in /etc/apache2/sites-enabled/.

Warning

This article is still being transitioned from my old google wiki.