Most Powerful Open Source ERP

How to use preconfigured Wendelin VM

  • Last Update:2019-06-13
  • Version:001
  • Language:en

In this tutorial you will learn how to use the already pre configured Wendelin virtual machine qemu image.

Steps

  1. Download Wendelin standalone qemu image
    root@z600:~# wget http://shacache.org/shacache/1024e07610164078e294690c7b7261eed06c72a68af173f4a7381fa556c8566d5b557ce19e417b860cfd68bebe9d2e282265f638f18445a29cd24bfa10ef2dfe -O wendelin.img.xz
    root@z600:~# xz --decompres wendelin.img.xz
  2. Run using qemu inside a Linux host machine                                                                                               
    root@z600:~# ip tuntap add tap1 mode tap                                                                                          
    root@z600:~# brctl addif br0 tap1                                                                                                
    root@z600:~# qemu-system-x86_64 -hda  wendelin.img -smp 4 -m 4096  -vnc :1 -enable-kvm -net nic,model=virtio,macaddr=00:00:00:00:00:01 -net tap,ifname=tap1
  3. Find the IPv4 under which this machine was started by using appropriate tools then ssh to machine via
    root@z600:~# ssh wendelin@<ipv4_of_wendelin_guess_machine>
    Please note that default user is wendelin and password is wendelin, please change password asap!
  4. Inside the wendelin guess machine do run this script which will expose internal Wendelin service ports to outside world. Please note that before this script can be run it takes a bit of time around 4-5 minutes to start all processes of Wendelin. To check Wendelin is ready do issue this command and check that "STATUS" column had a "RUNNING"  label.
     
    wendelin@wendelin-standalone:~$ sudo bash                                                                            
    [sudo] password for wendelin:      
    root@wendelin-standalone:~# slapos node
    ... (snip) ...
    slappart5:zope-0-on-watch                                                   RUNNING   pid 3595, uptime 0:00:05
    ... (snip) ...  
    root@debian-wendelin-standalone:~# git clone https://lab.nexedi.com/nexedi/wendelin.git
    root@wendelin-standalone:~# wendelin/utils/wendelin-standalone-bind.sh                                         
    Zope node at http://<ipv4_of_wendelin_guess_machine>:20000/                                                                                                                                                                        
    Zope node at http://<ipv4_of_wendelin_guess_machine>:20001/                                                                                                                                                                        
    Zope node at http://<ipv4_of_wendelin_guess_machine>:20002/                                                                                                                                                                          
    Zope node at http://<ipv4_of_wendelin_guess_machine>:20003/
  5. Now from host machine you can access Wendelin at http://<ipv4_of_wendelin_guess_machine>:20000 by using default username and password zope and insecure. Please note that in your case the IP address will be different! Also make sure to change the default password asap, for this read here.

See this tutorial how one can ingest data into Wendelin and your new running Wendelin pre configured virtual machine.