admin 管理员组

文章数量: 1086019


2024年6月6日发(作者:rid的过去式过去分词现在分词)

Materials Studio for Linux安装教程

软件版本:Materials Studio 8.0 操作系统:CentOS 7 x86_64 1161 普通账户:zwz

红字字体为敲入的代码或修改的内容,蓝色字体为注意事项,紫色字体为补充说明

1. 安装前的准备

 将MS软件、证书和库文件拷贝或上传至普通用户的根目录

[zwz@zifeng ~]$ ls

libstdc++- Materials

Music perl5 Pictures Public Templates Videos

 切换至root用户

[zwz@zifeng ~]$ su

Password:

 检查主机名

[root@zifeng zwz]# hostname

zifeng

 修改hosts文件

[root@zifeng zwz]# vi /etc/hosts

127.0.0.1 zifeng localhost omain localhost4 omain4

::1 localhost omain localhost6 omain6

 关闭防护墙

[root@zifeng zwz]# systemctl stop e

[root@zifeng zwz]# systemctl disable e

Removed symlink /etc/systemd/system/e.

Removed symlink /etc/systemd/system//e.

当操作系统为CentOS 6等时,如下执行:

[root@zifeng zwz]# service iptables stop

[root@zifeng zwz]# chkconfig iptables off

 更改SELiunx为disabled

[root@zifeng zwz]# vi /etc/selinux/config

# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

# enforcing - SELinux security policy is enforced.

# permissive - SELinux prints warnings instead of enforcing.

# disabled - No SELinux policy is loaded.

SELINUX=disabled

# SELINUXTYPE= can take one of three two values:

# targeted - Targeted processes are protected,

1

# minimum - Modification of targeted policy. Only selected processes are protected.

# mls - Multi Level Security protection.

SELINUXTYPE=targeted

 检查库文件是否齐全

[root@zifeng zwz]# rpm -qa|grep libgcc

7.x86_64

[root@zifeng zwz]# rpm -qa|grep glibc

.x86_64

7.x86_64

7.x86_64

.x86_64

7.x86_64

7.x86_64

[root@zifeng zwz]# rpm -qa|grep libstdc++

libstdc++-7.x86_64

libstdc++-7.x86_64

要求这三个库文件的32位、64为位程序都安装,发现缺少32位7.i686、glibc-2.17-

7.i686和libstdc++-7.i686程序。

 安装库文件

[root@zifeng zwz]# rpm -ivh

Warning:: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY

################################# [100%]

Updating /

1:7 ################################# [100%]

由于yum初始化安装时,安装了旧版本的GPG keys,不能正常安装和

libstdc++-,解决方法如下:

首先,引入已安装的public key

[root@zifeng zwz]# rpm --import /etc/pki/rpm-gpg/RPM*

再强制安装和libstdc++-

[root@zifeng zwz]# rpm -ivh --force --nodeps

################################# [100%]

Updating /

1:7 ################################# [100%]

[root@zifeng zwz]# rpm -ivh libstdc++- --force --nodeps

################################# [100%]

Updating /

1:libstdc++-7 ################################# [100%]

缺少的库文件可以在CentOS 7的安装包(解压CentOS x86_64 Everything )中找到。不同版本的

Linux操作系统所需要的库文件不同,视具体情况而定。若服务器能联网,也可采用下列方式安装缺

少的库文件:

2

[root@zifeng zwz]# yum install libgcc.i686

[root@zifeng zwz]# yum install glibc.i686

[root@zifeng zwz]# yum install libstdc++.i686

 重启服务器

[root@zifeng zwz]# reboot

2. 安装Materials Studio

 以普通用户登录,解压安装包Materials Studio 8.0 for

[zwz@zifeng ~]$ tar -zxvf

MaterialsStudio80/

MaterialsStudio80/MaterialsStudio_

MaterialsStudio80/MaterialsStudio_

……

 进入解压后的MaterialsStudio80文件夹,运行install命令进行安装,安装采用默认设置,回车下一

[zwz@zifeng MaterialsStudio80]$ cd MaterialsStudio80

[zwz@zifeng MaterialsStudio80]$ ./install

Performing per-user installation of Materials Studio 8.0. Restart this

installation as root if you wish to perform an RPM-based installation.

Please enter the location in which to install Materials Studio 8.0

The location where Materials Studio will be installed is /MaterialsStudio8.0

[/home/zwz/Accelrys]

The Accelrys License Pack is required in order to run Materials Studio 8.0.

Please enter the location of a License Pack installation, or an empty directory

into which the License Pack will be installed.

[/home/zwz/Accelrys]

/home/zwz/Accelrys does not appear to contain a supported License Pack installation. Would you like to

install it to that location? [Y/n]

[Y]

Do you wish to start the Gateway service after installation? Answer no here if

you wish to configure security settings before starting. (Y/n)

[Y]

Running

Initializing

Launching

3

/home/zwz/MaterialsStudio80/LicensePack/lp_setup_: line 1735: warning: here-document at line 1735

