Personal tools
You are here: Home Members cpascual Documents Taurus Demo Box

Taurus Demo Box

This page contains information for users of the Taurus Demo Box. The Taurus Demo Box is a Virtual Machine packaged for demonstrating Taurus

 

TaurusBox has been merged with AlbaBox. (refer to it for more recent info)

The following info is just  for reference. Not maintained.

 

 

 

The Taurus Demo Box is distributed as a set of 3 files:

Taurus_demo_box.mf

Taurus_demo_box.ovf

Taurus_demo_box.vmdk

 

For installing Taurus Demo Box:

Install VirtualBox (tested with v3.1.x)

Open VirtualBox and go to File-->Import Appliance (use Taurus_demo_box.ovf)

 

For using Taurus Demo Box:

Start the Taurus Demo Box Virtual Machine.

You can log into it using the following default user and password :

user: taurus

pass: tauruspass  (I strongly recommend changing the default password immediately after the first login)

You may now want to change the keyboard layout to match your own:

Start Menu (K)-->Settings-->System Settings-->Regional&Settings-->KeyBoard Layouts-->

Once logged in, open a console (an icon is available in the panel at the bottom) and...

start Tango DB:

$ sudo /etc/init.d/tango-db start

start notifd:

$ notifd -n &

$ /usr/lib/tango/notifd2db

start the TangoTest device server

$ /usr/lib/tango/TangoTest test &

Now you can start testing Taurus. Open an ipython shell and try:

You can try:

$ taurusform /sys/tg_test/1/

Now it is time to try out the examples at:

 

Creation of the box

The following is a description of how the Taurus Demo Box was created.

This is not important from the user point of view, only for knowing how to re-create the box (or as a guide on how to install Taurus in your own PC)

  1. Install VirtualBox  (sudo apt-get install  virtualbox-ose virtualbox-guest-additions)
  2. Download Kubuntu iso (10.04-32b)
  3. Create Virtual Machine (all standard except choosing 1Gb RAM and mounting the kubuntu iso as cd)
  4. Start the VM and install kubuntu using default settings. Use tango/tangopass as user/password
  5. Enable keyboard layouts: Start Menu (K)-->Settings-->System Settings-->Regional&Settings-->KeyBoard Layout-->Enable Keyboard Layouts
  6. Customize desktop:
    1. Add shortcuts for konsole to panel
    2. Change start menu icon to classic mode
    3. Install firefox
  7. add tango repositories:  
    1. sudo add-apt-repository ppa:abogani/tango
  8. upgrade the system: sudo apt-get update ; sudo apt-get upgrade
  9. install several needed packages
    1. $sudo apt-get openssh-server subversion gksu python-setuptools build-essential
    2. install the guest additions if not already done (Virtualbox-->Devices-->Install Guest Additions and then go to the GUESTADDITIONS CD and run Autorun.sh)
    3. $sudo apt-get install ipython pyqt4-dev-tools qt4-dev-tools libqt4-dev python-qt4-dev python-qwt5-qt4 python-qwt5-doc libqwt5-qt4-dev libhdf5-serial-dev hdfview hdf5-tools python-h5py
    4. install sphinx: $ sudo easy_install sphinx
    5. install nexus (see instructions here)
  10. install tango packages
    1. $ sudo apt-get install mysql-server  (use tangopass as the mysql root password when asked)
    2. $ sudo apt-get install tango-db tango-test python-pytango  (use tangodemobox as TANGO HOST when asked, and answer yes to question on whether to auto-configure the mysql Tango server. When prompted for a password, give "tauruspass" always)
    3. install tango-java (get deb from here ???? and install it with gdebi)
    4. create a ~/.taurus_profile file for exporting TANGO_HOST, PYTHONPATH,... and call it from ~/.bashrc:
  11. Install Taurus:
    1. $svn co http://tango-cs.svn.sourceforge.net/svnroot/tango-cs/tau/branches/tau_restructure_01 ~/src/svn/taurus
    2. $ cd ~/src/svn/taurus
    3. $python setup build
  12. test taurus
  13. clean downloaded packages cache (sudo apt-get clean)
  14. shut down the box and export the VM (VirtualBox-->File-->Export Appliance )
Document Actions