1, the project code on the server, this place will have a variety of options (look for the next time by tidy), here choose to use svn to manage the code
Can be installed separately lnmp own environment, you can also find a key installation
svn to build, take note that there are three versions of the code, the local project code a, b svn repository version of the code on the server, online access code on a server c; a principle that got me to upload to b, c to update and maintain synchronized with the b
Solution: Open the php.ini the following cgi.fix_pathinfo = 0 to 1 save and exit reboot lnmp
Server 500
The solution: put the php.ini display_errors = Off to ON save and exit reboot lnmp
open_basedir error
The solution: find nginx / conf / under fastcgi.conf file comment out the last line
Workman problem may arise if an error, then start stream_socket_server disabled
Solution to the php.ini last stream_socket_server disable_functions deleted
4. Database Import
First mysql configured to access an external network or direct introduction into the database mysql
Database port firewall settings
Create a read-only account
进入sql修改
grant all privileges on *.* to '用户名'@'%' identified by '密码' with grant option;
创建只读用户
GRANT select ON *.* to 'read_user'@'%' identified by 'apld#$%666';
创建所有权限
GRANT all privileges ON *.* to 'root'@'%' identified by '746382';
刷新权限
flush privileges;
This new connection using the account database, importing and exporting operation
5, on a number of run-time directory given 777 permissions, such as runtime
6, running again, after a successful deployment, it is recommended to maintain a project site in screen inside