1MaterialsStudioforLinux安装教程软件版本:MaterialsStudio8.0操作系统:CentOS7x86_641161普通账户:zwz红字字体为敲入的代码或修改的内容,蓝色字体为注意事项,紫色字体为补充说明1.安装前的准备将MS软件、证书和库文件拷贝或上传至普通用户的根目录[zwz@zifeng~]$lsglibc-2.17-157.el7.i686.rpmlibgcc-4.8.5-11.el7.i686.rpmlibstdc++-4.8.5-11.el7.i686.rpmMaterialsStudio80.tgzmsi.licMusicperl5PicturesPublicTemplatesVideos切换至root用户[zwz@zifeng~]$suPassword:检查主机名[root@zifengzwz]#hostnamezifeng修改hosts文件[root@zifengzwz]#vi/etc/hosts127.0.0.1zifenglocalhostlocalhost.localdomainlocalhost4localhost4.localdomain4::1localhostlocalhost.localdomainlocalhost6localhost6.localdomain6关闭防护墙[root@zifengzwz]#systemctlstopfirewalld.service[root@zifengzwz]#systemctldisablefirewalld.serviceRemovedsymlink/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.Removedsymlink/etc/systemd/system/basic.target.wants/firewalld.service.当操作系统为CentOS6等时,如下执行:[root@zifengzwz]#serviceiptablesstop[root@zifengzwz]#chkconfigiptablesoff更改SELiunx为disabled[root@zifengzwz]#vi/etc/selinux/config#ThisfilecontrolsthestateofSELinuxonthesystem.#SELINUX=cantakeoneofthesethreevalues:#enforcing-SELinuxsecuritypolicyisenforced.#permissive-SELinuxprintswarningsinsteadofenforcing.#disabled-NoSELinuxpolicyisloaded.SELINUX=disabled#SELINUXTYPE=cantakeoneofthreetwovalues:#targeted-Targetedprocessesareprotected,2#minimum-Modificationoftargetedpolicy.Onlyselectedprocessesareprotected.#mls-MultiLevelSecurityprotection.SELINUXTYPE=targeted检查库文件是否齐全[root@zifengzwz]#rpm-qa|greplibgcclibgcc-4.8.5-11.el7.x86_64[root@zifengzwz]#rpm-qa|grepglibccompat-glibc-2.12-4.el7.centos.x86_64glibc-devel-2.17-157.el7.x86_64glibc-common-2.17-157.el7.x86_64compat-glibc-headers-2.12-4.el7.centos.x86_64glibc-headers-2.17-157.el7.x86_64glibc-2.17-157.el7.x86_64[root@zifengzwz]#rpm-qa|greplibstdc++libstdc++-4.8.5-11.el7.x86_64libstdc++-devel-4.8.5-11.el7.x86_64要求这三个库文件的32位、64为位程序都安装,发现缺少32位libgcc-4.8.5-11.el7.i686、glibc-2.17-157.el7.i686和libstdc++-4.8.5-11.el7.i686程序。安装库文件[root@zifengzwz]#rpm-ivhlibgcc-4.8.5-11.el7.i686.rpmWarning:libgcc-4.8.5-11.el7.i686.rpm:HeaderV3RSA/SHA256Signature,keyIDf4a80eb5:NOKEYPreparing...#################################[100%]Updating/installing...1:libgcc-4.8.5-11.el7#################################[100%]由于yum初始化安装时,安装了旧版本的GPGkeys,不能正常安装glibc-2.17-157.el7.i686.rpm和libstdc++-4.8.5-11.el7.i686.rpm,解决方法如下:首先,引入已安装的publickey[root@zifengzwz]#rpm--import/etc/pki/rpm-gpg/RPM*再强制安装glibc-2.17-157.el7.i686.rpm和libstdc++-4.8.5-11.el7.i686.rpm[root@zifengzwz]#rpm-ivhglibc-2.17-157.el7.i686.rpm--force--nodepsPreparing...#################################[100%]Updating/installing...1:glibc-2.17-157.el7#################################[100%][root@zifengzwz]#rpm-ivhlibstdc++-4.8.5-11.el7.i686.rpm--force--nodepsPreparing...#################################[100%]Updating/installing...1:libstdc++-4.8.5-11.el7#################################[100%]缺少的库文件可以在CentOS7的安装包(解压CentOSx86_64Everything1611.iso)中找到。不同版本的Linux操作系统所需要的库文件不同,视具体情况而定。若服务器能联网,也可采用下列方式安装缺少的库文件:3[root@zifengzwz]#yuminstalllibgcc.i686[root@zifengzwz]#yuminstallglibc.i686[root@zifengzwz]#yuminstalllibstdc++.i686重启服务器[root@zifengzwz]#reboot2.安装MaterialsStudio以普通用户登录,解压安装包MaterialsStudio8.0forLinux.tgz[zwz@zifeng~]$tar-zxvfMaterialsStudio80.tgzMaterialsStudio80/MaterialsStudio80/MaterialsStudio_InstallGuide.jsMaterialsStudio80/MaterialsStudio_InstallGuide.htm……进入解压后的MaterialsStudio80文件夹,运行install命令进行安装,安装采用默认设置,回车下一步[zwz@zifengMaterialsStudio80]$cdMaterialsStudio80[zwz@zifengMaterialsStudio80]$./installPerformingper-userinstallationofMaterialsStudio8.0.RestartthisinstallationasrootifyouwishtoperformanRPM-basedinstallation.PleaseenterthelocationinwhichtoinstallMaterialsStudio8.0ThelocationwhereMaterialsStudiowillbeinstalledisinstalllocation/MaterialsStudio8.0[/home/zwz/Accelrys]TheAccelrysLicensePackisrequiredinordertorunMaterialsStudio8.0.PleaseenterthelocationofaLicensePackinstallation,oranemptydirectoryintowhichtheLicensePackwillbeinstalled.[/home/zwz/Accelrys]/home/zwz/AccelrysdoesnotappeartocontainasupportedLicensePackinstallation.Wouldyouliketoinstallittothatlocation?[Y/n][Y]DoyouwishtostarttheGatewayserviceafterinstallation?Answernohereifyouwishtoconfiguresecuritysettingsbeforestarting.(Y/n)[Y]RunningLicensePackinstallation...InitializingInstallShieldWizard........LaunchingInstallShieldWizard........4/home/zwz/MaterialsStudio80/LicensePack/lp_setup_linux.sh:line1735:warning:here-documentatline1735delimitedbyend-of-file(wanted`/dev/null')-------------------------------------------------------------------------------AccelrysLicensePack7.6.11-InstallShieldWizardWelcometotheInstallShieldWizardforAccelrysLicensePack7.6.11TheInstallShieldWizardwillinstallAccelrysLicensePack7.6.11onyourcomputer.Tocontinue,chooseNext.AccelrysLicensePack7.6.11AccelrysSoftwareInc.[1]-------------------------------------------------------------------------------AccelrysLicensePack7.6.11-InstallShieldWizardAccelrysLicensePack7.6.11InstallLocationPleasespecifyadire