Download the zip file for the demo install
Unzip the demo into a subdirectory
unzip demo.zip -d UniVerse
Go into the subdirectory
Un-cpio the contents of the installer
cpio -ivdum < STARTUP
Pretend like the current directory is a cdrom for the install script (
sudo mount --bind . /cdrom
Change lines 17 and 18 of the
uv.load install script, remove the
tapewrite='find $file -print | cpio -ovcB > $tape/$uvcdi'
taperead='cpio -ivcdumB $file < $tape/$uvcdi'
tapewrite='find $file -print | cpio -ov > $tape/$uvcdi'
taperead='cpio -ivdum $file < $tape/$uvcdi'
sudo sh uv.load
sudo umount /cdrom
UV.VI will not work unless you symlink
/bin/vi to vim
sudo ln -s /etc/alternatives/vim /bin/vi
None of the binary UniVerse utilities will be in your
$PATH unless you add
Starting the Daemon
You must have the UniVerse daemon started or you will receive the following error:
An error has occurred during uniVerse initialization
Please contact the system administrator
Error code: 2 2
From here you have two options, you can either start the daemon when you need it, or you can start the daemon with the system processes:
In order to start up UniVerse you must execute the daemon you can find it in
$ sudo sh /usr/ibm/uv/sample/uv.rc
uniVerse has been brought up.
uniVerse Log Daemon started
Deadlock Daemon has been started
If you want UniVerse to start as a system process in Debian based systems you will want to:
$ sudo cp /usr/ibm/uv/sample/uv.rc /etc/init.d/
$ sudo chown root:root /etc/init.d/uv.rc
$ sudo chmod 755 /etc/init.d/uv.rc
$ sudo update-rc.d uv.rc defaults 99
This method will render a warning that the script is lacking LSB information and isn't an LSB script, that is ok. I believe it should still work but you won't have the extra
restart|reload|force-reload|status functionality that most other init scripts provide
update-rc.d: warning: /etc/init.d/uv.rc missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
Adding system startup for /etc/init.d/uv.rc ...
/etc/rc0.d/K99uv.rc -> ../init.d/uv.rc
/etc/rc1.d/K99uv.rc -> ../init.d/uv.rc
/etc/rc6.d/K99uv.rc -> ../init.d/uv.rc
/etc/rc2.d/S99uv.rc -> ../init.d/uv.rc
/etc/rc3.d/S99uv.rc -> ../init.d/uv.rc
/etc/rc4.d/S99uv.rc -> ../init.d/uv.rc
/etc/rc5.d/S99uv.rc -> ../init.d/uv.rc
- Linux operating systems support lowercase; however, by convention universe doesn't, and it doesn't know lowercase is uppercase. When you use
$uv_root/bin/create.file _arg_, make sure arg is uppercase. The TCL command
CREATE.FILE will already have shifted your default characters to uppercase, but bash makes no such consideration with the binary command
create.file. You'll still be able to use the file you'll just have to remember your system supports mix case even though
uvsh really wants uppercase.