This guide will take you through each step required to build a Linux web server from the ground up. Starting with a new installation of CentOS 4.x, using Yum for updates and package installation, the LAMP components (Linux, Apache, MySQL and PHP), other modules such as Perl, Webalizer and FTP using VSFTP.
By following this guide, you can get a web server up and running within an hour or two depending on whether you follow it step by step, or prefer to experiment first.
What you need : Download CentOS!
CentOS is completely free and developed by a small but growing team of core developers provided to the public by a prominent North American Enterprise Linux vendor. In turn the core developers are supported by an active user community including system administrators, network administrators, enterprise users, managers, core Linux contributors and Linux enthusiasts from around the world.
CentOS has numerous advantages over some of the other clone projects including: an active and growing user community, quickly rebuilt, tested, and QA’ed errata packages, an extensive mirror network, developers who are contactable and responsive, multiple free support avenues including IRC Chat, Mailing Lists, Forums, a dynamic FAQ. Commercial support is offered via a number of vendors.
CentOS is distributed on four CD’s, but for purposes of building a web server, only CD 1 is required. At the time I write this the latest version on CentOS is 4.2.
phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web. Currently it can create and drop databases, create/drop/alter tables, delete/edit/add fields, execute any SQL statement, manage keys on fields, manage privileges,export data into various formats and is available in 50 languages.