Jumat, 22 Juni 2012
Instalasi wordpress di ClearOS
PERSIAPAN INSTALASI
1. Pastikan webserver dan mysql server telah jalan.
Upgrade PHP ke versi 5.2.17 --> http://forum.clearos-indonesia.com/index.php?topic=638.0
Setelah itu lakukan perintah :
Code: [Select]
#yum --enablerepo=timb upgrade php
#service httpd restart
2. masuk ke direktori /var/www/html
Code: [Select]
#cd /var/www/html
3.Download file installer
Code: [Select]
#wget http://wordpress.org/latest.tar.gz
4. ekstrak file installernya
Code: [Select]
#tar -xzvf latest.tar.gz
#cd wordpress
5. ubah permission folder
Code: [Select]
#chmod -R 777 *
BUAT DATABASE
1. Masuk ke webconfig, Server - MySQL , isikan password untuk root MySQL, tekan update
2. Klik di GO , masuk ke PHPMyAdmin
3. Masukkan user = root, password= paswd yg anda buat tadi
4. Create new database = wpdb
5. Masuk privileges - Add a new User
User name = wpuser
Password = wppwd
Database for user = Grant all privileges on database
Global privileges = Check All
Tekan GO..
TAHAP INSTALASI
1.Ganti nama file wp-config-sample.php dengan wp-config.php kemudian edit
Code: [Select]
#mv wp-config-sample.php wp-config.php
Edit dengan vi
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wpdb');
/** MySQL database username */
define('DB_USER', 'wpuser');
/** MySQL database password */
define('DB_PASSWORD', 'wppwd');
/** MySQL hostname */
define('DB_HOST', 'localhost');
2. Buka browser, URL : http://ip_COS/wordpress
3. Isikan info disana seperti title name ,dll
4. Done..!
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar