-
Notifications
You must be signed in to change notification settings - Fork 4
Creating the otsdaq Virtual Machine
Eric Flumerfelt edited this page Jun 17, 2022
·
2 revisions
VirtualBox v5.2.12
Create RedHat 64-bit machine with 2 GB RAM and 60 GB virtual disk
Install SL7, formatting drive with one large partition
Use KDE Workspace install configuration
Root password set to “otsdaq2018”, otsdaq user created with no password
- Login as otsdaq
- Set Desktop to “Folder View”: Right-click on desktop, go to “Default Desktop Settings”, Select “Folder View” from “Layout” drop-down, select “OK”
- Add Terminal (Konsole) to Favorites and Panel
- Add Firefox to Favorites and Panel
yum update -y
yum install -y kernel-devel make gcc git redhat-lsb redhat-lsb-core redhat-lsb-cxx openssl-devel libuuid-devel kde-baseapps automake pcre2
# CVMFS Install
yum install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm
yum install cvmfs
cvmfs_config setup
mkdir /mnt/cdrom
mount /dev/sr0 /mnt/cdrom
cd /mnt/cdrom
./VBoxLinuxAdditions.run
reboot
- Make sure to add the hostname to /etc/hosts if it is changed from the default of localhost.localdomain.
- Edit /etc/selinux/config and change mode to “Permissive” or “Disabled”
- Edit /etc/cvmfs/default.local (Create the file) CVMFS_HTTP_PROXY='DIRECT' CVMFS_REPOSITORIES='fermilab.opensciencegrid.org,oasis.opensciencegrid.org,' CVMFS_FORCE_SIGNING='yes'
Edit /etc/gdm/custom.conf:
[daemon]
AutomaticLogin=otsdaq
AutomaticLoginEnable=True
mkdir otsdaq-mrb-base
cd otsdaq-mrb-base
mkdir products
cd products
wget https://scisoft.fnal.gov/scisoft/bundles/tools/pullProducts
chmod +x pullProducts
curl https://scisoft.fnal.gov/scisoft/packages/ups/v6_1_0/ups-6.1.0-Linux64bit+3.10-2.17.tar.bz2|tar -jxf -
source setup
source /cvmfs/fermilab.opensciencegrid.org/products/artdaq/setups
./pullProducts . slf7 otsdaq-v2_06_04 s112-e20 prof
cd ..
setup mrb
MRB_PROJECT=otsdaq mrb newDev -f -q e20:s112:prof
source localProducts*/setup
cd srcs
git clone https://github.com/art-daq/otsdaq_demo.git otsdaq_demo
mrb uc
cd ..
ln -s srcs/otsdaq_demo/tools/setup_ots.sh
source setup_ots.sh
mz
Firefox Bookmarks http://otsdaq.fnal.gov https://github.com/art-daq/otsdaq/wiki http://otsdaq:2015/urn:xdaq-application:lid=200/#1 http://otsdaq:2015/urn:xdaq-application:lid=290/Verify?code=fa37#1
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=/home/otsdaq/otsdaq-mrb-base/srcs/otsdaq_demo/tools/start_ots.sh
GenericName[en_US]=Start the OTSDAQ Software
GenericName=Start the OTSDAQ Software
Icon=kcmkwm
MimeType=
Name[en_US]=Start OTSDAQ
Name=Start OTSDAQ
Path=/home/otsdaq/otsdaq-mrb-base
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=/home/otsdaq/otsdaq-mrb-base/srcs/otsdaq_demo/tools/reset_ots.sh
GenericName[en_US]=Reset the OTSDAQ Installation to Tutorial Mode
GenericName=Reset the OTSDAQ Installation to Tutorial Mode
Icon=edit-undo
MimeType=
Name[en_US]=Reset OTSDAQ
Name=Reset OTSDAQ
Path=/home/otsdaq/otsdaq-mrb-base
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=/home/otsdaq/otsdaq-mrb-base/srcs/otsdaq_demo/tools/reset_ots_tutorial.sh
GenericName[en_US]=Starts the ots hardware emulator tutorial
GenericName=Starts the ots hardware emulator tutorial
Icon=accessories-dictionary
MimeType=
Name[en_US]=Start⁄Reset Tutorial
Name=Start⁄Reset Tutorial
Path=/home/otsdaq/otsdaq-mrb-base
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=