就是打开我网址 www.yichenV空格P空格N.tk 显示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 theapache2-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
这个 但是我找了下 没有安装阿帕奇啊 centos 6 [img]file:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\2419971988\QQ\WinTemp\RichOle\APF%W5@[0`B)ZAHOV%ZQL)E.png[/img] 32位 恩祖[img]file:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\2419971988\QQ\WinTemp\RichOle\APF%W5@[0`B)ZAHOV%ZQL)E.png[/img]
[root@233568 ~]# rpm -qa|grep httpd
[root@233568 ~]# rpm -qa | grep httpd
[root@233568 ~]# cd /usr/
[root@233568 usr]# ls
可是根本就没有安装啊 可是输入ip 是正常的
http://23.88.3.45/
恭喜您,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.org
LNMP一键安装包问题反馈请访问: https://bbs.vpser.net/forum-25-1.html
VPS相关教程: https://www.vpser.net/vps-howto/
美国VPS推荐: https://www.vpser.net/usa-vps/
声明:出现该页面只说明您当前访问的网站使用了LNMP一键安装包搭建的环境,当前网站与LNMP一键安装包、VPS侦探和licess不存在任何关系! LNMP一键安装包 by Licess & VPS侦探
[root@233568 ~]# cd lnmp1.3-full
[root@233568 lnmp1.3-full]# ls
ChangeLog addons.sh include install.sh php5.2.17.sh readme tools upgrade.sh
License conf init.d lnmp.conf pureftpd.sh src uninstall.sh
[root@233568 lnmp1.3-full]#
安装好后的 目录列表
[root@233568 lnmp1.3-full]# lnmp vhost list
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| http://lnmp.org |
+-------------------------------------------+
Nginx Virtualhost list:
www.yichenV空格P空格N.tk
[root@233568 lnmp1.3-full]#
这个是创建的虚拟主机
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 vhost]# cd /home/wwwroot/www.yichenV空格P空格N.tk/
[root@233568 www.yichenV空格P空格N.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
[root@233568 www.yichenV空格P空格N.tk]#
这是网站目录 文件已经上传好了
就是打开怎么是阿帕奇啊 我就纳闷 可是我根本没有安装阿帕奇啊 |