|
Installing EMG patch releases (binaries-only) |
|
|
EMG patch releases
are software releases that contains only the binaries (executable
programs). They are distributed as downloadable, compressed, tar
archives.
In order
to install a patch release you need to have a full distribution
of EMG already installed.
Below we will
use a sample release distributed as the file
emg25b-solaris-binaries.tar.Z.
- Log on to your system as the system administrator.
- Find your current EMG binaries, for example emgd. They are usually
located in /usr/bin. You can also execute "type emgd",
which will locate the binary if it is in your current path.
- Download
the patch release tar-archive, emg25b-solaris-binaries.tar.Z
and save
it in the file system. For example as /tmp/emg25b-solaris-binaries.tar.Z
- Uncompress
the archive:
uncompress /tmp/emg25b-solaris-binaries.tar.Z
- Stop emgd,
"emgd -stop", and then make sure there are no emgd processes
running, "ps -ef | grep emgd". All emgd processes need
to be stopped before replacing the binaries.
- Backup your
current binaries in order to be able to revert to these files
if needed. Sample backup procedure:
mkdir /tmp/emg-backup.020501
cp /usr/bin/emg* /tmp/emg-backup.020501
- Extract the new binaries:
cd /usr/bin
tar xvf /tmp/emg25b-solaris-binaries.tar
- Make sure they have appropriate owner and permissions:
chown root /usr/bin/emg*
chmod 555 /usr/bin/emg*
- Verify that the new binaries execute ok (the command below should
not give any error messages):
emgd -help
- Verify that the server configuration is ok (if not make required
adjustments):
emgd -verify
- Start the server:
emgd
- Verify that the server is running:
ps -ef|grep emgd
|