WINDOW7_64 installation Staf

Source: Internet
Author: User

1. installation package Download
Download the required installation package from http://sourceforge.net/projects/staf/files/staf/V3.4.17/, install packages with different version numbers for Windows, Linux, Solaris, Mac, etc. I downloaded the size of 109.1MB: Staf3418beta1-setup-winamd64.exe, there is some confusion here is why the suffix has winamd word, because I see the properties of my computer is displayed using the Intel chip?

It's just that the facts prove usable is true.

2. Installation under Windows
2.1 On the Windows platform, double-click the STAF installation package and follow the prompts to install it.
2.2 Modify the Staf.cfg file in the STAF installation folder/staf/bin to configure the trust relationship between the machines. Configure the IP configuration of the Linux machine into the config file.

For example, the following:

View Plaincopy to Clipboardprint?
# Set Default Local Trust
Trust machine local://local Level 5
Trust machine 10.2.5.101 Level 5
# Set Default Local Trust
Trust machine local://local Level 5
Trust machine 10.2.5.101 Level 5

2.3 Start Stafproc again
2.4 Under CMD, type the following command to confirm that STAF is installed correctly:
STAF Local Service List


The following Linux installations have not been confirmed and are temporarily reserved

3. Installation under Linux
Attention. Some Linux version numbers need to be installed in the C library first. Otherwise the STAF will not come up. References:
Http://rpm.pbone.net/index.php3/stat/4/idpl/2790009/com/libstdc++-3.4.5-2.i386.rpm.html
Linux STAF has two installation modes, one is to download the bin package directly for installation, and the other is to download the TAR package for installation, as an example of the TAR package installation:
3.1. Unpack the installation package:
Tar xzvf staf331-linux.tar.gz
3.2 A Staf directory will appear after decompression to enter the directory
./stafinst
Install, default will be installed to/USR/LOCAL/STAF
3.3 Configure the environment variable to add the following code to the username folder where you want to execute staf. bash_profile file:
Path=/usr/local/staf/bin: $PATH
Export PATH
Ld_library_path=/usr/local/staf/lib
Export Ld_library_path
Classpath=/usr/local/staf/lib/jstaf.jar:/usr/local/staf/samples/demo/stafdemo.jar
Export CLASSPATH
Stafconvdir=/usr/local/staf/codepage
Export Stafconvdir
Stafcodepage=latin_1
Export Stafcodepage
Nohup/usr/local/staf/bin/stafproc >/usr/local/staf/stafproc.out
Path=/usr/local/staf/bin: $PATH
Export PATH
Ld_library_path=/usr/local/staf/lib
Export Ld_library_path
Classpath=/usr/local/staf/lib/jstaf.jar:/usr/local/staf/samples/demo/stafdemo.jar
Export CLASSPATH
Stafconvdir=/usr/local/staf/codepage
Export Stafconvdir
Stafcodepage=latin_1
Export Stafcodepage
Nohup/usr/local/staf/bin/stafproc >/usr/local/staf/stafproc.out

3.4 Change the Staf.cfg file under the Staf installation folder/usr/local/staf/bin folder to configure the trust relationship between the machines. The IP configuration of the Windows machine into the config file. For example, the following:
# Set Default Local Trust
Trust machine local://local Level 5
Trust machine 10.2.5.100 Level 5
# Set Default Local Trust
Trust machine local://local Level 5
Trust machine 10.2.5.100 Level 5

3.5 Start Stafproc
/usr/local/staf/bin/stafproc &

3.6 Confirm that the STAF is installed correctly:
STAF Local Service List

WINDOW7_64 installation Staf

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.