From 842a07eff13fe5ae847c05dfb94723fa25f807e4 Mon Sep 17 00:00:00 2001 From: OncoHarmony-Network Date: Sat, 9 Dec 2023 15:28:39 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89auto=20update=20by=20Gmeek=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...05\345\222\214\351\205\215\347\275\256.md" | 32 +++ blogBase.json | 2 +- docs/index.html | 11 + .../shiny-server-an-zhuang-he-pei-zhi.html | 194 ++++++++++++++++++ docs/postList.json | 2 +- docs/rss.xml | 2 +- 6 files changed, 240 insertions(+), 3 deletions(-) create mode 100644 "backup/shiny-server\345\256\211\350\243\205\345\222\214\351\205\215\347\275\256.md" create mode 100644 docs/post/shiny-server-an-zhuang-he-pei-zhi.html diff --git "a/backup/shiny-server\345\256\211\350\243\205\345\222\214\351\205\215\347\275\256.md" "b/backup/shiny-server\345\256\211\350\243\205\345\222\214\351\205\215\347\275\256.md" new file mode 100644 index 0000000..2abfbe9 --- /dev/null +++ "b/backup/shiny-server\345\256\211\350\243\205\345\222\214\351\205\215\347\275\256.md" @@ -0,0 +1,32 @@ +参考博文[在Ubuntu服务器上配置Shiny应用](https://www.jieandze1314.com/post/cnposts/256/)进行基本的安装和配置。注意 zhoulab 服务器没有将 shiny 加入 sudo 用户,而是直接使用 root 进行相关的 sudo 操作。 + +shiny server 配置文件内容: + +``` +# Instruct Shiny Server to run applications as the user "shiny" +run_as shiny; +preserve_logs true; +app_idle_timeout 0; +# Define a server that listens on port 3838 +server { + listen 3838; + + # Define a location at the base URL + location / { + + # 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; + } +} +``` + +主要是增加了第3行和第4行,其他的没动过。 + +nginx 的配置参考文章[shiny应用的nginx配置](https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/8)。 \ No newline at end of file diff --git a/blogBase.json b/blogBase.json index 77b8bdc..6e661af 100644 --- a/blogBase.json +++ b/blogBase.json @@ -1 +1 @@ -{"startSite": "12/01/2023", "filingNum": "", "onePageListNum": 15, "commentLabelColor": "#006b75", "yearColorList": ["#bc4c00", "#0969da", "#1f883d", "#A333D0"], "i18n": "CN", "dayTheme": "light", "nightTheme": "dark_colorblind", "urlMode": "pinyin", "title": "OncoHarmony Network", "displayTitle": "OncoHarmony Network", "subTitle": "OncoHarmony Network is a dynamic collaborative platform dedicated to advancing the frontier of cancer immunotherapy", "homeUrl": "https://OncoHarmony-Network.github.io", "avatarUrl": "https://avatars.githubusercontent.com/u/152575161?s=200&v=4", "faviconUrl": "https://avatars.githubusercontent.com/u/152575161?s=200&v=4", "singlePage": ["about"], "email": "shixiang1994wang@gmail.com", "GMEEK_VERSION": "main", "postListJson": {"P3": {"htmlDir": "docs/post/bo-ke-shi-yong-shuo-ming.html", "label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u535a\u5ba2\u4f7f\u7528\u8bf4\u660e", "postUrl": "post/bo-ke-shi-yong-shuo-ming.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/3", "commentNum": 1, "description": "- \u4ec5\u9650\u56e2\u961f\u6210\u5458\u521b\u5efa\u548c\u4f7f\u7528\r\n- \u901a\u8fc7 issue \u521b\u5efa\u535a\u5ba2\r\n- \u786e\u4fdd\u6bcf\u4e00\u7bc7\u6587\u7ae0\u6709\u4e14\u4ec5\u6709\u4e00\u4e2aLabel\uff08\u6807\u9898\u4e0d\u80fd\u5b58\u5728\u7a7a\u884c\uff0c\u4ee5\u53ca\u5f71\u54cd\u6587\u6863\u8def\u5f84\u8bbf\u95ee\uff0c\u6bd4\u5982`/`\u7b26\u53f7\uff09\r\n- \u4e0d\u8981\u51fa\u73b0\u540c\u540d issue\r\n- \u5bf9\u5916\u5b66\u672f\u4ea4\u6d41\u5c3d\u91cf\u5199\u82f1\u6587\u535a\u5ba2\uff1b\u6280\u672f\u6587\u7ae0\u5c3d\u91cf\u5199\u4e2d\u6587\u535a\u5ba2\u3002", "top": 1, "createdAt": 1701399042, "style": "", "script": "", "createdDate": "2023-12-01", "dateLabelColor": "#A333D0"}, "P4": {"htmlDir": "docs/post/bu-shu-zhoulab.ac.cn-ye-mian.html", "label": "outdate", "labelColor": "#3E2E58", "postTitle": "\u90e8\u7f72zhoulab.ac.cn\u9875\u9762", "postUrl": "post/bu-shu-zhoulab.ac.cn-ye-mian.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/4", "commentNum": 0, "description": "> \u8fd9\u7bc7\u6587\u7ae0\u8bb0\u5f55\u7684\u662f\u600e\u4e48\u5c06\u5355\u9875\u9762\u7684\u4e3b\u9875\u540c\u6b65\u4e0a\u4f20\u5230\u5c55\u793a\u7f51\u7ad9\u7684 FTP \u670d\u52a1\u5668\u4e0a\u3002", "top": 0, "createdAt": 1701844663, "style": "", "script": "", "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P5": {"htmlDir": "docs/post/tuan-dui-jia-gou.html", "label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u56e2\u961f\u67b6\u6784", "postUrl": "post/tuan-dui-jia-gou.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/5", "commentNum": 0, "description": "- \u8d1f\u8d23\u4eba1\uff1a\u5468\u5efa\u56fd\uff0c\u8d1f\u8d23\u8ba1\u7b97\u5e73\u53f0\u3001\u8d44\u91d1\u3001\u6587\u7a3f\u548c\u76d1\u7ba1\r\n- \u8d1f\u8d23\u4eba2\uff1a\u738b\u8bd7\u7fd4\uff0c\u8d1f\u8d23\u9879\u76ee\u7ba1\u7406\u3001\u6280\u672f\u8def\u7ebf\u3001\u90e8\u7f72\u8fd0\u7ef4\r\n- \u79d1\u5b66\u987e\u95ee\uff1a\u738b\u6d77\u6d9b\r\n- \u6280\u672f\u6210\u5458\uff1a\u718a\u9038\u3001\u5f20\u76ca\u6d69\u3001\u674e\u7533\u9501\u3001\u8d75\u5f66\u6606\r\n- \u5176\u4ed6\u53c2\u4e0e\u548c\u5b66\u4e60\u6210\u5458\uff1a\u8c0c\u6cef\u5747\u3001\u8c2d\u5091\u5c39\u3001\u5f20\u9a70\r\n- Hiplot\uff08ORG\uff09\u534f\u4f5c\u8005\uff1a\u674e\u5251\u5cf0\r\n- \u672a\u6765\u9700\u8981\u8fdb\u4e00\u6b65\u7684\u4e86\u89e3\u548c\u5927\u5bb6\u7684\u53c2\u4e0e\r\n\u3002", "top": 1, "createdAt": 1701846522, "style": "", "script": "", "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P6": {"htmlDir": "docs/post/xiang-mu-cheng-guo-lie-biao.html", "label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u9879\u76ee\u6210\u679c\u5217\u8868", "postUrl": "post/xiang-mu-cheng-guo-lie-biao.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/6", "commentNum": 0, "description": "## \u6570\u636e\u5e93\r\n\r\n- TCCIA: https://shiny.hiplot.cn/TCCIA/ (http://biotrainee.vip:18888/TCCIA/)\r\n\r\n## \u8ba1\u7b97\u6d41\u7a0b\r\n\r\n- circrna-pipeline: https://github.com/OncoHarmony-Network/circrna-pipeline\u3002", "top": 1, "createdAt": 1701853623, "style": "", "script": "", "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P7": {"htmlDir": "docs/post/tuan-dui-zi-yuan-lie-biao.html", "label": "\u5e73\u53f0", "labelColor": "#A8E5E5", "postTitle": "\u56e2\u961f\u8d44\u6e90\u5217\u8868", "postUrl": "post/tuan-dui-zi-yuan-lie-biao.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/7", "commentNum": 0, "description": "- Gitea: https://gitea.zhoulab.ac.cn/ \u9700\u8981\u8054\u7cfb\u7ba1\u7406\u5458\u521b\u5efa\uff08\u738b\u8bd7\u7fd4\uff09\uff0c\u4e0d\u652f\u6301 SSH\uff08\u56e0\u4e3a [Docker \u90e8\u7f72](https://docs.gitea.com/installation/install-with-docker)\u7684\uff0c\u7136\u540e\u53c8\u662f\u5185\u90e8\u670d\u52a1\u5668\uff0c\u4e0d\u6e05\u695a\u600e\u4e48\u5904\u7406 SSH\uff0c\u7b49\u5f85\u540e\u7eed\u6210\u5458\u89e3\u51b3\uff09\r\n- RStudio Server \u548c\u5bf9\u5e94\u7684\u670d\u52a1\u5668 zhou, zhou2\uff08\u5982\u6709\u9700\u8981\uff0c\u8bf7\u8054\u7cfb\u5efa\u56fd\u548c\u8bd7\u7fd4\uff09\r\n - `http://biotrainee.vip:15203/`\r\n - `http://biotrainee.vip:15213/`\u3002", "top": 0, "createdAt": 1701929682, "style": "", "script": "", "createdDate": "2023-12-07", "dateLabelColor": "#A333D0"}, "P8": {"htmlDir": "docs/post/shiny-ying-yong-de-nginx-pei-zhi.html", "label": "\u8fd0\u7ef4", "labelColor": "#479AD1", "postTitle": "shiny\u5e94\u7528\u7684nginx\u914d\u7f6e", "postUrl": "post/shiny-ying-yong-de-nginx-pei-zhi.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/8", "commentNum": 0, "description": "\u4e3b\u8981\u662f\u5229\u7528 nginx \u5b9e\u73b0\u65b9\u5411\u4ee3\u7406\u5230 shiny-server \u7684\u5bf9\u5e94\u7aef\u53e3\uff0c\u53e6\u5916\u5b9e\u73b0 https \u7684\u9a8c\u8bc1\u8bbf\u95ee\u3002", "top": 0, "createdAt": 1701934750, "style": "", "script": "", "createdDate": "2023-12-07", "dateLabelColor": "#A333D0"}, "P9": {"htmlDir": "docs/post/Web-zhuan-ye-kai-fa-xue-xi-lu-jing.html", "label": "\u5b66\u4e60", "labelColor": "#C31D0B", "postTitle": "Web\u4e13\u4e1a\u5f00\u53d1\u5b66\u4e60\u8def\u5f84", "postUrl": "post/Web-zhuan-ye-kai-fa-xue-xi-lu-jing.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/9", "commentNum": 0, "description": "\u5173\u4e8e Shiny\uff0c\u6211\u4e4b\u524d\u5199\u8fc7\u4e00\u4e2a\u535a\u5ba2\uff1a[Shiny \u5f00\u53d1\u5b66\u4e60\u8def\u5f84](https://shixiangwang.github.io/posts/2023-09-13-shiny-learning-path-for-bioinformatics/)\r\n\r\n\u8fd9\u91cc\u4e3b\u8981\u5206\u4eab\u4e0b\u5251\u5cf0\u63d0\u4f9b\u7684\u5b66\u4e60\u8def\u5f84\uff0c\u53ef\u4f9b\u56e2\u961f\u5185\u7684\u6210\u5458\u8fdb\u884c\u53c2\u8003\u5b66\u4e60\u3002", "top": 0, "createdAt": 1702043455, "style": "", "script": "", "createdDate": "2023-12-08", "dateLabelColor": "#A333D0"}}, "singeListJson": {"P1": {"htmlDir": "docs/about.html", "label": "about", "labelColor": "#FC9D81", "postTitle": "About", "postUrl": "post/About.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/1", "commentNum": 0, "description": "OncoHarmony Network is a dynamic collaborative platform dedicated to advancing the frontier of cancer immunotherapy. Bringing together diverse teams from leading universities and research institutions, our network is committed to the exploration, mining, and integration of multi-omics data in the realm of cancer research. With a focus on fostering synergy among experts in the field, OncoHarmony Network aims to construct a comprehensive resource hub and cutting-edge tools for unraveling the complexities of tumor-immune interactions. Through collective knowledge and interdisciplinary collaboration, we strive to accelerate breakthroughs in the understanding and development of effective cancer therapies. \r\n\r\nCurrently led by _Dr. Shixiang Wang_ and _Dr. Jian-Guo Zhou_.\r\n\r\n- GitHub: https://github.com/OncoHarmony-Network\u3002", "top": 0, "createdAt": 1701397208, "style": "", "script": "", "createdDate": "2023-12-01", "dateLabelColor": "#A333D0"}}, "prevUrl": "disabled", "nextUrl": "disabled"} \ No newline at end of file +{"startSite": "12/01/2023", "filingNum": "", "onePageListNum": 15, "commentLabelColor": "#006b75", "yearColorList": ["#bc4c00", "#0969da", "#1f883d", "#A333D0"], "i18n": "CN", "dayTheme": "light", "nightTheme": "dark_colorblind", "urlMode": "pinyin", "title": "OncoHarmony Network", "displayTitle": "OncoHarmony Network", "subTitle": "OncoHarmony Network is a dynamic collaborative platform dedicated to advancing the frontier of cancer immunotherapy", "homeUrl": "https://OncoHarmony-Network.github.io", "avatarUrl": "https://avatars.githubusercontent.com/u/152575161?s=200&v=4", "faviconUrl": "https://avatars.githubusercontent.com/u/152575161?s=200&v=4", "singlePage": ["about"], "email": "shixiang1994wang@gmail.com", "GMEEK_VERSION": "main", "postListJson": {"P3": {"htmlDir": "docs/post/bo-ke-shi-yong-shuo-ming.html", "label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u535a\u5ba2\u4f7f\u7528\u8bf4\u660e", "postUrl": "post/bo-ke-shi-yong-shuo-ming.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/3", "commentNum": 1, "description": "- \u4ec5\u9650\u56e2\u961f\u6210\u5458\u521b\u5efa\u548c\u4f7f\u7528\r\n- \u901a\u8fc7 issue \u521b\u5efa\u535a\u5ba2\r\n- \u786e\u4fdd\u6bcf\u4e00\u7bc7\u6587\u7ae0\u6709\u4e14\u4ec5\u6709\u4e00\u4e2aLabel\uff08\u6807\u9898\u4e0d\u80fd\u5b58\u5728\u7a7a\u884c\uff0c\u4ee5\u53ca\u5f71\u54cd\u6587\u6863\u8def\u5f84\u8bbf\u95ee\uff0c\u6bd4\u5982`/`\u7b26\u53f7\uff09\r\n- \u4e0d\u8981\u51fa\u73b0\u540c\u540d issue\r\n- \u5bf9\u5916\u5b66\u672f\u4ea4\u6d41\u5c3d\u91cf\u5199\u82f1\u6587\u535a\u5ba2\uff1b\u6280\u672f\u6587\u7ae0\u5c3d\u91cf\u5199\u4e2d\u6587\u535a\u5ba2\u3002", "top": 1, "createdAt": 1701399042, "style": "", "script": "", "createdDate": "2023-12-01", "dateLabelColor": "#A333D0"}, "P4": {"htmlDir": "docs/post/bu-shu-zhoulab.ac.cn-ye-mian.html", "label": "outdate", "labelColor": "#3E2E58", "postTitle": "\u90e8\u7f72zhoulab.ac.cn\u9875\u9762", "postUrl": "post/bu-shu-zhoulab.ac.cn-ye-mian.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/4", "commentNum": 0, "description": "> \u8fd9\u7bc7\u6587\u7ae0\u8bb0\u5f55\u7684\u662f\u600e\u4e48\u5c06\u5355\u9875\u9762\u7684\u4e3b\u9875\u540c\u6b65\u4e0a\u4f20\u5230\u5c55\u793a\u7f51\u7ad9\u7684 FTP \u670d\u52a1\u5668\u4e0a\u3002", "top": 0, "createdAt": 1701844663, "style": "", "script": "", "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P5": {"htmlDir": "docs/post/tuan-dui-jia-gou.html", "label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u56e2\u961f\u67b6\u6784", "postUrl": "post/tuan-dui-jia-gou.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/5", "commentNum": 0, "description": "- \u8d1f\u8d23\u4eba1\uff1a\u5468\u5efa\u56fd\uff0c\u8d1f\u8d23\u8ba1\u7b97\u5e73\u53f0\u3001\u8d44\u91d1\u3001\u6587\u7a3f\u548c\u76d1\u7ba1\r\n- \u8d1f\u8d23\u4eba2\uff1a\u738b\u8bd7\u7fd4\uff0c\u8d1f\u8d23\u9879\u76ee\u7ba1\u7406\u3001\u6280\u672f\u8def\u7ebf\u3001\u90e8\u7f72\u8fd0\u7ef4\r\n- \u79d1\u5b66\u987e\u95ee\uff1a\u738b\u6d77\u6d9b\r\n- \u6280\u672f\u6210\u5458\uff1a\u718a\u9038\u3001\u5f20\u76ca\u6d69\u3001\u674e\u7533\u9501\u3001\u8d75\u5f66\u6606\r\n- \u5176\u4ed6\u53c2\u4e0e\u548c\u5b66\u4e60\u6210\u5458\uff1a\u8c0c\u6cef\u5747\u3001\u8c2d\u5091\u5c39\u3001\u5f20\u9a70\r\n- Hiplot\uff08ORG\uff09\u534f\u4f5c\u8005\uff1a\u674e\u5251\u5cf0\r\n- \u672a\u6765\u9700\u8981\u8fdb\u4e00\u6b65\u7684\u4e86\u89e3\u548c\u5927\u5bb6\u7684\u53c2\u4e0e\r\n\u3002", "top": 1, "createdAt": 1701846522, "style": "", "script": "", "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P6": {"htmlDir": "docs/post/xiang-mu-cheng-guo-lie-biao.html", "label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u9879\u76ee\u6210\u679c\u5217\u8868", "postUrl": "post/xiang-mu-cheng-guo-lie-biao.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/6", "commentNum": 0, "description": "## \u6570\u636e\u5e93\r\n\r\n- TCCIA: https://shiny.hiplot.cn/TCCIA/ (http://biotrainee.vip:18888/TCCIA/)\r\n\r\n## \u8ba1\u7b97\u6d41\u7a0b\r\n\r\n- circrna-pipeline: https://github.com/OncoHarmony-Network/circrna-pipeline\u3002", "top": 1, "createdAt": 1701853623, "style": "", "script": "", "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P7": {"htmlDir": "docs/post/tuan-dui-zi-yuan-lie-biao.html", "label": "\u5e73\u53f0", "labelColor": "#A8E5E5", "postTitle": "\u56e2\u961f\u8d44\u6e90\u5217\u8868", "postUrl": "post/tuan-dui-zi-yuan-lie-biao.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/7", "commentNum": 0, "description": "- Gitea: https://gitea.zhoulab.ac.cn/ \u9700\u8981\u8054\u7cfb\u7ba1\u7406\u5458\u521b\u5efa\uff08\u738b\u8bd7\u7fd4\uff09\uff0c\u4e0d\u652f\u6301 SSH\uff08\u56e0\u4e3a [Docker \u90e8\u7f72](https://docs.gitea.com/installation/install-with-docker)\u7684\uff0c\u7136\u540e\u53c8\u662f\u5185\u90e8\u670d\u52a1\u5668\uff0c\u4e0d\u6e05\u695a\u600e\u4e48\u5904\u7406 SSH\uff0c\u7b49\u5f85\u540e\u7eed\u6210\u5458\u89e3\u51b3\uff09\r\n- RStudio Server \u548c\u5bf9\u5e94\u7684\u670d\u52a1\u5668 zhou, zhou2\uff08\u5982\u6709\u9700\u8981\uff0c\u8bf7\u8054\u7cfb\u5efa\u56fd\u548c\u8bd7\u7fd4\uff09\r\n - `http://biotrainee.vip:15203/`\r\n - `http://biotrainee.vip:15213/`\u3002", "top": 0, "createdAt": 1701929682, "style": "", "script": "", "createdDate": "2023-12-07", "dateLabelColor": "#A333D0"}, "P8": {"htmlDir": "docs/post/shiny-ying-yong-de-nginx-pei-zhi.html", "label": "\u8fd0\u7ef4", "labelColor": "#479AD1", "postTitle": "shiny\u5e94\u7528\u7684nginx\u914d\u7f6e", "postUrl": "post/shiny-ying-yong-de-nginx-pei-zhi.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/8", "commentNum": 0, "description": "\u4e3b\u8981\u662f\u5229\u7528 nginx \u5b9e\u73b0\u65b9\u5411\u4ee3\u7406\u5230 shiny-server \u7684\u5bf9\u5e94\u7aef\u53e3\uff0c\u53e6\u5916\u5b9e\u73b0 https \u7684\u9a8c\u8bc1\u8bbf\u95ee\u3002", "top": 0, "createdAt": 1701934750, "style": "", "script": "", "createdDate": "2023-12-07", "dateLabelColor": "#A333D0"}, "P9": {"htmlDir": "docs/post/Web-zhuan-ye-kai-fa-xue-xi-lu-jing.html", "label": "\u5b66\u4e60", "labelColor": "#C31D0B", "postTitle": "Web\u4e13\u4e1a\u5f00\u53d1\u5b66\u4e60\u8def\u5f84", "postUrl": "post/Web-zhuan-ye-kai-fa-xue-xi-lu-jing.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/9", "commentNum": 0, "description": "\u5173\u4e8e Shiny\uff0c\u6211\u4e4b\u524d\u5199\u8fc7\u4e00\u4e2a\u535a\u5ba2\uff1a[Shiny \u5f00\u53d1\u5b66\u4e60\u8def\u5f84](https://shixiangwang.github.io/posts/2023-09-13-shiny-learning-path-for-bioinformatics/)\r\n\r\n\u8fd9\u91cc\u4e3b\u8981\u5206\u4eab\u4e0b\u5251\u5cf0\u63d0\u4f9b\u7684\u5b66\u4e60\u8def\u5f84\uff0c\u53ef\u4f9b\u56e2\u961f\u5185\u7684\u6210\u5458\u8fdb\u884c\u53c2\u8003\u5b66\u4e60\u3002", "top": 0, "createdAt": 1702043455, "style": "", "script": "", "createdDate": "2023-12-08", "dateLabelColor": "#A333D0"}, "P10": {"htmlDir": "docs/post/shiny-server-an-zhuang-he-pei-zhi.html", "label": "\u8fd0\u7ef4", "labelColor": "#479AD1", "postTitle": "shiny-server\u5b89\u88c5\u548c\u914d\u7f6e", "postUrl": "post/shiny-server-an-zhuang-he-pei-zhi.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/10", "commentNum": 0, "description": "\u53c2\u8003\u535a\u6587[\u5728Ubuntu\u670d\u52a1\u5668\u4e0a\u914d\u7f6eShiny\u5e94\u7528](https://www.jieandze1314.com/post/cnposts/256/)\u8fdb\u884c\u57fa\u672c\u7684\u5b89\u88c5\u548c\u914d\u7f6e\u3002", "top": 0, "createdAt": 1702135691, "style": "", "script": "", "createdDate": "2023-12-09", "dateLabelColor": "#A333D0"}}, "singeListJson": {"P1": {"htmlDir": "docs/about.html", "label": "about", "labelColor": "#FC9D81", "postTitle": "About", "postUrl": "post/About.html", "postSourceUrl": "https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/issues/1", "commentNum": 0, "description": "OncoHarmony Network is a dynamic collaborative platform dedicated to advancing the frontier of cancer immunotherapy. Bringing together diverse teams from leading universities and research institutions, our network is committed to the exploration, mining, and integration of multi-omics data in the realm of cancer research. With a focus on fostering synergy among experts in the field, OncoHarmony Network aims to construct a comprehensive resource hub and cutting-edge tools for unraveling the complexities of tumor-immune interactions. Through collective knowledge and interdisciplinary collaboration, we strive to accelerate breakthroughs in the understanding and development of effective cancer therapies. \r\n\r\nCurrently led by _Dr. Shixiang Wang_ and _Dr. Jian-Guo Zhou_.\r\n\r\n- GitHub: https://github.com/OncoHarmony-Network\u3002", "top": 0, "createdAt": 1701397208, "style": "", "script": "", "createdDate": "2023-12-01", "dateLabelColor": "#A333D0"}}, "prevUrl": "disabled", "nextUrl": "disabled"} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 0a745bf..581ddc9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -110,6 +110,17 @@

