Categories
Linux

Mounting VirtualBox Shared Folder in Ubuntu

2 min read

This how to guides you through the steps to setup a shared folder with your host OS and Ubuntu guest.

Prerequisites

There are a couple of prerequisites for this guide:

  • A folder for sharing created on the host
  • Guest Additions installed on guest

My host is Windows and I have created a folder C:\Shared.

Right click on your VM and go to Settings… or inside your running VM go to Devices > Shared Folders > Shared Folder Settings…

Add a new shared folder. At the Add Share window, choose your Folder Path. In Folder Name, type “Shared”. Uncheck Read-only and Auto-mount, check Make Permanent.

Open a terminal session in your VM. Create a “Shared” directory in your home.

mkdir ~/Shared

Mount the shared folder from the host to your ~/Shared guest directory.

sudo mount -t vboxsf Shared ~/Shared

You should now be able to access the share in your VM.

The mount created is just temporary. To make it permanent follow the below steps.

Add the following line to /etc/fstab – be sure to replace michael with your username.

Shared	/home/michael/Shared	vboxsf	defaults	0	0

Add the following line to /etc/modules.

vboxsf

Reboot the VM and verify your share on the guest is still linked with the host.

Categories
Octopus Deploy PowerShell

Export an Octopus Deploy Variable Set with PowerShell

2 min read

Update 02-13-2020: I created a PowerShell script that exports variable sets to an Excel file. It will create a tab for each set. The script can be found on GitHub – https://github.com/mscribellito/Octopus-Variable-Set-Export.

I received a request last week from a colleague wanting me to export a Variable Set from Octopus Deploy. The web interface does not offer this functionality and if you attempt to copy & paste from the UI, you get something very ugly. Below is what our Test variable set looks like:

Categories
DigitalOcean WordPress

Hosting WordPress on a DigitalOcean Droplet

4 min read

WordPress is “open source software you can use to create a beautiful website, blog, or app.” I have created a few websites with it throughout the past 10 years as it is easy to customize and has excellent support from the community.

When it comes to hosting WordPress, there are a lot of options available.

  • WordPress
  • GoDaddy, HostGator, etc.
  • AWS, Azure, DO (DigitalOcean), etc.
Categories
Azure DevOps

Create a NuGet Package using Pipelines in Azure DevOps

4 min read

This demo will step through importing a repository from GitHub and creating a pipeline in Azure DevOps for the project. The pipeline will build, test & publish a NuGet package for usage by other projects.

  • Repos will be the source control for our code.
  • Pipelines will build and release our code.
  • Artifacts will enable us to share our package.