在suse官网,使用邮箱注册之后,可以下载ISO,也可以申请试用激活码:6个月有效期。
获取到激活码之后,便可以执行命令或者在安装过程中进行激活。这里以命令方式激活举例:
SUSEConnect -r 4DBB47C6A3A9FF77
Registering system to SUSE Customer Center
Announcing system to https://scc.suse.com ...
Activating SLES 15.7 x86_64 ...
-> Adding service to system ...Activating sle-module-basesystem 15.7 x86_64 ...
-> Adding service to system ...
-> Installing release package ...Activating sle-module-server-applications 15.7 x86_64 ...
-> Adding service to system ...
-> Installing release package ...Activating sle-module-python3 15.7 x86_64 ...
-> Adding service to system ...
-> Installing release package ...Activating sle-module-systems-management 15.7 x86_64 ...
-> Adding service to system ...
-> Installing release package ...Successfully registered system
查看激活状态
SUSEConnect -status
[{"name":"SUSE Linux Enterprise Server for x86, AMD64, Intel64 Subscription Evaluation","identifier":"SLES","version":"15.7","arch":"x86_64","status":"Registered","regcode":"4DBB47C6A3A9FF77","starts_at":"2025-06-30 00:00:00 UTC","expires_at":"2025-08-30 00:00:00 UTC","subscription_status":"ACTIVE","type":"evaluation"},{"identifier":"sle-module-basesystem","version":"15.7","arch":"x86_64","status":"Registered"},{"identifier":"sle-module-server-applications","version":"15.7","arch":"x86_64","status":"Registered"},{"identifier":"sle-module-python3","version":"15.7","arch":"x86_64","status":"Registered"},{"identifier":"sle-module-systems-management","version":"15.7","arch":"x86_64","status":"Registered"}]
激活之后,在/etc/zypp/repos.d中会增加很多repository
ll /etc/zypp/repos.d