Update PreparingDevelopmentEnvironmentCC8 authored by Luciano Orsini's avatar Luciano Orsini
......@@ -2,21 +2,7 @@ The following steps are can be followed to install a development CMSOS for CentO
1. Install a machine with CentOS8
2. Install prerequisistes RPMs
```
# dnf -y install gcc gcc-c++ make perl rpm-build libuuid-devel numactl-devel libtirpc-devel elfutils-devel
# dnf -y install lftp rsync createrepo samba-client samba-common cifs-utils
# dnf -y groupinstall cmsos_core
# dnf -y install java-devel curl-devel motif-devel
# dnf -y install python36 python36-devel python3-Cython python3-wheel
# dnf -y install boost boost-devel
# dnf -y install libibverbs libibverbs-devel
# dnf -y install kernel-devel.x86_64
# dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
# dnf -y install --releasever=8 cactuscore-uhal-log cactuscore-uhal-uhal
```
3. Add ipbus-sw.repo
2. Add ipbus-sw.repo
```
# cat > /etc/yum.repos.d/ipbus-sw.repo
[ipbus-sw-base]
......@@ -32,7 +18,7 @@ enabled=1
gpgcheck=0
```
8. Add the cmsos.repo file as follows
3. Add the cmsos.repo file as follows
```
# cat > /etc/yum.repos.d/cmsos.repo
......@@ -49,7 +35,26 @@ gpgcheck=0
enabled=1
```
4. Install RPMs
```
# dnf -y install gcc gcc-c++ make perl rpm-build libuuid-devel numactl-devel libtirpc-devel elfutils-devel
# dnf -y install lftp rsync createrepo samba-client samba-common cifs-utils
# dnf -y groupinstall cmsos_core
# dnf -y groupinstall cmsos_worksuite
# dnf -y install java-devel curl-devel motif-devel
# dnf -y install python36 python36-devel python3-Cython python3-wheel
# dnf -y install boost boost-devel
# dnf -y install libibverbs libibverbs-devel
# dnf -y install kernel-devel.x86_64
# dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
# dnf -y install --releasever=8 cactuscore-uhal-log cactuscore-uhal-uhal
```
Install cmsos software
5. Run XDAQ
`# yum groupinstall cmsos_core cmsos_worksuite`
\ No newline at end of file
% export XDAQ_ROOT=/opt/xdaq
% export XDAQ_DOCUMENT_ROOT=/opt/xdaq/htdocs
% export XDAQ_SETUP_ROOT=/opt/xdaq/share
% export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/xdaq/lib