LinuxAdminToolkitLinuxAdminToolkit
Home
Guide
About Me
GitHub
Home
Guide
About Me
GitHub
  • Administrator's Manual

    • Commands
      • Basic Commands
      • File Management
      • Process Management
      • User and Group Management
      • System Information
      • Disk Usage
    • Networking
      • IP Address
      • Subnetting
      • Routing
      • Firewall
      • Network Tools
    • Services
      • Service Management
      • Service Configuration
      • Common Services
    • Monitoring and Logging
      • System Monitoring
      • Log Management
      • Monitoring Tools
      • Log Analysis Tools
    • Shell Scripting
      • Basic Shell Script Structure
      • Variables
      • Control Structures
      • Functions
      • Input and Output
      • Debugging and Error Handling
      • Advanced Topics
    • Configurations Files
      • System Configuration Files
      • Network Configuration Files
      • Service Configuration Files
      • Application Configuration Files
      • Editing Configuration Files
      • Backup and Restore Configuration Files

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

Edit this page on GitHub
Last Updated:
Contributors: Jenil Gajjar, jenilgajjar20
Prev
Service Configuration