VPL(VPL-Jail-System)系统安装过程

获取:

wget https://vpl.dis.ulpgc.es/releases/vpl-jail-system-3.0.1.tar.gz

从github获取的,需要对系统进行以下操作(不是的最好也做一些此操作):

sudo apt-get install g++ make autotools-dev autoconf
aclocal
autoheader
autoconf
automake
./configure
make distcheck

解压并安装:

The “./install-vpl-sh” script must be run as root.

tar xvf vpl-jail-system-3.0.1.tar.gz
cd vpl-jail-system-[version]
./install-vpl-sh

Install Let's Encrypt to get free certificates?(y/n)y
Installing Let's Encrypt: certbot
 [OK]
Please, enter the domain name (FQDN) of this machine in order to install the configure Certbot.
(VM-16-10-ubuntu ): *.*.*.*(域名)
Requested name *.*.*.*(域名) is an IP address. The Let's Encrypt certificate authority will not issue certificates for a bare IP address.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/tmp13g6grl9/log or re-run Certbot with -v for more details.
Failed to enable unit: Unit file certbot-renew.timer does not exist.
./install-vpl-sh: line 200: /etc/letsencrypt/renewal/*.*.*.*(域名).conf: No such file or directory
./install-vpl-sh: line 201: /etc/letsencrypt/renewal/*.*.*.*(域名).conf: No such file or directory

 以上内容需要修改域名对应的证书:可以是私有证书。

如果您有自己的用于HTTPS和WSS通信的SSL证书,则必须将您的公共证书复制到“/etc/vpl/cert.pem”文件中,并将私钥复制到“/etc/vpl/key.pem”文件中。您还可以更改配置文件来告诉系统您的证书的位置。如果您的证书颁发机构(CA)不是根CA,您可能需要将中间CA证书添加到“cert.pem”文件中。您可以重新启动服务以应用修改。

 选择相应的需要语言:基本全部安装。避免二次安装!
Do you want to install development software?
  (Ada, Assambler, C, C++, C#, DDD, Fortran, gdb, Haskell, Java, 
   JUnit, Node.js, Octave, Pascal, Perl, PHP, Python, Ruby, Scala,
   Scheme, TCL, valgrind)
(y/n)y
Do you want to install other development software?
  (Clisp, Clojure, Cobol, CoffeScript, D, Erlang, Go, Haxe, JQuery,
   Lua, R, Xquery, VHDL)
(y/n)y

最后生成私有SSL证书,替换上面两个目录的文件就可以了! 使用下面的命令重启:

systemctl restart vpl-jail-system

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值