[foxboro] Linux box as operator workstation
- From: "Sean Redmond" <ultim8_warrior@xxxxxxxxxxx>
- To: foxboro@xxxxxxxxxxxxx
- Date: Wed, 12 Dec 2001 19:41:59 +0000
Hi Everybody,
I have been setting up Linux computer things to act as operator
workstations. I got most of this information from the posts of Bo and
Daryl, so thanks fellas. Any comments, suggestions, presents welcome.
Perhaps it may make on to cassandra or perhaps not.
Sean
Setting Up a PC to access a Foxboro Display Manager Using Red Hat Linux
Software
Preliminary
1. Establish what the IP address for the PC will be (this will be needed
during the Linux installation).
2. Determine what the Net Mask for the PC needs to be (this will be needed
during the Linux installation).
3. Assign an alias to the Linux PC.
4. Determine what the operator account name will be.
For this guide Linux PC IP address will be 150.150.150.150, our linux user
will be jebediah, and our Foxboro host will be 200.200.200.200
Foxboro AW or WP Host
5. Add additional Display Manager to Foxboro Workstation (if applicable)
(update system definition and /usr/fox/customer/hi/dmcfg).
6. Configure an Alarm manager with the Display Manager (if applicable)
(update in /usr/fox/customer/hi/dmcfg).
7. Edit am_cmds on the foxboro host station in the /usr/fox/wp/data
directory.
Comment out the following line by placing a # in front of it.
== $AM_LOCAL N amcmd protect value 100
This will allow additional alarm mangers access to acknowledge and clear
alarms.
8. Edit the host file (/etc/hosts) on host AW or WP to include the IP
address and alias of the Linux PC.
9. Edit the .rhosts file on the host AW or WP to include the operator
account (jebediah) for the Linux PC. Since the Linux X terminals will be
using the IA account edit /opt/ia/.rhosts Add line 150.150.150.150 jebediah
10. The xterm will log in as user IA so it will run /opt/ia/.profile when a
user logs in. Check that to set up which sort of Display you want to run
Display Manager or Foxview.
Linux PC
11. Load Linux on PC.
Notes about Linux installation
Set up 5 partitions (/, /home/, /opt, /usr, and SWAP).
Use 8bpp for color depth.
Configure parameters using "XF86Setup" -this should be done before
startx is opened.
Make sure there are no programs scheduled to automatically start up that
have not been installed (ie. sendmail).
12. Edit the host file (/etc/hosts) on the Linux PC to include the IP
address and alias of the AW or WP that will be hosting it and/or any other
machines that it will be able to directly access it
13. Set up operator account on Linux PC this can be the same as the Linux PC
alias name (this can be done by running startx , once xview is open user
accounts can be found under linuxconfig in the control panel).
14. Make the /usr/scripts directory on the Linux PC
15. Create the file /usr/scripts/operate.fox as listed below with the
display manager name in place of DDDDDD. This script will open the display
manager and after 20 seconds will run a command to allow the display manager
to change process parameters.
xterm -T "Remote IA" -iconic -e rlogin -l ia 200.200.200.200 &
sleep 20
rsh -l root ????? '/usr/local/pref -DDDDDD dmcmd "enable omsets"'
16. Make sure operate.fox is executable. If not, chmod to 755.
17. Set up the automounter to access fonts. Add this line to
/etc/auto.misc
fonts 200.200.200.200:/usr/fox/wp/fonts
This will automatically mount the fonts under /misc/fonts
Modify /etc/X11/XF86Config-4 to add extra font path
Section "Files"
FontPath "unix/:7100"
FontPath "/misc/fonts"
EndSection
18. Verify that /etc/inittab file is set up so that machine comes up to the
login prompt instead of xview. The inittab file should contain the
following id:3:initdefault:
19. NOP (Calc block joke sorry)
20. Install Xview (open look window manager). You may have to download this
from www.blahblah.org or somewhere.
21. Edit menu options for Xview. This is done by editting the file
/usr/openwin/lib/openwin-menu .
Comment out undesired options (put a # in front of the line). For security
purposes, all lines except Exit, Utilities, and Properties should be
commented out.
Add option to start a Dispaly Manager by inserting the following line
"Display Manager" xterm -T "Restarting" -iconic -e /usr/scripts/operate.fox
22. Edit profile file in operator account and root home directories
(.bash_profile)
ie. /home/jebediah/.bash_profile or /root/.bash_profile
Note: this is a hidden file must use ls -a to see
operator account .bash_profile file should read as follows
PATH=$PATH:$HOME/bin:/usr/openwin/bin
LD_LIBRARY_PATH=/usr/openwin/lib
OPENWINHOME=/usr/openwin
BASH_ENV=$HOME/.bashrc
USERNAME=""
export USERNAME BASH_ENV PATH LD_LIBRARY_PATH OPENWINHOME
openwin
logout
23. Create a .xinitrc in operator account home directory. This file sets
the necessary font paths and runs the script operate.fox
xhost +
/usr/scripts/operate.fox &
/usr/openwin/bin/olwm -f
Make sure this file is executable. If not, chmod to 755.
24. Delete the file securetty from /etc on the Linux PC
Create a file titled .rhosts in the /root directory of the Linux PC this
file should be a listing of the WPs or AWs or other linux PCs that will be
allowed to login into the PC as root. (this allows remote access to the PC
as root.)
25. edit /var/spool/cron/uucp if there are any scheduled events present
comment them out
26. edit /usr/lib/linuxconf/uucp/uucp.tasks if there are any scheduled
events present comment them out
_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
___________________________________________________________________
This list is neither sponsored nor endorsed by The Foxboro Company.
Use the information obtained here at your own risk. For disclaimer,
see http://www.thecassandraproject.org/disclaimer.html#maillist
list info: http://www.freelists.org/list/foxboro
subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
Other related posts:
- » [foxboro] Linux box as operator workstation