摘要: 1.#安装Apache2,目前163的源是2.2.22版本02.sudo apt-get install apache203. 04.#安装MySQL,目前163的源是5.5.24版本05.apt-get install mysql-server mysql-client06.#注意MySQL不是无 阅读全文
posted @ 2019-02-15 18:09 酷酷的城池 阅读(233) 评论(0) 推荐(0)
摘要: 在从服务的redis.conf 添加 slaveof 主服务器 端口 查看reids进程和端口,都是存在的。只是ip地址是127.0.0.1而不是0.0.0.0,只是本机能使用; 查找redis的配置文件redis.conf ; 编辑配置文件vim /usr/local/redis/etc/redi 阅读全文
posted @ 2019-02-15 17:03 酷酷的城池 阅读(162) 评论(0) 推荐(0)
摘要: sudo apt-get purge vim-common sudo apt-get updatesudo apt-get upgradesudo apt-get install vim 阅读全文
posted @ 2019-02-15 10:41 酷酷的城池 阅读(992) 评论(0) 推荐(0)
摘要: 第一种: sudo vim /etc/resolv.conf 添加nameserver 8.8.8.8 第二种: /etc/apt/sources.list 的内容换成 deb http://old-releases.ubuntu.com/ubuntu/ raring main universe r 阅读全文
posted @ 2019-02-15 09:52 酷酷的城池 阅读(13485) 评论(0) 推荐(0)