As title says, this is an instruction for Automagically for Debian in VirtualBox on Windows 7.
I needed a development environment, so I gave it a shot. Works just fine.
Here's how to do it:
Install Oracle VirtualBox
http://download.virtualbox.org/virtualb ... 06-Win.exe
Install debian in VirtualBox
#1 Download an image
Images: https://www.debian.org/releases/wheezy/ ... installer/
Image (64 bit): http://cdimage.debian.org/debian-cd/7.4 ... etinst.iso
#2 Create "New" VM in VirtualBox
-> Click "New", follow instruction
#3 Boot into installer
-> Mark new VM, click Start
-> When asked, select above downloaded image (debian-7.4.0-amd64-netinst.iso)
-> Follow instruction, don't select SQL or Web server (at this point)
-> Create user pi, password raspberry
Set-up Debian for Automagically
#1 Install sudo
Code: Select all
pi@debian $ su
Password: XXXXX (root password)
root@debian $ apt-get install sudo
root@debian $ adduser pi sudo
root@debian $ exit
pi@debian $ exit (need to logout for group chages to become effective)
Code: Select all
pi@debian $ sudo apt-get install ssh
-> In VM, select Devices/Network settings...
-> Click Port Forwarding
-> Click (+), Host Port = 22, Guest Port 22
-> Click (+), Host Port = 80, Guest Port 80 (You need it for Automagically later)
#4 Install python-dev
Code: Select all
pi@debian $ sudo apt-get install python-dev
Install Tellstick
#1 Turn off the system
Code: Select all
pi@debian $ sudo shutdown -h now
#3 Enable it for the VM
-> Right Click the VM, Select settings
-> Click USB
-> Click (+)
-> Add Telldus TellStick Duo[] Install Automagically
With some exceptions, follow these instructions: https://bitbucket.org/jorkar/automagically_install
* Exception #1 - Before compiling telldus-core, do this:
Code: Select all
pi@debian $ sudo nano /usr/src/telldus-core-2.1.1/common/Socket.h
Code: Select all
#include <unistd.h>
Code: Select all
pi@debian $ sudo nano /etc/init.d/telldusd
Code: Select all
DAEMON=/usr/sbin/$NAME
Code: Select all
DAEMON=/usr/local/sbin/$NAME
* Exception #3 - After installation, reboot the system (Automagically could not see events before)
Code: Select all
pi@debian $ sudo shutdown -r now