当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 请问下我网站打开怎么显示阿帕奇的默认呢
帖子发表于 : 2016-06-27 21:32 

注册: 2016-04-27 9:26
帖子: 85
系统: ubuntu 16.04
送出感谢: 29
接收感谢: 0 次
是这样的 我搭建的是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.org

LNMP一键安装包问题反馈请访问: http://bbs.vpser.net/forum-25-1.html

VPS相关教程: 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
这个是 虚拟主机目录
麻烦看下到底怎么回事 怎么会跑到阿帕奇去啊


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 请问下我网站打开怎么显示阿帕奇的默认呢
帖子发表于 : 2016-06-28 0:36 

注册: 2007-01-14 16:23
帖子: 4255
送出感谢: 0 次
接收感谢: 107
你只是访问了别人的地址而已,别想多了


_________________
#include <stdio.h>
void main()
{
double world;
unsigned letter;
short stay;
long memories;
printf("I miss you.\n");
}


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 请问下我网站打开怎么显示阿帕奇的默认呢
帖子发表于 : 2016-06-28 10:40 
头像

注册: 2007-12-14 13:40
帖子: 49884
地址: 志虚国乌由市
系统: Winbuntu
送出感谢: 29
接收感谢: 413
请先确认域名解析正确


_________________
冷轩信

渠月 · QY

本人只会灌水,不负责回答问题

无聊可以点一下→ http://u.nu/ubuntu

安装flash 还是要用
代码:
sudo apt install adobe-flashplugin


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译