lnmpa 1.3版本添加vhost没有mysql等初始化选项
lnmpa 1.3版本添加vhost没有mysql等初始化选项Please enter domain(example: www.lnmp.org): sx.cc======================================
Your domain: sx.cc
======================================
Do you want to add more domain name? (y/n)
Please enter the directory for the domain: sx.cc
(Default directory: /home/wwwroot/sx.cc):
Virtual Host Directory: /home/wwwroot/sx.cc
===========================
Allow access_log? (y/n)
===========================
Enter access log name(Default access log file:sx.cc.log):
You access log filename: sx.cc.log
Please enter Administrator Email Address: 123456@qq.com
================================================
Server Administrator Email:123456@qq.com
================================================
======================================================
Create database and MySQL user with same name (y/n)
======================================================
root
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
Restart Nginx......
Test Apache configure file...
test apache configure... Syntax OK
done
Restart Apache...
restart apache...done
================================================
Virtualhost infomation:
Your domain: sx.cc
Home Directory: /home/wwwroot/sx.cc
Enable log: yes
Create database: no
Create ftp account: no
================================================ Create database and MySQL user with same name (y/n) 我输入 Y 和N 都试过,结果一样的。 MYSQL服务存在且运行起的。 上面你发的记录显示你输入的是root 不是y,大写Y或其他都被认为是不添加数据库
页:
[1]