This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
currdir=$(cd $(dirname $0) ; pwd) | |
#default softdir | |
softdir=${currdir}/soft | |
[ -d ${softdir} ] || mkdir -p ${softdir} | |
packages=" | |
#list all soft name and source file's URL address. | |
#url filename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function installVPN5(){ | |
yum -y install make libpcap iptables gcc-c++ logrotate tar cpio perl pam tcp_wrappers | |
rpm -ivh dkms-2.0.17.5-1.noarch.rpm | |
rpm -ivh kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm | |
rpm -qa kernel_ppp_mppe | |
rpm -Uvh ppp-2.4.4-9.0.rhel5.i386.rpm | |
rpm -ivh pptpd-1.3.4-1.rhel5.1.i386.rpm |