Guide at S2
cd /home/mu1s2s/muminus/scripts ./start_epics_server.sh
epics> drvNetMpf: connected to “192.168.0.2”
iocRun: All initialization complete
cd /home/mu1s2s/muminus/edm ./run_edm.sh
file - open
2020 1s2s-2020-Cedric-HV-v2.edl
1s2s-2020-Cedric-Vac-v2.edl
click OK
In the terminal, type:
cd /home/mu1s2s/CSS/cs-studio-kek ./css
In the pop-up window (select workspace), use default path, do not need to change anything, click OK
Switch to PV_monitor.opi window, you can monitor the voltages and currents
cd /home/mu1s2s/VacMonitor python serial_plot_Cedric_USB0.py
python serial_plot_Cedric_USB1.py
Then
EPICS Installation on CentOS7
- CentOS Linux (3.10.0-514.el7.x86_64) 7
- installation type: server with GUI
- with development tools
- EPICS version: baseR3.14.12.
48 - Path: /opt/epics/base
add user to sudoer
usermod -aG wheel mu1s2s
refer to the link
su yum update # Very long time
epics-base.jpg (later changed to 3.14.12.8, due to some installation problem from 14.12.4)
Restart PC
yum -y install readline-devel
- gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
- GNU Make 3.82
vi /home/mu1s2s/.bashrc
EPICS_HOST_ARCH=linux-x86_64 export EPICS_HOST_ARCH PATH=$PATH:/opt/epics/base/bin/linux-x86_64/ export PATH EPICS_BASE=/opt/epics/base/ export EPICS_BASE
- CA (cap5) not installed
- make success for 12.8
- make the extensions
cd path_to_epics/extensions make clean make
- for edm, X11 lib missing:
X11/Intrinsic.h: No such file or directory
yum install libXt-devel yum install libXmu-devel yum install openmotif-devel yum install libXtst-devel yum install giflib-devel
cd /extensions/src make clean make
In case some fonts are missing
yum -y install xorg-x11-fonts"*"
or, to directly change the configuration file in /edmMain/fonts.list to replace the missing fonts with other existing fonts。 refer to EPICS font configuration
reference:
https://sdcswd.wang/archives/76fb0fda/
VNC server on CentOS7
https://www.tecmint.com/install-and-configure-vnc-server-in-centos-7/
Actual experience:
$ sudo yum install tigervnc-server $ su - your_user # If you want to configure VNC server to run under this user directly from CLI without switching users from GUI $ vncpasswd $ cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service ### then in the tutorial, a large number of lines need to be input, but since there already similar lines in the copied files, Only user name need to be replaced $ systemctl daemon-reload $ systemctl start vncserver@:1 $ systemctl status vncserver@:1 $ systemctl enable vncserver@:1 ### for different user, create different tag, @:1, @:2, ... $ ss -tulpn| grep vnc $ firewall-cmd --add-port=5901/tcp $ firewall-cmd --add-port=5901/tcp --permanent ### In the new Opera case, 5901 - 5920 has been permanently added in the firewall configuration.
autosave
/home/mu1s2s/muminus/configure/RELEASE
/opt/epics/base/support/autosave-5-5/configure/RELEASE
/home/mu1s2s/muminus/muminusApp/src/iocxxxInclude.dbd
and Makefile
Follow the complete instruction on: http://cerldev.kek.jp/trac/EpicsUsersJP/wiki/epics/saverestore
CSS at KEK & SMBL
http://www-linac.kek.jp/cont/epics/css/
http://cs-studio.sourceforge.net/docbook/ch20.html
css epics log
epics CSS Message History Browser