Tecplot MacOS 版安装
2018-04-03 本文已影响0人
Yao_Fairytale
1. 正常安装
2. 打开Terminal 输入 sudo vim /etc/hosts
在hosts 文件中加入一行
127.0.0.1 download.tecplot.com
3. 双击打开rlm

Terminal中显示

4. 打开安装好的Tecplot 选中 Network license
并且如图所示填入 "License server name": localhost
"Port number" : 5053
点击OK。软件就成功激活好了。

5. 激活好后不想每次重启电脑就需要重新激活的话,方法如下
a. 首先将所有激活文件拷贝到任意你喜欢的文件夹,例如我的路径是 /Applications/Tecplot/
mkdir /Applications/Tecplot/
b. 创建 com.tecplot.rlm.plist 文件如下,并保存。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.tecplot.rlm</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Tecplot/rlm</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/var/log/tecplot.log</string>
<key>StandardOutPath</key>
<string>/var/log/tecplot.log</string>
</dict>
</plist>
c. 将创建好的 com.tecplot.rlm.plist 文分别拷贝到文件夹 ~/Library/LaunchAgents/ 和 /Library/LaunchDaemons/ 就好了,这样开机就会自动开启rlm服务。
sudo cp com.tecplot.rlm.plist ~/Library/LaunchAgents/
sudo cp com.tecplot.rlm.plist /Library/LaunchDaemons/