Automatically Provision Vagrant Virtual Machines as Salt Slaves

Create a new, fully configured virtual computer in less than a minute. Keep configuration in version control. Manage trough configuration management system.

Posted in Uncategorized | Tagged , , , , , | Comments Off on Automatically Provision Vagrant Virtual Machines as Salt Slaves

Use "PCnet-Fast III" Network Adapter in VirtualBox – Prevent virtualbox_e1000_0day Attack

Use “PCnet-Fast III” network adapter in VirtualBox to prevent guest-to-host attack. MorteNoir1 published a guest-to-host escape from Virtualbox as a zero day attack. He named it virtualbox_e1000_0day. It seems that you can easily protect against the attack by using a … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | Comments Off on Use "PCnet-Fast III" Network Adapter in VirtualBox – Prevent virtualbox_e1000_0day Attack

Faster 'vagrant up' with apt/deb Package Proxy

Create virtual machines faster by caching deb packages. Use squid-deb-proxy on host OS, then add an apt.conf.d/ config file to make guest OS apt-get use your proxy. Following these notes requires fluency with command line, sudo, daemons and vagrant.

Posted in Uncategorized | Tagged , , , , , , , | Comments Off on Faster 'vagrant up' with apt/deb Package Proxy

Automaticaly Build Penetration Testing Environment – Kali, Metasploitable, Vagrant

My student Toni Jääskeläinen developed a PenTest environment that can be set up automatically. Based on my idea, it’s distributed as a single Vagrantfile. Using pentest tools requires special care and skill, as even mistakes with some of these tools … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , , , | Comments Off on Automaticaly Build Penetration Testing Environment – Kali, Metasploitable, Vagrant

Provision Multiple Virtual Puppet Slaves with Vagrant

For testing, it’s convenient to provision many virtual slave computers to your master. This Vagrant file installs two virtual computers and automatically configures them as slaves to a puppetmaster in a predefined IP address. Advanced stuff warning: Using this sample … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Comments Off on Provision Multiple Virtual Puppet Slaves with Vagrant

Multiple Virtual Computers in Minutes – Vagrant Multimachine

You can install multiple virtual computers in minutes. This example shows how to install two Ubuntu 16.04 virtual machines and configure SSH – in a couple minutes.

Posted in Uncategorized | Tagged , , , , , , , , , | Comments Off on Multiple Virtual Computers in Minutes – Vagrant Multimachine

From Empty Computer to Guest OS in 5 min – Install Vagrant and VirtualBox on Ubuntu 16.04.3 Live USB

With VirtualBox, you can run guest operating systems – Linux, Windows, OSX – under Linux. Vagrant makes it easy to create a new headless guest system and connect to it with SSH. It’s very fast: less than five minutes to … Continue reading

Posted in Uncategorized | Tagged , , , , , | Comments Off on From Empty Computer to Guest OS in 5 min – Install Vagrant and VirtualBox on Ubuntu 16.04.3 Live USB

Vagrant Revisited – Install & Boot New Virtual Machine in 31 seconds

Vagrant installs a new virtual machine automatically. In half a minute, you control the machine with ssh.

Posted in Uncategorized | Tagged , , , , , , | Comments Off on Vagrant Revisited – Install & Boot New Virtual Machine in 31 seconds

Ubuntu 16.04 Xenial Guest on Vagrant – vagrant init bento/ubuntu-16.04

Vagrant can install a virtual guest system in two minutes. Vagrant also configures guest SSH server automatically. To use latest Ubuntu 16.04 LTS Xenial, you should use box bento/ubuntu-16.04. $ vagrant init bento/ubuntu-16.04 $ vagrant up $ vagrant ssh That’s … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Comments Off on Ubuntu 16.04 Xenial Guest on Vagrant – vagrant init bento/ubuntu-16.04

PostgreSQL Install and One Table Database – SQL CRUD tutorial for Ubuntu

PostgreSQL is a popular database used often with Python Django, Python Flask and many other frameworks. It’s known for reliability and being very ACID. In this tutorial, you’ll learn to Install PostgreSQL Server and Client on Ubuntu Create, read, update … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Comments Off on PostgreSQL Install and One Table Database – SQL CRUD tutorial for Ubuntu