Debian stable Web Server step-by-step
This is a series of specific steps for setting up Debian Etch as a nice PHP web server. You are welcome to correct any mistakes or errors, improve the content, or add anything that seems to be missing.
Contents
- 1 Run memtest overnight
- 2 Install Debian Etch 4.0 base on an HP netserver 1000R with a NetRAID card.
- 3 Update /etc/apt/sources.list.
- 4 Get the latest and greatest packages.
- 5 Remove unneeded or unwanted packages.
- 6 Install LAMP.
- 7 Install extra useful software.
- 8 Disable IPv6.
- 9 Stop console screen from blanking.
- 10 Exim 4 configuration.
- 11 Customizing Apache configuration.
- 12 Set up Apache virtual hosting.
- 13 Apache content compression.
- 14 Configure php.ini.
- 15 Enable SSL in Apache 2.
- 16 Change the date.
- 17 Installing and configuring tripwire.
- 18 Tweak MySQL configuration.
- 19 Installing and configuring portsentry.
- 20 Locking down the IP functionality.
- 21 limits.conf.
- 22 Install bastille.
- 23 Install the latest SUN JDK using pinning.
- 24 Install the NTP daemon to keep the time current.
- 25 Install APC as the PHP opcode cache.
- 26 Automatic daily downloading and email notification of pending security updates.
Run memtest overnight
Install Debian Etch 4.0 base on an HP netserver 1000R with a NetRAID card.
Linux setup steps/Install Debian Etch 4.0
Update /etc/apt/sources.list.
Linux setup steps/update APT sources list
Get the latest and greatest packages.
Linux setup steps/upgrade Debian packages
Remove unneeded or unwanted packages.
Linux setup steps/Remove unneeded or unwanted Debian packages
Install LAMP.
Linux setup steps/Install LAMP on Debian
Install extra useful software.
Linux setup steps/Install extra useful software
Disable IPv6.
Linux setup steps/Disable IPv6
Stop console screen from blanking.
Linux setup steps/Stop console screen from blanking
Exim 4 configuration.
Linux setup steps/Exim 4 configuration
Customizing Apache configuration.
Linux setup steps/Customize Apache configuration
Set up Apache virtual hosting.
Linux setup steps/Apache virtual hosting
Apache content compression.
Linux setup steps/Apache content compression
Configure php.ini.
Linux setup steps/Configure php.ini
Enable SSL in Apache 2.
Linux setup steps/Enable SSL in Apache 2
Change the date.
Linux setup steps/Change the date
Installing and configuring tripwire.
Linux setup steps/installing and configuring tripwire
Tweak MySQL configuration.
Linux setup steps/Tweak MySQL configuration
Installing and configuring portsentry.
Linux setup steps/installing and configuring portsentry
Locking down the IP functionality.
Linux setup steps/Locking down the IP functionality
limits.conf.
Linux setup steps/Set limits.conf
Install bastille.
Linux setup steps/Install bastille
Install the latest SUN JDK using pinning.
Linux setup steps/Install the latest SUN JDK using pinning
Install the NTP daemon to keep the time current.
Linux setup steps/Install NTP daemon to keep the time current
Install APC as the PHP opcode cache.
Linux setup steps/Install APC as the PHP opcode cache