+1
Fixed

Nginx plugin missing on CentOS 6.4

Ros 7 років тому оновлено Eugene Pankov (Project coordinator) 7 років тому 4
I have installed Ajenti on CentOS 6.4, but I cannot see Nginx in Software sidebar.

Plugins page doesn't show a dependency unsatisfied warning.

I've tried
nginx-1.0.15-5.el6.x86_64
nginx-1.4.2-1.el6.ngx
ajenti.noarch 0:0.99.33-1
ajenti.noarch 0:0.99.34-1

Need your help :)

Відповідь

Відповідь
Fixed

Support for /etc/nginx/conf.d added to code

Also user editing doesn't work on CentOS 6.4 ( tried setting password, changing shell, changing username).


At first I thought it could be SELinux, but after disabling it problem still exists.

Ok, it appears that Ajenti supports Nginx just for Debain/Ubuntu... AND it doesn't support official nginx packages. I hope this changes soon.


But there is a simple workaround:


First create a usual for Debian package folder structure:

mkdir /etc/nginx/sites-available
ln -s /etc/nginx/conf.d/ /etc/nginx/sites-enabled
mv /etc/nginx/conf.d/* /etc/nginx/sites-available
Then edit

/usr/lib/python2.6/site-packages/ajenti/plugins/nginx/main.py
And remove

platforms = ['debian']