VPS侦探论坛

 找回密码
 注册
查看: 5321|回复: 4

iptables怎么处理,重启服务器网站就无法访问

[复制链接]
发表于 2015-1-24 08:23:28 | 显示全部楼层 |阅读模式

新装的centos6.5
重启服务器之后无法访问网站
看到https://bbs.vpser.net/viewthread.php?tid=11129,停止iptables后正常,请问这个怎么处理。

第二个问题
[root@localhost ~]# fdisk -l

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe0f1bd17

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64      243202  1953001472   8e  Linux LVM

Disk /dev/mapper/VolGroup-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/VolGroup-lv_swap: 8430 MB, 8430551040 bytes
255 heads, 63 sectors/track, 1024 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/VolGroup-lv_home: 1937.8 GB, 1937751670784 bytes
255 heads, 63 sectors/track, 235584 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


我这个磁盘是怎么回事,看不懂,/dev/mapper 这里三个东西是啥意思。  谢谢!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-1-25 07:48:31 | 显示全部楼层


第一个问题自己搞定,开放80端口就好。
之前阿里云什么都默认搞好了。自己装的6.5需要自己设置。
=================
第二个问题还是不懂,是不是需要我格式化磁盘还是咋整。主要是我不懂把网站文件放哪里。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-1-25 09:11:02 | 显示全部楼层

回复 2# 的帖子


/dev/mapper/VolGroup***
就相当于硬盘分区
这是一个逻辑卷设备,具体可以网上搜索LVM进行了解
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-1-28 11:49:27 | 显示全部楼层

回复 3# 的帖子




请教,我现在想虚拟出一个windows2003 用.net的采集软件。
有啥解决办法,还是用软件。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-1-28 14:50:41 | 显示全部楼层

回复 4# 的帖子


不清楚

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-5-17 14:59 , Processed in 0.026808 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表