码迷,mamicode.com
首页 > 其他好文 > 详细

CENTOS6.5安装ocserv

时间:2016-03-10 18:59:20      阅读:458      评论:0      收藏:0      [点我收藏+]

标签:ocserv any connect linux centos

  1. 安装依赖包

yum install autoconf automake gcc libtasn1-devel zlib zlib-devel trousers trousers-devel gmp-devel gmp xz texinfo libnl-devel libnl tcp_wrappers-libs tcp_wrappers-devel tcp_wrappers dbus dbus-devel ncurses-devel pam-devel readline-devel bison bison-devel flex gcc automake autoconf wget

2. 安装nettle

cd /usr/local/src wget http://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gztar zxf nettle-2.7.1.tar.gz && cd nettle-2.7.1./configure && make && make install cd ..

3.安装unbound:

yum install expat-devel wget http://unbound.nlnetlabs.nl/downloads/unbound-1.4.22.tar.gztar zxf unbound-1.4.22.tar.gz && cd unbound-1.4.22./configure --prefix=/usr --sysconfdir=/etc && make && make install cd ..

echo ‘/usr/local/lib‘ > /etc/ld.so.conf.d/local-libraries.conf && ldconfig

生成配置文件:unbound-anchor -a "/etc/unbound/root.key"

4.安装 gnutls

wget ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-3.2.15.tar.xztar xvf gnutls-3.2.15.tar.xz cd gnutls-3.2.15

PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig ./configure –enable-shared

./configure && make && make install cd ..

5.安装 LibNL:

wget http://www.carisma.slowglass.com/~tgr/libnl/files/libnl-3.2.24.tar.gztar xvf libnl-3.2.24.tar.gz cd libnl-3.2.24./configure && make && make install cd ..

6.安装 Ocserv:

wget ftp://ftp.infradead.org/pub/ocserv/ocserv-0.8.1.tar.xztar xvf ocserv-0.8.1.tar.xz && cd ocserv-0.8.1./configure --prefix=/usr --sysconfdir=/etc && make && make install


CENTOS6.5安装ocserv

标签:ocserv any connect linux centos

原文地址:http://yanglinpei.blog.51cto.com/4463169/1749656

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!