1.centos7安装3.6,如果是centos6的化把el7改成el6
cd /etc/yum.repos.d
wget https://zeroc.com/download/Ice/3.6/el7/zeroc-ice3.6.repo
sudo yum install ice-all-runtime ice-all-devel -y
2.centos7安装3.7
cd /etc/yum.repos.d
wget https://zeroc.com/download/Ice/3.7/el7/zeroc-ice3.7.repo
sudo yum install ice-all-runtime ice-all-devel -y
卸载
sudo yum remove ice-all-runtime ice-all-devel -y
rpm -qa|grep ice
rpm -e --nodeps icegrid-3.7.4-1.el7.x86_64
rpm -e --nodeps ice-compilers-3.7.4-1.el7.x86_64
rpm -e --nodeps icebox-3.7.4-1.el7.x86_64
rpm -e --nodeps icebridge-3.7.4-1.el7.x86_64
rpm -e --nodeps ice-slice-3.7.4-1.el7.noarch
rpm -e --nodeps icegridgui-3.7.4-1.el7.noarch
rpm -e --nodeps icepatch2-3.7.4-1.el7.x86_64
rpm -e --nodeps ice-repo-3.7-1.el7.noarch
rpm -e --nodeps ice-utils-3.7.4-1.el7.x86_64
rpm -e --nodeps python-ice-3.7.4-1.el7.x86_64
rpm -e --nodeps php-ice-3.7.4-1.el7.x86_64
rpm -e --nodeps libice-c++-devel-3.7.4-1.el7.x86_64
rpm -e --nodeps libice3.7-c++-3.7.4-1.el7.x86_64
rpm -e --nodeps libicestorm3.7-3.7.4-1.el7.x86_64
rpm -e --nodeps glacier2-3.7.4-1.el7.x86_64
cd /var/lib && rm -rf ice
cd /etc && rm -rf ice*
3.安装后命令在/usr/bin下
[root@master bin]# cd /usr/bin && ll |grep ice
-rwxr-xr-x. 1 root root 113312 8月 9 2019 icebox
-rwxr-xr-x. 1 root root 109160 8月 9 2019 icebox++11
-rwxr-xr-x. 1 root root 37480 8月 9 2019 iceboxadmin
-rwxr-xr-x. 1 root root 1183392 8月 9 2019 icegridadmin
-rwxr-xr-x. 1 root root 177288 8月 9 2019 icegriddb
-rwxr-xr-x. 1 root root 411 8月 9 2019 icegridgui
-rwxr-xr-x. 1 root root 2848624 8月 9 2019 icegridnode
-rwxr-xr-x. 1 root root 2429392 8月 9 2019 icegridregistry
-rwxr-xr-x. 1 root root 49680 8月 9 2019 icepatch2calc
-rwxr-xr-x. 1 root root 49712 8月 9 2019 icepatch2client
-rwxr-xr-x. 1 root root 62448 8月 9 2019 icepatch2server
-rwxr-xr-x. 1 root root 282736 8月 9 2019 icestormadmin
-rwxr-xr-x. 1 root root 92344 8月 9 2019 icestormdb
-rwxr-xr-x. 1 root root 257544 8月 9 2019 icestormmigrate
-rwxr-xr-x. 1 root root 24432 8月 9 2019 ionice
-rwxr-xr-x. 1 root root 33096 8月 20 2019 nice
-rwxr-xr-x. 1 root root 11480 8月 9 2019 renice
-rwxr-xr-x. 1 root root 452288 8月 9 2019 slice2cpp
-rwxr-xr-x. 1 root root 174424 8月 9 2019 slice2freeze
-rwxr-xr-x. 1 root root 165904 8月 9 2019 slice2freezej
-rwxr-xr-x. 1 root root 283056 8月 9 2019 slice2html
-rwxr-xr-x. 1 root root 514064 8月 9 2019 slice2java
-rwxr-xr-x. 1 root root 158184 8月 9 2019 slice2php
-rwxr-xr-x. 1 root root 24184 8月 9 2019 snice
-rwxr-xr-x. 1 root root 4216 6月 7 2013 usb-devices
-rwxr-xr-x. 1 root root 128408 8月 9 2019 VGAuthService
4.配置文件在/etc目录下
[root@master bin]# cd /etc/ && ll |grep ice
-rw-r--r--. 1 root root 1320 8月 9 2019 icegridnode.conf
-rw-r--r--. 1 root root 2236 8月 9 2019 icegridregistry.conf
5.启动icegridregistry
nohup icegridregistry --Ice.Config=/etc/icegridregistry.conf &
6.启动icegridnode
nohup icegridnode --Ice.Config=/etc/icegridnode.conf &