How to start an Nginx server or service in Linux?

June 27, 2021 - 1 min read

To start a Nginx server or service, we can use the systemctl command-line utility followed by the start nginx command in Linux.

# Starts Nginx service
sudo systemctl start nginx

What is systemctl?

  • The systemctl is a command-line utility that is used to control and manage the systemd services.
  • It is widely used with web server services like Nginx, Apache, etc.

Feel free to share if you found this useful 😃.