Wednesday, July 11, 2012
Installing in batch mode on Linux
Q: I need to install on a cloud-based system. The doc says I can do with with a batch-mode type of command for a "headless "install. However when I run it on 64-bit linux, I get:
root@li166-161:~/image# ./install.sh -b -p /root/OSE/BSP_WALNUT_OSE55
Welcome to the Enea Installation Program!
Creating the temporary directory...
./install.sh: 113: /root/image/util/linux/tempnam.bin: not found
Unzipping the Java Runtime Environment...
./install.sh: 127: /root/image/unzip/linux/unzip.bin: not found
cp: target `/root/image/install.jar' is not a directory
./install.sh: 142: /jre_linux/bin/java: not found
Removing the temporary directory...
Finished!
A: The error is misleading you about the bin files. They may very well be there in the expected place, with appropriate execute permissions; the real problem however is you need 32-bit support to run them on your 64-bit system. If you have just set up a new x86_64 VM or cloud system, you probably don't have it installed by default.
apt-get install ia32-libs
p.s. don't forget to add the keyfile in the command line with the "-k" option.
root@li166-161:~/image# ./install.sh -b -p /root/OSE/BSP_WALNUT_OSE55
Welcome to the Enea Installation Program!
Creating the temporary directory...
./install.sh: 113: /root/image/util/linux/tempnam.bin: not found
Unzipping the Java Runtime Environment...
./install.sh: 127: /root/image/unzip/linux/unzip.bin: not found
cp: target `/root/image/install.jar' is not a directory
./install.sh: 142: /jre_linux/bin/java: not found
Removing the temporary directory...
Finished!
A: The error is misleading you about the bin files. They may very well be there in the expected place, with appropriate execute permissions; the real problem however is you need 32-bit support to run them on your 64-bit system. If you have just set up a new x86_64 VM or cloud system, you probably don't have it installed by default.
apt-get install ia32-libs
p.s. don't forget to add the keyfile in the command line with the "-k" option.
Labels: installation, Linux
free invisible web counter