怎么开启sas pc files server

一、软件准备

1、 SAS

2、安装JRE

如果没装JRE,可能会卡在安装JAVA运行时环境多个小时无反应

记下JRE的安装目录 C:\Program Files (x86)\Java\jre6\ 备用

也可选1.7的版本(文件名为“jre-7u15-windows-i586.exe”,约30MB),1.7的安装后地址一般是:C:\Program Files (x86)\Java\jre7\

——无论是32位,还是64位Windows都得安装32位版本的JRE,所以下载的时候要看清楚文件名包含"windows-i586"字样的exe文件。。。错误下载了64位版本的JRE就悲剧了。

3、准备SID文件

文件名任意,如 SAS9.3 X64_2013_SID.txt 内容如下(拷贝后存为txt文件):

[_SID_]

Version=9.3

Revision=9.3

Platform_long=Microsoft Windows Workstation for x64

Platform_short=wx6

Order=99CKGN

License_prod=SAS

Setnumid=70082279

SID_schema=2

ph_agreement=PROMPT

SID_header=SAS 9.3

[_Info_]

[_FileData_]

$_Filename=setinit.sss

$_Path=sas\core\sasinst\

$_Date=

$_Time=

$_Stream=-------------------- BEGIN --------------------

PROC SETINIT RELEASE='9.3';

SITEINFO NAME='UNIVERSITY OF AUCKLAND - EAS'

SITE=10003679 OSNAME='WX64_WKS' RECREATE WARN=15 GRACE=15

BIRTHDAY='11DEC2012'D EXPIRE='31DEC2013'D PASSWORD=484805459;

CPU MODEL=' ' MODNUM=' ' SERIAL=' ' NAME=CPU000;

EXPIRE 'PRODNUM000' 'PRODNUM001' 'PRODNUM002' 'PRODNUM003'

'PRODNUM004' 'PRODNUM005' 'PRODNUM006' 'PRODNUM007' 'PRODNUM008'

'PRODNUM010' 'PRODNUM012' 'PRODNUM013' 'PRODNUM015' 'PRODNUM018'

'PRODNUM025' 'PRODNUM035' 'PRODNUM045' 'PRODNUM050' 'PRODNUM054'

'PRODNUM070' 'PRODNUM075' 'PRODNUM095' 'PRODNUM110' 'PRODNUM119'

'PRODNUM123' 'PRODNUM164' 'PRODNUM165' 'PRODNUM166' 'PRODNUM167'

'PRODNUM192' 'PRODNUM194' 'PRODNUM204' 'PRODNUM208' 'PRODNUM209'

'PRODNUM215' 'PRODNUM219' 'PRODNUM225' 'PRODNUM448' 'PRODNUM535'

'PRODNUM538' 'PRODNUM539' 'PRODNUM550' 'PRODNUM555' 'PRODNUM557'

'PRODNUM560' 'PRODNUM633' 'PRODNUM645' 'PRODNUM646' 'PRODNUM678'

'31DEC2013'D / CPU=CPU000;

SAVE; RUN;

*PRODNUM000 = BASE Base SAS;

*PRODNUM001 = STAT SAS/STAT;

*PRODNUM002 = GRAPH SAS/GRAPH;

*PRODNUM003 = ETS SAS/ETS;

*PRODNUM004 = FSP SAS/FSP;

*PRODNUM005 = OR SAS/OR;

*PRODNUM006 = AF SAS/AF;

*PRODNUM007 = IML SAS/IML;

*PRODNUM008 = QC SAS/QC;

*PRODNUM010 = SHARE SAS/SHARE;

*PRODNUM012 = LAB SAS/LAB;

*PRODNUM013 = ASSIST SAS/ASSIST;

*PRODNUM015 = CONNECT SAS/CONNECT;

*PRODNUM018 = INSIGHT SAS/INSIGHT;

*PRODNUM025 = EIS SAS/EIS;

*PRODNUM035 = SHARENET SAS/SHARE*NET;

*PRODNUM045 = MDDB SAS OLAP Server;

*PRODNUM050 = DMINESOL Enterprise Miner Server;

