You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 30 Next »

models

NUC7i5BNB

NUC7i5BNHX 

kernel forcing

to force linux:

grubby --set-default "/boot/vmlinuz-4.18.0-373.el8.x86_64"


DISPLAY MANAGER

Rocky linux 8 comes with default wayland that disables xhost features.

To enable old behavior need to disable wayland (WaylandEnable=false) and enable xost by default:

gedit /etc/gdm/custom.conf ## add or uncomment : WaylandEnable=false
cd /home/dafne/.config/autostart

cat > 03_xhost.desktop
[Desktop Entry]
Type=Application
Exec=xhost +
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Enable X Connections
Name=Enable X Connections
Comment[en_US]=
Comment=
^C


Firewall

Rocky linux enable firewalld, better to disable it.

# systemctl stop firewalld
# systemctl disable firewalld
# sudo nano /etc/sysconfig/selinux #set SELINUX=disabled


Preparing NUC console ubuntu 22.04 lts

Packages

Labview package:https://baltig.infn.it/lnf-da-control/dcs-control-console/-/blob/main/ni-labview-2023-pro_23.1.0.49229-0+f77-ubuntu2004_all.deb


Packet List:

## CHROME
sudo apt update \
    && apt install -y gpg-agent \
    && curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
    && (dpkg -i ./google-chrome-stable_current_amd64.deb || apt-get install -fy) \
    && curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add \
    && rm google-chrome-stable_current_amd64.deb 


sudo apt-get update apt-get install -y python3-pip python3-dev build-essential git telnet x11-apps ssh desktop-file-utils \
        && pip3 install setuptools wheel && pip3 install -r /tmp/requirements.txt \
    && ln -s /usr/bin/python3 /usr/local/bin/python 

## LABVIEW
## download package ni-labview-2023-pro_23.1.0.49229-0+f77-ubuntu2004_all.deb this will update packages ... and update must be done

sudo apt install -y ./ni-labview-2023-pro_23.1.0.49229-0+f77-ubuntu2004_all.deb && apt-get update --allow-insecure-repositories --allow-unauthenticated  && apt install -y ni-labview-2023-pro 

# nodejs
sudo curl -sL https://deb.nodesource.com/setup_14.x | bash - \
    && apt-get install -y nodejs

# yarn
sudo curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
    && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
    && apt-get update \
    && apt-get install -y yarn docker.io 

# vnc
sudo apt install tightvncserver


User & Groups for DCS

Two users dante  (first user to be created) and dafne. Create a group dcs (10001)

uid=1001(dante) gid=1001(dante) groups=1001(dante),10001(dcs)
uid=1003(dafne) gid=1003(dafne) groups=1003(dafne),10001(dcs)
 

Mounts DCS

Just data and log directory must be mounted

192.168.192.248:/u2/data /u2/data nfs defaults,rw,soft,rsize=16384 0 0
192.168.192.248:/u2/dcs/db /u2/dcs/db nfs defaults,rw,soft,rsize=16384 0 0
192.168.192.248:/u2/dcs/logs /u2/dcs/logs nfs defaults,rw,soft,rsize=16384 0 0
192.168.192.248:/u2/dcs/prefs /u2/dcs/prefs nfs defaults,rw,soft,rsize=16384 0 0
192.168.192.248:/u2/dcs/script_linux /u2/dcs/script_linux nfs defaults,rw,soft,rsize=16384 0 0
192.168.192.248:/u2/dcs/space /u2/dcs/space nfs defaults,rw,soft,rsize=16384 0 0 


ASSET

Asset CodeHOSTMACIP AddressInfo

OS Version

cat /etc/*-release|head -1


PingSSHVNCRemote Desk

pldanteco10194:c6:91:12:c5:1e192.168.114.101

Lab 117 Tavolo console



CentOS Stream release 8

(kernel 4.18.0-448.el8.x86_6 labview19 segments)

4.18.0-408.el8.x86_64 ok

default forced to vmlinuz-4.18.0-373.el8.x86_64


OKOKOK

pldanteco10294:c6:91:12:c3:56192.168.114.102

DAFNE Control Room - Catia's console


CentOS Stream release 8

4.18.0-448.el8.x86_64 segments

forced to:

vmlinuz-4.18.0-373.el8.x86_64


OKOKNO

pldanteco10394:c6:91:12:cf:2c192.168.114.103

DAFNE Control Room - Sparc's console (foreman)


Rocky Linux release 8.5 (Green Obsidian)

4.18.0-348.20.1.el8_5.x86_64


OKOKNO

pldanteco11494:c6:91:12:cb:ca192.168.114.114

DAFNE Control Room - caron/202/203/205/alive_manager


CentOS Linux release 7.9.2009 (Core)

3.10.0-1160.83.1.el7.x86_64


OKOKOK

pldanteco10594:c6:91:12:bc:0b192.168.114.105

Lab 117 - scrivania Ciuffetti (???)


Rocky Linux release 8.6 (Green Obsidian)

4.18.0-372.16.1.el8_6.0.1.x86_64


OKOKOK

pldanteco11194:c6:91:12:d0:b7192.168.114.111

BTF


CentOS Stream release 8

4.18.0-365.el8.x86_64


OKOKOK

da-ctrl-nuc-win-0194:c6:91:12:d3:79193.206.82.152Lab 117 Tavolo consoleWindows
OK

OK
DA-NUC-001pldanteco10694:c6:91:12:xx:yy192.168.114.106

Sala Controllo DAFNE - Lato SPARC


Rocky Linux release 8.6 (Green Obsidian)

4.18.0-372.26.1.el8_6.x86_64






DA-NUC-002pldanteco10794:c6:91:12:c5:00192.168.114.107

Sala Controllo DAFNE - Lato LINAC (2^ Piano)


Rocky Linux release 8.6 (Green Obsidian)

4.18.0-372.26.1.el8_6.x86_64






DA-NUC-003da definire94:c6:91:12:d6:5dda definireLab 117 Da installare in Sala Controllo DAFNEda definire
















HOSTMACIP AddressInfoOS Version
PingSSHVNC

Remote Desk


pcdrago94:c6:91:12:bb:d9193.206.86.115


NO??

host flame-pc-g-294:c6:91:12:c9:79192.168.116.24Flame (?)

OKNONO?

host flame-int-cam-pc294:c6:91:12:d1:20192.168.116.21Flame (?)

NO??

host flame-pc-g-194:c6:91:12:cb:c5192.168.116.22Flame (?)

OKNONO?











  • No labels