Fix Vagrant Locale Bug – Disable "AcceptEnv LANG LC_*" in sshd_config

Vagrant makes it very easy to provision virtual machines for testing. Incorrect locales are a common problem with some boxes. For example, PostgreSQL ‘createuser’ migth complain about locales, but only when used over ‘vagrant ssh’.

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Install Ubuntu Virtual Machine in Minutes with Vagrant

In two minutes, you could have an SSH connection to your new virtual Ubuntu server. Vagrant allows you to define your virtual host in a simple text file. It can then automatically install your new virtual machine and setup automatic … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

VirtualBox and Vagrant on Ubuntu 14.04 LTS trusty – Fix for: virtualbox-dkms kernel module failed to build

VirtualBox and Vagrant fail to install on Ubuntu 14.04 LTS. You can fix this by installing them from DEB packages provided by the project.

Posted in Uncategorized | Tagged , , , , , , , , , , , | Leave a comment

Koe – Linux palvelimena ict4tn003-4

Tehtävästä teki haastavan se, että kurssilla opittuja taitoja ja teoriaa piti soveltaa uusiin työkaluihin, joiden käyttöä ei harjoiteltu tunneilla. Kiitos palautteista! Esimerkkiratkaisuja kotitehtäviin löytyy klikkaamalla nimeä palautteista, esimerkiksi Jonnen ohjeet SSL-sertifikaatista tai Einon raportti (peili). Ryömivät robotit Oy Tarvitsemme sisällönhallintajärjestelmän … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 3 Comments

Apache on Vagrant on Ubuntu – "config.vm.forward_port 80, 8080" and 'vagrant reload'

Vagrant can automatically set your port forwarding to your guest os. This makes web development easy. To follow this article, you should have vagrant installed. Install Apache on Guest In the box (guest OS), install Apache web server box$ sudo apt-get … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Vagrant on Ubuntu 12.04 – Create and Boot New Virtual Machine in Minutes – apt-get install vagrant

Vagrant quickly creates a new virtual machine. Settings like automated ssh login and sudo are handled automatically. To follow this artice, you should be familiar with command line, apt-get and ssh. First Time Setup $ sudo apt-get -y install vagrant … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 3 Comments

Vagrant promises to automate virtual machine creation

Vagrant promises to automate creation of VirtualBox virtual machines. Vagrant automatically adds ssh access, software and port forwarding. But is Vagrant ready for prime time yet? My students Tuomas Aaltonen, Toni Honkanen and Jesse Lindroos decided to try it out. … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 2 Comments