Differences between revisions 4 and 42 (spanning 38 versions)
Revision 4 as of 2006-05-22 07:54:24
Size: 2666
Editor: rowlf
Comment:
Revision 42 as of 2007-09-27 23:34:33
Size: 0
Editor: LeiWang
Comment: mistake on editing the wrong page, should working on freenx at the time
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Steps to install 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
}}}
Create 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
}}}
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/*
mv /u/cc/adm.store/ /u/cc/adm
}}}
Copying latest "stable" from sam.

{{{
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
}}}
== X related configuration ==
=== 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.
{{{
#!/bin/bash
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
}}}


== Packages Needed by Control ==
 * mkisofs - building CD images
 * sharutils - E-Mailing PDF's
 * dvd+rw-tools - Burning DVD's

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