搭建houdini_license_server 服務器
一、意義:
一台 “houdini_license_sever” 服務器,其他終端只要讀取"houdini_license_server"中的“許可證”信息,其他終端即可獲得“軟件授權”!因此,一台“houdini_license_sever”服務器,可以為“多台”houdini終端“授權”。簡言之,一台具有“授權”的HoudiniLicenseServer作為“許可證服務器”,其他的操作系統的客戶端也可以讀取“許可證服務器”的授權碼。
二、應用環境:
-- 1、server(houdini_license_server )
---- os : cn_windows_10_enterprise_ltsc_2019_x64_dvd_9c09ff24.iso
---- ip : 192.168.1.21
---- houdini: houdini-18.0.391-win64-vc141.exe
-- 2、client_1(houdini_client_1)
---- os : cn_windows_10_enterprise_ltsc_2019_x64_dvd_9c09ff24.iso
---- ip : 192.168.1.106
---- houdini : houdini-18.0.391-win64-vc141.exe
-- 3、client_2(houdini_client_2)
---- os : CentOS-8.1.1911-x86_64-dvd1.iso
---- ip : 192.168.1.104
---- houdini : houdini-py3-18.0.442-linux_x86_64_gcc6.3.tar.gz
----- download_web: https://www.sidefx.com/download/daily-builds/#category-devel (houdini python3)
三、安裝過程:
-- server 安裝(license_sever):
---- 1、選擇安裝程序:只勾選“License Server”;
---- 2、保持“默認安裝路徑”安裝;
---- 3、在開始菜單,以管理員權限運行“License Administrator 18.0.391”;
---- 4、"houdini License Administrator 18.0.391" -- “File”-- "Manually Enter Keys..." 輸入授權keys;
---- 5、查看“Server Name”;"houdini License Administrator 18.0.391" --“Server Information”-- "Server Name = laohu 192.168.80.1";Server Name =“laohu”或者“192.168.1.21”;
-- client_1 終端安裝(houdini_client_1):
---- 1、選擇安裝程序:勾選“Main Application”、"File Associations"、"License Server"、"Desktop Icon" 共計4項;
---- 2、保持“默認安裝路徑”安裝;
---- 3、在開始菜單,以管理員權限運行“License Administrator 18.0.391”;
---- 4、"houdini License Administrator 18.0.391" -- “File”-- "Change License Server" 輸入授權“laohu”或者"192.168.1.21"("192.168.1.21" 是server的ip地址,這里是重點);
== client_2終端安裝(houdini_client_2):開始
-a 安裝前的准備:
-a1- 安裝開發工具:
[root@book ~]# dnf grouplist
[root@book ~]# dnf groupinstall "Development Tools"
-a2- 配置python3:
[root@book ~]# whereis python
python: /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python /usr/lib/python3.6 /usr/lib64/python3.6 /usr/include/python3.6m /usr/share/man/man1/python.1.gz
[root@book ~]# ln -s /usr/bin/python3.6 /usr/bin/python
-a3- 安裝幾個庫文件:
---- [root@book ~]# dnf -y install libXScrnSaver
---- [root@book ~]# dnf -y install mesa-libGLU
---- [root@book ~]# dnf -y install libnsl
-b 安裝Houdini
-b1- 解壓:
---- [root@book houdini18]# tar -xzvf houdini-py3-18.0.442-linux_x86_64_gcc6.3.tar.gz
-b2- 安裝:
--b2.1-- [root@book houdini18]# cd houdini-py3-18.0.442-linux_x86_64_gcc6.3/
--b2.2-- [root@book houdini-py3-18.0.442-linux_x86_64_gcc6.3]# ./houdini.install
--b2.3-- Enter yes or no
--b2.3-- Do you agree to the above license terms? [yes or no] yes
--b2.4-- What is your selection (1-7,D,F,Q) [F] ==> f
--b2.5-- Would you like to start the installation? (y or n) [y] ==> y
-b3- 運行:
First way;
--b3.1-- executing houdini in "show applications" -- "HoudiniFX 18.0.442"
Anther way:
--b3.1-- [root@book ~]# cd /opt/hfs18.0
--b3.2-- [root@book hfs18.0]#
--b3.3-- [root@book hfs18.0]# source houdini_setup
--b3.4-- [root@book hfs18.0]# houdini --no-sandbox
--b3.5-- first, when hsever is running, you must select "run" item ;
--b3.6-- then, select 'fisrt' item of license -- (non-commercial permit) ;
--b3.7-- enjoyed houdini18 (non-commercial permit) !
=houdini_linux 從“houdini_license_server”讀取“軟件授權碼”(超級重點)
--說明:houdini_linux 讀取windows的“houdini_license_server”的“軟件授權碼”(跨越不同操作系統,跨越houdini不同軟件版本)。
-- 實現方法:
---- [root@book ~]# cd /opt/hfs18.0
---- [root@book hfs18.0]# ls
bin houdini_filelist houdini_setup_csh packages toolkit
dsolib houdini_logo.png houdini_symlinklist python
engine houdini_setup houdini.uninstall qt
houdini houdini_setup_bash installDesktopItems.py Readme.txt
---- [root@book hfs18.0]# source houdini_setup
The Houdini 18.0.442 environment has been initialized.
---- [root@book hfs18.0]# hkey --no-sandbox
---- " Houdini License Administrator 18.0.442(linux-x86-64-gcc6.3) " -- "File" -- "Change License Server...";
---- License Server Host = 192.168.1.21 (License Server Host = houdini_license_server_ip)
---- enjoy houdini !
-c 常見問題:
-- c1、 open your houdini license server(sesinetd 服務)
---- [root@book ~]# cd /opt/hfs18.0
---- [root@book hfs18.0]# ls
bin houdini_filelist houdini_setup_csh packages toolkit
dsolib houdini_logo.png houdini_symlinklist python
engine houdini_setup houdini.uninstall qt
houdini houdini_setup_bash installDesktopItems.py Readme.txt
---- [root@book hfs18.0]# source houdini_setup
The Houdini 18.0.442 environment has been initialized.
---- [root@book hfs18.0]# hkey --no-sandbox
-- c2、 open your houdini in linux
---- [root@book ~]# cd /opt/hfs18.0
---- [root@book hfs18.0]# ls
bin houdini_filelist houdini_setup_csh packages toolkit
dsolib houdini_logo.png houdini_symlinklist python
engine houdini_setup houdini.uninstall qt
houdini houdini_setup_bash installDesktopItems.py Readme.txt
---- [root@book hfs18.0]# source houdini_setup
The Houdini 18.0.442 environment has been initialized.
---- [root@book hfs18.0]# houdini --no-sandbox
-- c3、invalid computer name(change your name of computer )
-- first way --
---- [root@book hfs18.0]# hostname
book
---- [root@book hfs18.0]# vim /etc/hostname
---- ---- input your computer name (i input "book")
---- ---- :wq
---- [root@book hfs18.0]# reboot
-- anther way to change your computer's name --
---- [root@book hfs18.0]# hostnamectl set-hostname book
---- [root@book hfs18.0]# reboot
-- c4、houdini license server is not running (houdini license server = sesinetd)
----[root@book ~]# chkconfig --list | grep "sesinetd"
----[root@book ~]# /etc/init.d/sesinetd start (start houdini license server)
----[root@book ~]# chkconfig sesinetd on (auto start sesinetd ,when you start your computer);
-- c5、 --no-sandbox
---- [root@book hfs18.0]# source houdini_setup
The Houdini 18.0.442 environment has been initialized.
---- [root@book hfs18.0]# hkey --no-sandbox
---- [root@book hfs18.0]# houdini --no-sandbox
-- c6、既然你下勇敢的使用了"linux "版本的houdini軟件,那么你就得接受houdini經常崩潰的命運,哈哈哈……!
== client_2終端安裝(houdini_client_2):結束
四、 注意事項:
---- houdini_license_sever 和 client必須能夠相互通信;即houdini_license_sever 能ping通 client ,client 能ping通houdini_license_server;
---- ---- server_ip:192.168.1.21
---- ---- client_ip:192.168.1.106
---- ---- "server" ping "client" : ping 192.168.1.106
---- ---- "client" ping "server" : ping 192.168.1.21
---- 網絡暢通,ping不通的原因:
---- ----“win10 防火牆”開啟了,關閉后再ping;也可能是360之類的安全軟件導致無法ping通,關閉后再ping;
---- ---- 查看“HoudiniLicenseServer”是否開啟:
---- ---- ---- 開啟方法:此電腦 -- 管理 -- 服務 -- HoudiniLicenseServer -- 右擊:啟動;
---- ---- ---- 正常狀態:此電腦 -- 管理 -- 服務 -- HoudiniLicenseServer -- 右擊:屬性 -- 啟動類型:自動,服務狀態:正在運行;
---- 關閉win10防火牆:
---- ---- 打開控制面板:運行 -- 輸入“control”,回車 -- 控制面板 -- “類別:大圖標”;
---- ---- 找到“Windows Defender 防火牆”,打開 "Windows Defender 防火牆";
---- ---- "Windows Defender 防火牆"的左側,打開 "啟用或關閉 Windows Defender 防火牆";
---- ---- 在“專用網絡設置”和“公用網絡設置”中,都勾選“關閉 Windows Defender 防火牆(不推薦)”,點擊“確定”,完成關閉"Windows Defender 防火牆"。