Skip to main content

Posts

Creating Vagrant Box from VirtualBox VM

This post describes on how to create Vagrant Box from scratch. For this post, we will be using VirtualBox 6.0 as the provider to create Lubuntu-16.04-Desktop vagrant box. Create the Virtual Machine. Create a new Virtual Machine in VirtualBox using the following details. Name: Lubuntu 16.04.5 Desktop Type: Linux Version: Ubuntu (64-bits) Memory: 1024 MB Virtual Harddisk: 10 GB, VDI (Dynamically allocated)  Network Adapter 1: Enabled as NAT Processors: 1 CPU You might also want to disable USB controller and audio if it's not used. Installing the Guest OS (Linux 16.04 Desktop) In the newly created virtual machine, install linux OS from  lubuntu-16.04.5-desktop-amd64.iso During installation, use the following details for login setup. Full name: vagrant User name: vagrant Password: vagrant Computer name: lubuntu-16.04.5-desktop Setting up the Guest OS (Linux 16.04 Desktop) Configure vagrant user to use sudo without t

Server hosting for Noobs

My First Digital Ocean Droplet As a start for codelab project, I decided to start my own cloud server or VPS to be exact. This page served as my journal to explore into server hosting. Create Droplet (VPS) I have chosen Digital Ocean VPS provider as my service provider . There are many tutorials out there providing guide on account registering and starting up droplet (Digital Ocean is referring VPS node as droplet). It is pretty simple to setup a droplet in Digital Ocean. Step 1 : Register  Register an account at  Digital Ocean  and then login into your DO account. Step 2 : Create droplets Create droplets. D.O offered have 3 options to create a droplet:  Linux distribution - plain linux distribution Container - For docker and container type application One-click app - Linux with pre-installed application tailored for specific use case such as web hosting, etc. Step 3 : Choose your Linux flavor For testing, plain linux VPS shall served the purpose. Cho