What is WordPress
WordPress is a free open source blogging content management system (CMS). It requires PHP and MySQL for its working. It has inbuilt template management known as themes and additional functionality can be provided by Plugins. Latest Version is 3.9 Code named Smith. Download latest version of WordPress from – http://wordpress.org/latest.tar.gz
Requirement for installation
- Apache Web Server ( httpd) – Link to Guide on Installation of Apache
- PHP version 5.2.4 or greater
- MySQL version 5.0 or greater
Download latest version from link provided above. Copy to this Tar file to home directory. [adsenseyu1] Extract contents in home directory tar -xzvf latest.tar.gz All contents will be inside directory WordPress
Configure MySQL – Create WordPress Database and User
Go to terminal mode and log into MySql Database mysql -u root -p Now Create Database for your Site, I am creating a Database with name myblog CREATE DATABASE myblog; You can use any name for your Database in place of myblog. Now create a user for your Database, I am creating user blogger. You can use any name. CREATE USER blogger@localhost; Set the password for your new user SET PASSWORD FOR blogger@localhost= PASSWORD(“blogger123”); Finally set privileges for this user on your Database GRANT ALL PRIVILEGES ON myblog.* TO blogger@localhost IDENTIFIED BY ‘blogger123’; Where myblog is your blog Database, blogger is user name and blogger123 is password. Finally reload your Privileges FLUSH PRIVILEGES; And exit MySql EXIT
SetUp and Configure WordPress
Setup file wp-config.php. Copy wp-config-sample.php and create wp-config.php.
Open wp-config.php with Linux text editor vi vi wp-config.php Provide Name of Database, Database username and database password. Marked with Red box. and Save and close your file.
Copy All files in extraxted WordPress directory to Home directory of Web Server in case of Apache on Linux it is /var/www/html/ , if you have not chosen something else Run installation script http://yourwebsite/wp-admin/install.php Provide your site title, desired user name, your choice of a password (twice) and your e-mail address. Finally select option if you would like your blog to appear in search engines like Google and Technorati. Click on Install WordPress.
Once Installation completes below screen will