インストール直後にしておきたいこと FC5
1. 日本語環境を入れる
日本語環境を入れるを見てね
2. yumのミラーリストを作る
# vi /etc/yum.repos.d/local-core
http://ftp.kddilabs.jp/Linux/packages/fedora/core/...
http://ftp.riken.jp/Linux/fedora/core/$releasever/...
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/$rele...
http://ftp.iij.ad.jp/pub/linux/fedora/core/$releas...
# vi /etc/yum.repos.d/local-updates
http://ftp.kddilabs.jp/Linux/packages/fedora/core/...
http://ftp.riken.jp/Linux/fedora/core/updates/$rel...
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/updat...
http://ftp.iij.ad.jp/pub/linux/fedora/core/updates...
# vi /etc/yum.repos.d/local-extras
http://ftp.kddilabs.jp/Linux/packages/fedora/extra...
http://ftp.riken.jp/Linux/fedora/extras/$releaseve...
http://ftp.jaist.ac.jp/pub/Linux/Fedora/extras/$re...
http://ftp.iij.ad.jp/pub/linux/fedora/extras/$rele...
3. yumの設定ファイルをいじる
# vi /etc/yum.repos.d/fedora-core.repo
[core]
(変更前)
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-c...
(変更後)
mirrorlist=file:///etc/yum.repos.d/local-core
yum設定ファイル編集(updates版)
# vi /etc/yum.repos.d/fedora-updates.repo
[updates]
(変更前)
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-...
(変更後)
mirrorlist=file:///etc/yum.repos.d/local-updates
yum設定ファイル編集(extras版)
# vi /etc/yum.repos.d/fedora-extras.repo
[extras]
(変更前)
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-e...
(変更後)
mirrorlist=file:///etc/yum.repos.d/local-extras
4. 更新をかける
# yum -y update
(メチャクチャ時間がかかる)
5. 更新を自動化する
# /etc/rc.d/init.d/yum start
# chkconfig yum on
6. 日本語処理に必要なパッケージを入れる
# yum -y install nkf
7. ファイヤーウォールを止める
# /etc/rc.d/init.d/iptables stop
# chkconfig iptables off
8. SELinuxを止める
# setenforce 0
/etc/sysconfig/selinux を更新して自動起動を止める
# vi /etc/sysconfig/selinux
(更新前ここから)
SELINUX=enforcing
(更新前ここまで)
(更新後ここから)
SELINUX=disabled
(更新後ここまで)
9. 再起動しよう
# reboot
このページへのコメント
ho68m7 Really informative article.Much thanks again. Want more.