+-------------------------------------------+ | Manager for LNMP, Written by Licess | +-------------------------------------------+ | https://lnmp.org | +-------------------------------------------+ Please enter domain(example: www.lnmp.org): example.com Your domain: example.com Enter more domain name(example: lnmp.org *.lnmp.org): Please enter the directory for the domain: example.com Default directory: /home/wwwroot/example.com: Virtual Host Directory: /home/wwwroot/example.com Allow Rewrite rule? (y/n) n You choose rewrite: none Enable PHP Pathinfo? (y/n) n Disable pathinfo. Allow access log? (y/n) n Disable access log. Add SSL Certificate (y/n) y 1: Use your own SSL Certificate and Key 2: Use Let's Encrypt to create SSL Certificate and Key 3: Use BuyPass to create SSL Certificate and Key 4: Use ZeroSSL to create SSL Certificate and Key Enter 1, 2, 3 or 4: 2
通过Lnmp自带的功能创建vhost后去到网站目录安装AriaNg
1 2 3
cd /home/wwwroot/example.com wget https://github.com/mayswind/AriaNg/releases/download/1.2.3/AriaNg-1.2.3.zip unzip AriaNg-1.2.3.zip