Monday, July 17, 2023

Linux

Linux services list

Services status comparison Linux V/s Windows

Linux            V/s           Windows


  1. Running                          Running
  2. Exited                              Stop
  3. Disable                            Manula
  4. Enable                             Automatic


Command Syntax :-  systemctl option(start,status,restart) servicename(httpd)


  1. Show all service which is installed on operating Linux operating system.

        # systemctl list-units --type=service

Practical 

We will install httpd service on Linux then check above service status.

#yum install httpd


#systemctl status httpd


#systemctl status httpd

#systemctl start httpd

#systemctl status httpd
                You can check below service running


# reboot (server will reboot) :- When server restart then we manual start the services.

#uptime

#systemctl status httpd


#systemctl start httpd

#systemctl status httpd


#systemctl enable httpd
              When you apply this cmd, if server will reboot then you dont have to start the services manual.

#reboot


#systemctl status httpd


No comments:

Post a Comment