centos7

hostname

[root@localhost sekigawa]# hostname lyon

usermod

[root@localhost sekigawa]# usermod -u 500 sekigawa

groupmod

[root@localhost sekigawa]# groupmod -g 500 sekigawa

/etc/aliases

[root@localhost sekigawa]# vi /etc/aliases

root:           sekigawa@sek-net.no-ip.info

/etc/selinux/config

[root@localhost sekigawa]# vi /etc/selinux/config

SELINUX=disabled

ip addr show

[root@localhost sekigawa]# ip addr show

レポジトリ

[root@localhost sekigawa]# yum -y install yum-plugin-priorities 
[root@localhost sekigawa]# yum -y install epel-release 
[root@localhost sekigawa]# yum -y install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm 
[root@localhost sekigawa]# sed -i -e "s/\]$/\]\npriority=1/g" /etc/yum.repos.d/CentOS-Base.repo 
[root@localhost sekigawa]# sed -i -e "s/\]$/\]\npriority=5/g" /etc/yum.repos.d/epel.repo
[root@localhost sekigawa]# sed -i -e "s/\]$/\]\npriority=10/g" /etc/yum.repos.d/rpmforge.repo 

mount

[root@localhost sekigawa]# yum -y install cronie-noanacron
[root@localhost sekigawa]# yum -y remove cronie-anacron 

mount

[root@localhost sekigawa]# cd /mnt
[root@localhost sekigawa]# mkdir disk0
[root@localhost sekigawa]# mount /dev/sdb1 disk0

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS