You are on page 1of 2

update & install development tools 1.yum update 2.

yum groupinstall "Development Tools" install gcc & libpcap 3.yum -y install gcc* 4.yum -y install libpcap* download pake wget, extract n run 5.wget http://www.softether-download.com/files/softether/v2.00-9387-rtm-2013.09. 16-tree/Linux/SoftEther%20VPN%20Server/32bit%20-%20Intel%20x86/softether-vpnserv er-v2.00-9387-rtm-2013.09.16-linux-x86-32bit.tar.gz 6.tar xzvf softether-vpnserver-v2.00-9387-rtm-2013.09.16-linux-x86-32bit.tar.gz 7.cd vpnserver 8.make kalo muncul license agrement... bla..bla...bla... yes...yes aja terus perhatikan kalo sukses pindah ke directory /usr/local/ dan buat startup scriptnya 9.cd 10.mv vpnserver /usr/local 11.cd /usr/local/vpnserver/ 12.chmod 600 * 13.chmod 700 vpncmd 14.chmod 700 vpnserver 15.nano /etc/init.d/vpnserver paste startup scriptnya di nano dan save #!/bin/sh # chkconfig: 2345 99 01 # description: SoftEther VPN Server DAEMON=/usr/local/vpnserver/vpnserver LOCK=/var/lock/subsys/vpnserver test -x $DAEMON || exit 0 case "$1" in start) $DAEMON start touch $LOCK ;; stop) $DAEMON stop rm $LOCK ;; restart) $DAEMON stop sleep 3 $DAEMON start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac exit 0

16.chmod 755 /etc/init.d/vpnserver 17./sbin/chkconfig --add vpnserver 18./etc/init.d/vpnserver start

You might also like