Build lamp environment on mint17

Source: Internet
Author: User

using the Apt-get method is the simplest and fastest and most stable in a desktop Linux environment. Execute the following command separately: (1) Install MySQL sudo apt-get install mysql-server sudo apt-get install mysql-client (2) Install Apache sudo apt-get installed Apache2 (3) Install PHP sudo apt-get install php5 sudo apt-get install libapache2-mod-auth-mysql sudo apt-get install Php5-mysql After the installation, the detection is successful: (1) Check whether MySQL is normal input in the terminal: Mysql-uusername-ppassword (replace username and password with the one you set) to see if you can log in normally (2) Detect if Apache is normally open in the browser: http://localhost/If the following information appears, it is normal. It works! This is the default Web page for this server. The Web server software is running and no content has been added, yet. (3) detection PHP is normal Ubuntu under the default installation path of Apache/var/www/html, to its directory under the new info.php file, the file content is: <?phpphpinfo ();? > then open in the browser: http://localhost/info.php See if it's OK. Note: Creating a new file directly in the directory may not have permission to add the current user right: Su root (Root user) Chown username/var/www (replace username with your current user's username) exit (exit Root)

Build lamp environment on mint17

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.