delimited by end-of-file (wanted `/dev/null')

-------------------------------------------------------------------------------

Accelrys License Pack 7.6.11 - InstallShield Wizard

Welcome to the InstallShield Wizard for Accelrys License Pack 7.6.11

The InstallShield Wizard will install Accelrys License Pack 7.6.11 on your

computer.

To continue, choose Next.

Accelrys License Pack 7.6.11

Accelrys Software Inc.

Press 1 for Next, 3 to Cancel or 5 to Redisplay [1]

-------------------------------------------------------------------------------

Accelrys License Pack 7.6.11 - InstallShield Wizard

Accelrys License Pack 7.6.11 Install Location

Please specify a directory or press Enter to accept the default directory.

Destination Directory [/home/zwz/Accelrys]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

-------------------------------------------------------------------------------

Accelrys License Pack 7.6.11 - InstallShield Wizard

Select the features for "Accelrys License Pack 7.6.11" you would like to

install:

Accelrys License Pack 7.6.11

To select/deselect a feature or to view its children, type its number:

1. [x] LicensePack

4

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.11 - InstallShield Wizard

Accelrys License Pack 7.6.11 will be installed in the following location:

/home/zwz/Accelrys/LicensePack

with the following features:

LicensePack

for a total size:

157.7 MB

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

-------------------------------------------------------------------------------

Accelrys License Pack 7.6.11 - InstallShield Wizard

|-----------|-----------|-----------|------------|

0% 25% 50% 75% 100%

|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

5

Installing Accelrys License Pack 7.6.11.

Finalizing the Vital Product Data Registry.

Configuring License Pack

-------------------------------------------------------------------------------

Accelrys License Pack 7.6.11 - InstallShield Wizard

The InstallShield Wizard has successfully installed Accelrys License Pack

7.6.11. Choose Finish to exit the wizard.

Press 3 to Finish or 5 to Redisplay [3]

Running installation ...

Running

/usr/bin/free: invalid option -- 'o'

Usage:

free [options]

Options:

-b, --bytes show output in bytes

-k, --kilo show output in kilobytes

-m, --mega show output in megabytes

-g, --giga show output in gigabytes

--tera show output in terabytes

-h, --human show human-readable output

--si use powers of 1000 not 1024

-l, --lohi show detailed low and high memory statistics

-t, --total show total for RAM + swap

-s N, --seconds N repeat printing every N seconds

-c N, --count N repeat printing N times, then exit

-w, --wide wide output

--help display this help and exit

-V, --version output version information and exit

For more details see free(1).

6

Port 18888 appears to be available

Starting gateway at:

zifeng:18888/

/home/zwz/Accelrys/MaterialsStudio8.0/etc/Gateway/root_default/httpd/bin/apachectl start: httpd started

Gateway start succeeded - running as process 10355.

Testing gateway installation for script u/dsd_

Running GET for url zifeng:18888/dsd/commands/u/dsd_

It works! ...

This is the simple cgi test output ...

Test succeeded, it appears!

1) Enter temporary license password

2) Set connection to license server

3) List command line license administration tools

99) Finished with license configuration

Choose one of the above options: Invalid response. Choices are: <1/2/3/99>

Choose one of the above options: 99

Exiting program

 修改证书的hostname

[zwz@zifeng MaterialsStudio80]$ cd

[zwz@zifeng ~]$ vi

SERVER zifeng ANY 25100

VENDOR msi

……

 复制证书至Licenses目录

[zwz@zifeng ~]$ cp Accelrys/LicensePack/Licenses/

 启动Licenses服务

[zwz@zifeng ~]$ cd Accelrys/LicensePack/etc/

[zwz@zifeng etc]$ ls

lp_archiver lp_cshrc lp_env_cleanup lp_lmenv lp_plat_cshrc

lp_config lp_echovars lp_ldenv lp_mpi_vars lp_profile

[zwz@zifeng etc]$ . lp_profile

[zwz@zifeng etc]$ lp_server -s

Attempting to start

Server has been started.

7

lp_server_check

Run lp_set_env

OR

csh: source /home/zwz/Accelrys/LicensePack/etc/lp_cshrc

sh: . /home/zwz/Accelrys/LicensePack/etc/lp_profile

to refresh shell license administration environment setup.

3. 安装后的操作

 添加Gateway服务至开机自启动列表

[zwz@zifeng etc]$ cd

[zwz@zifeng ~]$ su

Password:

[root@zifeng zwz]# cd Accelrys/MaterialsStudio8.0/etc/Gateway/

[root@zifeng Gateway]# cp ./msgateway_control_18888 /etc/rc.d/init.d/

[root@zifeng Gateway]# chkconfig --add msgateway_control_18888

 添加Licenses服务至开机自启动列表

[root@zifeng Gateway]# pwd

/home/zwz/Accelrys/MaterialsStudio8.0/etc/Gateway

[root@zifeng Gateway]# vi /etc/rc.d/

#!/bin/bash

# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES

#

# It is highly advisable to create own systemd services or udev rules

# to run scripts during boot instead of using this file.

#

# In contrast to previous versions due to parallel execution during boot

# this script will NOT be run after all other services.

#

# Please note that you must run 'chmod +x /etc/rc.d/' to ensure

# that this script will be executed during boot.

touch /var/lock/subsys/local

. /home/zwz/Accelrys/MaterialsStudio8.0/etc/lp_profile

lp_server –s

备注:不同版本Materials Studio在不同版本Linux操作系统上的安装方法大同小异,不同版本的Linux

系统所需要的库文件有所不同,导入msi证书时需注意Hostname(主机名)。

8


本文标签: 安装 文件 证书 字体 采用