New installation of Cent OS 5.3

System Install CD ROM's #1 - #6

Be sure to install custom system and click:
  • Desktop Environments
    • Gnome Desktop Environment
    • KDE (K Desktop Environment)
  • Applications
    • Authoring and Publishing
    • Emacs
    • Engineering and Scientific
  • Development
    • Development Libraries
    • Development Tools
    • Gnome Software Development
    • KDE Software Development
    • Ruby
    • X Software Development
  • Servers
    • MYSQL Database

Firewall Configuration

% sudo emacs /etc/sysconfig/iptables

  • Add the line after the line "-A FORWARD -j RH-Firewall-1-INPUT"
            # Internal networks
            -A RH-Firewall-1-INPUT --source 10.0.0.0/24 -j ACCEPT
  • If this line is not included, or is incorrect, the errors will look like this

% sudo /sbin/service iptables restart

Dummy network for shared memory

In order to setup the "dummy" network to pass shared memory between the modules of the TCS, a dummy0 network connection must be created and edited. To do this:

% cd /etc/sysconfig/network-scripts

% cp ifcfg-eth0 ifcfg-dummy0

% emacs ifcfg-dummy0

change...

< DEVICE=eth0
< BROADCAST=128.196.211.255
< IPADDR=128.196.209.224
< NETMASK=255.255.252.0
< NETWORK=128.196.208.0

to...

> DEVICE=dummy0
> BROADCAST=10.0.0.255
> IPADDR=10.0.0.1
> NETMASK=255.255.255.0
> NETWORK=10.0.0.0

and remove the lines...

< HWADDR=00:11:11:18:AE:69
< GATEWAY=128.196.208.1
< USERCTL=no
< IPV6INIT=no
< PEERDNS=yes

% /sbin/ifup dummy0

% /sbin/ifconfig

to check the that the dummy0 network is running. After a reboot, this network will automatically be started.

Software Upgrades with yum

Update yum repositories and update all installed software

Create a repo file for the ICE packages. The file /etc/yum.repos.d/zeroc.repo with the contents:

[zeroc-ice]
name=Ice 3.2 for Red Hat Enterprise Linux $releasever - $basearch
baseurl=http://www.zeroc.com/download/Ice/3.2/rhel4/$basearch
enabled=1
gpgcheck=1
gpgkey=http://www.zeroc.com/download/RPM-GPG-KEY-zeroc-release

*Note* Version 3.3 of ICE has an error in its dependancies

At a root prompt:

% yum clean all
% yum update all

Check if packages have been installed (if not then install with yum) and check versions

mysql

% yum install mysql mysql-devel mysql-server

=> a bunch of output

Check versions

[tcs@aoserver ~]$ rpm -qa | grep mysql
mysql-server-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
mysql-5.0.45-7.el5
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-connector-odbc-3.51.12-2.2

qt

% yum install qt qt-devel qt-designer

=> a bunch of output

Check versions

[tcs@aoserver ~]$ rpm -qa | grep qt
qt-designer-3.3.6-23.el5
qt-devel-3.3.6-23.el5
qt-3.3.6-23.el5

gcc

% yum install gcc gcc-c++ gcc-gfortran

=> a bunch of output

Check versions

[tcs@aoserver ~]$ rpm -qa | grep gcc
gcc-c++-4.1.2-44.el5
gcc-gfortran-4.1.2-44.el5
gcc-4.1.2-44.el5
libgcc-4.1.2-44.el5

subversion

% yum install subversion

=> a bunch of output

Check versions

[tcs@aoserver ~]$ rpm -qa | grep subversion
subversion-1.4.2-4.el5

ICE

% yum install ice-c++

=> a bunch of output

Check versions

ice-c++-devel-3.2.1-1.rhel4
ice-3.2.1-1.rhel4

doxygen

% yum install doxygen

=> a bunch of output

Check versions

doxygen-1.4.7-1.1

Logging Debug Information

Turn on the writing of debug information in to /var/log/debug (mainly used by OSS).

% cd /etc

% sudo emacs syslog.conf

Add at the end of the file

# OSS needs this to send extra "debug" information to the file listed  17Jan09 DLM
*.debug /var/log/debug

Definitions of hosts (needed in Arcetri)

% sudo emacs /etc/hosts
193.206.155.77   aoserver aoserver.arcetri.astro.it
193.206.155.54   aospare  aopare.arcetri.astro.it
193.206.155.25   aows       aows.arcetri.astro.it
193.206.154.243 irtc          irtc.arcetri.astro.it

-- DougMiller - 27 Apr 2009
Topic revision: r3 - 12 May 2009, DougMiller
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback