Install MYSQL5 + Apache2 + php5+phpmyadmin using the Apt-get method

Source: Internet
Author: User
Tags phpmyadmin

Installing the MYSQL5
sudo apt-get install mysql-server

Installing Apache2
sudo apt-get install apache2

Installing PHP5
sudo apt-get install php5

installing the MySQL module for PHP
sudo apt-get install php5-mysql

Installing the GD library
sudo apt-get install PHP5-GD

Installing phpMyAdmin
sudo apt-get install phpMyAdmin
==================================
apache2 operation Command:
start: Sudo/etc/init.d/apache2 start
Restart : sudo/etc/init.d/apache2 restart
Close: sudo/etc/init.d/apache2 stop
default home directory for apache2:/var/www/

phpMyAdmin The path to the default post-Installation page is/usr/share/phpmyadmin
so I need a CD to/var/www .
Create a new connection at the bottom of the/var/www
sudo ln-s/usr/share/phpmyadmin
this will automatically find the page program under the phpMyAdmin path when accessed under Firefox.

This article is from the "Epicor, Magento" blog, so be sure to keep this source http://3154408.blog.51cto.com/3144408/1553811

Install MYSQL5 + Apache2 + php5+phpmyadmin using the Apt-get method

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.