redhat
代码说明:
第一题:修改root密码 ===================================================================== 1、重启,进入grub编辑界面(e) 2、找到linux16这行,“end”到行尾,输入“空格”,rd.break,ctrl+x启动 3、输入命令 mount -o remount,rw /sysroot chroot /sysroot echo “ooxx9527″|passwd –stdin root touch /.autolabel exit exit 4、使用新的密码登录 ====================================================================== 第二题:设定SeLinux vim /etc/sysconfig/selinux =========================================== SELINUX=permissive改成SELINUX=permissive =========================================== 第三题:设定YUM软件仓库 cd /etc/yum.repos.d/ touch yum.repo
下载说明:请别用迅雷下载,失败请重下,重下不扣分!


