- 2007-11-10 (土) 15:32
- Linux
$ su -
※アップデート
# yum -y install yum-fastestmirror
#yum -y update
※ファイアウォールの設定
# /etc/rc.d/init.d/iptables stop ← ルータで設定する為、停止
# /etc/rc.d/init.d/ip6tables stop ← ipv6も停止
# /sbin/chkconfig iptables off ← 自動起動解除
# /sbin/chkconfig ip6tables off ← 自動起動解除
# /sbin/chkconfig –list iptables ← 確認
# /sbin/chkconfig –list ip6tables ← 確認
※SELinux の無効化
# setenforce 0 ← 無効化
# getenforce ← “permissive”になっているかの確認
# vi /etc/sysconfig/selinux ← 編集
SELINUX=disabled
※nkf のインストール
# yum list | grep nkf ← 確認
# yum -y install nkf ← 入っていなければインストール
※電源管理機能の設定
# /etc/rc.d/init.d/acpid stop ← 停止
# /sbin/chkconfig acpid off ← 自動起動解除
# /sbin/chkconfig –list acpid ← 確認
※SSHの設定
# yum list | grep ssh ← 確認
# yum -y install openssh* ← なければインストール
# vi /etc/ssh/sshd_config
Protocol 2 ← SSH2のみ許可
PermitRootLogin no ← rootのログイン禁止
PasswordAuthentication yes ← パスワードでのログインを許可
PermitEmptyPasswords no ← パスワードなしログインを禁止
# /etc/rc.d/init.d/sshd restart ← SSHの再起動
# /sbin/chkconfig –list sshd ← 確認
※再起動
# reboot
※次回から、Windows の SSHクライアントから接続する。
- Newer: irqbalance エラー
- Older: テキストログイン
Comments:0
Trackback+Pingback:0
- TrackBack URL for this entry
- http://www3.us/2007/11/10/fedora-8-%e8%87%aa%e5%ae%85%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e5%88%9d%e6%9c%9f%e8%a8%ad%e5%ae%9a/trackback/
- Listed below are links to weblogs that reference
- Fedora 8 自宅サーバー(初期設定) from nnpooh の :: ひとり言 ::