在RHEL6(包括之前的版本)恢复root密码的话,只需在启动的时候,编辑下内核启动项,在kernel的最后一行加入s(1|single)就可以进入单用户模式对root密码进行修复。而到了RHEL7之后是不可以这样操作的。在RHEL7里进入到单用户有rescure,emergency等模式,但还是必须要输入root密码..
分类:
其他好文 时间:
2014-11-11 02:09:45
阅读次数:
182
防火墙:With RHEL 7 / CentOS 7,firewalldwas introduced to manage iptables. IMHO, firewalld is more suited for workstations than for server environments. s...
分类:
其他好文 时间:
2014-10-31 09:59:29
阅读次数:
255
下载rhel7.0官网提供的SHA-256验证码为:SHA-256:85a9fedc2bf0fc825cc7817056aa00b3ea87d7e111e0cf8de77d3ba643f8646c校验方法为:hufu@hufu-ThinkPad-R400:/media/hufu/U$sha256sumrhel-server-7.0-x86_64-dvd.iso85a9fedc2bf0fc825cc7817056aa00b3ea87d7e111e0cf8de77d3ba643..
分类:
其他好文 时间:
2014-10-30 19:22:51
阅读次数:
561
======================================================================================================================================================...
分类:
其他好文 时间:
2014-10-30 18:54:58
阅读次数:
160
(与之前的5,6不同的是,当忘记root密码,并采用GRUB2为启动器时,将无法通过单用户模式重置root密码。下面将介绍如何重置CentOS7的root密码) 1. 启动系统,并在GRUB2启动屏显时,按下e键进入编辑模式。 2. 在lin...
分类:
其他好文 时间:
2014-10-27 12:59:36
阅读次数:
210
从Centos7开始,自带的防火墙从iptables更改成了firewall。一般在企业环境,出于人力和稳定性考虑,还是用成熟的技术比较稳妥。以下是关闭firewall的方法systemctl stop firewalldsystemctl disable firewalld以下是恢复iptable...
分类:
其他好文 时间:
2014-10-21 00:51:59
阅读次数:
259
破密:e-->linux16rd.breakCtrl+x-->mount-oremount,rw/sysroot-->chroot/sysroot-->echoflectrag|passwd--stdinroot-->touch/.autorelabel-->Ctrl+D-->reboot修改hostname和ip地址nm-connector-editorIPADDR0-->PREFIX0-->GATEWAY0-->DNS1-->..
分类:
其他好文 时间:
2014-10-16 22:45:04
阅读次数:
183
一、配置防火墙,开启80端口、3306端口CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewall...
分类:
数据库 时间:
2014-10-14 14:18:18
阅读次数:
351
安装完centos7minimal后,无力吐槽,变化之大,发现以前常用的一些命令都没有。一、常用命令安装查看anaconda-ks.cfg,原来是没装basegroup的包[root@centos7~]#catanaconda-ks.cfg
#version=RHEL7
#Systemauthorizationinformation
auth--enableshadow--passalgo=sha512
#UseC..
分类:
其他好文 时间:
2014-10-11 18:26:46
阅读次数:
225
centos7中iptables被firewalld替代启动防火墙:systemctlstartfirewalld关闭防火墙:systemctlstopfirewalld重启防火墙:systemctlrestartfirewalld一、Services使用了systemd来代替sysvinit管理,SysV即将退居二线systemctl是主要的工具,融合了service和chkconfig的功能,可以..
分类:
其他好文 时间:
2014-10-08 16:00:16
阅读次数:
264