Showing posts with label Servers. Show all posts
Showing posts with label Servers. Show all posts

January 6, 2026

Setting up Ubuntu 24.04.x LTS desktop and server, RStudio server, and JypyterLab at home

Why? Set up a Linux server computer on a home network if:

  • You want to run code that takes a long time to complete. Let it run on the server computer so you can use your main computer for other things.
  • Your main computer is low on storage space. Upload all data files to the server and you can run analysis on the server remotely, e.g. from a laptop while you sit on your couch.
  • You want a server specifically for Linux (e.g. for bioinformatics or programming purposes), whereas your main computer is Windows or MacOS.

Who? This tutorial is intended for computer-savvy people with enough patience and knowledge to troubleshoot their own computer by searching the internet for error codes and following instructions. Ideally, you should have some programming experience (beginner level in any language is enough) and know about terminals or command prompt windows, but you can learn what you need as you go. This is a great hands-on way to learn to use Linux. Expert Linux knowledge is not a prerequisite. 

What? Ubuntu Desktop 24.04.x LTS "Noble Numbat" (or the latest version), OpenSSH for server capabilities, RStudio server, and Jupyter Lab. Ubuntu is a specific version of Linux.

Cost? All the software is free. For hardware, you need the following:

September 28, 2021

Updating RStudio server on Ubuntu server 20.04.2 LTS

Problem: R version 4.1.1 crashes when creating plots with ggplot2 and RStudio server version 4.1.1106. 

  • Downgrading to R 4.0.5 apparently works.
  • Adding x11() in front of the plot code may work as well.
  • Updating RStudio server is supposed to work as well.

How to update RStudio server:

sudo apt-get install gdebi-core

wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2021.09.0%2B351-amd64.deb 

sudo gdebi rstudio-server-2021.09.0+351-amd64.deb

sudo ufw allow 8787/tcp #optional, skip if you haven't enabled firewall yet


Result: Yes, updating RStudio server worked for me. 

Setting up Ubuntu 24.04.x LTS desktop and server, RStudio server, and JypyterLab at home

Why?  Set up a Linux server computer on a home network if: You want to run code that takes a long time to complete. Let it run on the serve...