1. First download yii-advanced-app-2.0.6.tgz
My local service is Apache.
2. Unzip to the E:\WAMP\WWW\YII2 directory and cut all files in the directory advanced to E:\wamp\www\yii2
3. Open cmd, switch to the current directory, run the Init.bat file
4. You can now open your browser: Enter http://localhost:8080/yii2/
5. Click frontend "Web" To view the successful installation
6. Next we start to configure the database, first found in the current directory common>config>main-local.php
Open main-local.php to modify, change yii2advanced to your own database, mine is the new Yii2;
7. Open cmd to switch to root E:\wamp\www\yii2, enter: Yii.bat migrate (meaning to create a data table for migrate), where a user table is created by default
8. We can switch to the background interface to see the input Url:http://localhost/yii2/backend/web
9. How do I log in or register? All right, open the front desk. Click Signup to register, such as Demo
10. Open the Database user table for viewing
By the end of this installation, you can log in to the front office.
YII2.0 installation tutorial, database configuration front and back table