A good soldier must have his own heart of arms, a qualified front-end development to have their own development of the computer environment to write code. Next, we recommend a powerful integration software, no need to install the configuration database server and so on. XAMPP software integrates Apache server and MySQL database, etc. One-click Installation, a little configuration will give you a satisfactory development environment.
First step: Download XAMPP software
Can go to Baidu search Xampp, can find a lot of installation package
I prefer this version of Xampp v3.1.0, now available to everyone link: http://pan.baidu.com/s/1i41ud8p Password: Y8JC
Next is the normal installation software, the following provides detailed installation picture steps
Installation path It's up to me, I don't like it in the system tray, so I chose to install it on the D drive.
Install this step when you see a lot of red forks, as long as the network in the case of one click each red fork, will be automatically installed.
After the above steps, XAMPP software even if the installation is successful, Apache and MySQL have successfully started, but the command line into the database is a bit of a problem, then the computer environment variable is slightly configured,
Locate the installation directory for the XAMPP software, and then go to the Xampp folder to find the MySQL folder, go to the MySQL folder to locate the Bin folder, and copy the path to its Bin folder. Because the XAMPP is installed on the D drive, I now provide my bin file path for reference
Then find my computer on my desktop, right-click, select Properties, then select Advanced System Settings
After entering the environment variable, find the system variable column, then find the path variable, select, click the Edit button below
Paste the path of the bin folder in the above MySQL to the variable value, (Note: Do not delete the previous variable value, just append at the end, if the previous variable value end without a semicolon end, in the Add Bin folder path, must precede it to add a semicolon of the citation)
After the completion of the above steps are completed, the XAMPP software has been successfully configured, choose to run cmd Open the command line, enter the Mysql-uroot-p press two to return. See the following interface even if the configuration is successful.
XAMPP installation Configuration Detailed steps