houdini18.0.416 install on CentOS8/Linux
一、環境:
OS = CentOS-8.1.1911-x86_64-dvd1.iso
houdini = houdini-18.0.416-linux_x86_64_gcc6.3.tar.gz
二、必要准備:
1、配置python2:
[root@test ~]# whereis python
python: /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python2.7 /usr/bin/python /usr/lib/python3.6 /usr/lib/python2.7 /usr/lib64/python3.6 /usr/lib64/python2.7 /usr/include/python3.6m /usr/include/python2.7 /usr/share/man/man1/python.1.gz
[root@test ~]#
[root@test ~]# dnf install python2
[root@test ~]# ls /bin | grep python
python2
python2.7
python3
python3.6
python3.6m
unversioned-python
[root@test ~]#
[root@test ~]# cd /bin
[root@test bin]# ln -s python2 python
[root@test ~]# python
Python 2.7.16 (default, Nov 17 2019, 00:07:27)
[GCC 8.3.1 20190507 (Red Hat 8.3.1-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
2、配置必要庫文件:
[root@test ~]# dnf -y install libXScrnSaver
[root@test ~]# dnf -y install mesa-libGLU
[root@test ~]# dnf -y install libnsl
3、配置NFS服務(用於hqueue掛載共享文件夾“shared”):
// 預備知識
[root@test ~]# systemctl enable nfs-server //開機自動啟動nfs服務
[root@test ~]# systemctl start nfs-server //啟動nfs服務
[root@test ~]# systemctl restart nfs-server //重新啟動nfs服務
[root@test ~]# systemctl stop nfs-server //停止nfs服務
[root@test ~]# systemctl disable nfs-server //取消開機啟動nfs服務
[root@test ~]# systemctl status nfs-server // 查看nfs-server服務的狀態
// 實戰部分
[root@test ~]# systemctl enable nfs-server
[root@test ~]# systemctl start nfs-server
[root@test ~]# systemctl restart nfs-server
[root@test ~]# systemctl status nfs-server
三、houdini安裝:
1.解壓安裝包“houdini-18.0.416-linux_x86_64_gcc6.3.tar.gz”:
[root@test softwares]# tar -xzvf houdini-18.0.416-linux_x86_64_gcc6.3.tar.gz
2.設置“安裝選項”:(在設置選項處,輸入“選項前面的數字 + 回車”,改變選項的狀態-"yes / no")
[root@test houdini-18.0.416-linux_x86_64_gcc6.3]# ls
desktop houdini.uninstall mime
engine_maya.tar.gz hqueue.install python2.7.tar.gz
engine_unity.tar.gz hqueue.tar.gz pythonlibdeps.tar.gz
houdini.install INSTALL sesinetd.install
houdini.tar.gz installDesktopItems.py
[root@test houdini-18.0.416-linux_x86_64_gcc6.3]# ./houdini.install
What is your selection (1-9,D,F,Q) [F] ==> f
Would you like to start the installation? (y or n) [y] ==> y
3.默認等待安裝結束。
四、配置houdini:
1、配置“許可證服務器”:
1.1、打開軟件“License Administrator 18.0.416”:
[root@test ~]# cd /opt/hfs18.0
[root@test 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@test hfs18.0]# source houdini_setup
The Houdini 18.0.416 environment has been initialized.
[root@test hfs18.0]# hkey --no-sandbox
1.2、設置許可證:
License Administrator 18.0.416 -->File-->Change License Server-->"License Server host =192.168.0.11--> Accept"
1.3、設置“許可證服務sesinetd”開機自動啟動:
[root@test hfs18.0]# cd /etc/init.d/
[root@test init.d]# chkconfig --list | grep "sesinetd"
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
sesinetd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@test init.d]# chkconfig sesinetd on //設置開機自動啟動“sesinetd”服務
[root@test init.d]# /etc/init.d/sesinetd restart //重啟“sesinetd”服務
[root@test init.d]# chkconfig --list | grep "sesinetd"
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
sesinetd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@test init.d]#
[root@test ~]# reboot