+86 189 8218 1436Mon. - Fri. 10:00-22:00

Archive for year: 2015

  • Haproxy 四层代理

    1.安装 #wget http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.22.tar.gz #tar zxvf haproxy-1.4.22.tar.gz #cd haproxy-1.4.22 #uname -r #make TARGET=linux26 PREFIX=/usr/local/haproxy #make install PREFIX=/usr/local/haproxy #mkdir conf #/usr/local/haproxy/sbin/haproxy -f haproxy.cfg haproxy.cfg配置 ###########全局配置######### global chroot /usr/local/ha...

    Continue reading »

  • CentOS 7 安装配置OpenVPN

    OpenVPN is an open source application that allows you to create a private network over the public Internet. OpenVPN tunnels your network connection securely trough the internet. This tutorial describes the steps to setup a OpenVPN cerver and client on CentOS. Prerequisites Server with CentOS 7. root priveleges. What we will do in this tutorial: Enable ...

    Continue reading »

  • OpenVPN部署 安装OpenVPN服务端

    1、OpenVPN是基于OpenSSL的,所有要先安装OpenSSL: [root@Zabbix-Server ~]# yum install openssl openssl-devel gcc 2、安装lzo软件,用于压缩隧道通信数据加快传输数度(版本lzo-2.06) [root@Zabbix-Server lzo-2.06]# ./configure --prefix=/usr/local/lzo [root@Zabbix-Server lzo-2.06]# make [root@Zabbix-Server lzo-2.06]# make install 3、安装OpenVPN(版本openvpn-2....

    Continue reading »

  • Docker为容器分配指定物理网段的静态IP

    官方有关于网桥和IP配置的文档地址:https://docs.docker.com/articles/networking/ 最近遇到几个客户准备上docker到部分生产线上做测试用,这里将网络配置过程分享给大家: 1、宿主机(系统采用ubuntu-14.04.1-server-amd64)的网络采用桥接模式(默认是DHCP模式,还有一种模式就是静态 IP),网桥的网段与物理网段相同。目前的物理网段为192.168.5.1/24,网关是192.168.1.1,物理网卡...

    Continue reading »

  • 在CentOS 6上部署PPTP VPN Server

    背景介绍: 搭建PPTP VPN Server应该是每个站长都应该会的技能,搭建也是非常容易的。 相关配置: OS: CentOS 6.4 x86_64 Minimal 1. 安装EPEL扩展库 # yum install http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm 2. 安装PPTP扩展库 # yum install http://poptop.sourceforge.net/yum/stable/rhel6/pptp-release-current.noarch.rpm 3. 安装PPTP VPN Serve...

    Continue reading »

北京 上海 天津 重庆 河北 山东 辽宁 黑龙江 吉林 甘肃 青海 河南 江苏 湖北 湖南 江西 浙江 广东 云南 福建 海南 山西 四川 陕西 贵州 安徽 广西 内蒙古 西藏 新疆 宁夏 澳门 香港 台湾