‫Now I want to talk about service and services.
‫A service is a program that runs in the background outside the interactive control of system users as
‫they lack an interface.
‫So this is an order to provide even more security because some of these services are crucial for the
‫operation of the operating system, right?
‫All these services work on several scripts, and these scripts are stored in slash Etsy slash in it
‫that de.
‫OK, so this INIT.D is a demon, which is the first process of the Linux system.
‫To manage Linux services, you can use service and system Ctrl commands.
‫You can learn the current status of services using the status all parameter.
‫Service and systemctl commands are used to start.
‫Check the status of and stop services if the service is correctly configured.
‫It'll start now in Linux.
‫There are several services that can be started and stopped manually in the system.
‫Some of those services are S.H., HDP Tours, Apache, these kinds of things.
‫So let's just try out and what we've learned so far, and let's start the Apache service, right?
‫So first list all the services under the slash ETSI slash in it d location.
‫Now these are all the services.
‫Let's check the status of them.
‫Run service status.
‫All.
‫OK, so plus signs mean that the service is active, the minus sign means it's not active.
‫If you do want to check the status of a specific service, for example, Apache Service use the system
‫CTL Status Command.
‫So as you can see, apache2 service is inactive.
‫You can also use the service command to see the status of the service.
‫So let's start the Apache Service Run Service, Apache to start.
‫This operation needs root privileges, so enter the password.
‫And let's check the status again.
‫All right, so you see, it's running now.
‫So Apache is the world's most popular cross-platform HTTP Web browser to deploy and run web applications
‫or web site, we can display the default page of the Apache server on the web browser.
‫So just to enter the IP address of the machine.
‫And yes, this is the default page of the Apache server.
‫It will show us that the Apache service is running.