Differences between revisions 1 and 63 (spanning 62 versions)
Revision 1 as of 2009-11-26 16:02:38
Size: 228
Editor: NaokoOhishi
Comment:
Revision 63 as of 2009-12-24 12:40:59
Size: 2753
Editor: NaokoOhishi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
2009/Nov/26 <<TableOfContents>>
Line 4: Line 4:
Dell desktopに[[|Ubuntu9.10()]](64bit)をインストール。 == 目的 ==
Line 6: Line 6:
Windows VISTAが入っていたsda2[7MB/15MB]を残して、
sda3をrootと4GBくらいのswapにpartitionを分ける。
 Digital Controlの入り口用?パソコンを立ち上げる。2010年1月くらいまでに。<<BR>>

 パソコン:Dell desktop
 OS: [[http://www.ubuntu.com/getubuntu/download|Ubuntu9.10]](64bit)<<BR>>
 [[http://nibot-lab.livejournal.com/91787.html|参考]]

== 初期設定 ==

 Windows VISTAが入っていたsda2[7GB/15GB]を残して、 sda3をrootと4GBくらいのswapにpartitionを分け、Ubuntuを入れた。(26Nov2009)

== MEDMのインストール ==

 [[http://www.aps.anl.gov/epics/extensions/medm/index.php|MEDM]]

=== インストールの準備 ===

  MotifとX11のヘッダファイルとライブラリが使用可能で、CONFIG_SITEで正しく設定されていることを確認する。<<BR>>
  とあるので、 Synapticで
  *libmotif3
  *motif-clients(menuも)
  *libmotif-dev<<BR>>
  を入れました。
 それから、
 *libxt-dev(依存関係のもの多数も、以下略)
 *x11proto-print-dev
 *libxmu-dev
 *libxp-dev<<BR>>
 も入れました。<<BR>>

=== ファイルのダウンロード ===

 ~/app/linux64/epics/以下に置きました。参考サイトの/opt/epics/に対応
 [[http://www.aps.anl.gov/epics/download/base/index.php|baseR3.14.11.tar.gz]]<<BR>>
 [[http://www.aps.anl.gov/epics/download/extensions/index.php|extensionsTop_20070703.tar.gz]]<<BR>>
 [[http://www.aps.anl.gov/epics/download/extensions/index.php|extensionsConfigure_20040406.tar.gz]]<<BR>>
 [[http://www.aps.anl.gov/epics/extensions/medm/index.php|medm3_1_4.tar.gz]]<<BR>>

=== 解凍 ===

 tar -zxvf baseR3.14.10.tar.gz<<BR>>
 ln -s base3.14.11/ base <<BR>>
 tar -zxvf extensionsTop_20070703.tar.gz <<BR>>
 tar -zxvf extensionsConfig_20040406.tar.gz <<BR>>
 tar -zxvf medm3_1_4.tar.gz <<BR>>

=== 環境変数の設定 ===

 export EPICS_HOST_ARCH=linux-x86<<BR>>
 export EPICS='~/app/linux64/epics/' <<BR>>
 export EPICS_CA_ADDR_LIST="IP address"<<BR>>
 export EPICS_CA_AUTO_ADDR_LIST=NO<<BR>>
 

=== compile epics ===

 cd $EPICS/base
 make
  
=== configure the extensions ===

 add $EPICS/extensions/configure/RELEASE <<BR>>
 set TOP=~/app/linux64/epics

=== Tips ===

If you find */CONFIG.Unsupported.Common No such file or directory,
when you make something, you should set EPICS_HOST_ARCH=linux-x86<<BR>>


== dataviewerのインストール ==

=== graceのインストール ===
   関連ファイル:
  *libfftw3-3(libfftw3-doc, libfftw3-decもついでに)
  *libnetcdf4
  *lib1-5 xmhtml1<<BR>>
  とともにSynapticで入れました。

=== libxpm4 ===

 は入っているようなのでパス。

== gdstools(diaguui. foton,)のインストール ==

Linux setup Memo

目的

  • Digital Controlの入り口用?パソコンを立ち上げる。2010年1月くらいまでに。
    パソコン:Dell desktop

    OS: Ubuntu9.10(64bit)
    参考

初期設定

  • Windows VISTAが入っていたsda2[7GB/15GB]を残して、 sda3をrootと4GBくらいのswapにpartitionを分け、Ubuntuを入れた。(26Nov2009)

MEDMのインストール

インストールの準備

  • MotifとX11のヘッダファイルとライブラリが使用可能で、CONFIG_SITEで正しく設定されていることを確認する。
    とあるので、 Synapticで

  • libmotif3
  • motif-clients(menuも)
  • libmotif-dev
    を入れました。

  • それから、
  • libxt-dev(依存関係のもの多数も、以下略)
  • x11proto-print-dev
  • libxmu-dev
  • libxp-dev
    も入れました。

ファイルのダウンロード

解凍

  • tar -zxvf baseR3.14.10.tar.gz
    ln -s base3.14.11/ base
    tar -zxvf extensionsTop_20070703.tar.gz
    tar -zxvf extensionsConfig_20040406.tar.gz
    tar -zxvf medm3_1_4.tar.gz

環境変数の設定

  • export EPICS_HOST_ARCH=linux-x86
    export EPICS='~/app/linux64/epics/'
    export EPICS_CA_ADDR_LIST="IP address"
    export EPICS_CA_AUTO_ADDR_LIST=NO

compile epics

  • cd $EPICS/base make

configure the extensions

  • add $EPICS/extensions/configure/RELEASE
    set TOP=~/app/linux64/epics

Tips

If you find */CONFIG.Unsupported.Common No such file or directory, when you make something, you should set EPICS_HOST_ARCH=linux-x86

dataviewerのインストール

graceのインストール

  • 関連ファイル:
  • libfftw3-3(libfftw3-doc, libfftw3-decもついでに)
  • libnetcdf4
  • lib1-5 xmhtml1
    とともにSynapticで入れました。

libxpm4

  • は入っているようなのでパス。

gdstools(diaguui. foton,)のインストール

CLIO/Tasks/DigitalControl/LinuxSetupMemo (last edited 2010-06-01 10:30:47 by NaokoOhishi)