Professional Documents
Culture Documents
Introduction 3
Introduction
WordPress is an open source blog publishing application powered by PHP and MySQL which can also
be used for content management. It has many features including a workflow], a plug-in architecture and a
templating system. Used by over 2% of the 10,000 biggest websites, WordPress is the most popular blog
software in use today. You can also use WordPress for your website. It was first released in May 2003 by
Matt Mullenweg as a fork of b2/cafelog. As of September 2009, it is being used by 202 million websites
worldwide.
XAMPP is an easy-to-use multi-platform package that installs Apache, MySQL, PHP, phpMyAdmin, and a
whole slew of other software useful for dynamic web development on your computer. Installation is
painless, and configuration minimal. In this Hands-on Lab, I’ll guide you through installing the package on
Linux CentOS5.
Assumptions:
It’s assumed that you have a good understanding of Linux operating system and its working environment.
It’s also assumed that you know how to install and configure Linux CentOS5, if not go ahead and pop over
to scribd.com and check out a good howto entitled “Install Configure and Upgrade Linux CentOS5 Server
v1.1” to get you started.
3
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very
easy to install and to use - just download, extract and start.
Warning 1: Please use only this command to install XAMPP. DON'T use any Microsoft Windows
tools to extract the archive, it won't work.
Warning 2: already installed XAMPP versions will get overwritten by this command.
4
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
# /opt/lampp/lampp start
If you get any error messages please take a look at the Linux FAQ.
# /opt/lampp/lampp stop
# /opt/lampp/lampp start/stop/restart/status
11. Now you should see the start page of XAMPP containing some links to check the status of the
installed software and some small programming examples. Make sure to click the Security link and
follow the instruction necessary to secure your XAMPP engine http://localhost/xampp/, see
Fig. 1.
5
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Note: You’ll be prompted to enter password for XAMPP server, MySQL/phpMyAdmin, MySQL pma,
MySQL and FTP. Please make note of the password entered as you’ll need them to log into XAMPP
server again. Feel free to use a single password for all the XAMPP components to make your life
easier!
2. On the left column click "phpMyAdmin" link, login with root user credentials; and from Fig. 2, under
MySQL localhost heading; complete as follows:
6
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
7
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.
mysql>Quit
Bye
[root@server02 bin]#
2. Change into the download directory and untar the file as follows:
3. Make "wordpress" directory under /opt/lampp/htdocs/, and move all the wordpress files into
it, as follows:
The full document has moved to Docstoc.com. You can access and download it from here:
http://www.docstoc.com/docs/29050994/Step-by-Step-Install-Guide-WordPress-on-Linux
-----------------------------------------------
Kefa Rabah is the Founder of Global Technology Solutions Institute. Kefa is knowledgeable in several
fields of Science & Technology, Information Security Compliance and Project Management, and
Renewable Energy Systems. He is also the founder of Global Open Versity, a place to enhance your
educating and career goals using the latest innovations and technologies.
8
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada