kedarui

1、下载一键安装包:

     http://pan.baidu.com/s/1o6lWyeu

2、unzip -x sh.zip

    chmod -R 755 sh

    ./install.sh

    等待半小时左右

3、查看nginx是否启动

    ps -ef|grep nginx

    查看mysql是否启动

    ps -ef|grep mysql

4、配置数据库

   ifcofig 查看公网ip
   cat account.log sh目录中查看安装日志
   mysql -P3306 -uroot -ppassword -hlocalhost

   show databases;
   use mysql;
   show tables;
   desc user;
   select host,user,password form user;

   update user set host=\'%\' where host=\'localhost\'  修改,公网ip可以访问

   flush privileges   刷新后才能生效!

 

***chown -R root:www web   修改文件夹所有者

分类:

技术点:

相关文章:

  • 2021-11-25
  • 2021-11-25
  • 2022-12-23
  • 2022-02-09
  • 2021-10-30
  • 2021-11-25
  • 2021-10-30
  • 2021-11-25
猜你喜欢
  • 2021-09-29
  • 2021-11-25
  • 2022-02-09
  • 2021-12-09
相关资源
相似解决方案