Build Your Own Debian/Ubuntu LAMP Server – Quick & Easy Do it Yourself Installation
This howto tutorial was written by Scott from MySQL-Apache-PHP.com.
- Apache 2 – Linux Web server
- MySQL 5 – MySQL Database Server
- PHP4/5 – PHP Scripting Language
- phpMyAdmin – Web-based database admin software.
Note: Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server.
One very important aspect of computer security and hack prevention is the collection and assessment of system log files. In the mind of a hacker, when gaining unlawful entry to a system their first instinct is to cover all traceable tracks. This means deleting log files and possibly even setting up backdoors to enter again at will sometime later in the future. It is important, as a system administrator, to ensure that even if your system has been broken into or tampered with, that you have traceable evidence to figure out exactly what went wrong, and where it went wrong. Hackers tend to tamper with system logs making this sometimes impossible to figure out. Setting up a remote syslog server for all of your servers to send their logs to is how we can ensure that your logs will be completely accurate and un tampered with.
The syslog server configured in this example is an old 486 with an 8GB hard drive, running Slackware Linux 10.2. However, the configuration and commands will work for just about any Linux distribution.