Ubuntu 14.04 Install phpadmin-MySQL graphical management interface

Source: Internet
Author: User
Tags install php mysql gui phpmyadmin

Due to the need for learning, I moved the site development environment from windows to the Ubuntu,ubuntu before and found no difficult place, as long as Baidu generally have a solution. But it's always known that Ubuntu is a collection of open source software, and because of the version of the problem many online tutorials are no longer applicable. It took 2 hours today to configure the Eclipse,tomcat,mysql,phpadmin installation properly. Here only the problem of the relatively large MySQL and Phpadmin installation methods recorded, for future reference.


1. Install Apache.

ubuntu14.04 seems to be bringing Apache, or it may be the same time I installed what software, but the installation is also very simple, as follows:
sudo apt-get install apache2
Open http://localhost/with Firefox, the interface displays "it works", OK.

Remember, the restart command is sudo/etc/init.d/apache2 restart

2. Install PHP.

Some people say I do not have PHP, I just want to use MySQL GUI only, there is no need to be so troublesome. I have been to find some of the graphical interface before others to share the experience of the client can not be used, the new version of Mysql-bench I do not understand, simply directly with phpMyAdmin, this page display, is also very intuitive, recommended.

sudo apt-get install php5sudo apt-get install libapache2-mod-php5sudo/etc/init.d/apache2 restart

Watch this step! Because of the version problem now the page in the HTML folder, placed directly under the WWW folder cannot be displayed successfully. Of course, this can also be solved by the configuration file, I think this is more convenient.

Test:

sudo gedit/var/www/html/test.php
Write
<?phpphpinfo ();? >

, then save, open http://localhost/test.php, display PHP configuration information on ok!


3. Install MySQL Database
sudo apt-get install Mysql-server
Wait until the popup password input, enter the password note login mysql command for:

Mysql-u root-p
To have PHP work with MySQL, edit
Uncomment the extension=msql.so, save the file, and then restart Apache.

4. Installing phpMyAdmin

sudo apt-get install phpMyAdmin
Installation is complete, browser access to Http://localhost/phpmyadmin does not open the database management interface, because the phpMyAdmin folder is not in the/var/www/html/folder, this time with a soft connection is good
Cd/var/www//htmlsudo ln-s/usr/share/phpmyadmin
Visit again Http://localhost/phpmyadminYes, the account password here refers to your MySQL account password.

This completes the installation process.


Ubuntu 14.04 Install phpadmin-MySQL graphical management interface

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.