Page 1 of 1

Web server distro...

Posted: Sat Sep 23, 2006 9:31 pm
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 :)

Posted: Sat Sep 23, 2006 9:33 pm
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 ;)

Posted: Sat Sep 23, 2006 9:46 pm
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..

Posted: Sat Sep 23, 2006 10:01 pm
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.

Posted: Sat Sep 23, 2006 11:22 pm
by nickvd
Dump rh6, download ubuntu server and you'll be up and running in 20 minutes...

Posted: Sun Sep 24, 2006 1:23 am
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

Posted: Mon Sep 25, 2006 8:18 am
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

Posted: Mon Sep 25, 2006 9:25 am
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