how to install nginx into kloxo panel ?

Status
Not open for further replies.
18 comments
You need to use ssh to install it..
To install it, you need to add the EPEL (Extra Packages for Enterprise Linux)
repository, which is part of the Fedora Project. 1. Install the EPEL repository:
login to your root via. ssh and tun following commands
Code:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
2. Install nginx
yum install nginx
3. You will be asked to install the gpg-key for EPEL. Answer yes


4.Start Nginx
/etc/init.d/nginx start
5.Edit your settings and add your domain name here

/usr/local/nginx/conf/vhost.conf
 
Last edited:
[root@178-162-182-93 ~]# /etc/init.d/nginx start
Starting nginx: [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: still could not bind()
[FAILED]
 
service apache stop
service nginx start

also if u don't need apache then try to use lighttpd with kloxo its same as nginx but with some memory leaks
 
Kloxo doesn't support Nginx defaultly, you can use lighttpd though. We use it on our kloxo servers, a few php modules like ssh2 dont work with it however.

Though if you want to manuall add domains to nginx everytime its created in kloxo, that can work.. but its extra work if you ask me.
 
mmmhh...It is capable of handling multiple domains..but I haven't yet figured how to do that..

open your default nginx conf..

/etc/nginx/nginx.conf.default

you'll see a line that you can add another domain..but I am not succeded that part..so i can only run one domain on one server..:(
 
nginx can installed at kloxo but will be still showing nginx default page..if anyone can make detail examplain how to fix about that issue..then i think mey be can be solved
 
You can verifiy your nginx installation by

nginx -t

nginx is not compatible with any panel till now.
You need to change the directory in /etc/nginx/nginx.conf

So that you can host site and administrate from kloxo panel.
In this file search for
Code:
include

Also make sure there nginx.conf file in site's directory.
 
Status
Not open for further replies.
Back
Top