最新版パッチが適用されたisoイメージを Fedora Unity Torrentsより、BitTorrentでダウンロード。約3GB。
DVDを焼いてインストール。
「Development Tools」と「Legacy Network Server」「Legacy Software Development」がfile conflictを起こすので注意。
[root@localhost ~]# yum grouplist Installed Groups: Office/Productivity MySQL Database Editors System Tools Text-based Internet X Software Development DNS Name Server GNOME Desktop Environment Authoring and Publishing FTP Server Network Servers Java Development X Window System Graphics Web Server Windows File Server Printing Support Mail Server Server Configuration Tools Sound and Video PostgreSQL Database Administration Tools News Server Development Tools Graphical Internet Available Groups: Engineering and Scientific Window Managers GNOME Software Development XFCE Software Development Legacy Network Server Hardware Support Games and Entertainment XFCE Legacy Software Development Web Development Eclipse KDE Software Development KDE (K Desktop Environment) Educational Software Done
以後、ifconfigでIPを調べてからリモート操作。
#vi /etc/sysconfig/network -------------------------------- NETWORKING=yes HOSTNAME=tech-fsv -------------------------------- # service network restart
# echo $LANG en_US.UTF-8 [root@localhost misc]# locale -a | grep -i ja ja_JP ja_JP.eucjp ja_JP.ujis ja_JP.utf8 japanese japanese.euc # vi /etc/sysconfig/i18n LANG="ja_JP.eucjp"
# useradd example # passwd example
# vi /etc/yum.repos.d/local-base ------------------------------------------------------------- http://ftp.kddilabs.jp/Linux/packages/fedora/core/5/$ARCH/os/ http://ftp.riken.go.jp/Linux/fedora/core/5/$ARCH/os/ http://ftp.iij.ad.jp/pub/linux/fedora/core/5/$ARCH/os/ ------------------------------------------------------------- # vi /etc/yum.repos.d/local-updates ------------------------------------------------------------- http://ftp.kddilabs.jp/Linux/packages/fedora/core/updates/5/$ARCH/ http://ftp.riken.go.jp/Linux/fedora/core/updates/5/$ARCH/ http://ftp.iij.ad.jp/pub/linux/fedora/core/updates/5/$ARCH/ ------------------------------------------------------------- # vi /etc/yum.repos.d/local-extras ------------------------------------------------------------- http://ftp.kddilabs.jp/Linux/packages/fedora/extras/5/$ARCH/ http://ftp.riken.go.jp/Linux/fedora/extras/5/$ARCH/ http://ftp.iij.ad.jp/pub/linux/fedora/extras/5/$ARCH/ ------------------------------------------------------------- # vi /etc/yum.repos.d/fedora-core.repo ------------------------------------------------------------- #mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever mirrorlist=file:///etc/yum.repos.d/local-base ------------------------------------------------------------- # vi /etc/yum.repos.d/fedora-updates.repo ------------------------------------------------------------- #mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever mirrorlist=file:///etc/yum.repos.d/local-updates ------------------------------------------------------------- # vi /etc/yum.repos.d/fedora-extras.repo ------------------------------------------------------------- #mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever mirrorlist=file:///etc/yum.repos.d/local-extras ------------------------------------------------------------- # yum update
# vi /etc/inittab ----------------------- 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 #3:2345:respawn:/sbin/mingetty tty3 #4:2345:respawn:/sbin/mingetty tty4 #5:2345:respawn:/sbin/mingetty tty5 #6:2345:respawn:/sbin/mingetty tty6 -----------------------再起動
# vi /etc/hosts.allow -------------------------------------------------------------------------------- ALL: 127. ALL: 192.168. -------------------------------------------------------------------------------- # vi /etc/hosts.deny -------------------------------------------------------------------------------- ALL: ALL -------------------------------------------------------------------------------- # service sshd restart
# crontab -e ---------------------------------------- # Time Adjust 毎日2:43に時刻合わせ 43 2 * * * (/usr/sbin/ntpdate ntp.ring.gr.jp) > /dev/null 2>&1 # CMOS Time Writting 1週間に一度ハードウェアクロックを更新 15 1 * * 7 (/sbin/hwclock --systohc) >/dev/null 2>&1 ----------------------------------------
# vi /etc/logrotate.conf ---- compress ----
# updatedb
# yum install fonts-japanese
# vi .bashrc ---- alias vi='vim' ----
Section "Device" Identifier "Videocard0" Driver "vesa" VendorName "Videocard vendor" BoardName "Intel Corporation 82865G Integrated Graphics Controller" # Option "HWCursor" "off" EndSection
#AddDefaultCharset UTF-8 AddDefaultCharset Off