目次
参考サイト:
CentOS.orgの[Downloads]ページよりインストールDVDイメージをダウンロードしてDVDを作成。
DVDブートでインストール開始。
#ref(): File not found: "01.JPG" at page "CentOS 6.0"
#ref(): File not found: "02.JPG" at page "CentOS 6.0"
#ref(): File not found: "03.JPG" at page "CentOS 6.0"
#ref(): File not found: "04.JPG" at page "CentOS 6.0"
#ref(): File not found: "05.JPG" at page "CentOS 6.0"
#ref(): File not found: "06.JPG" at page "CentOS 6.0"
#ref(): File not found: "07.JPG" at page "CentOS 6.0"
#ref(): File not found: "08.JPG" at page "CentOS 6.0"
#ref(): File not found: "09.JPG" at page "CentOS 6.0"
#ref(): File not found: "08.JPG" at page "CentOS 6.0"
#ref(): File not found: "07.JPG" at page "CentOS 6.0"
#ref(): File not found: "10.JPG" at page "CentOS 6.0"
#ref(): File not found: "11.JPG" at page "CentOS 6.0"
#ref(): File not found: "12.JPG" at page "CentOS 6.0"
#ref(): File not found: "13.JPG" at page "CentOS 6.0"
#ref(): File not found: "14.JPG" at page "CentOS 6.0"
#ref(): File not found: "15.JPG" at page "CentOS 6.0"
#ref(): File not found: "16.JPG" at page "CentOS 6.0"
#ref(): File not found: "17.JPG" at page "CentOS 6.0"
#ref(): File not found: "18.JPG" at page "CentOS 6.0"
#ref(): File not found: "21.JPG" at page "CentOS 6.0"
#ref(): File not found: "22.JPG" at page "CentOS 6.0"
[root@XXXXX ~]# vi /etc/sysconfig/i18n LANG="ja_JP.UTF-8" ↓ LANG="ja_JP.eucJP" ← eucJPに変更
[root@XXXXX ~]# useradd XXXXX ← ユーザーXXXXXの作成 [root@XXXXX ~]# passwd XXXXX ← ユーザーXXXXXのパスワード設定 Changing password for user XXXXX. New UNIX password: ← パスワード入力 Retype new UNIX password: ← パスワード入力(再) passwd: all authentication tokens updated successfully.
[root@XXXXX ~]# usermod -G wheel hoge ← ユーザhogeをwheelグループに追加 [root@XXXXX ~]# vi /etc/pam.d/su #auth required pam_wheel.so use_uid ↓ auth required pam_wheel.so use_uid ← コメントを外す
[root@XXXXX ~]# yum -y remove openssh
[root@XXXXX ~]# getenforce ← 状態確認 Enforcing ← 有効 [root@XXXXX ~]# vi /etc/sysconfig/selinux ← 設定ファイル編集 SELINUX=enforcing ↓ SELINUX=disabled ← システム起動時に無効化再起動
[root@XXXXX ~]# getenforce ← 状態確認 Permissive ← 無効
[root@XXXXX ~]# yum -y update [root@XXXXX ~]# reboot ← 再起動
[root@XXXXX ~]# chkconfig acpid off ← acpid を停止(再起動後) [root@XXXXX ~]# chkconfig --list | sort ← 現在のサービス一覧をソートして表示下記のサービスの自動起動を停止
acpid | 電源管理(Advanced Configuration and Power Interface) ノートPC以外では不要。 |
atd | 指定時刻にコマンドを実行するためのサービス。 |
auditd | SELinuxの詳細なログを収集するサービス。SELinuxを使わないなら不要。 |
cpuspeed | 負荷に応じてCPU周波数を動的に変更するサービス。消費電力等を気にしないので不要。 |
ip6tables | IPv6用のファイアウォール IPv6を使わないなら不要。 |
mdmonitor | RAID状態監視サービス RAIDしてないなら不要。 |
postfix | SMTPサーバ。 |
rdisc | ネットワークルータディスカバリーデーモン。ルータとして動作させないのであれば不要。 |
restorecond | SELinux関連のデーモン。SELinuxを使わないなら不要。 |