-
Notifications
You must be signed in to change notification settings - Fork 1
Rstudio server
Tester edited this page Jan 9, 2016
·
7 revisions
At installation, a rstudio-server system user and group is created. Home directory is /var/lib64/rstudio-server/www
and owned by rstudio-server:rstudio-server
.
# rstudio-server verify-installation
Any errors will output.
RStudio is configured by adding entries to two configuration files (note that these files do not exist by default so you will need to create them if you wish to specify custom settings):
/etc/rstudio/rserver.conf
/etc/rstudio/rsession.conf
A list of option can be seen when running:
$ rserver --help
Start the server and enable it with the systemd service file.
/etc/systemd/system/rstudio-server.service
-----------------------------------------
[Unit]
Description=RStudio Server daemon
Requires=rstudio-server.socket
After=syslog.target network.target
[Service]
ExecStart=/usr/bin/rserver --server-daemonize=0
ExecStop=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
WantedBy=multi-user.target
/etc/systemd/system/rstudio-server.socket
----------------------------------------
[Unit]
Description=rstudio-server socket
[Socket]
ListenStream=/run/rstudio-server/rstudio-server.sock
visit the http://192.168.1.94:8787/
URL to see rserver in action locally. You shall find the auth login page.