Linux 怎么查看判断web服务器安装的是Apache还是Nginx 终端输入curl -I http://127.0.0.1查看server字段的值就可以知道了.nginx的样子是这样:apache的样子是这样:... 服务器 4685 # linux linux服务器 Apache nginx 判断服务器安装的软件
linux防火墙查看状态firewall、iptable 一、iptables防火墙1、基本操作# 查看防火墙状态service iptables status# 停止防火墙service iptables stop# 启动防火墙service iptables start# 重启防火墙service iptables restart# 永久关闭防火墙chkconfig iptables off# 永久关闭后重启chkconfig iptab..... 服务器 9509 # linux linux服务器 linux服务器防火墙
Linux常用命令(二) 备份dump -0aj -f /tmp/home0.bak /home 制作一个 '/home' 目录的完整备份dump -1aj -f /tmp/home0.bak /home 制作一个 '/home' 目录的交互式备份restore -if /tmp/home0.bak 还原一个交互式备份rsync -rogpav --delete /home /tmp 同步两边..... 服务器 1个月前 7549 # linux服务器 linux系统 linux命令 linux
Linux常用命令(一) 系统信息arch 显示机器的处理器架构uname -m 显示机器的处理器架构uname -r 显示正在使用的内核版本dmidecode -q 显示硬件系统部件 - (SMBIOS / DMI)hdparm -i /dev/hda 罗列一个磁盘的架构特性hdparm -tT /dev/sda 在磁盘上执行测试性读取操作cat /proc/cpui..... 服务器 1个月前 2039 # linux命令 linux系统命令 linux服务器