Masalah install phpmyadmin di centOS 5.9 / 6 "No package phpmyadmin available. Nothing to do"

Posted by

Sebelumnya ane lagi iseng-iseng buat install lampp buat VPS ane tapi ternyata ada masalah waktu point install phpmyadminnya alhasil stress dan bingung tapi gag nyerah dah :D googling sana sini jalan trus.. alhamdulillah sukses install phpmyadmin di VPS ane :D
oke dah gag banyak omong langsung aja buat sobat yang bermasalah waktu install phpmyadmin dengan error "No package phpmyadmin available. Nothing to do" di centOS 5 atau 6.

1. login sebagau super user / root
2. ketik perintah ini
 rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

nah kalo ada error waktu jalanin import diatas "
"error: http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt: import read 
   failed(-1).
" cara lainnya yaitu
2a. wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
2b. rpm --import RPM-GPG-KEY.dag.txt
3. cd /tmp
4. wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
5. rpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
6. yum install ntp httpd mysql-server php php-mysql php-mbstring php-mcrypt phpmyadmin
7. mysql_secure_installation
8. nano /etc/httpd/conf.d/phpmyadmin.conf
 Sebelumnya :
#
# Web application to manage MySQL
#


Order Deny,Allow
Deny from all
Allow from 127.0.0.1

Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin

edit menjadi
sesudahnya:
#
# Web application to manage MySQL
#
#
#
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#

Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin

Ctrl-X to save
9. nano /usr/share/phpmyadmin/config.inc.php
Cari baris

$cfg['Servers'][$i]['auth_type'] = 'cookie';

Ganti dengan

$cfg['Servers'][$i]['auth_type'] = 'http';
Ctrl-X to save again.
10. Selanjutnya terakhir adalah restart apache lagi.
service httpd restart
11. Sekarang buka phpmyadmin sobat http://ipdomainanda/phpmyadmin

Semoga bermanfaat buat temen-temen semua yah :-)

One Comment

  1. Pengen yang lebih seru ...
    Ayo kunjungi www.asianbet77.com
    Buktikan sendiri ..

    Real Play = Real Money

    - Bonus Promo Red Card pertandingan manapun .
    - Bonus Mixparlay .
    - Bonus Tangkasnet setiap hari .
    - New Produk Sabung Ayam ( minimal bet sangat ringan ) .
    - Referal 5 + 1 % ( seumur hidup ) .
    - Cash Back up to 10 % .
    - Bonus Royalty Rewards setiap bulan .

    Untuk Informasi lebih jelasnya silahkan hubungi CS kami :
    - YM : op1_asianbet77@yahoo.com
    - EMAIL : melasian77cs@gmail.com
    - WHATSAPP : +63 905 213 7234
    - WECHAT : asianbet_77
    - SMS CENTER : +63 905 209 8162
    - PIN BB : 2B4BB06A / 28339A41

    Salam Admin ,
    asianbet77.com

    Download Disini

    BalasHapus

any problem ?? please coment here and i will respond your question or testimoni to my blog. thanks for your visit. :)

sahabat