Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Debian Linux Nginx web server.

$
0
0
Have downloaded and installed the Nginx web server on my Debian version 9 ( Stretch ) Linux virtual machine. Initially, after typing in the following command, I received an error message that the web server failed to start:

$ sudo systemctl start nginx

After searching the Internet, I realized that the "nginx.service" file was missing under my "/etc/systemd/system" directory, so I created this file. I also realized that the "nginx.pid" file was missing under my "/run" directory, so I created this file as well. After typing the above-given Linux "systemctl" command again, I noticed that the "nginx.pid" file was missing from my "/run" directory. What am I doing wrong? What do I need to do to successfully start my Linux Nginx web server? Please see the attached files for additional information.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>