EnglishFrançais
Unix: Installing Vitalware Server Imprimer
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. 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)
  1. Log in as vw
  2. Enter cd  ~vw
  3. Enter mkdir  -p  client/install
  4. Enter cd  client/install
  5. Obtain the appropriate Vitalware version via the KE Vitalware Server hyperlink above.
    Save the release in ~vw/client/install calling it vw.sh
  6. Enter sh  vw.sh
    The Vitalware release will be extracted.
  7. Enter .  ./.profile
  8. Enter bin/vwinstall  client. The Vitalware installation script will commence.
  9. Enter cd  ~vw/client
  10. Enter cp  .profile.parent  ../.profile
  11. Enter cd  ..
  12. Enter vi  .profile-local
  13. 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.
  14. Enter .  ./.profile
  15. Enter client  client
  16. Enter cd  etc
  17. 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.
  18. Enter cd  ..
  19. Enter vwbldlinks
  20. Enter vwlutsrebuild
  21. 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.

  1. 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
  2. Enter client  client
  3. Any other client specific setting can be set at this time (e.g. shell specific settings, etc.).
  4. Enter exit to close the command shell.
  5. Log out.
Installation Notes (Vitalware Server - root)
  1. Log in as root. Note in all examples below ~vw must be expanded to vw's home directory.
  2. Enter vi  /etc/services
  3. Add new services to the end of the file and save the file.

    vw  50000/tcp
    vwtrain  50001/tcp
    vwtest  50002/tcp
    vwweb  51000/tcp
    vwwebtrain  51001/tcp
    vwwebtest  51002/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)
  4.  


  5. Save the file.
Installation Notes (Vitalware Server - inetd)

If your system uses inetd to start up system services then the following setup is required. All versions of Unix use inetd by default except for Red Hat Linux 7.0 or later and Solaris 10 or later. If the file /etc/inetd.conf exists then these steps are required.

  1. Enter vi  /etc/inetd.conf
  2. Add the following line to the end of the file:

    vwclient stream tcp nowait root ~vw/client/bin/vwrun vwrun texserver -avw -i -L -t60

    If you also want the vw service to connect to your vwclient then add the line:

    vw stream tcp nowait root ~vw/client/bin/vwrun vwrun texserver -avw -i -L -t60

  3. Save the file.
  4. 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.
Installation Notes (Vitalware Server - xinetd)

If you are installing on a Red Hat Linux system, version 7.0 or later, or the file /etc/xinetd.conf exists then the following steps are required.

  1. Enter cd  /etc/xinetd.d
  2. Enter vi  vwclient
  3. Enter the following text in the file:

    # default: on
    service vwclient
    {
       flags = REUSE  
       protocol = tcp  
       socket_type = stream  
       wait = no  
       user = root  
       server = ~vw/client/bin/vwrun
       server_args = texserver -avw -i -L -t60
       log_on_failure += USERID
       disable = no
      }

  4. Save the file.
  5. You will need to restart xinetd for the changes to take effect.
    Locate the process id number pid for the xinetd process and then
    Enter kill  -HUP  pid.
    Note that on some versions of Red Hat you may need to enter kill  -USR2  pid in order to update xinetd. To determine what signal is required on Red Hat consult the manual entry for xinetd.
Installation Notes (Vitalware Server - smf)

If you are installing on a Solaris system, version 10 or later using smf (Service Management Facility) the following steps are required.

  1. Enter vi  /tmp/inetd
  2. Add the following line to the file:

    vwclient stream tcp nowait root ~vw/client/bin/vwrun vwrun texserver -avw -i -L -t60
  3. If you also want the vw service to connect to your vwclient then add the line:

    vw stream tcp nowait root ~vw/client/bin/vwrun vwrun texserver -avw -i -L -t60
    Save the file.
  4. Enter inetconv  -f  -i /tmp/inetd
  5. To determine if the services are enabled use the inetadm command.
Installation Notes (Vitalware Server - startup)
  1. Locate the name of the local system initialisation file for your operating system. Some examples are:

    Operating System     
    File
    AIX /etc/rc.tcpip
    FreeBSD
    /etc/rc.local
    Red Hat Linux
    /etc/rc.d/rc.local
    Solaris /etc/rc3.d/S99vw
    SUSE Linux /etc/rc.d/rc3.d/S99vw
                   
  2. Enter vi  file where file is the name of the local system initialisation file.
  3. Add the following lines to the end of the file:

    #
    # KE Vitalware startup
    #
    ~vw/client
    /bin/vwboot
  4. Save the file.
  5. Enter ~vw/client/bin/vwboot
  6. Log out.
Mise à jour le Lundi, 15 Mars 2010