Materials Studio Linux端 安装教程
首先检查主机名。# hostname
检查hosts文件,主要是为了把主机名加入本地回环中。
# vi /etc/hosts
修改后的hosts文件内容如下
127.0.0.1 MSserver localhost localhost.localdomain
检查系统所需的库文件是否齐全(一般是不齐全的):
# rpm -qa|grep glibc; rpm -qa|grep libgcc; rpm -qa|grep libstdc++ ;rpm -qa|grep redhat-lsb
这些库都要有。如果缺少哪个库,自行去查询和安装。
库安装后重启使之生效。
创建普通用户并设置密码
Su到普通用户下进行安装
cd ~/install
tar zxvf 'Materials Studio.tar' 解压文件
cd ~/install/MaterialsStudio
./install 执行安装
进入安装界面后一直按回车使用默认设置即可,最后安装完毕后输入99结束。
下面又是License的问题了。
打开msi.lic文件,把文件中的主机名替换为你服务器的主机名。
保存在/home/用户目录/BIOVIA/BIOVIA_LicensePack/Licenses/这个文件夹下。
然后就进入/home/用户目录/BIOVIA/BIOVIA_LicensePack/etc文件夹,安装license。
[q@MSserveretc]$ . lp_profile
[q@MSserveretc]$ lp_server –s
最后把Gateway放在开机启动列表中,换到root账户去,
[root@MSserveretc]# cd /home/用户目录/BIOVIA/MaterialsStudio20/etc/Gateway/
[root@MSserverGateway]# cp msgateway_control_18888 /etc/rc.d/init.d/
[root@MSserverGateway]# chkconfig --add msgateway_control_18888
安装全部完成!
把端口18888添加防火墙例外,或者关闭防火墙。