- 博客(5)
- 收藏
- 关注
原创 部署redis集群
环境:主redis 192.168.150.3从redis 192.168.150.4web服务器 192.168.150.5一、 部署redis集群: (两台都有缓存,同时存一样的)主redis:1)#yum -y install redis2) #vim /etc/redis.conf #bind 127.0.0.1 // 127时
2018-01-28 16:48:38
223
翻译 iptables 扩展
1、multiport扩展 以离散方式定义多端口匹配,最多指定15个端口: [!] --source-ports, --sports port[,port|,port:port].....: 指明多个源断口口; [!] --destination-ports, --dports port[,port|,port:port].....: 指明多
2018-01-20 18:01:07
422
原创 访问KVM宿主机IP指定端口,跳转到虚拟机IP指定端口的方法
操作系统:centos7u3KVM宿主机:10.18.41.223:8000vm: 192.168.122.4:22vm连网模式:NAT要求:通过ssh访问10.18.41.223:8000最终跳转到192.168.122.4:22一、准备好vm,虚拟网络接口使用NAT注:vm在默认NAT模式已能ping通外网,虚拟机在启动时已在iptables 已在nat表配SNAT规则。
2018-01-15 21:52:28
5412
1
原创 CentOs7_Nginx_Uwsgi_Flask环境搭建
一、安装基本环境yum -y install gcc gcc-c++ zlib zlib-devel openssl openssl-devel pcre pcre-devel GeoIP gd libXpm libxslt sqlite-devel nginx二、查看nginx是否安装成功systemctl start nginx;systemctl enable nginx ps -
2018-01-14 14:36:07
657
转载 TCP/IP三次握手四次断开
TCP的三次握手(建立连接)和四次挥手(关闭连接)参照:http://course.ccniit.com/CSTD/Linux/reference/files/018.PDFhttp://hi.baidu.com/raycomer/item/944d23d9b502d13be3108f61 建立连接: 理解:窗口和滑动窗口TCP的流量控制TCP使用窗口机制进行流
2018-01-08 21:29:17
14052
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人