*PRODNUM054 = INTRNET SAS/Intrnet;

*PRODNUM070 = MDDBCOM MDDB Server common products;

*PRODNUM075 = INTTECHSRV SAS Integration Technologies;

*PRODNUM095 = SECUREWBNDL SAS/Secure Windows;

*PRODNUM110 = SASOLAPBNDL SAS OLAP Server;

*PRODNUM119 = EGUIDE SAS Enterprise Guide;

*PRODNUM123 = ESRIBRDGORD SAS Bridge for ESRI;

*PRODNUM164 = OROPT SAS/OR Optimization;

*PRODNUM165 = ORPRS SAS/OR Project and Resource Scheduling;

*PRODNUM166 = ORIVS SAS/OR Interactive Visualization and Simulation;

*PRODNUM167 = ORLSO SAS/OR Local Search Optimization;

*PRODNUM192 = DB2BNDL SAS/ACCESS DB2;

*PRODNUM194 = ORACLEBNDL SAS/ACCESS ORACLE;

*PRODNUM204 = SYBASE SAS/ACCESS SYBASE SQL;

*PRODNUM208 = PCFILE SAS/ACCESS PC File Formats;

*PRODNUM209 = ODBC SAS/ACCESS ODBC;

*PRODNUM215 = OLEDB SAS/ACCESS TO OLE DB;

*PRODNUM219 = TERADATABNDL SAS/ACCESS Teradata;

*PRODNUM225 = MYSQL SAS/ACCESS Intface MYSQL;

*PRODNUM448 = DMINEDESKTOP SAS Enterprise Miner for Desktop;

*PRODNUM535 = STATSTUDIO SAS/IML Studio;

*PRODNUM538 = WKSPSRVLOCAL SAS Workspace Server for Local Access;

*PRODNUM539 = WKSPSRVENT SAS Workspace Server for Enterprise Access;

*PRODNUM550 = NETEZZABNDL SAS/ACCESS Netezza;

*PRODNUM555 = ASTERBNDL SAS/ACCESS Interface to Aster nCluster;

*PRODNUM557 = GREENPLMBNDL SAS/ACCESS Interface to Greenplum;

*PRODNUM560 = SYBASEIQBNDL SAS/ACCESS Interface to Sybase IQ;

*PRODNUM633 = DFTRANDRVR DataFlux Driver for Transactional Database;

*PRODNUM645 = DFFEDSAS SAS Framework Data Server;

*PRODNUM646 = DFSCRFEDSAS DataFlux Secure;

*PRODNUM678 = AMOEXCEL SAS Add-in for Microsoft Excel;

*LICENSE=SAS 000061115869;

*SITEID=564803;

*0057240018 9.3;

*XYZ 564803;

$_Stream=--------------------- END ---------------------

$_Filename=tletter.txt

$_Path=.\

$_Date=

$_Time=

$_Stream=-------------------- BEGIN --------------------

Microsoft Windows Workstation for x64

Base SAS 31DEC2013

Education Analytical Suite 31DEC2013

SAS Bridge for ESRI 31DEC2013

SAS Enterprise Guide 31DEC2013

SAS Enterprise Miner for Desktop 31DEC2013

SAS Integration Technologies 31DEC2013

SAS OLAP Server 31DEC2013

SAS/ACCESS Interface to Aster nCluster 31DEC2013

SAS/ACCESS Interface to DB2 31DEC2013

SAS/ACCESS Interface to Greenplum 31DEC2013

SAS/ACCESS Interface to MySQL 31DEC2013

SAS/ACCESS Interface to Netezza 31DEC2013

SAS/ACCESS Interface to ODBC 31DEC2013

SAS/ACCESS Interface to OLE DB 31DEC2013

SAS/ACCESS Interface to Oracle 31DEC2013

SAS/ACCESS Interface to PC Files 31DEC2013

SAS/ACCESS Interface to Sybase 31DEC2013

SAS/ACCESS Interface to Sybase IQ 31DEC2013

SAS/ACCESS Interface to Teradata 31DEC2013

SAS/AF 31DEC2013

