Difference between revisions of "Debian stable Web Server step-by-step"
m (Reverted edits by 59.49.33.41 (Talk) to last version by Nickj) |
m (move down to the end "Install APC as the PHP opcode cache." (usually do this last)) |
||
Line 48: | Line 48: | ||
==[[Linux setup steps/Install NTP daemon to keep the time current|Install the NTP daemon to keep the time current]].== | ==[[Linux setup steps/Install NTP daemon to keep the time current|Install the NTP daemon to keep the time current]].== | ||
{{:Linux setup steps/Install NTP daemon to keep the time current}} | {{:Linux setup steps/Install NTP daemon to keep the time current}} | ||
− | |||
− | |||
==[[Linux setup steps/cron-apt|Automatic daily downloading and email notification of pending security updates]].== | ==[[Linux setup steps/cron-apt|Automatic daily downloading and email notification of pending security updates]].== | ||
{{:Linux setup steps/cron-apt}} | {{:Linux setup steps/cron-apt}} | ||
Line 60: | Line 58: | ||
==[[Linux setup steps/Permission changes|Permission changes]].== | ==[[Linux setup steps/Permission changes|Permission changes]].== | ||
{{:Linux setup steps/Permission changes}} | {{:Linux setup steps/Permission changes}} | ||
+ | ==[[Linux setup steps/Install APC as the PHP opcode cache|Install APC as the PHP opcode cache]].== | ||
+ | {{:Linux setup steps/Install APC as the PHP opcode cache}} |
Revision as of 06:53, 29 July 2010
This is a series of specific steps for setting up Debian Etch 4.0 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 Automatic daily downloading and email notification of pending security updates.
- 26 Test if all CPUs are being used.
- 27 Move Cronjobs forward a few hours.
- 28 Alias the poweroff command.
- 29 Permission changes.
- 30 Install APC as the PHP opcode cache.
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
Automatic daily downloading and email notification of pending security updates.
Test if all CPUs are being used.
Linux setup steps/test if using all cpus
Move Cronjobs forward a few hours.
Linux setup steps/move cronjobs forward a few hours
Alias the poweroff command.
Linux setup steps/Alias the poweroff command
Permission changes.
Linux setup steps/Permission changes