Skip to content

Instantly share code, notes, and snippets.

View svenagnew's full-sized avatar
🏠
Working from home

Sven Agnew svenagnew

🏠
Working from home
View GitHub Profile

Mounting VirtualBox shared folders on Ubuntu Server 18.04 LTS (Bionic Beaver)

This guide will walk you through the steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest.

Prerequisites

This guide assumes that you are using the following setup:

You could still make this guide work with other setups (possibly with some modifications to the commands and whatnot).

Update 7/28/2019: An updated version of this guide for Ubuntu Server 18.04 LTS is now available. Feel free to check it out.

Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on Ubuntu Server 16.04.3 LTS (Xenial Xerus)

Steps:

  1. Open VirtualBox
  2. Right-click your VM, then click Settings
  3. Go to Shared Folders section
@svenagnew
svenagnew / Rakefile
Created February 8, 2018 14:28 — forked from muziyoshiz/Rakefile
Serverspec Rakefile for creating tasks from Ansible inventory file with server status
require 'rake'
require 'rspec/core/rake_task'
unless ENV['inventory']
print "ERROR: Inventory file must be specified by 'inventory' environment variable\n"
print " e.g.) bundle exec rake inventory=./hosts spec:all\n"
exit
end
groups = {}
@svenagnew
svenagnew / gist:fa57959e75dc3f3b4672649862c62733
Created May 23, 2017 12:30 — forked from mtigas/gist:952344
Mini tutorial for configuring client-side SSL certificates.

Client-side SSL

For excessively paranoid client authentication.

Using self-signed certificate.

Create a Certificate Authority root (which represents this server)

Organization & Common Name: Some human identifier for this server CA.

openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
Wordlist ver 0.732 - EXPECT INCOMPATIBLE CHANGES;
acrobat africa alaska albert albino album
alcohol alex alpha amadeus amanda amazon
america analog animal antenna antonio apollo
april aroma artist aspirin athlete atlas
banana bandit banjo bikini bingo bonus
camera canada carbon casino catalog cinema
citizen cobra comet compact complex context
credit critic crystal culture david delta
dialog diploma doctor domino dragon drama
@svenagnew
svenagnew / dropbox.css
Created June 30, 2016 13:04 — forked from jhollinger/dropbox.css
Dropbox - async, ajax uploads with HTML5 in Sinatra
#dropbox {
position: relative;
}
#dropbox > input {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
@svenagnew
svenagnew / keybase.md
Created April 7, 2015 12:01
Keybase MD Gist to prove identity and ownership of Github account

Keybase proof

I hereby claim:

  • I am svenagnew on github.
  • I am svenagnew (https://keybase.io/svenagnew) on keybase.
  • I have a public key whose fingerprint is 2E31 228A E351 7106 AEDB 2F4A B9D1 9CF0 0830 78D5

To claim this, I am signing this object: