Nginx/Apache/Httpd
-
- Posts: 11
- Joined: 2018/12/23 22:00:34
Nginx/Apache/Httpd
Hey Everyone,
I'm really new to centOS, I've only dabbled with a few other installs of linux distro's. Anyway, I seem to running into a challenge. I tried to install nginx on the system, it says it couldn't start the service, port in use 0.0.0.0:80 --> 13011/nginx: master was on it? So I was speaking with a friend of mine, and he suggested I use apache instead. The challenge is though, now even after deleting the caches and associated files, i still get 0.0.0.0:80/nginx: master and same on :::80 nginx/master, when i try to install httpd.service. SO I'm wondering where I'm going wrong? Does centOS install something by default I don't know, for port 80?
Thanks a bunch
I'm really new to centOS, I've only dabbled with a few other installs of linux distro's. Anyway, I seem to running into a challenge. I tried to install nginx on the system, it says it couldn't start the service, port in use 0.0.0.0:80 --> 13011/nginx: master was on it? So I was speaking with a friend of mine, and he suggested I use apache instead. The challenge is though, now even after deleting the caches and associated files, i still get 0.0.0.0:80/nginx: master and same on :::80 nginx/master, when i try to install httpd.service. SO I'm wondering where I'm going wrong? Does centOS install something by default I don't know, for port 80?
Thanks a bunch
Re: Nginx/Apache/Httpd
Are you maybe using some sort of a control panel software, such as Cpanel?
-
- Posts: 11
- Joined: 2018/12/23 22:00:34
Re: Nginx/Apache/Httpd
not that I'm aware of, how could I check? everything i've done thus far, is CLI, and I think i can get into a desktop - gnome, if i run "X"....i forget the exact commands, still memorizing them.
Re: Nginx/Apache/Httpd
The reason I asked was that CentOS does not install nginx by default. It is not even shipped in the CentOS base repositories. Some control panel software ship their own copy of nginx, or you may have installed it from some other source.
If you are using some sort of a standard installation, yum remove nginx may help. This will remove nginx from your system. If this does not work, you will need to figure out how nginx got installed on your system in the first place.
If you are using some sort of a standard installation, yum remove nginx may help. This will remove nginx from your system. If this does not work, you will need to figure out how nginx got installed on your system in the first place.
-
- Posts: 11
- Joined: 2018/12/23 22:00:34
Re: Nginx/Apache/Httpd
Ok, so I've been going into "the box" as i call it, and i did a systemctl this morning, it shows me....httpd.service loaded/failed/failed The Apache Http Service and also nginx.service loaded failed/failed The nginx http and reverse proxy service.
The thing for me, is don't know what would cause it not to load. I could uninstall both ...but I thought I already uninstalled nginx, so i'm not sure why its still there.
The thing for me, is don't know what would cause it not to load. I could uninstall both ...but I thought I already uninstalled nginx, so i'm not sure why its still there.
Re: Nginx/Apache/Httpd
Pick one of nginx OR httpd. Not both.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 11
- Joined: 2018/12/23 22:00:34
Re: Nginx/Apache/Httpd
well I wasn't aware apache was installed, does it come bundled?
-
- Posts: 11
- Joined: 2018/12/23 22:00:34
Re: Nginx/Apache/Httpd
Hey All,
So i think I got nginx completely removed from the system, it doesn't show up anywhere;
when i check the status of httpd. it says Apache HTTP server
Loaded
Active: Active,
but under Process: 4149 ExecStop=/bin/kill -WINCH ${MainPID} {code=exited, status=1/failure}
MAINPID: 4320 (httpd)
Status: "total requests...."
Tasks 6
Can i confirm this means that the apache httpd web server is up and running properly with this information?
Thanks.
So i think I got nginx completely removed from the system, it doesn't show up anywhere;
when i check the status of httpd. it says Apache HTTP server
Loaded
Active: Active,
but under Process: 4149 ExecStop=/bin/kill -WINCH ${MainPID} {code=exited, status=1/failure}
MAINPID: 4320 (httpd)
Status: "total requests...."
Tasks 6
Can i confirm this means that the apache httpd web server is up and running properly with this information?
Thanks.