是这样的 我搭建的是nginx一件包 系统 cenos 6 网站
www.yichenvpn.tk ip是 23.88.3.45
网站打开为什么是ubuntu呢阿帕奇默认界面
Ubuntu Logo Apache2 Ubuntu Default Page
It works!
This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.
If you are a normal user of this web site and don't know what this page is about, this probably means that the site is currently unavailable due to maintenance. If the problem persists, please contact the site's administrator.
Configuration Overview
Ubuntu's Apache2 default configuration is different from the upstream default configuration, and split into several files optimized for interaction with Ubuntu tools. The configuration system is fully documented in /usr/share/doc/apache2/README.Debian.gz. Refer to this for the full documentation. Documentation for the web server itself can be found by accessing the manual if the apache2-doc package was installed on this server.
The configuration layout for an Apache2 web server installation on Ubuntu systems is as follows:
/etc/apache2/
|-- apache2.conf
| `-- ports.conf
|-- mods-enabled
| |-- *.load
| `-- *.conf
|-- conf-enabled
| `-- *.conf
|-- sites-enabled
| `-- *.conf
ip打开是
恭喜您,LNMP一键安装包安装成功!
LNMP一键安装包
LNMP一键安装包是一个用Linux Shell编写的可以为CentOS/RadHat、Debian/Ubuntu VPS(VDS)或独立主机安装LNMP(Nginx、MySQL/Mariadb、PHP)、LNMPA(Nginx、MySQL/Mariadb、PHP、Apache)、LAMP(Apache、MySQL/Mariadb、PHP)生产环境的Shell程序。
查看本地环境: 探针 phpinfo phpMyAdmin(为了安全,建议将phpmyadmin目录重命名为不容易猜到的目录!)
更多LNMP一键安装包信息请访问:
http://lnmp.orgLNMP一键安装包问题反馈请访问:
http://bbs.vpser.net/forum-25-1.htmlVPS相关教程:
http://www.vpser.net/vps-howto/美国VPS推荐:
http://www.vpser.net/usa-vps/声明:出现该页面只说明您当前访问的网站使用了LNMP一键安装包搭建的环境,当前网站与LNMP一键安装包、VPS侦探和licess不存在任何关系!
LNMP一键安装包 by Licess & VPS侦探
但是我安装的是 nginx啊
[root@233568 ~]# rpm -qalgrep httpd
rpm: arguments to --root (-r) must begin with a /
[root@233568 ~]# rpm -qa|grep httpd
[root@233568 ~]# rpm -qa | grep httpd
[root@233568 ~]# cd /usr/
我查了下 根本就没有安装阿帕奇啊
[root@233568 lnmp1.3-full]# lnmp vhost list
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
|
http://lnmp.org |
+-------------------------------------------+
Nginx Virtualhost list:
www.yichenvpn.tk[root@233568 lnmp1.3-full]# cd
这个是创建的虚拟主机
server
{
listen 80;
#listen [::]:80;
server_name
www.yichenV空格P空格N.tk yichenV空格P空格N.tk;
index index.html index.htm index.php default.html default.htm default.php;
root /home/wwwroot/www.yichenV空格P空格N.tk;
if ($http_user_agent ~* (baiduspider|googlebot|soso|bing|sogou|yahoo|sohu-search|yodao|YoudaoBot|robozilla|msnbot|MJ12bot|NHN|Twiceler)) {
return 403;
}
include none.conf;
#error_page 404 /404.html;
include enable-php.conf;
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
"www.yichenV空格P空格N.tk.conf" 33L, 815C
这个是nginx配置
[root@233568
www.yichenvpn.tk]# ls
LICENSE admin asset composer.json footer.php index.php pwd.php tools user
README.md ana.php code.php favicon.ico header.php lib robots.txt.txt upgrade_to_v2.md
这个是 虚拟主机目录
麻烦看下到底怎么回事 怎么会跑到阿帕奇去啊