EPICS IOC Installation

Execute chroot into the root filesystem, and do the following:

1. Set DNS server

Add the following lines to /etc/resolv.conf:

# campus network
nameserver 130.199.128.31
nameserver 130.199.1.1

# NSLS-II network
nameserver 10.65.2.25
nameserver 10.65.2.26

2. Install Debian packages

apt install telnet procserv -y

Check:

which procServ
> /usr/bin/procServ

3. Install systemd-softioc

git clone https://github.com/NSLS-II/systemd-softioc

Install the package:

sudo ./install.sh

Create directory for the IOC:

mkdir -p /epics/iocs
chown softioc:softioc /epics/iocs 
chmod g+ws /epics/iocs

4. Use manage-iocs to install and enable IOCs

In the IOC directory, create a config file with the following content:

NAME=IOC_name
PORT=4051
HOST=hostname
USER=softioc
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容