Redhat是目前企业中用的最多的一类Linux,而目前针对Redhat攻击的黑客也越来越多了。我们要如何为这类服务器做好安全加固工作呢? 一. 账户安全 1.1 锁定系统中多余的自建帐号 检查方法: 执行命令 #cat /etc/passwd #cat /etc/shadow 查看账户、口令文件, ...
分类:
系统相关 时间:
2019-12-18 10:54:52
阅读次数:
121
今天服务器突然出现如下告警 XFS (dm-0):Please umount the filesystem and rectify the problem(s) 因为dm-0是系统根目录的映射,所以需要修复根目录 话不多说,直接挂盘,然后进入救援模式 这里选第3个选项,进去查看根目录的分区,因为做系 ...
分类:
其他好文 时间:
2019-12-18 10:38:37
阅读次数:
310
一:安装:1、运行 mysql 安装文件;2、按 Next,然后选择安装方式,有 “Typical(默认)”、“Complete(完全)”、“Custom(用户自定义)”,选择第二个选项 “Custom”,下一步, MySQL Server (mysql服务器), Developer Compone ...
分类:
数据库 时间:
2019-12-17 22:15:35
阅读次数:
115
#cat/etc/centos-releaseCentosrelease6.8(Final)#cat/etc/redhat-releaseCentosrelease6.8(Final)
分类:
其他好文 时间:
2019-12-17 18:13:35
阅读次数:
74
环境:Windows10 , VMware Workstation 15 Player, CentOS 7 为什么选择CentOS ? 主流: 目前的Linux操作系统主要应用于生产环境,主流企业级Linux系统仍旧是RedHat或者CentOS 免费: RedHat 和CentOS差别不大,Cen ...
分类:
系统相关 时间:
2019-12-17 13:32:35
阅读次数:
123
一、查看Linux内核版本命令(2种方法)1、2、uname-a二、查看Linux系统版本的命令(3种方法)1、lsb_release-a测试后发现这个命令适用于Centos、Ubuntu。在redhat中没有这个命令。cat/etc/redhat-release,这种方法只适合Redhat系的Linux3、cat/etc/issue,Centos、Redhat通用
分类:
系统相关 时间:
2019-12-17 00:28:20
阅读次数:
111
前提 Zookeeper包含多个组件,有的组件支持多平台,有的组件只支持个别平台 Zookeeper需要运行在java虚拟机上,需要安装JDK 7及以上 下载 Stable release 单服务器 配置文件 # Zookeeper的时间单位是以毫秒为单位的,该属性用来做心跳,最小的会话超时将是ti ...
分类:
其他好文 时间:
2019-12-16 19:02:29
阅读次数:
111
恢复内容开始 cetnos基本信息和ssh 一:centos linux系统基本信息命令:** 1.查看linux版本[root@test02 ~]# cat /etc/redhat-releaseCentOS Linux release 7.1.1503 (Core)2.查看cpu信息[root@ ...
分类:
其他好文 时间:
2019-12-16 12:54:20
阅读次数:
95
Linux系统目录结构介绍 一、Linux系统优化 (一)变量 linux系统信息采集: [root@centos6 kvm2 ~] cat /etc/redhat release CentOS release 6.9 (Final) [root@centos6 kvm2 ~] uname r 2. ...
分类:
系统相关 时间:
2019-12-16 09:46:18
阅读次数:
127
详细编译安装nginx请参考【Nginx目录结构与配置文件详解】以及【Nginx安装部署】,在这里就进行简单安装安装Nginx环境介绍操作系统:[root@localhost~]#cat/etc/redhat-releaseCentOSLinuxrelease7.6.1810(Core)[root@localhost~]#uname-aLinuxlocalhost.localdomain3.10.
分类:
其他好文 时间:
2019-12-15 16:28:57
阅读次数:
94