CentOS5.4インストール
以前CentOS5.4をインストールしたときの簡単なログ。
CDのインストールも余りにも簡単でFreeBSDとは全然違う印象ですね。。。
デスクトップ環境がこんなに簡単に手に入るとは。
下記はインストールCDからOSをインストールした後の手順。
sudo
- wheelグループのsudo許可とwheelグループへの追加
$ su - # visudo -----▼編集---------------------------------- ## Allows people in group wheel to run all commands %wheel ALL=(ALL) ALL --------------------------------------------- # vi /etc/group -----▼編集---------------------------------- wheel:x:10:root,hogehoge ---------------------------------------------
/etc/hosts
$ sudo vi /etc/hosts -----▼編集---------------------------------- 127.0.0.1 example.com example localhost ::1 example.com example localhost ---------------------------------------------
ビープ音を鳴らさない
$ sudo vi /etc/inputrc -----▼編集---------------------------------- set bell-style none set prefer-visible-bell ---------------------------------------------
Yumリポジトリの追加
CentOSPlus
$ sudo vi /etc/yum.repos.d/CentOS-Base.repo -----▼編集------------------------------------------------------------- #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 - enabled=0 + enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 ------------------------------------------------------------------------
dag
$ sudo vi /etc/yum.repos.d/Thirds.repo -----▼新規------------------------------------------------------------- # add Red Hat Enterprise Linux repositories [dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://ftp.riken.jp/Linux/dag/redhat/el$releasever/en/$basearch/dag/ gpgcheck=1 enabled=1 ------------------------------------------------------------------------
- dag用GPG-KEY
# rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
JPackage
$ sudo vi /etc/yum.repos.d/JPackage.repo -----▼新規------------------------------------------------------------- [jpackage-generic] name=JPackage (free), generic mirrorlist=http://www.jpackage.org/jpackage_generic.txt failovermethod=priority gpgcheck=1 gpgkey=http://www.jpackage.org/jpackage.asc enabled=1 [jpackage-generic-nonfree] name=JPackage (non-free), generic mirrorlist=http://www.jpackage.org/jpackage_generic_nonfree.txt failovermethod=priority gpgcheck=1 gpgkey=http://www.jpackage.org/jpackage.asc enabled=0 [jpackage16-rhel40] name=JPackage 1.6 for Red Hat Enterprise Linux 4 baseurl=http://mirrors.dotsrc.org/jpackage/1.6/redhat-el-4.0/free/ gpgcheck=1 ------------------------------------------------------------------------
- JPackage用GPG-KEY
# rpm --import http://www.jpackage.org/jpackage.asc
Yum更新
# yum check-update # yum update