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/, with a different version of the installation package 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 looked at the properties of my computer is displayed using the Intel chip? But it turns out that it can be 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 directory/staf/bin to configure the trust relationship between the machines. Configure the IP configuration of the Linux machine into the config file. As follows:

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 Restart Stafproc
2.4 Under CMD, type the following command to confirm that STAF is installed correctly:
STAF Local Service List


The following Linux installation has not been confirmed and is temporarily reserved

3. Installation under Linux
Note that some Linux versions need to install the C library first, otherwise STAF will not be available. Reference:
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, 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 After decompression, a Staf folder will appear, enter the folder
./stafinst
Install, default will be installed to/USR/LOCAL/STAF
3.3 Configure the environment variable, add the following code to the user who will run the 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 Modify the Staf.cfg file in the STAF installation directory/usr/local/staf/bin directory to configure trust relationships between machines. The IP configuration of the Windows machine into the config file. As follows:
# 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

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.