Presentasjon – Vagrant up og Puppet, JavaBin Stavanger 14. juni

Presentasjonen og filene brukt til presentasjonen Vagrant up og Puppet – Utviklingsbokser på 1-2-3 for JavaBin Stavanger 14. juni ligger på følgende adresser:

Publisert i Ubuntu / Linux | Merket med , , , , , | Kommentarer av

Epson V300 scanner on Ubuntu 11.10

A year or two ago I acquired a Epson Perfection V300 Photo after reading that it was supported by Sane (and then also Ubuntu) and was a fairly reasonable scanner. Last time I set it up I did not take any notes on how to set i up. This time I made this small guide.

Les videre

Publisert i Ubuntu / Linux | Merket med , , , , , , , , | 4 kommentarer

Setup of SSH agent in Xubuntu 11.10 to get password-less authentication with use of public key

I have not gotten the SSH agent i Ubuntu to work very well in Xubuntu. Therefor I’ve come up with two steps to achieve password-less login with public key authentication when using SSH. Using this method you’ll be asked for your private key passphrase only at login.

Les videre

Publisert i Ubuntu / Linux | Merket med , , , | Kommentarer av

Shutter, an awesome screenshot application

If you need a good way to take screenshots and maybe note something on it, circle something, then Shutter is the perfect application. It takes screenshots and you can edit them straight away.

Taking a screenshot with Shutter

Taking a screenshot with Shutter

Les videre

Publisert i Ubuntu / Linux | Merket med , , , , , , | Kommentarer av

VirtualBox web interface PHPVirtualBox on UBuntu 11.10

PHPVirtualBox is a web interface for VirtualBox made in PHP. Since it’s communication with the VirtualBoxSrv goes in plain text I’m going to set it up on the same host as the VirtualBoxs are running on. The host is just used for virtual machines, so I’m setting up the Apache server to just point to PHPVirtualBox.

I’m using Ubuntu 11.10 and VirtualBox 4.1.2 with extention pack (Oracle VM VirtualBox Extension Pack 4.1.2, rev 73507, use «VBoxManage list extpacks» to see if you got it). I’m just giving you a lot of commands without explaining them.

The last version of PHPVirtualBox was phpvirtualbox-4.1-6.1

# Install Apache and PHP
sudo apt-get install apache2 php5 libapache2-mod-php5
cd /var/www/
sudo rm index.html
sudo chown `whoami` .
sudo /etc/init.d/apache2 restart
# Download PHPVirtualBox
mv phpvirtualbox-4.1-6.1/* .
mv config.php-example config.php
nano config.php
# Edit username and password for the user running vboxwebsrv in config.php
# Start VirtualBox Web Service
# (or vboxwebsrv -v)

Go to http://localhost/ or Default login is «admin» / «admin». Change password in PHPVirtualBox when your up and running (also see link below)

PHPVirtualBox web interface showing a few virtual machines and status.

A problem I had during the this setup was authentication. I did not like putting my password in config.php and got the following line in «vboxwebsrv –verbose» when it was incorrect:

00:00:19.838 SQW03 authenticate(): result of AuthEntry(): 0

This article was inspired by How To Install PhpVirtualBox On Ubuntu 11.04

Other articles:

Publisert i Ubuntu / Linux | Merket med , , , , , | Kommentarer av