Introduction
The upgrade from EMu Version 2.1 to EMu 3.0.01 involves a number of steps. Please follow the instructions below carefully. You cannot skip any steps under any circumstances. Before proceeding with the update please ensure that a complete backup of the EMu server exists and is restorable.
There are four main components that require upgrading:
- Texpress (the database engine)
- TexAPI (web services)
- EMu Server (the application)
- EMu Client (the client)
The notes below detail how to upgrade all systems. Check the Releases table for Client specific notes. Upgrading comprises the following steps:
In the notes below client refers to the name of the client directory for the current installation. The term ~emu is used to refer to the user emu's home directory. This is normally /home/emu.
Requirements
Stopping EMu services
- Log in as emu.
- Enter client client
- Enter emuweb stop
- Enter emuload stop
Installing Texpress
Installing Texpress 8.0 is only required for the first client upgraded to EMu 3.0. Once Texpress 8.0 has been installed this section may be skipped for subsequent upgrades.
- Enter cd ~emu
- Enter mkdir -p texpress/8.0/install
- Enter cd texpress/8.0/install
- Obtain the appropriate Texpress version for your Unix machine via the KE Texpress hyperlink above. Save the release in ~emu/texpress/8.0/install calling it texpress.sh.
- Enter sh texpress.sh
The Texpress release will be extracted.
- Enter . ./.profile
- Enter bin/texinstall ~emu/texpress/8.0 (expand the ~emu)
The Texpress installation script will commence.
- Enter cd ~emu/texpress/8.0
- Enter . ./.profile
- Enter texbldperms
- Enter vi etc/opts
- Review the options in the file and change as appropriate. In particular the dateorder and dateformat should be modified to reflect local settings. Save the file after making changes.
- Enter bin/texlicinfo. Obtain your Texpress licence code and place it in a file called .licence.
- Enter bin/texlicset < .licence to install the licence.
- Enter \rm -fr install
If you are installing on Linux, Solaris or FreeBSD you may need to setup PAM support (you will definitely need to do this if you are installing on Red Hat Linux). For details see Setup PAM.
Upgrading TexAPI
Installing TexAPI is only required for the first client upgraded to EMu 3.0. Once TexAPI has been installed this section may be skipped for subsequent upgrades.
- Enter cd ~emu/texpress
- Obtain the appropriate TexAPI version for your Unix machine via the KE TexAPI hyperlink above.
Save the release in ~emu/texpress calling it texapi.sh.
- Enter sh texapi.sh -i ~emu/texpress/texapi (expand the ~emu).
- Enter rm -f texapi.sh
Upgrading EMu Server
- Enter cd ~emu/client
- Enter mkdir install
- Create a file called .nocrontab (if you don't want the crontab file overwritten)
- Enter cd install
- Obtain the appropriate EMu version via the KE EMu Server hyperlink above.
Save the release in ~emu/client/install calling it emu.sh.
- Enter sh emu.sh. The EMu release will be extracted.
- Enter unset EMUGROUP
- Enter . ./.profile
- Enter bin/emuinstall -u client. The EMu installation script will commence.
- Enter cd ~emu/client
- Enter cp .profile.parent ../.profile
- Enter . ../.profile
- Enter client client
- Enter emureindex -c -p
- Enter emuload stop
- Enter emuweb stop
- Enter emubldinstall
- Enter emubldlinks
- Enter emulutsrebuild -m
- Enter \rm -fr install
- Enter upgrade-3-0-01. The client will now be upgraded to EMu 3.0. If you are upgrading from a version prior to Mu 2.1.008 you must run the upgrade scripts for all version after the old version before running the EMu 3.0 upgrade.
Starting EMu services
- Enter emuload start
- Enter emuweb start
- Enter exit to close the command shell.
- Log out.
Upgrading EMu Client
When upgrading to EMu 3.0 the Windows client must be installed on all client machines, including machines that had the EMu 3.0 beta releases installed. To upgrade the EMu Client follow the Install EMu Client notes.
|