01 2017 档案

摘要:Varnish,Nginx搭建缓存服务器 Varnish,Nginx搭建缓存服务器 一. varnish 1.安装pcre库,兼容正则表达式 # tar -zxvf pcre-8.10.tar.gz # cd pcre-8.10 # ./configure --prefix=/usr/local/p 阅读全文
posted @ 2017-01-17 10:12 chenjianwen 阅读(1240) 评论(0) 推荐(0) 编辑
摘要:内核参数优化 # vi sysctl.conf 增加以下配置 net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 1800 net.ipv4.ip_conntrack_max = 16777216 # 如果使用默认参数,容易出现网络丢包 阅读全文
posted @ 2017-01-17 09:37 chenjianwen 阅读(308) 评论(0) 推荐(0) 编辑
摘要:111111111111111111111111111111111111111111111111111111111111111111111111 在服务器上更新了新的 jdk,也在 /etc/profile 中设置了新的 JAVA_HOME,并且 source /etc/profile 然后使用Ja 阅读全文
posted @ 2017-01-14 14:12 chenjianwen 阅读(2565) 评论(0) 推荐(0) 编辑
摘要:在linux系统的环境下,不管是root用户还是其它的用户只有登陆系统后用进入操作我们都可以通过命令history来查看历史记录,可是假如一台服务器多人登陆,一天因为某人误操作了删除了重要的数据。这时候通过查看历史记录(命令:history)是没有什么意义了(因为history只针对登录用户下执行有 阅读全文
posted @ 2017-01-11 21:29 chenjianwen 阅读(674) 评论(0) 推荐(0) 编辑
摘要:安装: tar -zxvf redis-3.2.6.tar.gz cd redis-3.2.6make make installcd utils/ sh install_server.sh 自定义路径安装: 解压 cd redis-3.2.6 make cd src make install PRE 阅读全文
posted @ 2017-01-02 14:37 chenjianwen 阅读(175) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示