linux防火墙的相关命令 一、iptables防火墙(需要安装防火墙sudo apt-get install firewalld命令查看插件) 1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火 ...
分类:
系统相关 时间:
2020-05-31 13:08:40
阅读次数:
56
Liunx 开机启动流程 系统文件目录 磁盘管理 挂载 卸载 防火墙 防火墙命令 服务器端口 服务商端口 网络配置 进程管理 父子进程 僵尸进程 孤儿进程 线程管理 软件管理 安装 卸载 软件设置 软件运行级操作: chkconfig 运行状态操作: service 用户管理 用户组 用户 目录文件 ...
分类:
其他好文 时间:
2020-05-31 12:53:06
阅读次数:
57
Redhat使用了SELinux来增强安全, 首先怎么查看防火墙的状态呢? a.可以通过如下命令查看iptables防火墙状态: chkconfig --list iptables b. selinux状态可以通过以下命令查看: sestatus或者/usr/sbin/sestatus [-v] s ...
分类:
其他好文 时间:
2020-05-30 10:38:24
阅读次数:
64
首先查看NTP版本:ntpd--version(1)下载安装包:wgethttp://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p14.tar.gz(2)安装依赖包:yuminstallgccgcc-c++openssl-devellibstdc++libcap(3)备份文件:cp-ar/etc/ntp/etc/ntp.bak&
分类:
其他好文 时间:
2020-05-28 12:55:29
阅读次数:
589
Centos安装mysql 一、检查系统是否安装老版本,有的话干掉 #yum list installed | grep mysql mysql-libs.x86_64 5.1.73-5.el6_6 @anaconda-CentOS-201508042137.x86_64/6.7// 卸载某一个 # ...
分类:
数据库 时间:
2020-05-26 13:51:08
阅读次数:
328
1.查看系统中有哪些自启动模式的服务:chkconfig --list 其中的0~6表示为运行级别: 2.查看系统中运行了哪些服务:ps aux 3.查看系统中启动了哪些服务:netstat -tlunp 查看已经连接的服务:netstat -an ...
分类:
系统相关 时间:
2020-05-25 12:26:39
阅读次数:
84
环境:VMware、CentOS8 从centos7开始使用systemctl.firewalld来管理服务和程序,包括了service和chkconfig。 防火墙状态:systemctl status firewalld.service Active: inactive (dead)/activ ...
分类:
系统相关 时间:
2020-05-22 19:43:38
阅读次数:
88
虚拟机联网 Linux命令 1、查找 2、用户和用户组 3、文件权限 4、linux系统命令 5、主机名管理 6、修改ip或者mac 7、域名映射 8、网络监听 9、定时器 ...
分类:
系统相关 时间:
2020-05-18 18:25:51
阅读次数:
70
查看日志rsyslogd是否启动和自启动 ps aux | grep rsyslogd 查看自启动(CentOS 7使用,CentOS 6可以使用chkconfig命令) systemctl list-unit-files | grep rsyslog 常见日志及其作用 ...
分类:
系统相关 时间:
2020-05-17 13:35:10
阅读次数:
68
一、环境 1)Linux系统:CentOS 7.7.1908 2)owncloud-8.0.16.tar.bz2下载地址:https://owncloud.org/download/older-versions/ 3)VMware11 安装 Linux 虚拟机、Windows7 环境 二、安装LAM... ...
分类:
其他好文 时间:
2020-05-04 13:08:01
阅读次数:
54