|
Windows: Installing Vitalware Server |
|
|
Vitalware 2.1 Install/Upgrade Notes
|
Introduction
Vitalware is designed to allow multiple installations to coexist. Each installation is placed in a directory within the user vw's home directory. The name of this directory typically reflects the client system being installed. The client name may be any name, thus allowing test and production environments to be set up for the same system. Typically the client name is an acronym for the client organisation. In the notes below client refers to the name of the client directory for the current installation.
The term ~vw is used to refer to the user vw's home directory. This is normally /dev/fs/C/home/vw.
Requirements
Installation Notes (Vitalware Server - vw)
- Log in to the Windows machine as local user vw
- Start a Korn Shell with Start>Programs>Windows Services for UNIX>Korn Shell
- Enter cd ~vw
- Enter mkdir -p client/install
- Enter cd client/install
- Obtain the appropriate Vitalware version via the KE Vitalware Server hyperlink above.
Save the release in ~vw/client/install calling it vw.sh
- Enter sh vw.sh
The KE Vitalware release will be extracted.
- Enter . ./.profile
- Enter bin/vwinstall client. The Vitalware installation script will commence.
As part of the installation you will be prompted to enter the vw password. The password is required for the cron maintenance task scheduler to function correctly.
- Enter cd ~vw/client
- Enter cp .profile.parent ../.profile
- Enter cd ..
- Enter vi .profile-local
- Add a single line client client to the file and save it. If a default client is already registered then you may leave the existing value.
- Enter . ./.profile
- Enter client client
- Enter cd etc
- View the config.sample file.
If you wish to alter some of these settings to suit the client then: Enter cp config.sample config Enter vi config edit as appropriate, then save the file. Be careful to set EMUSMTPSERVER to the hostname of your mail server machine.
- Enter cd ..
- Enter vwbldlinks
- Enter vwlutsrebuild
- Enter \rm -fr install
In order to allow easier upgrades of Texpress (without having to update the etc/opts file) all Texpress options are now set in the client specific .profile-local file. When installing Vitalware 2.1 you will have to add all Texpress options required for the installation. In particular the dateorder, dateformat, timeformat, latitudeformat, longitudeformat, tmppath and loadmemory settings should be examined. Please see Texpress options for a list of acceptable values.
- Enter vi .profile-local and add the Texpress options to the file. An example file is:
TEXPRESSOPTS="${TEXPRESSOPTS} dateorder=mdy dateformat='dd MMM yyyy'" export TEXPRESSOPTS
- Enter client client
- Any other client specific setting can be set at this time (eg shell specific settings, etc.).
- Enter exit to close the Korn Shell window.
- Log out.
Installation Notes (Vitalware Server - Administrator)
- Log in as Administrator.
- Start a Korn Shell with Start>Programs>Windows Services for UNIX>Korn Shell.
- Enter vi /etc/services
- Add new services to the end of the file and save the file.
Each line must be terminated with a CTRL+M character so that Windows programs interpret the file correctly. To enter a CTRL+M in vi type CTRL+V then CTRL+M. vw 20000/tcp^M vwtrain 20001/tcp^M vwtest 20002/tcp^M vwweb 30000/tcp^M vwwebtrain 30001/tcp^M vwwebtest 30002/tcp^M You should also add client specific services. To determine the port and webport required please view the Vitalware Ports document. vwclient port/tcp^M (replace port with port number) vwwebclient webport/tcp^M (replace webport with port number)
- Enter vi /etc/inetd.conf
- Add the following line to the end of the file (you must expand [vw]):
vwclient stream tcp nowait NULL /dev/fs/C/home/vw/clientname/bin/vwrun vwrun texserver -a[vw] -i -L -t60 If you also want the vw service to connect to your vwclient then add the line: vw stream tcp nowait NULL /dev/fs/C/home/vw/clientname/bin/vwrun vwrun texserver -a[vw] -i -L -t60
- Save the file. You will need to restart inetd for the changes to take effect.
- Enter ps -ef | grep inetd to determine the process id number pid for the inetd process.
- Enter kill -HUP pid.
- Enter cd /etc/rc2.d
- Enter vi S99vw and add the following lines to the file:
#!/bin/sh # # KE Vitalware startup # PATH=/bin:/usr/contrib/bin case $1 in start) /dev/fs/C/home/vw/clientname/bin/vwboot ;; stop) ;; *) echo "usage: $0 start|stop" ;; esac exit 0
- Save the file.
- Enter chmod 755 S99vw
- Enter ./S99vw start
- Enter exit to close the Korn Shell window.
- In order to test the startup script it is recommended that you reboot the server machine and confirm that all Vitalware services start correctly.
Output from scripts run when booting is found in /var/adm/log/init.log. Error messages are placed in /var/adm/log/messages.
|
|
Mise à jour le Lundi, 15 Mars 2010 |