Alachisoft NCache 4.1 - Online Documentation

Command Line Installation

 
Install Java Client:
 
Below are the steps required to install NCache Java client:
 
1. Open the command line terminal.
2. Login as 'root' user.
3. Go to the folder where you have downloaded Java client installation archive (ncache-java-client-setup.tar.gz).
 
For example: /home/user/desktop/
 
 
4. Uncompress the NCache Java client archive
 
[root@..]# tar -xvfz <ncache-java-client-setup>.tar.gz
 
 
The extracted directory (/user/home/desktop/ <ncache-java-client-setup>/ ) will have the following files.
 
  • A shell script named "install.sh", to install the product.
  • A README file (this file also contains the installation instructions)
  • Original setup files archive ncache380-sp2-client-setup.tar.gz. Archive name is based on java client version. (do not change this manually, it is used by given shell script "install.sh")
  • An INSTALL file that helps you knowing what gets installed after successful run of "install.sh"
  • A shell script named "uninstall.sh" to uninstall the product
     
5. Go to the extracted directory:  [root@..]# cd <ncache-java-client-setup>
 
 
 
6. Next step is to run the installation script "install.sh" present in uncompressed directory (/user/home/desktop/ <ncache-java-client-setup>/ ) You can either give command.
 
[root@...]# bash install.sh
or
[root@...]# chmod +x install.sh
 
[root@...]# ./install.sh
 
You must run the 'install.sh' file using 'sudo ./install.sh' if you are not logged in as 'root' user.
'install.sh' allows following usage pattern to install NCache Java Client
 
Usage: install.sh -f FIRSTNAME -l LASTNAME -e mail EMAIL -k INSTALLKEY [-d PATH]
 
install.sh -h (for help)
 
 
7. After successful installation it would give you a message "Installation Completed Successfully".
 
 
8. Last step is to configure environment variables for NCache Java Client. Environment Configurations for NCache Java Client.
 
 
Uninstall Java Client:
 
In order to uninstall Ncache Java client, uinstall.sh script is provided in downloaded Java Client Installation archive. Run the following command to give executable permissions to the script.
 
[root@...]# bash uninstall.sh (/user/home/desktop/ <ncache-java-client-setup>/ )
or
[root@...]# chmod +x uninstall.sh
 
[root@...]# ./uninstall.sh
 
 
You must run the 'uninstall.sh' file using 'sudo ./uninstall.sh' if you are not logged in as 'root' user.
When the script is executed it will ask about the NCache installation directory path(default is /usr/local/ncache), provide the path and press enter it will do uninstall confirmation only and will proceed to uninstall.
 
 
See Also
 
Copyright © 2005-2012 Alachisoft. All rights reserved.