Where to download lighttpd for Centos?

Added by Geoff about 6 years ago

"yum install lighttpd" doesn't work (see below) And I can't find .rpms for the latest version. Any ideas?

yum install lighttpd
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile * virtualmin: software.virtualmin.com * virtualmin-universal: software.virtualmin.com * base: ftp.ps.pl * updates: ftp.ps.pl * addons: ftp.ps.pl * extras: ftp.ps.pl
virtualmin 100% |=========================| 951 B 00:00
virtualmin-universal 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Setting up Install Process
Parsing package install arguments
No package lighttpd available.
Nothing to do


Replies (14)

RE: Where to download lighttpd for Centos? - Added by Geoff about 6 years ago

So I found this file: ftp://195.220.108.108/linux/dag/redhat/9/en/i386/dag/RPMS/lighttpd-1.4.20-1.rh9.rf.i386.rpm which says it's "DAG packages for Red Hat Linux 9 i386" but I'm a Linux newbie and not sure what DAG packages are. Is this the RPM I want?

RE: Where to download lighttpd for Centos? - Added by mr_bond about 6 years ago

dag packages, are packages, from Dag Wiers repository (http://dag.wieers.com/rpm/). Yes, I would think the DAG-packages would work with CentOS.

RE: Where to download lighttpd for Centos? - Added by Geoff about 6 years ago

Thanks for the reply. I tried to install but got a few errors :(

lighttpd-1.4.20-1.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libcrypto.so.4 is needed by lighttpd-1.4.20-1.rh9.rf.i386
liblber.so.2 is needed by lighttpd-1.4.20-1.rh9.rf.i386
libldap.so.2 is needed by lighttpd-1.4.20-1.rh9.rf.i386
libssl.so.4 is needed by lighttpd-1.4.20-1.rh9.rf.i386

Is there a way I can install these with yum?

RE: Where to download lighttpd for Centos? - Added by mr_bond about 6 years ago

they should all be in the same repository, you can add the repository as a source somehow, and then you can just do "yum install lighttpd", and it will install the dependencies for you.

RE: Where to download lighttpd for Centos? - Added by nitrox about 6 years ago

http://redmine.lighttpd.net/wiki/lighttpd/DevelSubversion <-- that should work for centos too.

please lets stop it here, if there is no package for centos, blame them...or get an "easier" distro -> http://en.wikipedia.org/wiki/List_of_Linux_distributions which is probably more up2date or has a better package-management.

thx!

RE: Where to download lighttpd for Centos? - Added by mr_bond about 6 years ago

FreeBSD is also a great, free UNIX alternative, with over 18000 software ports ready to use, but CentOS will do fine.

RE: Where to download lighttpd for Centos? - Added by darix about 6 years ago

Geoff i could compile my suse package for centos on the opensuse buildservice (https://build.opensuse.org/) the only problem is i dont have time to test it on centos. and it would be nice if someone could provide the init script for rhel/centos.

would you be interested to help with testing?

RE: Where to download lighttpd for Centos? - Added by Geoff about 6 years ago

"they should all be in the same repository, you can add the repository as a source somehow, and then you can just do "yum install lighttpd", and it will install the dependencies for you."

Maybe I don't have yum set up right? "yum search lighttpd" I get "No Matches found". I just assumed yum didn't have lighty.

I knew I was going to have problems with Centos, but unfortunately it's what I'm stuck with. If I ever change web hosts I think I will go with Ubuntu (I've had much more success with apt-get and .deb files)

I was able to resolve libcrypto.so.4 and libssl.so.4 with "yum install openssl097a" but I can't get libldap.so.2 and liblber.so.2 (which are in openldap-2.0.27-8.i386.rpm) without entering dependency hell. Is there an easier way?

RE: Where to download lighttpd for Centos? - Added by Geoff about 6 years ago

Hi darix,

That would be great. What kind of testing did you have in mind? However, I only have a basic understanding of Linux and I'm not sure I would be a good candidate to test anything unless extremely simple.

RE: Where to download lighttpd for Centos? - Added by Geoff about 6 years ago

Ah, okay. I finally got lighttpd to show up in yum by installing rpmforge.

I will install and let everyone know how it goes. Hopefully faster than apache!

RE: Where to download lighttpd for Centos? - Added by Geoff about 6 years ago

I seem to be stuck on this error:

/etc/init.d/httpd stop
/etc/init.d/lighttpd start

2008-11-13 03:24:44: (log.c.97) server started
2008-11-13 03:24:44: (mod_fastcgi.c.924) bind failed for: unix:/var/run/lighttpd/php-fastcgi.socket-0 No such file or directory
2008-11-13 03:24:44: (mod_fastcgi.c.1365) [ERROR]: spawning fcgi failed.
2008-11-13 03:24:44: (server.c.897) Configuration of plugins failed. Going down.

I take it this means I don't have fastcgi enabled...? Should I install PHP with fastcgi separately from apache's PHP? I don't want to break apache by re-compiling PHP. Would this be a problem?

RE: Where to download lighttpd for Centos? - Added by darix about 6 years ago

mkdir /var/run/lighttpd/
and chown it to the user you configured in lighttpd.

RE: Where to download lighttpd for Centos? - Added by Geoff about 6 years ago

Thanks! That worked perfectly

RE: Where to download lighttpd for Centos? - Added by itamarjp over 5 years ago

the correct way is to use fedora EPEL packages for centos.

(1-14/14)