Skip to content

Gubug IT

IT and Design News Update

Sebenarnya ini terkesan basi..tapi gak ada salahnya aku nyoba bagi-bagi ilmu

http://www.apachefriends.org/en/xampp.html

atau kopi paste di lab juga ada…

bis gitu instal XAMPP dan pastikan terarah ke C:\ (ndak tau jangan tanya aku kenapa kudu disini oke coy?)
wes??

lanjut ma fren abis install semua jalanin tuh XAMPP melalui Start – All program – apache frend – XAMPP – XAMPP control panel

sudah?nah,,kalau sudah,,ntar keluar ini…

klik start pada Apache dan MySql

sekarang mari kita praktek langsung ke XAMPP via localhost

buka browser Mozilla / IE / OPERA / SAFARI

dialamatnya ketik http://localhost/

sudah??kalo udah ntar keluar splash screen welcomenya..

lanjut fren!!

sekarang mbikin databasenya wordpress…

sekarang buatlah databasenya ya??arahkan perhatianmu ke TOOLS ,,, phpMyadmin di klik ya…
trus create database atas nama sodara wordpress wes??

sekarang kembali ke mas wordpress..

Donlod WordPress coy!!!

www.wordpress.org

udah??ekstrak file nya ke sini…

C:\xampp\htdocs\wordpress(bikin folder atas nama wordpress)

udah kan??sekarang buka file yang namanya…

WP-CONFIG-SAMPLE.PHP

ubah file WP-CONFIG-SAMPLE.PHP….

Code:
<?php
// ** MySQL settings ** //
define('DB_NAME', 'wordpress');    // The name of the database
define('DB_USER', 'username');     // 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', '');

// Change SECRET_KEY to a unique phrase.  You won't have to remember it later,
// so make it long and complicated.  You can visit https://www.grc.com/passwords.htm
// to get a phrase generated for you, or just make something up.
define('SECRET_KEY', 'put your unique phrase here'); // Change this to a unique phrase.

// You can have multiple installations in one database if you give each a unique prefix
$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!

// Change this to localize WordPress.  A corresponding MO file for the
// chosen language must be installed to wp-content/languages.
// For example, install de.mo to wp-content/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');

/* That's all, stop editing! Happy blogging. */

define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'wp-settings.php');
?>

ubahlah instruksi yang berawalan define itu menjadi sperti yang di bawah ini.
jadi seperti ini:

Code:
<?php
// ** MySQL settings ** //
define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'root'); // Your MySQL username
define('DB_PASSWORD', ''); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

// Change SECRET_KEY to a unique phrase.  You won't have to remember it later,
// so make it long and complicated.  You can visit https://www.grc.com/passwords.htm
// to get a phrase generated for you, or just make something up.
define('SECRET_KEY', 'put your unique phrase here'); // Change this to a unique phrase.

// You can have multiple installations in one database if you give each a unique prefix
$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!

// Change this to localize WordPress.  A corresponding MO file for the
// chosen language must be installed to wp-content/languages.
// For example, install de.mo to wp-content/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');

/* That's all, stop editing! Happy blogging. */

define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'wp-settings.php');
?>

lalu save as WP-CONFIG.PHP..

nah sekaraang kembali lagi ke browser anda
ketik alamat ini

http://localhost/wordpress/wp-admin/install.php…

sudah? welcome toooo wordpress…

monggo di coba… ntar aku revisi lagi kalo ada tambahan lagi oke pren!!!??
study

sumber : http://www.tamba2.org.uk/wordpress/xampp/

%d blogger menyukai ini: