Skip to content

Commit 471aac7

Browse files
committed
Update readme
1 parent 6dc58a8 commit 471aac7

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,28 @@ It aims to replace the existing one (`Deploy`), found in [`dmwm/deployment`](htt
8787

8888
This procedure has been tested on a RHEL8 Openstack VM. Instructions below are primarily for a personal VM.
8989

90-
0. Download the latest build artifact and copy it to the machine you want to install it to:
90+
0.
91+
92+
a. Download the latest build artifact and copy it to the machine you want to install it to:
93+
94+
```bash
95+
curl -L https://github.com/cms-DQM/dqmgui_prod_deployment/releases/download/latest/dqmgui_installation_package.tar.gz --output dqmgui_installation_package.tar.gz
96+
scp dqmgui_installation_package.tar.gz root@<VM machine>:/tmp/
97+
```
98+
OR
99+
100+
b. Download all the required files yourself:
91101

92102
```bash
93-
curl -L https://github.com/cms-DQM/dqmgui_prod_deployment/releases/download/latest/dqmgui_installation_package.tar.gz --output dqmgui_installation_package.tar.gz
94-
scp dqmgui_installation_package.tar.gz root@<VM machine>:/tmp/
103+
# This will create a dqmgui_installation_package.tar.gz in /tmp
104+
bash download_dependencies.sh && bash build_installation_package.sh
105+
scp /tmp/dqmgui_installation_package.tar.gz root@<VM machine>:/tmp/
95106
```
96107

97108
1. Connect to the VM and install the system packages:
98109

99110
```bash
100-
sudo yum install -y unzip bzip2 libglvnd-opengl libX11-devel libXext-devel libXft-devel libXpm-devel mesa-libGLU mesa-libGLU-devel perl-Env perl-Switch perl-Thread-Queue glibc-headers libidn libXcursor libXi libXinerama libXrandr perl perl-Digest-MD5 tcsh zsh epel-release libcurl-devel python38 python38-devel boost-python3-devel protobuf-devel jemalloc-devel pcre-devel boost-devel lzo-devel cmake xz-devel openssl-devel libjpeg-turbo-devel libpng-devel gcc-c++ gcc binutils gcc-gfortran mesa-libGL-devel mesa-libGLU-devel glew-devel ftgl-devel fftw-devel cfitsio-devel graphviz-devel libuuid-devel avahi-compat-libdns_sd-devel openldap-devel python3-numpy libxml2-devel gsl-devel readline-devel R-devel R-Rcpp-devel R-RInside-devel xrootd-client
111+
sudo yum install -y patch unzip bzip2 libglvnd-opengl libX11-devel libXext-devel libXft-devel libXpm-devel mesa-libGLU mesa-libGLU-devel perl-Env perl-Switch perl-Thread-Queue glibc-headers libidn libXcursor libXi libXinerama libXrandr perl perl-Digest-MD5 tcsh zsh epel-release libcurl-devel python38 python38-devel boost-python3-devel protobuf-devel jemalloc-devel pcre-devel boost-devel lzo-devel cmake xz-devel openssl-devel libjpeg-turbo-devel libpng-devel gcc-c++ gcc binutils gcc-gfortran mesa-libGL-devel mesa-libGLU-devel glew-devel ftgl-devel fftw-devel cfitsio-devel graphviz-devel libuuid-devel avahi-compat-libdns_sd-devel openldap-devel python3-numpy libxml2-devel gsl-devel readline-devel R-devel R-Rcpp-devel R-RInside-devel xrootd-client
101112
```
102113

103114
2. Add a non-privileged user, create and give access to necessary directories and switch to it:

0 commit comments

Comments
 (0)