4. 在shell提示符下键入
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
5. 在提示符号下键入STAFProc& 确认STAFProc能正确运行
6. 在STAF的安装路径(/usr/local/staf/)下创建一个services文件夹,将STAX的安装包介压到services文件夹下.
tar xvf STAX*.tar
cp -rf stax /usr/local/staf/services/