-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_temp.sh
More file actions
45 lines (32 loc) · 1.24 KB
/
install_temp.sh
File metadata and controls
45 lines (32 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
cd /scratch/anderss
module load compilers/gcc/12.3.0
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
. "${HOME}/.nvm/nvm.sh"
nvm install 23
corepack enable yarn
yarn init -2
yarn -v
yarn add corepack
wget https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz
tar -xvf apache-maven-3.9.9-bin.tar.gz
export PATH="/scratch/anderss/apache-maven-3.9.9/bin:${PATH}"
git clone https://github.com/dbeaver/cloudbeaver.git
cd cloudbeaver/deploy
./build.sh
mkdir -p /deac/opt/rocky9-noarch/cloudbeaver
cp -r /scratch/anderss/cloudbeaver /deac/opt/rocky9-noarch/cloudbeaver/25.0.4
mkdir -p /deac/opt/modulefiles/rocky9-noarch/apps/cloudbeaver/
cat << EOF > /deac/opt/modulefiles/rocky9-noarch/apps/cloudbeaver/25.0.4
#%Module
##
proc ModulesHelp { } {
puts stderr "\tSets up environment for using CloudBeaver."
}
module-whatis "Sets up environment for using CloudBeaver"
module load compilers/gcc/12.3.0
set version "25.0.4"
set basedir "/deac/opt/rocky9-noarch/cloudbeaver/25.0.4"
################################################################################
################################################################################
setenv CLOUDBEAVERHOME \$basedir/deploy/cloudbeaver
EOF