公告 2023-12-01 + +
+ + + shiny-server安装和配置 +
+
+ + 运维 + 2023-12-09 +
diff --git a/docs/post/shiny-server-an-zhuang-he-pei-zhi.html b/docs/post/shiny-server-an-zhuang-he-pei-zhi.html new file mode 100644 index 0000000..1d0ed43 --- /dev/null +++ b/docs/post/shiny-server-an-zhuang-he-pei-zhi.html @@ -0,0 +1,194 @@ + + + + + + + + + + +shiny-server安装和配置 + + + + + + + + + + + + +
+
+

参考博文在Ubuntu服务器上配置Shiny应用进行基本的安装和配置。注意 zhoulab 服务器没有将 shiny 加入 sudo 用户,而是直接使用 root 进行相关的 sudo 操作。

+

shiny server 配置文件内容:

+
# Instruct Shiny Server to run applications as the user "shiny"
+run_as shiny;
+preserve_logs true;
+app_idle_timeout 0;
+# Define a server that listens on port 3838
+server {
+  listen 3838;
+
+  # Define a location at the base URL
+  location / {
+
+    # 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;
+  }
+}
+
+

主要是增加了第3行和第4行,其他的没动过。

+

nginx 的配置参考文章shiny应用的nginx配置

+
+ +
+
+ + + + + + + + + + diff --git a/docs/postList.json b/docs/postList.json index 24c68e1..d8ab6e9 100644 --- a/docs/postList.json +++ b/docs/postList.json @@ -1 +1 @@ -{"P9": {"label": "\u5b66\u4e60", "labelColor": "#C31D0B", "postTitle": "Web\u4e13\u4e1a\u5f00\u53d1\u5b66\u4e60\u8def\u5f84", "postUrl": "post/Web-zhuan-ye-kai-fa-xue-xi-lu-jing.html", "commentNum": 0, "createdDate": "2023-12-08", "dateLabelColor": "#A333D0"}, "P8": {"label": "\u8fd0\u7ef4", "labelColor": "#479AD1", "postTitle": "shiny\u5e94\u7528\u7684nginx\u914d\u7f6e", "postUrl": "post/shiny-ying-yong-de-nginx-pei-zhi.html", "commentNum": 0, "createdDate": "2023-12-07", "dateLabelColor": "#A333D0"}, "P7": {"label": "\u5e73\u53f0", "labelColor": "#A8E5E5", "postTitle": "\u56e2\u961f\u8d44\u6e90\u5217\u8868", "postUrl": "post/tuan-dui-zi-yuan-lie-biao.html", "commentNum": 0, "createdDate": "2023-12-07", "dateLabelColor": "#A333D0"}, "P6": {"label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u9879\u76ee\u6210\u679c\u5217\u8868", "postUrl": "post/xiang-mu-cheng-guo-lie-biao.html", "commentNum": 0, "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P5": {"label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u56e2\u961f\u67b6\u6784", "postUrl": "post/tuan-dui-jia-gou.html", "commentNum": 0, "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P4": {"label": "outdate", "labelColor": "#3E2E58", "postTitle": "\u90e8\u7f72zhoulab.ac.cn\u9875\u9762", "postUrl": "post/bu-shu-zhoulab.ac.cn-ye-mian.html", "commentNum": 0, "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P3": {"label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u535a\u5ba2\u4f7f\u7528\u8bf4\u660e", "postUrl": "post/bo-ke-shi-yong-shuo-ming.html", "commentNum": 1, "createdDate": "2023-12-01", "dateLabelColor": "#A333D0"}} \ No newline at end of file +{"P10": {"label": "\u8fd0\u7ef4", "labelColor": "#479AD1", "postTitle": "shiny-server\u5b89\u88c5\u548c\u914d\u7f6e", "postUrl": "post/shiny-server-an-zhuang-he-pei-zhi.html", "commentNum": 0, "createdDate": "2023-12-09", "dateLabelColor": "#A333D0"}, "P9": {"label": "\u5b66\u4e60", "labelColor": "#C31D0B", "postTitle": "Web\u4e13\u4e1a\u5f00\u53d1\u5b66\u4e60\u8def\u5f84", "postUrl": "post/Web-zhuan-ye-kai-fa-xue-xi-lu-jing.html", "commentNum": 0, "createdDate": "2023-12-08", "dateLabelColor": "#A333D0"}, "P8": {"label": "\u8fd0\u7ef4", "labelColor": "#479AD1", "postTitle": "shiny\u5e94\u7528\u7684nginx\u914d\u7f6e", "postUrl": "post/shiny-ying-yong-de-nginx-pei-zhi.html", "commentNum": 0, "createdDate": "2023-12-07", "dateLabelColor": "#A333D0"}, "P7": {"label": "\u5e73\u53f0", "labelColor": "#A8E5E5", "postTitle": "\u56e2\u961f\u8d44\u6e90\u5217\u8868", "postUrl": "post/tuan-dui-zi-yuan-lie-biao.html", "commentNum": 0, "createdDate": "2023-12-07", "dateLabelColor": "#A333D0"}, "P6": {"label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u9879\u76ee\u6210\u679c\u5217\u8868", "postUrl": "post/xiang-mu-cheng-guo-lie-biao.html", "commentNum": 0, "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P5": {"label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u56e2\u961f\u67b6\u6784", "postUrl": "post/tuan-dui-jia-gou.html", "commentNum": 0, "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P4": {"label": "outdate", "labelColor": "#3E2E58", "postTitle": "\u90e8\u7f72zhoulab.ac.cn\u9875\u9762", "postUrl": "post/bu-shu-zhoulab.ac.cn-ye-mian.html", "commentNum": 0, "createdDate": "2023-12-06", "dateLabelColor": "#A333D0"}, "P3": {"label": "\u516c\u544a", "labelColor": "#98A8FA", "postTitle": "\u535a\u5ba2\u4f7f\u7528\u8bf4\u660e", "postUrl": "post/bo-ke-shi-yong-shuo-ming.html", "commentNum": 1, "createdDate": "2023-12-01", "dateLabelColor": "#A333D0"}} \ No newline at end of file diff --git a/docs/rss.xml b/docs/rss.xml index 6847d25..5750715 100644 --- a/docs/rss.xml +++ b/docs/rss.xml @@ -1,5 +1,5 @@ -OncoHarmony Networkhttps://OncoHarmony-Network.github.ioOncoHarmony Network is a dynamic collaborative platform dedicated to advancing the frontier of cancer immunotherapyOncoHarmony Networkhttp://www.rssboard.org/rss-specificationpython-feedgenhttps://avatars.githubusercontent.com/u/152575161?s=200&v=4avatarhttps://OncoHarmony-Network.github.ioFri, 08 Dec 2023 13:51:25 +0000OncoHarmony NetworkFri, 08 Dec 2023 13:51:25 +000060OncoHarmony NetworkWeb专业开发学习路径https://OncoHarmony-Network.github.io/post/Web-zhuan-ye-kai-fa-xue-xi-lu-jing.html关于 Shiny,我之前写过一个博客:[Shiny 开发学习路径](https://shixiangwang.github.io/posts/2023-09-13-shiny-learning-path-for-bioinformatics/) +OncoHarmony Networkhttps://OncoHarmony-Network.github.ioOncoHarmony Network is a dynamic collaborative platform dedicated to advancing the frontier of cancer immunotherapyOncoHarmony Networkhttp://www.rssboard.org/rss-specificationpython-feedgenhttps://avatars.githubusercontent.com/u/152575161?s=200&v=4avatarhttps://OncoHarmony-Network.github.ioSat, 09 Dec 2023 15:28:39 +0000OncoHarmony NetworkSat, 09 Dec 2023 15:28:39 +000060OncoHarmony Networkshiny-server安装和配置https://OncoHarmony-Network.github.io/post/shiny-server-an-zhuang-he-pei-zhi.html参考博文[在Ubuntu服务器上配置Shiny应用](https://www.jieandze1314.com/post/cnposts/256/)进行基本的安装和配置。https://OncoHarmony-Network.github.io/post/shiny-server-an-zhuang-he-pei-zhi.htmlSat, 09 Dec 2023 15:28:11 +0000Web专业开发学习路径https://OncoHarmony-Network.github.io/post/Web-zhuan-ye-kai-fa-xue-xi-lu-jing.html关于 Shiny,我之前写过一个博客:[Shiny 开发学习路径](https://shixiangwang.github.io/posts/2023-09-13-shiny-learning-path-for-bioinformatics/) 这里主要分享下剑峰提供的学习路径,可供团队内的成员进行参考学习。https://OncoHarmony-Network.github.io/post/Web-zhuan-ye-kai-fa-xue-xi-lu-jing.htmlFri, 08 Dec 2023 13:50:55 +0000shiny应用的nginx配置https://OncoHarmony-Network.github.io/post/shiny-ying-yong-de-nginx-pei-zhi.html主要是利用 nginx 实现方向代理到 shiny-server 的对应端口,另外实现 https 的验证访问。https://OncoHarmony-Network.github.io/post/shiny-ying-yong-de-nginx-pei-zhi.htmlThu, 07 Dec 2023 07:39:10 +0000团队资源列表https://OncoHarmony-Network.github.io/post/tuan-dui-zi-yuan-lie-biao.html- Gitea: https://gitea.zhoulab.ac.cn/ 需要联系管理员创建(王诗翔),不支持 SSH(因为 [Docker 部署](https://docs.gitea.com/installation/install-with-docker)的,然后又是内部服务器,不清楚怎么处理 SSH,等待后续成员解决) - RStudio Server 和对应的服务器 zhou, zhou2(如有需要,请联系建国和诗翔)