更新存储库¶
注意:在开始更新过程之前,您必须对安装进行测试备份。如果更新多个版本,则必须按顺序执行所有更新。
您的支持代表可以为您提供更新的存储库安装程序的下载 URL。
要更新到最新的存储库版本:
curl '$INSTALLER_URL' > anaconda_repository.sh
bash anaconda_repository.sh -u
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
注意:要使用 2.33.3 到 2.33.10 的 Repository 版本和具有单点登录 (SSO) 的 Anaconda Enterprise Notebooks,您必须在 Repository 配置中进行设置
。此设置会影响 AEN 和 Repository 的网络安全属性。具体来说,如果设置为,并且如果发现新的跨站点脚本 (XSS) 漏洞,则可能会暴露额外的服务器修复漏洞。请与您的 Anaconda 代表讨论此问题,并在设置之前确保该功能与您的网络要求兼容。USE_SERVER_BASED_SESSIONS: false
USE_SERVER_BASED_SESSIONS
false
USE_SERVER_BASED_SESSIONS: false
注意:从 Repository 2.33.8 开始,fs_storage_root
本地文件系统存储必须进行配置设置,没有它,Repository 服务器将无法运行。您可以使用以下命令设置它:
anaconda-server-config --set fs_storage_root /opt/anaconda-server/package-storage
您可以替换/opt/anaconda-server/package-storage
为anaconda-server
用户拥有的任何位置。
如果您对更新有任何疑问或问题,请联系您的专业支持团队联系人或销售人员。
更新到当前和以前的版本¶
更新到 2.33:
curl '$INSTALLER_URL' > anaconda_repository.sh
bash anaconda_repository.sh -u
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
注意:要使用 2.33.3 到 2.33.10 的 Repository 版本和具有单点登录 (SSO) 的 Anaconda Enterprise Notebooks,您必须在 Repository 配置中进行设置
。此设置会影响 AEN 和 Repository 的网络安全属性。具体来说,如果设置为,并且如果发现新的跨站点脚本 (XSS) 漏洞,则可能会暴露额外的服务器修复漏洞。请与您的 Anaconda 代表讨论此问题,并在设置之前确保该功能与您的网络要求兼容。USE_SERVER_BASED_SESSIONS: false
USE_SERVER_BASED_SESSIONS
false
USE_SERVER_BASED_SESSIONS: false
注意:从 Repository 2.33.8 开始,fs_storage_root
本地文件系统存储必须进行配置设置,没有它,Repository 服务器将无法运行。您可以使用以下命令设置它:
anaconda-server-config --set fs_storage_root /opt/anaconda-server/package-storage
您可以替换/opt/anaconda-server/package-storage
为anaconda-server
用户拥有的任何位置。
更新到 2.32:
curl '$INSTALLER_URL' > anaconda_repository.sh
bash anaconda_repository.sh -u
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.31:
curl '$INSTALLER_URL' > anaconda_repository.sh
bash anaconda_repository.sh -u
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.30:
curl '$INSTALLER_URL' > anaconda_repository.sh
bash anaconda_repository.sh -u
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.29:
curl '$INSTALLER_URL' > anaconda_repository.sh
bash anaconda_repository.sh -u
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.28:
curl '$INSTALLER_URL' > anaconda_repository.sh
bash anaconda_repository.sh -u
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.27:
curl '$INSTALLER_URL' > anaconda_repository.sh
bash anaconda_repository.sh -u
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.26.6:
可以删除日志配置。日志已移至$PREFIX/var/log/anaconda-server/
:
curl '$INSTALLER_URL' > anaconda_repository.sh
bash anaconda_repository.sh -u
anaconda-server-db-setup --execute
anaconda-server-config --remove LOGGING
supervisorctl stop all
supervisorctl start all
更新到 2.26:
curl '$INSTALLER_URL' > anaconda_repository.sh
bash anaconda_repository.sh -u
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.25:
curl '$INSTALLER_URL' > anaconda_repository.sh
bash anaconda_repository.sh -u
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.24:
conda update binstar-server binstar-static anaconda-client
anaconda-server-db-setup --execute
anaconda-server-install-supervisord-config.sh
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.23:
conda update binstar-server binstar-static anaconda-client
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.22:
conda update binstar-server binstar-static anaconda-client
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.21:
conda update binstar-server binstar-static anaconda-client
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.20:
conda update binstar-server binstar-static anaconda-client
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.19:
conda update binstar-server anaconda-client anaconda-build
anaconda-server-db-setup --execute
supervisorctl stop all
supervisorctl reload
supervisorctl start all
更新到 2.18:
conda update binstar-server anaconda-client anaconda-build
anaconda-server-db-setup --execute
supervisorctl stop
supervisorctl reload
supervisorctl start all
更新到 2.17:
conda update binstar-server anaconda-client anaconda-build
anaconda-server-db-setup --execute
supervisorctl stop
supervisorctl reload
supervisorctl start all
更新到 2.16:
conda update binstar-server anaconda-client anaconda-build
anaconda-server-db-setup --execute
supervisorctl restart all
更新到 2.15:
conda update binstar-server anaconda-client anaconda-build
anaconda-server-db-setup --execute
supervisorctl restart all
更新到 2.14:
conda update binstar-server anaconda-client anaconda-build
anaconda-server-db-setup --execute
supervisorctl restart all
更新到 2.13:
conda update binstar-server anaconda-client anaconda-build
anaconda-server-db-setup --execute
anaconda-server-config --config-file /etc/binstar/config.yaml --set LABEL_NAME "'channel'"
supervisorctl restart all
更新到 2.12:
conda update binstar-server anaconda-client anaconda-build
anaconda-server-db-setup --execute
supervisorctl restart all
更新到 2.9:
conda update binstar-static binstar-server cas-mirror
anaconda-server-db-setup --execute
supervisorctl restart all
更新到 2.8:
conda update binstar-static binstar-server cas-mirror
anaconda-server-db-setup --execute
supervisorctl restart all
更新到 2.6.0:
conda update binstar-server
conda install cas-mirror
更新到 2.5.1:
conda update binstar-server
更新到 2.3:
conda update binstar-server
conda install cas-mirror
更新到 2.2:
conda update binstar-server