Installation of nginx...
Hi,
I want to install nginx in my VPS that I have.
Should I install it by using Nginx Admin " cPanel Nginx automated installer Plugin?
Will it affect my websites that I have already on my server?
Will it affect the databases that I have already on my server?
Can you please help?
-
There are many free cPanel Nginx plugins. If there is any custom configurations on your VPS it can create problems I suggest you to take a backup of all configurations of VPS and install it 0 -
The best module. Nginx Admin Install instruction: cd /usr/local/src wget http://nginxcp.com/latest/nginxadmin.tar tar xf nginxadmin.tar cd publicnginx ./nginxinstaller install Nginx Admin Uninstall instruction: cd /usr/local/src wget http://nginxcp.com/latest/nginxadmin.tar tar xf nginxadmin.tar cd publicnginx ./nginxinstaller uninstall 0 -
[quote="odytil, post: 1683071">Will it affect my websites that I have already on my server? Will it affect the databases that I have already on my server?
Hello :) Please keep in mind that Nginx is not natively supported. Our support team will not be able to troubleshoot issues directly related to it's usage, and if you are an inexperienced user, it's likely better to stick with Apache. Thank you.0 -
Hello All, I tried to install Nginxadmin, but getting errors. root@server [/opt]# ./publicnginx/nginxinstaller install Traceback (most recent call last): File "./publicnginx/nginxinstaller", line 26, in apache_version = findapacheversion() File "./publicnginx/nginxinstaller", line 18, in findapacheversion proc = subprocess.Popen(["/etct/init.d/httpd", "-V">, stdout=subprocess.PIPE) File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__ errread, errwrite) File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
root@server [/opt]# /usr/bin/python -V Python 2.6.6
Also noted that httpd binary is not there. So I edited nginxinstaller file line 18 and changed httpd to "/etct/init.d/httpd". Hope somebody can help me out. Thank you0 -
Hello, Change the binary to /usr/local/apache/bin/httpd and try to install nginx using the installer again. This should work fine. 0 -
[quote="cPanelMichael, post: 1687031">Hello :) Please keep in mind that Nginx is not natively supported. Our support team will not be able to troubleshoot issues directly related to it's usage, and if you are an inexperienced user, it's likely better to stick with Apache. Thank you.
Just would liike to add you can get into troubles by installing this addon. Here is why : -> even if you install mod_remoteip, you'll get to a point where you won't see the real ip in cPanel apache logs. The reason : nginxcp is a crappy software with bugs :P -> they still distribute a vulnerable version of mod_rpaf with their software -> you won't get a fresh nginx from the nginx website. You'll download your nginx from their website. What if their Wordpress is hacked??? -> i warned them about a security issue and a bug, they never bothered about replying :P -> if you delete an addon domain, then it will also delete the main www record for your domain. why? because it's crap. -> if you uninstall, you'll end up with no logs, or logs all in the same file. Your clients will still be disappointed unless you remove the ###### before the customlogs entried in the cPanel EasyApache templates. Making Nginx works with cPanel should be VERY easy for cPanel peoples. I mean : if you can create Easyapache you can install nginx for sure :) I see no reason, in 2014, to do not support this one natively. Apache is no longer the best one IMHO it's nginx turn now :) On our side, we are looking to switch over to ISPConfig on CloudLinux (yup, it works!), because they support nginx. We are working n it. I'm just sick and tired of having to rebuild apache once a week (sometimes more!) Thank you for reading :) [COLOR="silver">- - - Updated - - - Oh! and don't think you'll be able to use after_make_apache or something script to recover your logs after an easyapache build. ...seems like this software is not built to provide nginx, but to make life easier to hackers. Please : cPanel, help your customer to be more secure, by adding nginx suppiort to cPanel :) Our customers, and web hosts want it :) Stop pushing us to use stuff like nginxcp, cpnginx (those are both the same sh**t)...0 -
Just double checked, and PCRE is outdated, not mod_rpaf. They provide PCRE 8.35 while PCRE 8.36 was release a long time ago. ...but still : that's a problem. When a new release of nginx is available, you'll depend on them to updated it or not. And i definitely don't like to download a software from a Wordpress installation each time i want to perform an easyapache update. cpnginx works a little better, but there has been security issues with that one also. 0 -
Have you seen this Feature Request? Stand-alone nginx supported as an alternative to Apache - cPanel Feature Requests 0 -
I've installed nginxcp and it works great... now I would like to add PHP-FPM, so any info on how to do that in reality would be appreciated. 0 -
[quote="ninostar78, post: 1785532">I've installed nginxcp and it works great... now I would like to add PHP-FPM, so any info on how to do that in reality would be appreciated.
Why would you post to this thread then?0
Please sign in to leave a comment.
Comments
10 comments