From 2eaed239d6937c071d6b3bec9a22d51adc8a8536 Mon Sep 17 00:00:00 2001 From: Chris Hammond Date: Thu, 18 Apr 2024 12:31:28 -0500 Subject: [PATCH] updates --- ...-04-18-Install-and-run-jekyll-on-ubuntu.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 _posts/2024-04-18-Install-and-run-jekyll-on-ubuntu.md diff --git a/_posts/2024-04-18-Install-and-run-jekyll-on-ubuntu.md b/_posts/2024-04-18-Install-and-run-jekyll-on-ubuntu.md new file mode 100644 index 0000000..e79c938 --- /dev/null +++ b/_posts/2024-04-18-Install-and-run-jekyll-on-ubuntu.md @@ -0,0 +1,30 @@ +--- +layout: post +title: Installing Jekyll locally on Ubuntu and getting it running using Windows Hyper-V +date: '2024-04-18T10:00:15+00:00' +permalink: jekyll-on-ubuntu +description: A blog post that provides easy instructions for installing Jekyll locally on Ubuntu running in a Windows Hyper-V Virtual Machine. +image: BlogPost-4.jpg +categories: [ Jekyll, Tutorial ] +featured: true +comments: false +--- +# *This post is still a work in progress as of 04/18/2024* + +1. Create a new Hyper-V VM installing Ubuntu 22.04 +2. Run updates for Ubuntu (reboot if necessary) +3. Install GIT +> sudo apt install git +4. Install Bundler +> sudo apt install bundler +5. [Install RBEnv to allow for multiple versions of Ruby](https://www.chrishammond.com/blog/itemid/3178/how-to-upgrade-ruby-on-ubuntu-2204-using-rbenv) +6. Install Jekyll GEM +7. Install other required libraries +> sudo apt install libvips-tools +8. Run Jekyll +> bundle exec jekyll serve +9. Browse to http://127.0.0.1:4000 + + +## Next steps: +1. If you have a large repository, or a large number of repositories, you might run out of disk space on your Hyper-V VM, if that's the case [check out this tutorial for how to expand your Ubuntu disk](https://www.chrishammond.com/blog/itemid/3179/expanding-your-ubuntu-disk-running-in-a-virtual-ma).