SSH
ssh username@hostname
Display manual pages
man <command>
Examples
man yum man chkconfig
Run a command as root
sudo <command>
Update system
sudo yum update
List all available pages
sudo yum list
Install one or more packages
sudo yum install <package1> [<package2>] [...]
Add a local user account
sudo useradd <username>
Change Password
passwd
or
sudo passwd [<username>]
Edit firewall
system-config-securitylevel
List all services
sudo chkconfig --list
Set a service to start on boot
chkconfig <name> on
Examples
sudo chkconfig httpd on sudo chkconfig mysqld on
Set up a LAMP Stack (Linux Apache MySQL PHP )
sudo yum install httpd mysql mysql-server php php-mysql sudo chkconfig httpd on sudo chkconfig mysqld on system-config-securitylevel # Open port port in firewall for http reboot
Install phpMyAdmin
sudo yum install phpmyadmin