首页 > 技术文章 > ubuntu 14.04 上 jvpn 使用说明

qianggezhishen 2016-08-26 12:17 原文

很多公司使得 Juniper VPN 工具,windows 的版本有很多,可以直接下载配置使用,下面主要针对 Linux 下的使用,以 ubuntu 14.04 为例:

  1. 我们使用开源的 jvpn , 先 git clone 如下:
    #git clone https://github.com/samm-git/jvpn.git
  2. 在使用的时候可能会遇到如下的问题:
    chenqiang@Johnny:~/Downloads/jvpn$ ./ncsvc
    bash: ./ncsvc: No such file or directory
    这个时候一般是需要安装 sudo apt-get install ia32-libs ,如果 ia32-libs 不存在,则会提示安装

    chenqiang@Johnny:~/Downloads/jvpn$ sudo apt-get install ia32-libs
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package ia32-libs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    lib32z1 lib32ncurses5 lib32bz2-1.0

    E: Package ‘ia32-libs’ has no installation candidate
    后面安装 lib32zl 即可:
    chenqiang@Johnny:~/Downloads/jvpn$ sudo apt-get install lib32z1

  3. 后面可直接运行 sudo ./jvpn.pl ,中途可能会遇到些问题,主要是一些 perl 依赖的问题,但一一解决即可。

推荐阅读