差分

移動: 案内検索

サーバー構築方法(Linux編)

636 バイト追加, 2015年8月17日 (月) 17:57
多くのSSHクライアント共通?で、選択したらコピーされて、右クリするとペーストという操作法があるので、以後活用していく。
 
 
== NTPの設定 ==
時刻合わせるためにNTPインストール。
yum -y install ntp
サーバーを変更します。
vi /etc/ntp.conf
予めあるNTPサーバーの設定をコメントアウトして、
#server 0.centos.pool.ntp.org iburst
#server 1.centos.pool.ntp.org iburst
#server 2.centos.pool.ntp.org iburst
#server 3.centos.pool.ntp.org iburst
新たに追加。
server ntp1.jst.mfeed.ad.jp iburst
server ntp2.jst.mfeed.ad.jp iburst
server ntp3.jst.mfeed.ad.jp iburst
サービス起動して、登録。
/etc/rc.d/init.d/ntpd start
chkconfig ntpd on
確認は以下のコマンドでできる。
ntpq -pn
んで、ブラウザからIPアドレスを打ち込めばとりあえずテストページが見られるようになっているはず。<br>
[[File:testpage.png|320px]]
 
== 書きかけです ==
651
回編集