Log inSign up

Go, Ruby, Java and other runtimes guides

Go, Ruby on Rails, OpenJDK, Rust, .NET, R, FFmpeg and SQLite on a server. 9 guides in this topic.

Install Go and run a Go service

Install the official Go toolchain from the tarball, build a static binary, run it under systemd and serve it over HTTPS with Nginx or autocert.

Install Ruby with rbenv

Install rbenv and ruby-build for your user, compile a current Ruby with YJIT, set the default version and keep several versions side by side.

Deploy Ruby on Rails

Put a Rails app into production with Puma under systemd, PostgreSQL for data, Nginx serving assets and a Let's Encrypt certificate.

Install Java (OpenJDK), Maven and Gradle

Install an OpenJDK LTS release from your distribution or the Adoptium repository, switch versions, set JAVA_HOME and add Maven or Gradle.

R and RStudio Server

Install current R from the CRAN apt repository, add RStudio Server for browser-based work, and keep it private behind Nginx with HTTPS or an SSH tunnel.

Install FFmpeg

Install FFmpeg from your distribution, RPM Fusion or a static build, check codecs, and run common transcoding, audio and thumbnail jobs on a VPS.

SQLite on a server

Use SQLite safely in production: install the CLI, switch to WAL mode, set busy timeouts, take consistent backups and get a newer version when needed.

Install Rust and build a service

Install Rust with rustup, create an axum web service, build an optimized release binary and run it under systemd behind a reverse proxy.

Run .NET apps on Linux

Install the .NET SDK or ASP.NET Core runtime from Ubuntu or Microsoft packages, publish an app, run Kestrel under systemd and serve it through Nginx.