LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-04-2006, 08:56 PM   #1
shadin
Member
 
Registered: Jun 2006
Posts: 44

Rep: Reputation: 15
Required packages for Apache/PHP/MySQL? Help with my web server.


Hey all. Just finished setting up Slackware on my new (cough) Dell Poweredge 1300 Dual P3 450MHZ beast, with 256MB RAM! This machine is going to be a web server, with Apache, PHP, and mySQL. I tried to slim down the install as much as possible. The packages I installed are listed below, so I have a couple of questions:

1) What packages are required for Apache, PHP, and MySQL (aside from their actual packages). I'm not sure what in Slack they depend on, so wanted to find out before I go about completing my server.

2) Does anyone see any packages that I don't really need? This server is running 2.6.13, has no sound or X, just MB, RAM, CPUs, CDROM, Floppy, NIC, and some SCSI HDs.

aaa_base
aaa_elflibs
bash
bin
bzip2
coreutils
cpio
cxxlibs
dcron
devs
dhcpd
diffutils
e2fsprogs
elvis
etc
findutils
gawk
glibc-solibs
glibc-zoneinfo
grep
groff
gzip
hdparm
hotplug
infozip
iptables
kbd
kernel-modules
less
lilo
links
logrotate
lsof
lvm
mc
mkinitrd
module-init-tools
openssl-solibs
pciutils
pkgtools
procps
reiserfsprogs
sed
shadow
slocate
sysklogd
syslinux
sysvinit
tar
tcpip
udev
usbutils
utempter
util-linux
wget
xfsprogs
 
Old 07-05-2006, 04:48 PM   #2
quip
Member
 
Registered: Jun 2003
Distribution: Slackware
Posts: 100

Rep: Reputation: 15
Quote:
Originally Posted by shadin
Hey all. Just finished setting up Slackware on my new (cough) Dell Poweredge 1300 Dual P3 450MHZ beast, with 256MB RAM! This machine is going to be a web server, with Apache, PHP, and mySQL. I tried to slim down the install as much as possible. The packages I installed are listed below, so I have a couple of questions:

1) What packages are required for Apache, PHP, and MySQL (aside from their actual packages). I'm not sure what in Slack they depend on, so wanted to find out before I go about completing my server.
They don't really depend on anything. They will work by themselves, although you need to configure their respecitive config files.

Quote:
Originally Posted by shadin

2) Does anyone see any packages that I don't really need? This server is running 2.6.13, has no sound or X, just MB, RAM, CPUs, CDROM, Floppy, NIC, and some SCSI HDs.

aaa_base
aaa_elflibs
bash
bin
bzip2
coreutils
cpio
cxxlibs
dcron
devs
dhcpd
diffutils
e2fsprogs
elvis
etc
findutils
gawk
glibc-solibs
glibc-zoneinfo
grep
groff
gzip
hdparm
hotplug
infozip
iptables
kbd
kernel-modules
less
lilo
links
logrotate
lsof
lvm
mc
mkinitrd
module-init-tools
openssl-solibs
pciutils
pkgtools
procps
reiserfsprogs
sed
shadow
slocate
sysklogd
syslinux
sysvinit
tar
tcpip
udev
usbutils
utempter
util-linux
wget
xfsprogs
That's a loaded question. What filesystem do you use? What bootloader? This really isn't a long list of packages, and won't take up much disk space. You really need to weed through this list yourself, or just leave them; they won't take up that much space. Most of this stuff, however, you need (tcpip, sysklogd, and many others) or should probably keep around anyway (sed, gawk, etc.).
 
Old 07-05-2006, 05:10 PM   #3
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
if you want to display images you might
want to install their libs (libjpeg, libpng, etc)
and utilities (such as imagemagick)

maybe also crypt, db and ssl stuff...

Last edited by kodon; 07-05-2006 at 05:15 PM.
 
Old 07-05-2006, 07:25 PM   #4
shadin
Member
 
Registered: Jun 2006
Posts: 44

Original Poster
Rep: Reputation: 15
I use XFS filesystem, and the LILO bootloader. I don't really need to display any images, this box is only a web server machine, though it might turn into an FTP server as well. I have a full install of Slack and Dropline Gnome on my main rig for development.

I figured the list I installed was fairly minimal, and couldn't see any real room to shrink it further. But more input is always welcome. Thanks for the replies!
 
Old 07-05-2006, 08:57 PM   #5
quip
Member
 
Registered: Jun 2003
Distribution: Slackware
Posts: 100

Rep: Reputation: 15
Quote:
Originally Posted by shadin
I use XFS filesystem, and the LILO bootloader. I don't really need to display any images, this box is only a web server machine, though it might turn into an FTP server as well. I have a full install of Slack and Dropline Gnome on my main rig for development.

I figured the list I installed was fairly minimal, and couldn't see any real room to shrink it further. But more input is always welcome. Thanks for the replies!
You could definitely shrink it a bit further, but with drive space being so cheap, my question is "why?". I have a much more minimal system to serve some pics of my wife and kids to family members, and a default install saved me a lot of headaches. For instance: when I decided to use gallery to display my photos on my website, it needed imagemagick, which came with my default slack install.

If you know exactly what you will do, and/or don't mind chasing things down later as you need them, then you could slim it down a little more, but not much.

My advice--stick with what 'ya got.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the best distro for web developers...mysql, php, and apache required sketchydave Linux - Distributions 4 11-24-2005 03:24 PM
Dreamweaver, PHP, MySQL, and Apache Web server bentman78 Linux - Software 18 02-06-2005 05:09 AM
Website CMS without running Web Server, mySQL, PHP etc. derddera Linux - Software 1 08-15-2004 01:45 PM
Setting up an Apache Web server with mySQL jasonX Linux - General 2 03-12-2004 12:11 PM
Installing PHP and MySQL w/ Apache web server dcrealm47 Linux - Newbie 5 02-26-2003 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration