1,上传软件包MaterialsStudio70.tgz、msi_7.lic到服务器上。
2,安装ms一般会创建一个普通用户msi,软件安装在msi账号下。
创建用户msi: useradd msi切换到msi用户: su – msi
tar xvf /opt/MaterialsStudio70.tgzcd MaterialsStudio70/
[msi@hpc MaterialsStudio70]$ ./install Performing per-user installation of Materials Studio 7.0. Restart thisinstallation as root if you wish to perform an RPM-based installation.Please enter the location in which to install Materials Studio 7.0The location where Materials Studio will be installed is/MaterialsStudio7.0[/home/msi/Accelrys] 默认回车The Accelrys License Pack is required in order to run Materials Studio 7.0.Please enter the location of a License Pack installation, or an empty directoryinto which the License Pack will be installed.[/home/msi/Accelrys] 默认回车/home/msi/Accelrys does not appear to contain a supported License Pack installation. Would you like toinstall it to that location? [Y/n][Y] 默认回车Do you wish to start the Gateway service after installation? Answer no here ifyou wish to configure security settings before starting. (Y/n)[Y] 默认回车
Running LicensePack installation...
-------------------------------------------------------------------------------
Accelrys License Pack 7.6.9 - InstallShield WizardWelcome to the InstallShield Wizard for Accelrys License Pack 7.6.9The InstallShield Wizard will install Accelrys License Pack 7.6.9 on yourcomputer.To continue, choose Next.Accelrys License Pack 7.6.9Accelrys Software Inc.http://www.accelrys.com Press 1 for Next, 3 to Cancel or 5 to Redisplay [1] 默认回车-------------------------------------------------------------------------------Accelrys License Pack 7.6.9 - InstallShield WizardAccelrys License Pack 7.6.9 Install LocationPlease specify a directory or press Enter to accept the default directory.Destination Directory [/home/msi/Accelrys] 默认回车Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 默认回车 Accelrys License Pack 7.6.9 - InstallShield WizardSelect the features for "Accelrys License Pack 7.6.9" you would like toinstall: Accelrys License Pack 7.6.9 To select/deselect a feature or to view its children, type its number: 1. [x] LicensePack 2. [ ] Compatibility LicensePack The Compatibility LicensePack is required for supporting Accelrys software shipped with License Packs 6.x or lower and to support IRIX and Solaris platforms. See License Pack documentation for complete list of Accelrys software supported by this License Pack. Other options: 0. Continue installing Enter command [0] 默认回车Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 默认回车Accelrys License Pack 7.6.9 - InstallShield WizardAccelrys License Pack 7.6.9 will be installed in the following location:/home/msi/Accelrys/LicensePackwith the following features:LicensePackfor a total size:157.7 MBPress 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 默认回车Accelrys License Pack 7.6.9 - InstallShield WizardInstalling Accelrys License Pack 7.6.9. Please wait...|-----------|-----------|-----------|------------|0% 25% 50% 75% 100%||||||||||||||||||||||||||||||||||||||||||||||||||Creating uninstaller...Finalizing the Vital Product Data Registry. Please wait...Configuring License Pack-------------------------------------------------------------------------------Accelrys License Pack 7.6.9 - InstallShield WizardThe InstallShield Wizard has successfully installed Accelrys License Pack7.6.9. Choose Finish to exit the wizard.Press 3 to Finish or 5 to Redisplay [3] 默认回车Running ConfigureMaterialsStudio.plGateway configuration...Port 18888 appears to be available right now...Starting gateway at: http://hpc:18888//home/msi/Accelrys/MaterialsStudio7.0/etc/Gateway/root_default/httpd/bin/apachectl start: httpd startedGateway start succeeded - running as process 8792.Testing gateway installation for script u/dsd_test.plRunning GET for url http://hpc:18888/dsd/commands/u/dsd_test.plIt works! ...This is the simple cgi test output ...Test succeeded, it appears!1) Enter temporary license password2) Set connection to license server3) List command line license administration tools99) Finished with license configuration Choose one of the above options: 99 完成退出Exiting program
3,激活
使用yum安装缺少的软件包
yum install libstdc++-4.4.6-3.el6.i686
将license文件复制到当前目录,如msi_7.lic
修改msi_7.lic中第一行的this_host为主机名,如:
SERVER hpc ANY 27000
使用下面命令激活:
~/Accelrys/LicensePack/linux/bin/lp_install msi_7.lic
4,设置GateWay开机自动启动(如果使用windows下的ms客户端连接到linux上使用需要开启Gateway,如果使用命令行则不需要启动)
切换到root用户:
复制gateway启动文件 cp ~msi/Accelrys/MaterialsStudio7.0/etc/Gateway/msgateway_control_18888 /etc/init.d/设置开机启动chkconfig msgateway_control_18888 on重启服务service msgateway_control_18888 restart
5,验证gateway
打开浏览器,输入,如果能打开界面则成功。
6,使用Windows客户端连接到Linux计算
在MS软件windows下的客户端中添加服务器的Gateway,计算的时候选择Linux的Gateway就可以从windows直接调用linux计算,
完成后将计算返回到windows下,且如果计算中windows客户端软件关闭或关机均不影响计算。
添加Gateway的步骤如下:
1)打开菜单Tools->Server Console,进入配置界面
2)右键选择Server Gateway新建一个Gateway
3)输入Linux服务器的ip地址,默认端口18888,点Run Diagnostics测试Gateway是否正常,如图所示验证成功,点OK关闭窗口
4)计算的时候选择Gateway为Linux服务器就可以了,其他的与本地计算相同。