-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from duocang/modulization
new R installation script and configure files
- Loading branch information
Showing
4 changed files
with
185 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# /etc/nginx/sites-available/pmet_result | ||
server { | ||
listen 127.0.0.1:84; | ||
server_name 127.0.0.1; | ||
access_log /var/log/nginx/localhost.access.log; | ||
location /result { | ||
alias /home/shiny/pmet/result; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# /etc/rstudio/rserver.conf | ||
|
||
# Server Configuration File | ||
www-address=127.0.0.1 | ||
www-port=7878 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# /etc/shiny-server/shiny-server.conf | ||
|
||
# Instruct Shiny Server to run applications as the user "shiny" | ||
run_as shiny; | ||
|
||
# Define a server that listens on port 3838 | ||
server { | ||
listen 4949 127.0.0.1; | ||
# listen 3838; | ||
|
||
# Define a location at the base URL | ||
location / { | ||
app_idle_timeout 0; | ||
# Host the directory of Shiny Apps stored in this directory | ||
site_dir /srv/shiny-server; | ||
|
||
# Log all Shiny output to files in this directory | ||
log_dir /var/log/shiny-server; | ||
|
||
# When a user visits the base URL rather than a particular application, | ||
# an index of the applications available in this directory will be shown. | ||
directory_index on; | ||
} | ||
} |