Web server distro...

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Web server distro...

Post by alex.barylski »

I have RH 6 something installed on my server as of now and I kept it antiquated for a reason, because I figured I would upgrade RH to newer versions and it's software as I went, learning while I work.

Now I'm growing impatient because I just want a server with MySQL/PHP/etc on it so I can start programming...as thats my true love...not system administration :P

I just removed an old apache package using RPM and it had troubles deleting files/folders because they weren't empty...I'm guessing there is a switch to make RPM delete non-empty files/folders...but instead I got an error and then just manually removed the files/folders to completely remove apache 1.3.x from my system as I wanted to install Apache 2 with the latest PHP5 and MySQL combos.

Well I figured out how to download/ftp apache 2 from a mirror site I found on RH/RPM site and get it onto my server. But when I attempted to install the RPM I got this error:

Code: Select all

/usr/share/magic.mime is needed by httpd-2.2.3-5
        initscripts >= 8.36 is needed by httpd-2.2.3-5
        libapr-1.so.0   is needed by httpd-2.2.3-5
        libaprutil-1.so.0   is needed by httpd-2.2.3-5
        libc.so.6(GLIBC_2.2)   is needed by httpd-2.2.3-5
        libc.so.6(GLIBC_2.3)   is needed by httpd-2.2.3-5
        libc.so.6(GLIBC_2.3.4)   is needed by httpd-2.2.3-5
        libc.so.6(GLIBC_2.4)   is needed by httpd-2.2.3-5
        libcrypto.so.6   is needed by httpd-2.2.3-5
        libdb-4.3.so   is needed by httpd-2.2.3-5
        libexpat.so.0   is needed by httpd-2.2.3-5
        liblber-2.3.so.0   is needed by httpd-2.2.3-5
        libldap-2.3.so.0   is needed by httpd-2.2.3-5
        libpcre.so.0   is needed by httpd-2.2.3-5
        libselinux.so.1   is needed by httpd-2.2.3-5
        libssl.so.6   is needed by httpd-2.2.3-5
        rpmlib(CompressedFileNames) <= 3.0.4-1 is needed by httpd-2.2.3-5
        rpmlib(PayloadFilesHavePrefix) <= 4.0-1 is needed by httpd-2.2.3-5
        rpmlib(VersionedDependencies) <= 3.0.3-1 is needed by httpd-2.2.3-5
        rtld(GNU_HASH)   is needed by httpd-2.2.3-5
Not totally shocking, but again...none of these appear to be RPM but rather *.so files (whatever they are) I assume static object files??? Statically linked into Apache during the RPM compilation phase?

Anywho...I'm not really looking forward to downloading the sources and compiling them into *.so files, cause then I imagine I'd have to figure out how to tell RPM to include these dependancies as well...

Basically, so long as I'm on the right track conceptually...I'm satisified and can just download and burn a minimal apache server (with PHP/MySQL) and all the PHP extensions I can imagine and FTP, SVN, etc...

I don't really need any interface as I interact with my server through telnet on my desktop...so X isn't really nedded, just the dameons and some commands I guess...

ANyone know of a easy to install distro which can do just this that I can burn and will *fit* on a single CD???

Also, if someone can tell me whether my assumptions above are correct that would be coooooool :P

Cheers :)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

You'll have to find the package that includes the so files and install it. This is a good place to start. http://rpm.pbone.net/

Have fun ;)
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

Gentoo, Debian or Slackware for servers in my opinion.

Those 3 are 'minimalist' distro's.

Gentoo for example.. install it, then run:

Code: Select all

USE="apache2 php mysql" emerge apache mysql php
sorted..
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

CentOS -- single DVD? I think I'd upgrade. Oldest box I've ever been on is RH 7 about a year ago. But I didn't have to worry about administration it was a managed box. Yeah you're looking at some long hours digging through dependencies and compiling from source and what not.
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

Dump rh6, download ubuntu server and you'll be up and running in 20 minutes...
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

^^^ I would but I kind of want to experiment with multiple distros...thus RH seemed a good fit, plus most of my hosting companies offer RH hosting...so it made sense... :P
User avatar
ibbo
Forum Commoner
Posts: 51
Joined: Tue Sep 19, 2006 6:20 am

Post by ibbo »

RH 6 must be getting grey hairs by now.

Why not simply download the source code and build it all from scratch. It gets easier after several attempts.

Ibbo
User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Post by a94060 »

use debian,its a ingeniusly easy way for making a simplpe server and a quick serach will find how to install the stuff. the apt tool also helps a lot
Post Reply