Adding Users, Groups and Changing password
https://help.ubuntu.com/8.04/serverguide/C/user-management.htmlAdding the new created user to sudoer file
sudo useradd -d /home/admin -m admin
sudo gedit /etc/sudoers
Ubuntu Commands
cat /etc/issue
: to check the current version of ubuntu
APT(Advance Packaging Tool) COMMANDS
apt-get update && apt-get upgrade -y (** Neeed to get the packages list and upgrade done before other apache files can be submittied)
**Some Other packaging commands which might be useful
apt-cache search
https://help.ubuntu.com/8.10/add-applications/C/advanced.html
To search fro a particular keyword on all files and subdirectories use following command
grep -nr 'ServerName' /etc/apache2
Creating directories and subdirectories
mkdir -p public_html/domain1.com/{public,private,logs,cgi-bin,backup}
Check which ports are in use
netstat -ant : displays are listening ports