SRA840 Lab8

From CDOT Wiki
Revision as of 17:23, 11 April 2009 by Milton.paiva (talk | contribs) (Milton Paiva Neto)
Jump to: navigation, search

Milton Paiva Neto

1. To install WordPress


Setting up the database parameters

Create a database named wordpress and grant the proper permissions.

# mysql -u root -p
mysql> create database wordpress;
mysql> grant all on wordpress.* to wordpress@localhost identified by 'password';
mysql> quit

Installing wordpress

#cd /usr/ports/www/wordpress
#make install

Integration with mysql server

#vim /usr/local/www/data/wordpress/wp-config.php
// ** MySQL settings ** // 
define('DB_NAME', 'wordpress');    // The name of the database 
define('DB_USER', 'wordpress');     // Your MySQL username 
define('DB_PASSWORD', 'password'); // ...and password 
define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value 
define('DB_CHARSET', 'utf8'); 
define('DB_COLLATE', ); 

2. To install WordPress plugins -

Go the website:, then choose the plugins you want to install. Once you choose the plugins, download then to a temporary folder, unzip it and copy the files to the plugins folder of your wordpress (/usr/local/www/apache22/data/wordpress/wp-content/plugins). Then enter the web administrator page of wordpress and the new plugins will be available there, now select the ones you need to activate and have fun !!!

Varinder Singh

Installing wordpress plugins

Installation of wordpress plugins is easy process. I have installed the three plugins given below

  1. Free Kareem (Support for Free Speech)
  2. Get Recent Comments (Display the most recent comments or trackbacks with your own formatting in the sidebar. Visit Options/Recent Comments after activation of the plugin)
  3. Wp Super Cache (Very Fast caching plugin)

Installation steps

1. #cd /usr/local/www/data/wordpress/wp-content/plugins
2. #elinks://
3. #unzip
4. #rm
6. click on plugins. It will show all new plugins just uploaded at location  /usr/local/www/data/wordpress/wp-content/plugins.
7. Click the activate.Its done!

Repeat the steps from 1 to 7 for rest of two plugins.