About license files for GitHub Enterprise
After you purchase or upgrade a license for GitHub Enterprise from GitHub 的销售团队, you must upload the new license file to 你的 GitHub Enterprise Server 实例 to unlock your new user licenses. For more information, see Combined GitHub Enterprise cloud and server use and 下载 GitHub Enterprise 许可证.
如果你想续订用户许可或将其添加至 GitHub Enterprise,或者对许可证有疑问,请联系 GitHub 的销售团队。 完成订单后,您可以立即下载新的许可文件。
Uploading your license from the 管理控制台
-
Sign into 你的 GitHub Enterprise Server 实例 as a site administrator.
-
在 的右上角,单击你的个人资料照片,然后单击“企业设置”****。
-
在页面左侧的企业帐户边栏中,单击“ Settings”****。
-
在 “设置”下,单击“许可证”。
-
In the "User licenses" section, under "Quick links", click Update license.
-
To upload your license, click License file, or drag your license file onto License file.
-
Click Upload. Your license will be updated in the background. The change may take a few minutes before it is visible on your instance.
Uploading your license with the REST API
You can use the REST API to upload a license to 你的 GitHub Enterprise Server 实例. See 适用于管理 GitHub Enterprise Server 的 REST API 终结点.
Uploading a license with the GitHub CLI
You can import a license to 你的 GitHub Enterprise Server 实例 using the gh es
extension of the GitHub CLI. See the usage instructions in the github/gh-es
repository on GitHub.com.
For more information about accessing your instance via the extension, see 使用 GitHub CLI 管理实例.
Uploading a license via SSH
You can upload and interact with your license from the command line via SSH. See the documentation for the ghe-license
command in 命令行实用程序. For more information about accessing your instance via SSH, see 访问管理 shell (SSH).