EPICS IOC Installation

2024-02-13  本文已影响0人  非鱼知乐

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
上一篇 下一篇

猜你喜欢

热点阅读