wiki:epics/install/vmware_centos

Version 1 (modified by obina, 11 years ago) (diff)

--

VMWareに CentOS 6.4 インストール

概要で述べたように、「最少インストール」でスタートする。面倒だと思う方はDVDイメージ をダウンロードしてデスクトップでもサーバでもお好きなモノをインストールしてください。

  1. 仮想マシン作成
    • KEK内部からはreflx1を使います。もちろん他のミラーサイト(riken, jaist)などでも可。
    • reflx1.kek.jp から最少インストール用イメージ(約300MB)をダウンロードして、適当なディレクトリに保存。
      http://reflx1.kek.jp/centos/6/isos/i386/CentOS-6.4-i386-minimal.iso
      
  2. /etc/sysconfig/network-scripts/ifcfg-eth0
  3. /etc/yum.repos.d/CentOS-Base.repo
    mirror.centos.org -> reflx1.kek.jp に変更する
    
  4. サービスの確認
    # chkconfig --list
    
  5. IPV6無効化
  1. SELinux設定
    /etc/selinux/config
    
    SELINUX=disabled
    

以下のサービスを停止。

# service iptables stop
# service ipv6tables stop
# service lvm2-monitor stop    : LVMを使っていないならば
# service auditd stop          : SELinux使わないので不要
# service mcstrans stop        : SELinux使わないので不要
# service restorecond stop     : SELinux使わないので不要

再起動時のため、上のサービスの起動設定をオフに。

# chkconfig iptables off
.......

おそらく不要なので止めて良い?

blk-availability  : LVM2のミラーデバイス管理?
iscsi       : iSCSI関連
iscsid      : iSCSI関連
mdmonitor   : ソフトウェアRAID

  1. 開発に必要なソフトウェアのインストール
    gcc
    gcc-c++
    make
    wget
    ntp
    ntpd
    bind-utils    : dig, host, nslookup等
    tcsh
    telnet
    
    EPICSに必要
    perl
    perl-devel
    readline-devel
    
    個人的趣味
    screen   : GNU screen
    emacs    : Emacs
    lsof     : lsof
    
  1. 時刻合わせ
    # ntpdate ntp01.local.kek.jp
    

/etc/ntp.confを編集。

server ntp01.local.kek.jp
server ntp02.local.kek.jp
# service ntp restart
# chkconfig ntp on

Attachments (31)

Download all attachments as: .zip