The Base System on Linux

This section displays the steps that are necessary to install Tango on a Sientific Linux V4 PC.

We start with the Installation of mysql.

$ tar xvf ./tars/mysql-5.0.24a.tar
$ cd mysql-5.0.24a
$ ./configure
$ make
root$ make install
root$ adduser -u 52 -g 2 -d /var/lib/mysql mysql
root$ /usr/local/bin/mysql_install_db --user=mysql
root$ cd /var/lib
root$ chown -R mysql.daemon ./mysql
root$ /usr/local/bin/mysqld_safe --user=mysql&

The installation of the object request broker (ORB):

 
tar xvzf omniOrb-4.0.7.tar.gz
$ cd omniOrb-4.0.7
$ mkdir build
$ cd build
$ ../configure
$ make
root$ make install

The installation of the event service:

 
$ tar xvzf omniNotify-2.1.tar.gz
$ cd omniNotify-2.1
$ mkdir build
$ cd build
$ ../configure
$ make
root$ make install

The documentation is done with Doxygen:

$ tar xvzf doxygen-1.4.7.src.tar.gz
$ cd doxygen-1.4.7
$ ./configure
$ make 
root$ make install

Finally, Tango is installed.

 
$ cd tango-5.5.0/build
$ export CC=gcc
$ export CXX=g++
$ ../configure
$ make all
root$ make install

The next command starts the data base server.

 
$ DataBaseds 2 -ORBendPoint giop:tcp::10000 -v
\end{vaerbatim} 


\begin{verbatim} 
$ tango status
$ tango start
$ export TANGO_HOST=has107k:10000

  edit /usr/local/bin/jive, replace NONE by /usr/local
  edit /usr/local/bin/astor, replace NONE by /usr/local

The Starter server needs to be registered. This is done with jive. We use the Create Server button which can be found in the Edit menu. Figure 4.1 displays the information that has to be provided.

Figure 4.1: Jive: Create Starter
\includegraphics[width=9.01cm]{jive_create_Starter.ps}

Next we define TangoTest (4.2).

Figure 4.2: Jive: Create TangoTest
\includegraphics[width=9.01cm]{jive_create_TangoTest.ps}

After both servers have been registered, jive looks like this 4.3.

Figure 4.3: Jive with Starter and TangoTest
\includegraphics[width=17.00cm]{jive_Starter_TangoTest.ps}

The following command makes the shared libraries avaliable:

root$ ldconfig /usr/local/lib

The Starter server is needed by astor.

$ /usr/local/bin/Starter has107k &

These are important tools to work with Tango.

$ pogo &
$ jive &
$ astor &