Introduction
Upgrading an installed EMu 3.2 to a later patch level is a straight forward procedure. There are four main components that can be upgraded:
- Texpress (the database engine)
- TexAPI (web services)
- EMu Server (the application)
- EMu Client (the client)
The notes below detail how to upgrade all systems. If you only need to upgrade one system, just skip the notes detailing the other ones. Check the Releases table for Client specific notes. Upgrading comprises the following steps:
In the notes below clientname 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
If upgrading to EMu 3.2.04 or later the following is also required:
- Perl version 5.8 or greater
Stopping EMu services
- Log in as emu
- Enter client clientname
- Enter emuweb stop
- Enter emuload stop
- Enter exit to close the command shell.
- Log out.
Upgrading Texpress
- Log in as emu
- Enter cd ~emu/texpress
- Enter mkdir -p 8.1.xxx/install where xxx is the version of Texpress being installed.
- Enter cd 8.1.xxx/install
- Obtain the appropriate Texpress version for your Unix machine via the KE Texpress hyperlink above. Save the release in ~emu/texpress/8.1.xxx/install calling it texpress.sh.
- Enter sh texpress.sh. The Texpress release will be extracted.
- Enter . ./.profile
- Enter bin/texinstall ~emu/texpress/8.1.xxx (expand the ~emu).
The Texpress installation script will commence.
- Enter cd ~emu/texpress/8.1.xxx
- Enter . ./.profile
- Enter texbldperms
- 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
- Enter cd ~emu/texpress
- Enter \rm -f 8.1
- Enter ln -s 8.1.xxx 8.1
- The previous Texpress version installed should be kept to allow quick rollback if a problem occurs, all older versions should be removed.
- Stayed logged in as emu for the KE TexAPI installation.
Upgrading TexAPI
- Assumes you are logged in as emu.
- Enter cd ~emu/texpress
- Enter mkdir 3.1.xxx where xxx is the version of TexAPI being installed.
- 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/3.1.xxx (expand the ~emu).
- Enter \rm -f texapi
- Enter ln -s 3.1.xxx texapi
- Enter \rm -f texapi.sh
- The previous TexAPI version installed should be kept to allow quick rollback if a problem occurs, all older versions should be removed.
- Enter exit to close the command shell.
- Log out.
Upgrading EMu Server
- Log in as emu.
- Enter cd ~emu
- The install bundle must be unarchived into a new temporay directory.
It is recommended to use a new temporary directory named ~emu/clientname/install. Enter mkdir clientname/install
- Enter cd clientname/install
- Obtain the appropriate EMu server version bundle via the KE EMu Server hyperlink above.
Save the release bundle file in the ~emu/clientname/install temporary directory.
- Extract the client release by using the name of the actual release file.
Enter sh emu-clientname-yymmddv.sh The EMu release will be extracted.
- Enter . ./.profile
- Enter bin/emuinstall clientname. The EMu installation script will commence.
- Enter cd ~emu/clientname
- Enter cp .profile.parent ../.profile
- Enter . ../.profile
- Enter client clientname
- Enter emubldlinks
- Removal of the the temporary directory (and its contents) is recommended:
Enter \rm -fr install
- Enter exit to close the command shell.
- Log out.
- Please consult version release notes for any specific upgrades required for the new version.
Note: If you are upgrading a client that is already using the latest version, you will still need to run the upgrade script for the next version. For example, if you are upgrading an existing EMu version 3.2.04 to a later 3.2.04, you will need to run upgrade-3-2-05.
Starting EMu services
- Log in as emu.
- Enter emuload start
- Enter emuweb start
- Enter exit to close the command shell.
- Log out.
Upgrading EMu Client
To upgrade the EMu Client follow the Installing EMu Client notes.
|