- 积分
- 44
- 威望
-
- 金钱
-
- 注册时间
- 2016-1-13
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2017-2-21 22:18:26
|
显示全部楼层
lnmp vhost add
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Please enter domain(example: www.lnmp.org): aaa.93efdj.com
Your domain: aaa.93efdj.com
Enter more domain name(example: lnmp.org *.lnmp.org):
Please enter the directory for the domain: aaa.93efdj.com
Default directory: /home/wwwroot/aaa.93efdj.com:
Virtual Host Directory: /home/wwwroot/aaa.93efdj.com
Allow access log? (y/n) n
Disable access log.
Please enter Administrator Email Address: a
Server Administrator Email:a
Create database and MySQL user with same name (y/n) n
Create ftp account (y/n) n
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
Enter 1 or 2: 2
It will be processed automatically.
Press any key to start create virtul host...
Create Virtul Host directory......
set permissions of Virtual Host directory......
Test Nginx configure file......
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
Test Apache configure file...
test apache configure... Syntax OK
done
Restart Apache...
restart apache... done
/bin/certbot [found]
Starting create SSL Certificate use Let's Encrypt...
Bootstrapping dependencies for RedHat-based OSes...
yum is /usr/bin/yum
Loaded plugins: security
Setting up Install Process
Package gcc-4.4.7-17.el6.x86_64 already installed and latest version
Package augeas-libs-1.0.0-10.el6.x86_64 already installed and latest version
Package openssl-1.0.1e-48.el6_8.3.x86_64 already installed and latest version
Package openssl-devel-1.0.1e-48.el6_8.3.x86_64 already installed and latest version
Package libffi-devel-3.0.5-3.2.el6.x86_64 already installed and latest version
Package redhat-rpm-config-9.0.3-51.el6.centos.noarch already installed and latest version
Package ca-certificates-2015.2.6-65.0.1.el6_7.noarch already installed and latest version
Package python-2.6.6-66.el6_8.x86_64 already installed and latest version
Package python-devel-2.6.6-66.el6_8.x86_64 already installed and latest version
Package python-virtualenv-1.10.1-1.el6.noarch already installed and latest version
Package python-tools-2.6.6-66.el6_8.x86_64 already installed and latest version
Package python-pip-7.1.0-1.el6.noarch already installed and latest version
Nothing to do
Creating virtual environment...
Traceback (most recent call last):
File "/usr/bin/virtualenv", line 2, in <module>
import virtualenv
ImportError: No module named virtualenv
Let's Encrypt SSL Certificate create failed!
================================================
Virtualhost infomation:
Your domain: aaa.93efdj.com
Home Directory: /home/wwwroot/aaa.93efdj.com
Enable log: no
Create database: no
Create ftp account: no
Enable SSL: yes
=>Let's Encrypt |
|