Nginx – install nginx on suse linux enterprise 11

nginxopensusesles

I need some help getting ngnix installed on Suse Linux Enterprise 11. This is my first time trying to do this so I am likely missing something basic. Thus far I have:

wget http://nginx.org/packages/opensuse/12.1/SRPMS/nginx-1.4.7-1opensuse12.1.ngx.src.rpm

the under sudo I ran

yast nginx-1.4.7-1opensuse12.1.ngx.src.rpm

This installed several files under /usr/src/packages/SOURCES/

but, for example, when I run chkconfig --add ngnix I get an ngnix: unknown service error.

What steps did I miss during the install

(I was able to get this all up and running on the regular version of Suse Linux 13.1 but the differences between that and Enterprise are confusing me…)

Best Answer

You've installed the source package rather than the compiled version.

Instead, try

http://nginx.org/packages/opensuse/12.1/x86_64/RPMS/nginx-debug-1.4.7-1opensuse12.1.ngx.x86_64.rpm`

or, for a 32-bit install,

http://nginx.org/packages/opensuse/12.1/i586/RPMS/nginx-debug-1.4.7-1opensuse12.1.ngx.i586.rpm
Related Topic