SAS/ASSIST 31DEC2013

SAS/CONNECT 31DEC2013

SAS/EIS 31DEC2013

SAS/ETS 31DEC2013

SAS/FSP 31DEC2013

SAS/GRAPH 31DEC2013

SAS/IML 31DEC2013

SAS/INSIGHT 31DEC2013

SAS/IntrNet 31DEC2013

SAS/LAB 31DEC2013

SAS/OR 31DEC2013

SAS/QC 31DEC2013

SAS/SECURE Windows 31DEC2013

SAS/SHARE 31DEC2013

SAS/STAT 31DEC2013

$_Stream=--------------------- END ---------------------

[_EOF_]

最关键点: SID中的

Order=99CKGN

Setnumid=70082279

应调整成与SAS9.3安装文件目录下order_data/.../order.xml中的一致

二、正式安装

1、启动安装程序setup.exe

2、语言选为中文(或英文)

3、终端用户任务 -->安装SAS软件,即默认项

(select Deployment Task End User Tasks --> Install SAS software )

4、因为安装的组件比较简单,所以这里选择“安装SAS foundation和相关软件”,而不必选择“执行计划的部署” (select Deployment type --> Install SAS Foundation and Related Software)

5、选择要安装的产品(select Products to Install) <Select All>我此处仅仅选择了SAS foundation,还有office plugin插件

6、select SAS Foundation Products <Select All>,,我其实没有选择DB2等不需要的数据库接口,甚至EG都没要。

7、指定SAS安装数据(SID)文件(Specify SAS Installation Data File )

如: D:\SAS 9.3 64bit_CUB\SAS93Win64install\sid_files\SAS9.3 X64_2013_SID.txt

如果sid_files目录中仅一个SID文件,SAS会自动读取路径

8、选择语言支持(select Language Support )

默认支持英文,就只再添了一个简体中文Chinese Simplified

9、 选择区域设置(select Regional Settings )

中文(中国) Chinese (China) [zh_CN] 即默认值

此处的“配置为unicode服务器”可以不打勾。

10、选择JAVA运行时环境(select Java Runtime Environment )

--> 选择现有的java运行时环境(select an existing Java Runtime Environment )

--> C:\Program Files (x86)\Java\jre7\ 即准备阶段得到的

如果弹出防火墙警报,选择 <允许访问>

可能有:11、指定Internet浏览器(Specify Internet Browser) 自定义

可能有:12、 指定SAS/GRAPH Java Applet部署目录(Specify SAS/GRAPH Java Applet Deployment Directory) 自定义部署目录

13、 选择SAS PC文件服务器系统服务选项(select SAS PC Files Server System Service Option) 不需要windows启动时自动启动, 去掉勾

可能有:14、 指定SAS PC文件服务器端口(Specify SAS PC Files Server Port) 9621 即默认值

可能有:15、 SAS环境URL (SAS Environments URL) 空着

16、指定SAS Text Analytics Document Conversion 主机和端口( Specify SAS Text Analytics Document Conversion Host and Port) 7111 即默认值

17、正在检查系统( Checking System) , OK

18、Deployment in Progress 不到半小时 (I5处理器,4G内存,1T 7200rpm硬盘,显示大约占用4G硬盘空间)

完成安装

三、其他问题:

1、 仅选择需要的模块。

网上教程选择组件时都选择“全选”。其实如果全选,后续需要的配置也越麻烦。很多功能都用不上,建议保持默认,甚至只安装自己需要的模块,一路安装只需要填写安装路径与JAVA环境路径。

2、 如果不是一次成功安装,有时会卡在磁盘空间检查的某个百分比上。

原因:安装目录下 \Program Files\SASHome在验证磁盘时候,会生成很多测试文件,而安装失败强制停止,会留下文件垃圾,并影响下次安装验证。

解决:每一次安装前,都删除SAShome目录下所有文件,磁盘验证就可以顺利通过。

3、安装程序阶段,有几个组件报错,一般都不重要,忽略之。

4、安装成功后,在windows开始菜单SAS-Utilitis -->续订SAS软件,可导入最新SID。