Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a sym link of rserver executable #541

Merged
merged 3 commits into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@

- RStudio Server user settings are written to `~/.config/rstudio/rstudio-prefs.json`, not `~/.rstudio/monitored/user-settings/user-settings`.
([#63](https://github.com/rocker-org/rocker-versioned2/issues/63))
- In `rocker/rstudio` etc., `/usr/local/bin/rstudio-server` is no longer added to the PATH environment variable.
`rstudio-server` and `rserver` can still be called by the executable file name,
since simlinks are now created, but the other files must be called by their full path,
e.g. `/usr/lib/rstudio-server/bin/rsession`.
([#535](https://github.com/rocker-org/rocker-versioned2/pull/535),
[#538](https://github.com/rocker-org/rocker-versioned2/issues/538),
[#541](https://github.com/rocker-org/rocker-versioned2/pull/541))

## 2022-07

Expand Down
7 changes: 4 additions & 3 deletions scripts/install_rstudio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ dpkg -i "$DOWNLOAD_FILE"
rm "$DOWNLOAD_FILE"

ln -fs /usr/lib/rstudio-server/bin/rstudio-server /usr/local/bin
ln -fs /usr/lib/rstudio-server/bin/rserver /usr/local/bin

# https://github.com/rocker-org/rocker-versioned2/issues/137
rm -f /var/lib/rstudio-server/secure-cookie-key
Expand Down Expand Up @@ -128,9 +129,9 @@ cp /rocker_scripts/pam-helper.sh /usr/lib/rstudio-server/bin/pam-helper
# Clean up
rm -rf /var/lib/apt/lists/*

# Check the RStudio Server version
# Check the RStudio Server
echo -e "Check the RStudio Server installation...\n"
rserver --verify-installation 1
eitsupi marked this conversation as resolved.
Show resolved Hide resolved
echo -e "Check the RStudio Server version...\n"

rstudio-server version

echo -e "\nInstall RStudio Server, done!"