https://help.ubuntu.com/8.04/serverguide/C/user-management.html
Adding the new created user to sudoer file
sudo useradd -d /home/admin -m admin
sudo gedit /etc/sudoersUbuntu 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
Creating directories and subdirectories
mkdir -p public_html/domain1.com/{public,private,logs,cgi-bin,backup}
Check which ports are in usenetstat -ant : displays are listening ports
No comments:
Post a Comment