安装编译环境
yum groupinstall "Development Tools"
编译strongswan
-
wget https://download.strongswan.org/strongswan-x.x.x.tar.bz2
-
Unpack the tarball and navigate into the directory:
tar xjf strongswan-x.x.x.tar.bz2; cd strongswan-x.x.x
-
Configure strongSwan using the available options:
./configure --prefix=/usr --sysconfdir=/etc --<your-options>
-
Build the sources and install the binaries as root:
make sudo make install