随笔分类 - linux
摘要:由于项目需要安装centos5.8,很古老。所有的在线yum源都down了 只能指定本地源。 wget -0 /data/ http://vault.centos.org/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-DVD-1of2.iso mount -o loop
阅读全文
摘要:1. 重启时在启动页面 按 E, 进入 grub 编辑页面; 2. 找到 linux 那一行,在最后 language 后面,空格 加上 selinux=0 3. 然后 ctrl + x 重新运行
阅读全文
posted @ 2017-04-07 10:42
竹径通幽
摘要:一、验证ssh 二、关闭不必要的服务 # chkconfig NetworkManager off # sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config # chkconfig iptables off
阅读全文
posted @ 2017-03-21 15:13
竹径通幽
摘要:CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙步骤。 1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firew
阅读全文
posted @ 2017-03-21 15:01
竹径通幽
摘要:LVM分区中查看PV时,出现如下错误: # pvscan Couldn't find device with uuid ......... PV /dev/sda2 VG VolGroup00 lvm2 [17.99GB/0 free] PV unknown device VG VolGroup00
阅读全文
posted @ 2017-03-13 13:09
竹径通幽
浙公网安备 33010602011771号