These instructions are for Ubuntu 22.04.
Install ruby, jekyll, and bundler
sudo apt-get install ruby-full build-essential zlib1g-dev
echo '# Install Ruby Gems to ~/.local/gems' >> ~/.profile
echo 'export GEM_HOME="$HOME/.local/gems"' >> ~/.profile
echo 'export PATH="$HOME/.local/gems:$PATH"' >> ~/.profile
source ~/.profile
gem install jekyll bundler
bundle install
Build the website and host locally
bundle exec jekyll serve --livereload
Browse to http://localhost:4000