2016년 1월 7일 목요일

, , , , , , , , , , , , , , ,

EPICS (Experimental Physics and Industrial Control System) Base Installation Using an Install Script Log [Debian and CentOS Linux]

1 EPICS Base Installation


1.1 About EPICS


EPICS[1] is a set of software tools and applications which provide a software infrastructure for use in uilding distributed control systems to operate devices such as Particle Accelerators, Large Experiments and major Telescopes. Such distributed control systems typically comprise tens or even hundreds of computers, networked together to allow communication between them and to provide control and feedback of the various parts of the device from a central control room, or even remotely over the internet. If you want to learn more about EPICS, a good place to start is the Getting Started with EPICS lecture series which provides online videos of a series of lectures presented at Argonne in 2004-2005.

1.2 License


EPICS is provided under an open source license called the EPICS Open License, which is similar to the BSD license. See the Licensing pages for details and some history.

1.3 System requirements


GNU make

You must use GNU make, gnumake, for any EPICS builds. Set your path so that a gnumake version 3.81 or later is available.

Perl

You must have Perl version 5.8.1 or later installed. The EPICS configuration files do not specify the perl full pathname, so the perl executable must be found through your normal search path.

Unzip and tar (Winzip on WIN32 systems)

You must have tools available to unzip and untar the EPICS base distribution file.

GNU readline or Tecla library

GNU readline and Tecla librararies can be used by the IOC shell to provide command line editing and command line history recall and edit. GNU readline (or Tecla library) must be installed on your target system when COMMANDLINE LIBRARY is set to READLINE (or TECLA) for that target. EPICS (EPICS shell) is the default specified in CONFIG COMMON. A READLINE override is defined for linux-x86 in
the EPICS distribution. Comment out COMMANDLINE LIBRARY=READLINE in configure/os/CONFIG SITE.Common.linuxx86 if readline is not installed on linuxx86. Commandline editing and history will then be those supplied by the os. On vxWorks the ledLib command-line input library is used instead.

Tip

Here is the quick installation log for Debian Linux user. Other Linux users install the same name package.
• GNU make
Package: build-essential
ex> root@user:~$ aptitude install build-essential
• Perl
Package: perl
ex> root@user:~$ aptitude install perl
• Unzip and tar
Package: tar, unzip
ex> root@user:~$ aptitude install tar unzip
• GNU readline
Package: libreadline-dev
ex> root@user:~$ aptitude install libreadline-dev

1.4 Installation


Download

We are using the script for EPICS installation. This scripts contain epics defalut installation.sh, require packages.sh and so on. We use only epics defalut installation.sh to EPICS base installation. This script is downloadable here.
Here is the quick download log.
user@user:~$ git clone https://github.com/jeonghanlee/scripts_for_epics.git
git should be installed.

Installation

Before installing EPICS, system requirements should be check.
Here is the quick installation log.
user@user:~/scripts_for_epics$ bash epics_default_installation.sh
It has the following tree structures.
epics
├── downloads
│          ├── baseR3.14.12.5.tar.gz
│          ├── extensionsTop_20120904.tar.gz
│          ├── msi1-6.tar.gz
│          └── VisualDCT-dist-2.6.1274.zip
└── R3.14.12.5
          ├── base
          │ ├── bin
          │ ├── config
          │ ├── configure
          │ ├── db
          │ ├── dbd
          │ ├── documentation
          │ ├── html
          │ ├── include
          │ ├── lib
          │ ├── LICENSE
          │ ├── Makefile
          │ ├── README
          │ ├── src
          │ ├── startup
          │ └── templates
          ├── extensions
          │          ├── bin
          │          ├── configure
          │          ├── html
          │          ├── include
          │          ├── lib
          │          ├── Makefile
          │          ├── README
          │          └── src
          └──setEpicsEnv.sh

Bibliography

[1] Experimental Physics and Industrial Control System : “EPICS” http://www.aps.anl.gov/epics (2016.01.06)

[2] jeonghanlee/scripts_for_epics : "scripts_for_epics" https://github.com/jeonghanlee/scripts_for_epics (2016 .01. 06)
위치: Yuseong-gu, Daejeon, South Korea

0 개의 댓글:

댓글 쓰기