3ware HTML Bookshelf



3ware® CLI Guide > Introduction to the 3ware Command Line Interface > Installing the 3ware CLI > Installing the 3ware CLI on Linux and FreeBSD

Installing the 3ware CLI on Linux and FreeBSD
3ware CLI can be installed or run directly from the 3ware software CD, or the latest version can be downloaded from the 3ware web site,
http://www.3ware.com.
To install 3ware CLI on Linux or FreeBSD
Do one of the following:
*
Copy the file. Copy the file tw_cli to the directory from which you want to run the program.
CLI is located on the 3ware CD in /packages/cli/freebsd or
/packages/cli/linux.
Online manual pages are also available in nroff and html formats. These are located in /packages/cli/tw_cli.8.html or tw_cli.8.nroff.
You will need to be root or have root privileges to install the CLI to
/usr/sbin and to run the CLI.
 
Notes:
The installation location needs to be in the environment path for root to execute the CLI without using complete paths (i.e., if installed to /usr/sbin/, you can type tw_cli on the command line, otherwise you will have to type the complete path:
/home/user/tw_cli

The 3ware CLI comes in both 32-bit and 64-bit versions. If you are copying the file directly, be sure to copy the correct version for the version of the operating system you are using.
*
Use a GUI. If you are using a graphical user interface such as X Windows, insert and mount the 3ware CD. At the 3ware menu, click Install Software. If the 3ware menu does not appear automatically, open a command window and type ./autorun from the CD directory.
(
Note: Autorun is not supported in FreeBSD. However, if you have a GUI, you can use the FreeBSD setup commands in the next bulleted section without the
-console option.
Step through the pages of the installation wizard. On the 3ware Disk Management Tools screen, make sure that Command Line Interface (tw_cli) is selected. The default directory location used by 3ware is /opt/AMCC/CLI/tw_cli.
More detailed information about using this installer is supplied in Appendix B of 3ware SAS/SATA RAID Software User Guide, Version 9.5.1.
*
Use the setup command. If no GUI is installed, for Linux, navigate to
/packages/installers/tools/linux/x86 (or x86-64) on the 3ware CD. For FreeBSD, navigate to
/packages/installers/tools/freebsd/6.x (or 7.x)/x86 (or x86_64).
For Linux, type:
./setupLinux_x86.bin -console or ./setupLinux_x64.bin -console (depending upon which directory you are in) and press Enter to begin installing the CLI.
For FreeBSD, type:
./setupFreeBSD6_x86.sh -console or ./setupFreeBSD6_x64.sh -console. (For 7.x, use FreeBSD7 in the command). Press Enter to begin installing the CLI.
The default directory location used by 3ware is /opt/AMCC/CLI/tw_cli.
More detailed information about using this installer is supplied in Appendix B of 3ware SAS/SATA RAID Software User Guide, Version 9.5.1.

Copyright AMCC 2004-2008
To contact Support, log in at https://www.3ware.com

www.3ware.com
1-858-535-6517
1-800-840-6055