1
edit
Changes
→Milton Paiva Neto
===Milton Paiva Neto===
1. To install WordPress
Installation
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
#make install
Integration with mysql server
#vim /usr/local/www/data/wordpress/wp-config.php
<?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 -
===Varinder Singh===