How to Restart Apache Server in Solaris

Save

The Solaris operating system (Solaris 10 and above) uses the Service Management Facility to manage system services. Services are programs that are started during the boot process and run in the background without user intervention. The Apache Web server is run as a system service, allowing users to access the Web server automatically. The "svcadm" command is a Solaris command used to manage system services. This includes starting, stopping and restarting the service.

  • Open a terminal window or log in to the operating system through a SSH session.

  • Type the command "su -" to become the root user.

  • Type the command "svcadm restart /network/http:apache2" to restart the Apache Web server.

  • Type the command "exit" to close the root user.

References

Promoted By Zergnet

Comments

Resources

Related Searches

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!