Common Services
SSH (Secure Shell)
- SSH is used for securely connecting to the remote systems.
Common Commands
sudo systemctl start ssh
sudo systemctl stop ssh
sudo systemctl restart ssh
sudo systemctl enable ssh
sudo systemctl disable ssh
Configuration file: /etc/ssh/sshd_config
Web Servers (Apache/NGINX)
Apache
- Apache is widely used web server.
Common Commands
sudo systemctl start apache2
sudo systemctl stop apache2
sudo systemctl restart apache2
sudo systemctl enable apache2
sudo systemctl disable apache2
Configuration file: /etc/apache2/apache2.conf
NGINX
- NGINX is a very popular web server and reverse proxy server.
Common Commands
sudo systemctl start nginx
sudo systemctl stop nginx
sudo systemctl restart nginx
sudo systemctl enable nginx
sudo systemctl disable nginx
Configuration file: /etc/nginx/nginx.conf
DHCP (Dynamic Host Configuration Protocol)
- DHCP assigns IP addresses to devices on a network.
Common Commands
sudo systemctl start isc-dhcp-server
sudo systemctl stop isc-dhcp-server
sudo systemctl restart isc-dhcp-server
sudo systemctl enable isc-dhcp-server
sudo systemctl disable isc-dhcp-server
Configuration file: /etc/dhcp/dhcpd.conf
MySQL
- MySQL is a widely used relational database management system.
Common Commands
sudo systemctl start mysql
sudo systemctl stop mysql
sudo systemctl restart mysql
sudo systemctl enable mysql
sudo systemctl disable mysql
Configuration file: /etc/mysql/my.cnf