download wp dan ekstrak
wget http://wordpress.org/latest.tar.gz
tar -zxvf latest.tar.gz
mv wordpress/* /home/prayoga/www/commands.org.uk/htdocs/
cd /home/prayoga/www/commands.org.uk/htdocs/
cp wp-config-sample.php wp-config.php
edit file wp-config.php
vi wp-config.php
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'nm_db');
/** MySQL database username */
define('DB_USER', 'nm_user');
/** MySQL database password */
define('DB_PASSWORD', passwd');
/** MySQL hostname */
define('DB_HOST', 'localhost');
siapkan database
/usr/local/mysql/bin/mysql -u root -p
mysql> create database nm_db;
mysql> grant all on nm_db.* to nm_user@localhost identified by 'passwd';
mysql> flush privileges;
akses website dan ikuti langkah-langkahnya.
0 comments:
Post a Comment