首页 练字文章 红帽8

红帽8

2021-07-10 07:58  浏览数:747  来源:小键人2060801    

Root linux e linux 16 rd.break ctrl+x
switch_root# /sysroot /sysroot
switch_root# mount -o remount,rw /sysroot
/ /sysroot
switch_root# chroot /sysroot
shell
sh-4.2# passwd root #
new password:
retry password:
/.autorelabel
sh-4.2# touch /.autorelabel
exit
sh-4.2# exit
switch_root# exit
SELINUX
setenforce 1
getenforce
vim /etc/sysconfig/selinux
SELINUX=enforcing
SELINUXTYPE=targeted
http://classroom.example.com/content/rhel7.0/x86_64/dvd/
vim /etc/yum.repos.d/http.repo
[http]
name=http-repo
baseurl=http://classroom.example.com/content/rhel7.0/x86_64/dvd/
enabled=1
pgpcheck=0
yum repolist
vo, ext4,
/vo vo/dev/vda fdisk /dev/vda)
fdisk /dev/vda
pvcreate /dev/adc1
vgcreate vg1 /dev/vda1
lvcreate -n vo -L 200M vg1
mkfs.ext4 /dev/vg1/vo
mkdir /vo
blkid /dev/vg1/vo ( get UUID )
vim /etc/fstab
uuid /vo ext4 deafult 0 0 /dev/vg1/vo /vo ext4 defaults 0 0
mount -a
lvextend -L 290M /dev/vg1/vo
resizefs.ext4 /dev/vg1/vo
mount -a



声明:以上文章均为用户自行添加,仅供打字交流使用,不代表本站观点,本站不承担任何法律责任,特此声明!如果有侵犯到您的权利,请及时联系我们删除。

字符:    改为:
去打字就可以设置个性皮肤啦!(O ^ ~ ^ O)