Hello ! I take advantage of these few holidays in May to look into the virtualization of my Jeedom. In this post I will show you how to installing Jeedom in a VMware VM under Debian 8.7!
First of all for the story, I have been shooting with Jeedom for 2 years now. I started with a RaspberryPi 1B and then I switched to a Raspberry Pi 3; the difference was blatant! Ultra fluid web browsing, triggering instant scenarios … In short today I will spend my Jeedom virtual mode especially for reasons of stability / reliability: indeed, I had 2 times the bad experience to see my card SD let me go. Fortunately Jeedom backups are at the top and I was able to restart each time in a very short time. By virtualizing my Jeedom I would have the opportunity to snapshots before each update for example, save the entire VM and restore it in full if necessary, add resources (disk space / ram / CPU etc …) In short, it will bring me a lot more flexibility!
Go enough talk, let’s go!
- Some knowledge of VMware ESXi
- Have a VM with Debian installed (complete tutorial Debian installation)
Installing Jeedom in a VMware VM:
Since you have your VM ready with Debian freshly installed, there is still a small thing to do about the configuration of your VM: Add a USB controller! Indeed as Jeedom is multiprotocol you will need peripherals USB to be able to exchange with your modules.
Adding a USB controller
- Right click on the VM to modify and then “Change settings“
- At the bottom of the window, click on “Select“> Choose “USB Controller“> then click on “Add”
- The “New USB Controller” appears, then click “OK”
- To map USB devices to the VM it must be started and “Launch Remote Console”
- Once started, click on “VMRC” > Removable Devices > USB Device > Connect (Disconnect from Host)
This action will allow to mount the USB device in the VM rather than on the host
Deployment of Jeedom
To make it simpler and to copy / paste the commands, log in SSH. For that, it is possible that you have to activate the right of connection to the user “Root”. Just follow the following steps:
- Execute the following command:
- Look for the line “PermitRootLogin” and change to “yes”
- Restart the “SSH” daemon with the following command:
root@jeedom:~#service ssh restart
- From now on you have to know the IP that has been assigned to the VM if you chose the DHCP assignment. For that you have to execute the following command:
We have everything! You can now download and launch the “Putty” utility.
Log in with the same credentials as before.
For the installation of Jeedom it’s very simple! In 3 orders you can have an operational Jeedom! 🙂 To do this, simply copy / paste the following 3 commands:
root@jeedom:~#chmod +x install.sh
root@jeedom:~#./install.sh -w /var/www/html -z
- Then the installation starts!
- If everything went well, you’ll get this little final message:
You can now connect to your Jeedom via the ip recovered previously!
URL: http: // your-ip /
Username / password: admin / admin
If you have any questions about the Jeedom installation and/or its configuration do not hesitate to leave a comment, I will try to answer you on the subject 🙂
Hi ! I’m Maxime. Founder and independant author of vDays.net. I have worked in service IT since 3 years ago, after a 5 years’ internship. Via this blog, I would like share and discuss with you on new technologies, especially on virtualization and VMware.