Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

idp4.3.1升级到v4.3.2的步骤,升级前,3的步骤,升级前,请将之前的idp.home路径做好备份,以防万一。


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

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

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

Code Block
languagebash
[carsi@www ~]$ tar -zxf shibboleth-identity-provider-4.3.23.tar.gz
[carsi@www ~]$ cd shibboleth-identity-provider-4.3.23

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

...

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

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

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

Update from version 4.3.1 to version 4.3.23
Rebuilding /opt/shibboleth-idp/war/idp.war, Version 4.3.23
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

...

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