1、从sourceforge上下载安装包:http://sourceforge.net/projects/openvpn-als/files/adito/adito-0.9.1/adito-0.9.1-bin.tar.gz/download
2、解压:#tar zxvf adito-0.9.1-bin.tar.gz
3、#cd adito-0.9.1
4、#ant install(依赖JDK和APACHE-ANT,请自行安装并且设置JAVA_HOME、ANT_HOME以及PATH)
5、使用浏览器访问:http://hostip:28080/,根据提示设置相关信息,设置结束后回到linux终端。
6、在当前目录下执行:#ant install-service,会有如下信息提示
Buildfile: /root/kaiyuanba/vpn/adito-0.9.1/build.xml
set-tools:
check-tools:
check-permissions:
install-service:
[echo] Installing Adito as Linux service
[exec] Detecting Java
[exec] Using /usr/local/jdk1.6.0_10/jre
[exec] Detected OS redhat (x86)
[exec] Service installed
[exec] /root/kaiyuanba/vpn/adito-0.9.1/install/platforms/linux/install-service: line 12: /root/kaiyuanba/vpn/adito-0.9.1/conf/wrapper.conf: No such file or directory
[echo] Adito installed as Linux service
BUILD SUCCESSFUL
7、继续执行:# ant start,将有如下信息提示。
Buildfile: /root/kaiyuanba/vpn/adito-0.9.1/build.xml
create-wrapper-conf:
[copy] Copying 1 file to /root/kaiyuanba/vpn/adito-0.9.1/conf
[echo] Creating wrapper configuration dynamically
[echo]
[echo] Java executable: /usr/local/jdk1.6.0_10/jre/bin/java
[echo] Wrapper directory: install/platforms/linux/x86
set-tools:
check-tools:
check-permissions:
start:
[exec] Starting Adito...
[echo] Adito started
BUILD SUCCESSFUL
Total time: 3 seconds
8、安装完毕,访问设置地址登录(https://www.kaiyuanba.cn)