美文网首页
EPICS IOC Installation

EPICS IOC Installation

作者: 非鱼知乐 | 来源:发表于2024-02-13 03:53 被阅读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

相关文章

网友评论

      本文标题:EPICS IOC Installation

      本文链接:https://www.haomeiwen.com/subject/ppmdsdtx.html