Differences between revisions 3 and 17 (spanning 14 versions)
Revision 3 as of 2006-05-22 05:38:42
Size: 2633
Editor: rowlf
Comment:
Revision 17 as of 2006-06-21 02:31:56
Size: 4790
Editor: thog
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Steps to install control = Estimated time for a standard server setup (Michael's Estimate)

 * Install and Configure OS : 3 1/2 Hr
 * Install and Configure CONTROL : 2 Hr
 * Packing/Unpacking Servers : 1/2 Hr
Total : 6 Hr

== Installing and configuring the OS ==
Please review the [http://robin.crecom.com.au/knowledge/Installation/Installing%20Linux%20Redhat%209%20machine%20for%20Control.htm Installing Linux on Redhat 9] for choosing with components are required during install time. It may be used as a guide for Fedora installations.

== Installing and configuring CONTROL ==
Line 13: Line 23:
Create ccc Insure /etc/skel/.vnc/ exists containing {{{passwd}}} (generated from {{{vncpasswd}}}) and {{{xstartup}}} which is an executable script:

{{{
#!/bin/sh
export NODEID="vnc$DISPLAY"
sleep 5
exec fvwm
}}}
Create user ccc
Line 29: Line 47:
}}}
Package control programs on sam

{{{
export CONTROL_FILES="
/u/cc/std/binl
/u/cc/std/utbinl
/u/cc/std/binx11
/u/cc/std/utbinx11
/u/cc/adm
/u/cc/blank
/u/cc/standard
/u/cc/pixmap
/u/cc/lib
/u/cc/binl
/u/cc/binx11
"
tar cvzf control.tgz $CONTROL_FILES
Line 54: Line 90:
mv /u/cc/adm.store/ /u/cc/adm scp -r user@sam.crecom.com.au:/u/ccdev/standard.adm /u/cc/adm
copy DEMO9 company/data
copy new QT libraries to /cc/lib
copy common.sh
Line 56: Line 95:
Copying latest "stable" from sam. == Operating System configuration ==
=== SELinux ===
SELinux has been known to cause problems. To turn it off, change /etc/selinux/config to read
{{{
SELINUX=disabled}}}
=== Libraries ===
Update /etc/ld.so.conf to included the following line
Line 59: Line 104:
scp -r user@sam.crecom.com.au:/u/cc/adm /u/cc/adm
scp -r user@sam.crecom.com.au:/u/ccdev/standard.adm /u/cc/adm
scp -r user@sam.crecom.com.au:/u/cc/std/binl /u/cc/std/binl
scp -r user@sam.crecom.com.au:/u/cc/std/binx11 /u/cc/std/binx11
scp -r user@sam.crecom.com.au:/u/cc/std/utbinl /u/cc/std/utbinl
scp -r user@sam.crecom.com.au:/u/cc/std/utbinx11 /u/cc/std/binx11
copy DEMO9 company/data
copy new QT libraries
copy common.sh
/cc/lib
Line 69: Line 106:
Then execute:

{{{
# ldconfig
}}}
=== VPN ===
Copy vpn_exetel.tar.gz from /home/usr/michael/vpn/, extract it using the following commands:

{{{
# tar -xvzf vpn_exetel.tar.gz /
}}}
Then as root accept the fingerprint:

{{{
# ssh 220.233.135.250
The authenticity of host '220.233.135.250 (220.233.135.250)' can't be established.
RSA key fingerprint is f6:f0:5c:21:74:0e:03:db:fc:71:e6:21:63:b5:c0:43.
Are you sure you want to continue connecting (yes/no)?
}}}
Type yes and cancel the connection.
Line 75: Line 133:
 Load "vnc"  # Add this line         Load "vnc"      # Add this line
Line 78: Line 136:
 Option "PasswordFile" "/u/cc/usr/ccc/.vnc/passwd"  # Add this line         Option "PasswordFile" "/u/cc/usr/ccc/.vnc/passwd"       # Add this line
Line 81: Line 139:

Line 85: Line 141:
Line 89: Line 146:
Need to update Xclients such that FVWM is started when local user logs in.
Line 90: Line 148:
Need to update Xclients such that FVWM is started when local user logs in.
Line 96: Line 153:
Update Xclients to only execute FVWM, the orginal (Xclients.bak) file can be modified to do the below.
Line 97: Line 155:
Update Xclients to only execute FVWM, the orginal (Xclients.bak) file can be modified to do the below.
Line 105: Line 162:
Finally give Xclients execute permissions
Line 106: Line 164:
Finally give Xclients execute permissions
Line 110: Line 167:
Configuring FVWM
Line 111: Line 169:
{{{
mkdir /etc/X11/fvwm2
}}}
Copy from {{{system.fvwm2rc}}} from /u/install or from a client's system and place it in the newly created directory. Also place a symlink to {{{system.fvwm2rc}}} in /etc/
Line 112: Line 174:
{{{
ln -s /etc/X11/fvwm2/system.fvwm2rc /etc/
}}}
Line 115: Line 180:
 * dvd+rw-tools - Burning DVD's
 * postgresql-odbc - New Rel9 and 10 installations require DB support.
== Post Control Installation Options ==
'''cocont''' option {{{Days before display system warning mesg}}} should be set to 30. This allows the client to have a list one system backup to restore various configuration system configuration files in the event of a failure.

Estimated time for a standard server setup (Michael's Estimate)

  • Install and Configure OS : 3 1/2 Hr
  • Install and Configure CONTROL : 2 Hr
  • Packing/Unpacking Servers : 1/2 Hr

Total : 6 Hr

Installing and configuring the OS

Please review the [http://robin.crecom.com.au/knowledge/Installation/Installing%20Linux%20Redhat%209%20machine%20for%20Control.htm Installing Linux on Redhat 9] for choosing with components are required during install time. It may be used as a guide for Fedora installations.

Installing and configuring CONTROL

Edit /etc/defaults/useradd such that the following variables are set and that rest can remain the same.

GROUP=3232
HOME=/u/cc/usr

Create the following group

# groupadd -g 3232 control

Insure /etc/skel/.vnc/ exists containing passwd (generated from vncpasswd) and xstartup which is an executable script:

export NODEID="vnc$DISPLAY"
sleep 5
exec fvwm

Create user ccc

# adduser ccc
# passwd ccc

Replace the contents of /etc/skel/.bash_profile with the following

logname=`logname`
. /u/cc/usr/common.sh
if [ "$logname" != "" ]; then
  if [ "$DISPLAY" = "" ]; then
    exec start
  fi
fi

Package control programs on sam

export CONTROL_FILES="
/u/cc/std/binl
/u/cc/std/utbinl
/u/cc/std/binx11
/u/cc/std/utbinx11
/u/cc/adm
/u/cc/blank
/u/cc/standard
/u/cc/pixmap
/u/cc/lib
/u/cc/binl
/u/cc/binx11
"
tar cvzf control.tgz $CONTROL_FILES

Long list of commands

touch /dev/lp8
chmod 666 /dev/lp8
umask 0
mkdir /u/cc/
chmod 777 /u/cc/
ln -s /u/cc /cc
mkdir /u/cc/usr
chmod 777 /u/cc/usr
mkdir /u/cc/LOG
chmod 777 /u/cc/LOG
chown ccc:control /u/cc/LOG /u/cc/usr
chown ccc:control /u/cc/usr/ccc /u/cc/usr/ccc/.*
cd /
tar xvzf PATH_TO_CONTROL_TAR_FILE/control.tgz
cd /u/cc/
chown ccc:control std/* std/*/*
chown ccc:control binl/*
chown ccc:control binx11/*
binl/link_cntrl
chown ccc:control standard/*
chmod 666 standard/*
scp -r user@sam.crecom.com.au:/u/ccdev/standard.adm /u/cc/adm
copy DEMO9 company/data
copy new QT libraries to /cc/lib
copy common.sh

Operating System configuration

SELinux

SELinux has been known to cause problems. To turn it off, change /etc/selinux/config to read

SELINUX=disabled

Libraries

Update /etc/ld.so.conf to included the following line

/cc/lib

Then execute:

# ldconfig

VPN

Copy vpn_exetel.tar.gz from /home/usr/michael/vpn/, extract it using the following commands:

# tar -xvzf vpn_exetel.tar.gz /

Then as root accept the fingerprint:

# ssh 220.233.135.250
The authenticity of host '220.233.135.250 (220.233.135.250)' can't be established.
RSA key fingerprint is f6:f0:5c:21:74:0e:03:db:fc:71:e6:21:63:b5:c0:43.
Are you sure you want to continue connecting (yes/no)?

Type yes and cancel the connection.

Make console (DISPLAY=0) a VNC server

Edit /etc/X11/xorg.conf

Section "Module"
        Load "vnc"      # Add this line
End Section
Section "Screen"
        Option "PasswordFile" "/u/cc/usr/ccc/.vnc/passwd"       # Add this line
End Section

Installing FVWM

You'll need to locate files fvwm-2.4.19-1.i386.rpm and libstroke-0.5.1-4.fc4.i386.rpm which are available on sam.

# yum install compat-readline43 gtk+ imlib
# rpm -Uvh fvwm-2.4.19-1.i386.rpm libstroke-0.5.1-4.fc4.i386.rpm

Need to update Xclients such that FVWM is started when local user logs in.

# cd /etc/X11/xinit
# mv Xclients Xclients.bak
# vi Xclients

Update Xclients to only execute FVWM, the orginal (Xclients.bak) file can be modified to do the below.

rm -f $HOME/Xrootenv.0
rm -f /tmp/fvwmrc* 2>/dev/null
. /u/cc/usr/common.sh
exec /usr/bin/fvwm

Finally give Xclients execute permissions

chmod +x Xclients

Configuring FVWM

mkdir /etc/X11/fvwm2

Copy from system.fvwm2rc from /u/install or from a client's system and place it in the newly created directory. Also place a symlink to system.fvwm2rc in /etc/

ln -s /etc/X11/fvwm2/system.fvwm2rc /etc/

Packages Needed by Control

  • mkisofs - building CD images
  • sharutils - E-Mailing PDF's
  • dvd+rw-tools - Burning DVD's
  • postgresql-odbc - New Rel9 and 10 installations require DB support.

Post Control Installation Options

cocont option Days before display system warning mesg should be set to 30. This allows the client to have a list one system backup to restore various configuration system configuration files in the event of a failure.

InstallingControl (last edited 2013-09-18 06:09:33 by localhost)