|
Unix: Installing Vitalware Server |
|
|
Vitalware 1.0 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. 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 typically /home/vw.
Requirements
Installation Notes (Vitalware Server - vw)
- Log in as 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 Vitalware release will be extracted.
- Enter unset VWGROUP
- Enter . ./.profile
- Enter bin/vwinstall client. The Vitalware installation script will commence.
- 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.
- Enter vi config
- Enter cd ~vw/client
- Enter texforms eregistry
- Find the registry entry for ServerPath (in Summary Data) and modify the value to be ~vw/client.
Save the entry and exit.
- Enter vwbldlinks
- Enter vwlutsrebuild -m.
- Enter \rm -fr install
- Enter exit to close the command shell.
- Log out.
Installation Notes (Vitalware Server - root)
- Log in as root. Note in all examples below ~vw must be expanded to vw's home directory.
- Enter vi /etc/services
- Add six new services to the bottom of the file.
| vw |
20000/tcp |
| vwtrain |
20001/tcp |
| vwtest |
20002/tcp |
| vwweb |
30000/tcp |
| vwwebtrain |
30001/tcp |
| vwwebtest |
30002/tcp |
- You should also add client specific services.
To determine the port and webport required please view the Vitalware Ports document.
vwclient |
port/tcp |
(replace port with port number) |
vwwebclient |
webport/tcp |
(replace webport with port number) |
- Save the file.
- Enter vi /etc/inetd.conf
- Add the following line to the end of the file:
vwclient stream tcp nowait root ~vw/client/bin/vwrun vwrun texserver -avw -i -L If you also want the vw service to connect to your vwclient then add also add the line: vw stream tcp nowait root ~vw/client/bin/vwrun vwrun texserver -avw -i -L
- Save the file.
- Enter vi /etc/rc
- Add the following lines to the end of the file:
# # KE Vitalware startup # ~vw/client/bin/vwboot
- Save the file.
- You will need to restart inetd for the changes to take effect.
Locate the process id number pid for the inetd process and then Enter kill -HUP pid.
- Enter ~vw/client/bin/vwboot
|
|
Mise à jour le Lundi, 15 Mars 2010 |