Ubuntu 21.10にRStudio1.4.1717をインストールする

OSバージョンの確認

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"
# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=21.10 DISTRIB_CODENAME=impish DISTRIB_DESCRIPTION="Ubuntu 21.10"
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"

インストール方法
1.DEBパッケージをダウンロードします

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# cd /usr/local/src
# wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-1.4.1717-amd64.deb
# cd /usr/local/src # wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-1.4.1717-amd64.deb
# cd /usr/local/src
# wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-1.4.1717-amd64.deb

2.RStudioをインストールします

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# sudo apt install ./rstudio-server-1.4.1717-amd64.deb
# sudo apt install ./rstudio-server-1.4.1717-amd64.deb
# sudo apt install ./rstudio-server-1.4.1717-amd64.deb

3.ステータスを確認します

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# sudo systemctl status rstudio-server
● rstudio-server.service - RStudio Server
Loaded: loaded (/lib/systemd/system/rstudio-server.service; enabled; vendo>
Active: active (running) since Fri 2021-11-26 17:06:37 PST; 3min 30s ago
# sudo systemctl status rstudio-server ● rstudio-server.service - RStudio Server Loaded: loaded (/lib/systemd/system/rstudio-server.service; enabled; vendo> Active: active (running) since Fri 2021-11-26 17:06:37 PST; 3min 30s ago
# sudo systemctl status rstudio-server
● rstudio-server.service - RStudio Server
Loaded: loaded (/lib/systemd/system/rstudio-server.service; enabled; vendo>
Active: active (running) since Fri 2021-11-26 17:06:37 PST; 3min 30s ago

4.動作確認
ブラウザから https://( サーバーアドレス):8787 にアクセスします。
ログイン画面が表示され、ubuntuのユーザーとパスワードでログインします

Ubuntu 21.10

Posted by arkgame