![3Ware 720-0186-00 Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/3ware/720-0186-00/720-0186-00_manual_3239008013.webp)
Working with 3ware CLI
www.3ware.com
6
•
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
.
Working with 3ware CLI
You can work with the 3ware CLI in different ways:
•
Interactively, entering commands at the main prompt
•
As a series of single commands
•
By creating a script—an input file with multiple commands
The next few topics shows examples of these different methods.
•
“Using the command interface interactively” on page 7
•
“Using a single command with output” on page 7
•
“Using an input file to execute a script” on page 8
•
“Outputting the CLI to a Text File” on page 8
Examples shown in the CLI Syntax Reference chapter reflect the interactive
method.