2013/08/15(木)ホストサーバの設定

なにか入れたらあとから追記する

いろいろ設定しておく

  • ホスト名
    • [/etc/hosts]をいじってホスト名設定
  • dnsの設定
    • [/etc/resolf.conf]
      適当にnameserverを設定

基本的なソフトを入れておく

何か足りなければ適宜追加

  • wget
    • [yum install wget]
      って、wgetすら入っていないとは思わなかった
  • screen
    • [yum install screen]
      内部ネットワークなので切断事故は無いと思うけど、念のため入れておく

ちょっとしたサーバ

ホストOSで動いていた方が便利なものを入れておく

  • ntpサーバ
    • [yum install ntp]して、[/etc/ntp.conf]を書き換え
      (略)
      # Hosts on local network are less restricted.
      restrict 192.168.100.0 mask 255.255.255.0 nomodify notrap
      
      server xxx.xxx.xxx.xx   # 使っているプロバイダのntpサーバを指定
      server xxx.xxx.xxx.xx
      
    • サービスを起動
      $ service ntpd start
      $ chkconfig ntpd on