Skip to main content

此版本的 GitHub Enterprise 将停止服务 2023-01-18. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

配置网络设置

使用网络所需的 DNS 域名服务器和主机名配置 GitHub Enterprise Server。 您还可以配置代理服务器或防火墙规则。 为实现管理和用户目的,您必须允许访问某些端口。
  • 使用虚拟机控制台配置 IP 地址

    默认情况下,GitHub Enterprise Server 通过动态主机配置协议 (DHCP) 检索网络设置。 如果您的平台不支持该协议,或者 DHCP 不可用,您也可以使用虚拟机控制台配置网络设置。

  • Configuring DNS nameservers

    GitHub Enterprise Server uses the dynamic host configuration protocol (DHCP) for DNS settings when DHCP leases provide nameservers. If nameservers are not provided by a dynamic host configuration protocol (DHCP) lease, or if you need to use specific DNS settings, you can specify the nameservers manually.

  • Configuring a hostname

    We recommend setting a hostname for your appliance instead of using a hard-coded IP address.

  • Validating your domain settings

    Ensure that your domain settings are properly configured before booting up your GitHub Enterprise Server instance for the first time.

  • Configuring TLS

    You can configure Transport Layer Security (TLS) on your GitHub Enterprise Server instance so that you can use a certificate that is signed by a trusted certificate authority.

  • Enabling subdomain isolation

    You can set up subdomain isolation to securely separate user-supplied content from other portions of your GitHub Enterprise Server appliance.

  • Configuring an outbound web proxy server

    A proxy server provides an additional level of security for your GitHub Enterprise Server instance.

  • Configuring built-in firewall rules

    You can view default firewall rules and customize rules for your GitHub Enterprise Server instance.

  • 网络端口

    根据您需要为管理员、最终用户和电子邮件支持显示的网络服务有选择地打开网络端口。

  • Using GitHub Enterprise Server with a load balancer

    Use a load balancer in front of a single GitHub Enterprise Server instance or a pair of instances in a High Availability configuration.