上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 49 下一页
摘要: 在Ubuntu(192.168.1.20)中部署项目后,mysql还在另外一台windows(192.168.1.6)机子上,ping windows时可以ping通,但是访问项目提示: perationalError: (2003, "Can't connect to MySQL server o 阅读全文
posted @ 2018-12-16 11:40 秋寻草 阅读(1346) 评论(0) 推荐(0) 编辑
摘要: 一般来说Linux不允许使用root账户连接,修改配置 vi /etc/ssh/sshd_config 修改后重启ssh服务 sudo /etc/init.d/ssh restart 阅读全文
posted @ 2018-12-15 15:33 秋寻草 阅读(583) 评论(0) 推荐(0) 编辑
摘要: 创建Ubuntu后是没有root账户的,执行 然后系统会提示你输入普通用户的密码。输入后,按回车,然后重复输入两次新的root密码即可激活root用户。 阅读全文
posted @ 2018-12-15 15:28 秋寻草 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 直接 sudo apt-get install nginx 如果不行 先执行 sudo apt-get update 阅读全文
posted @ 2018-12-15 14:44 秋寻草 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 一、设置IP、网关、DNS 新安装的Ubuntu系统ifconfig后发现没有ip,所以要设置IP、网关、DNS等,编辑 /etc/networking/interfases 设置DNS: 修改文件:/etc/resolvconf/resolv.conf.d/base(这个文件默认是空的) 在里面插 阅读全文
posted @ 2018-12-15 10:30 秋寻草 阅读(1769) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/WFping518/article/details/81011722 阅读全文
posted @ 2018-12-14 22:51 秋寻草 阅读(447) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/mdw5521/article/details/79270035 阅读全文
posted @ 2018-12-14 22:30 秋寻草 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 编辑文件/etc/vim/vimrc.tiny,将“compatible”改成“nocompatible”非兼容模式; 并添加一句:set backspace=2 阅读全文
posted @ 2018-12-14 17:02 秋寻草 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 切换Python3为默认版本: sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100 sudo update-alternatives --install /usr/bin/python pyth 阅读全文
posted @ 2018-12-13 19:51 秋寻草 阅读(132) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/7cb1a824333e 启动Nginx: 安装好后执行:sudo /etc/init.d/nginx start OK,访问一下 查找进程:ps -ef | grep nginx 杀进程:pkill -9 nginx 阅读全文
posted @ 2018-12-13 18:35 秋寻草 阅读(158) 评论(0) 推荐(0) 编辑
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 49 下一页