hey, it works!! (install phpmyadmin in ubuntu)


if you’re first ubuntu user, you may be confused how to play with my sql/php. Some people used to xampp to operate their php script and mysql database on their windows. I know well how convenient xampp is.Installing xampp is equal to install apache server, mysql, and phpmyadmin. all at once. So I’m here to tell you a story how can I install my phpmyadmin.

The concept is same. We need apache on your computer as server. Open your terminal and type:

sudo apt-get install apache2

You need to install PHP as server language. I don’t understand what exactly installing php is, but It’s also included in xampp package.

sudo apt-get install php5

Then, you need to install my-sql as server database:(you need average 120 MB on your ubuntu drive system)

sudo apt-get install mysql-server

type this script to install mysql for apache…

sudo apt-get install libapache2-mod-auth-mysql

install this too…

sudo apt-get install php5-mysql

To Install Phpmyadmin, use this script:

sudo apt-get install phpmyadmin

If you have installede everything you need, then try to start your apache

/etc/init.d/apache2 start

Next mission: check your browser, mozilla FF of course, then type:


If you see this:

It works!

it means that your apache has run well! well done! But your mission hasn’t finished yet.

Next, you will edit apache configurations. You may edit it with gedit or vi editor.

sudo gedit /etc/apache2/apache2.conf


sudo vi /etc/apache2/apache2.conf

add this line and save:

Include /etc/phpmyadmin/apache.conf

Now go to http://localhost/phpmyadmin .

Okay, now you have your phpmyadmin on your ubuntu works well.


2 Comments Add yours

  1. zulfikar berkata:

    have you ever set DHCP server for thin client installation purpose? I face problems of inunderstanding for DHCP settings

  2. riz berkata:

    no, i haven’t face that problem yet. If I know the solution, i’d post it later, k?

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Foto Google+

You are commenting using your Google+ account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )


Connecting to %s