Build a Web server under Ubuntu (apache2+php5+mysql5+phpmyadmin)

Source: Internet
Author: User

1 Install MySQL service and client, follow the prompts to enter the root password of MySQL

$sudo apt-get Install Mysql-server mysql-client
2 Installing the APACHE2 server

$sudo Apt-get Install Apache2
3 Installing PHP5

$sudo apt-get Install php5 libapache2-mod-php5
4 installation related Other related modules

$sudo apt-get Install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache p Hp5-ming php5-ps Php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
5 Install phpMyAdmin Management database, after the installation configuration is completed, you can 127.0.0.1/phpmyadmin login to the management database in the browser address bar

$sudo Apt-get Install phpMyAdmin
6 copy phpMyAdmin to default directory
$sudo Cp-r phpmyadmin/var/www/html/
7 Restarting Apache
$sudo/etc/init.d/apache2 Restart
8 now browser address column input 127.0.0.1/phpmyadmin test

Build a Web server under Ubuntu (apache2+php5+mysql5+phpmyadmin)

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.