Difference between revisions of "OpenOnDemand RStudio on OOD 3.x"

From Define Wiki
Jump to navigation Jump to search
(Created page with "This was on Rocky 8.8 <pre> mkdir /var/www/ood/apps/sys/ cd /var/www/ood/apps/sys git clone https://github.com/OSC/bc_example_rstudio.git mv bc_example_rstudio rstudio cd rs...")
(No difference)

Revision as of 00:24, 7 November 2023

This was on Rocky 8.8


mkdir /var/www/ood/apps/sys/
cd /var/www/ood/apps/sys
git clone https://github.com/OSC/bc_example_rstudio.git
mv bc_example_rstudio rstudio
cd rstudio

# form.yaml
- Add the cluster name - you can get from the file below.
- apps/bc_desktop/slurm.yml:cluster: slurm
- OR  cat /etc/ood/config/clusters.d/slurm.yml (in this case the cluster name is 'slurm'

# verify the settings in /var/www/ood/apps/sys/rstudio/template/script.sh.erb (defaults fine based on below)

# over to the compute node(s)
dnf -y install epel-release
yum config-manager --set-enabled powertools
dnf install R

# rstudio
curl -L https://download2.rstudio.org/rstudio-server-rhel-1.1.463-x86_64.rpm -o rstudio-server-rhel-1.1.463-x86_64.rpm
 dnf localinstall ./rstudio-server-rhel-1.1.463-x86_64.rpm
 yum install compat-openssl10

# doesn't work curl -LO https://download2.rstudio.org/server/rhel8/x86_64/rstudio-server-rhel-2023.09.1-494-x86_64.rpm
# doesn't work dnf localinstall ./rstudio-server-rhel-2023.09.1-494-x86_64.rpm

systemctl stop     rstudio-server
systemctl disable  rstudio-server
mkdir -p /apps
cd /apps
singularity pull --name rserver-launcher-centos7.simg shub://OSC/centos7-launcher

# reload web service and it should appear in the interactive apps pull down...