1.用yum 搭建好 lnmp centos默认php5.1 mysql5.0 要添加wget ...引入respository key 才可以yum update
2.设置linux系统的网络配置 static ip地址必须无人使用 在cmd窗口 ping 可测试 弄好之后service network restart 防火墙也要设置运用 eth0 ftp上传等
3.将在windows开发好的项目通过 flashfxp上传至 用户目录 /home/yangxuehe 数据库也要备份
4.移动目录至 /var/www/html
5.启动mysql /usr/bin/mysql -uroot -pmysql 将备份好的数据导入
6.配置apache虚拟机 在/etc/httpd/conf.d 中新建 virtual.conf 配置虚拟机 配置好后 重启apache
7.修改/var/www/html/onepunch 这个文件夹的权限 chmod 777 -R onepunch chown root -R onepunch chgrp root -R onepunch
8.要把config.php中的mysql配置 视情况重新填写
2.设置linux系统的网络配置 static ip地址必须无人使用 在cmd窗口 ping 可测试 弄好之后service network restart 防火墙也要设置运用 eth0 ftp上传等
3.将在windows开发好的项目通过 flashfxp上传至 用户目录 /home/yangxuehe 数据库也要备份
4.移动目录至 /var/www/html
5.启动mysql /usr/bin/mysql -uroot -pmysql 将备份好的数据导入
6.配置apache虚拟机 在/etc/httpd/conf.d 中新建 virtual.conf 配置虚拟机 配置好后 重启apache
7.修改/var/www/html/onepunch 这个文件夹的权限 chmod 777 -R onepunch chown root -R onepunch chgrp root -R onepunch
8.要把config.php中的mysql配置 视情况重新填写