链接数据库错误: InternalError: (1130, u"Host '97.64.40.100' is not allowed to connect to this MySQL server") mysql -uroot -p create user 'root'@'%' identified by 'root'; grant all privileges on *.* to 'root'@'%' with grant option; 参考链接:sspanel远程节点 参考链接
经常要部署多台服务器上面的应用,如果一个个机器的登录太麻烦. 所有就想到编写一个脚本来部署不同的服务器 前提条件: 配置ssh免登陆 如果不会的请参加我的另外一篇文章 http://blog.csdn.net/chenpy/article/details/30281515 两个错误: Pseudo-terminal will not be allocated because stdin is not a terminal.使用ssh -t -t 可以解决 另外一个问题Agent admitted