安装配置java7

How to Install JAVA 7 (JDK 7u79) on CentOS/RHEL 7/6/5 and Fedora Written by Rahul K. JAVA, Linux Tutorials 81 Comments During installation of Java using rpm files I faced issues many times. After that i found a better way to install java from Sun site. Using below steps i Read more…

docker集群运行在calico网络上

https://my.oschina.net/u/1791060/blog/827084 网络及版本信息 docker1 centos7 192.168.75.200 docker2 centos7 192.168.75.201 物理网络 192.168.75.1/24 Docker version 1.10.3, build 3999ccb-unsupported ,安装过程略 # calicoctl version Version: v1.0.0-12-g0d6d228 Build date: 2017-01-17T09:01:03+0000 Git commit: 0d6d228 1.安装etcd 下载安装etcd # ETCD_VER=v3.0.16 # DOWNLOAD_URL=https://github.com/coreos/etcd/releases/download # curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz # mkdir -p /tmp/test-etcd && tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/test-etcd –strip-components=1 Read more…

openvpn架设

http://zhuwanjun.com/?m=201409   CentOS安装OpenVPN 发表评论 CentOS版本:6.4 OpenVPN版本:2.3.4 1.安装依赖包 yum install openssl-devel lzo-devel pam-devel gcc 2.下载安装包 从官网下载安装包openvpn-2.3.4.tar.gz,解压 ./configure make make install 3.安装easy-rsa 新建/etc/openvpn 下载wget https://github.com/OpenVPN/easy-rsa/archive/release/2.x.zip 解压上述文件,进入解压后的目录 cp -r ./easy-rsa /etc/openvpn 修改/etc/openvpn/easy-rsa/2.0/var文件 # These are the default values for fields # which will be placed in the certificate. # Don’t leave any of Read more…