IdPv4.1.7/4.3.1/4.3.2升级到v4.3.3

注:此升级不更换操作系统,只涉及IdP。

idp4.x版本升级到v4.3.3的步骤,升级前,请将之前的idp.home路径做好备份,以防万一。


1、下载最新的idp4.3.3软件包。

[carsi@www ~]$ curl -O  https://ds.carsi.edu.cn/4.3inst/v1/shibboleth-identity-provider-4.3.3.tar.gz

2、解压缩,并进入到解压后的路径下。

[carsi@www ~]$ tar -zxf shibboleth-identity-provider-4.3.3.tar.gz
[carsi@www ~]$ cd shibboleth-identity-provider-4.3.3

3、运行./bin/install.sh。确保指定之前idp相同的安装路径。如果路径不一致,则是重新安装,而非升级。

过程如下:

[carsi@idp430-ldap shibboleth-identity-provider-4.3.3]# sudo ./bin/install.sh 
Buildfile: /home/carsi/shibboleth-identity-provider-4.3.3/bin/build.xml

install:
Source (Distribution) Directory (press <enter> to accept default): [/home/carsi/shibboleth-identity-provider-4.3.3] ?    //是指升级安装源文件的路径,即下载文件的保存路径,直接回车就可以

Installation Directory: [/opt/shibboleth-idp] ?   //是具体ipd安装路径,直接回车,不用输入Y

Update from version 4.3.1 to version 4.3.3
Rebuilding /opt/shibboleth-idp/war/idp.war, Version 4.3.3
Initial populate from /opt/shibboleth-idp/dist/webapp to /opt/shibboleth-idp/webpapp.tmp
Overlay from /opt/shibboleth-idp/edit-webapp to /opt/shibboleth-idp/webpapp.tmp
Creating war file /opt/shibboleth-idp/war/idp.war

BUILD SUCCESSFUL
Total time: 13 seconds


4、最后,重新启动jetty。完成升级。可以查看一下当前的版本。

[carsi@idp430-ldap shibboleth-identity-provider-4.3.3]# sudo systemctl restart jetty 
[carsu@idp430-ldap shibboleth-identity-provider-4.3.3]# cd /opt/shibboleth-idp/
[carsi@idp430-ldap bin]# sudo ./version.sh
4.3.3






版权所有©北京大学计算中心