此内容没有您所选择的语言版本。
4.2. RHN Proxy Server Installation Process
The following instructions describe the RHN Proxy Server installation process:
- Register the newly-installed Red Hat Enterprise Linux system with Red Hat Network (either the central RHN Servers or your RHN Satellite Server) using the organizational account containing the RHN Proxy Server entitlement with the command:
rhn_register. - To perform an installation, type the following command:
configure-proxy.sh
configure-proxy.shCopy to Clipboard Copied! Toggle word wrap Toggle overflow The command-line installation program leads users through a series of prompts regarding RHN Proxy Server installation and initial configuration details such as installation options and SSL certificate generation. The following instructions describe the installation process:Note
If you press Enter at a prompt instead of typing in an entry, the RHN Proxy Server command-line installation program uses the default response enclosed in brackets.Alternatively, if you want to use default answers without any user interaction, use the--non-interactiveoption, which will use all default responses. - The first series of prompts are site-specific details about the installation.
Proxy version to activate [5.3]:
Proxy version to activate [5.3]:Copy to Clipboard Copied! Toggle word wrap Toggle overflow The Proxy version prompts you to confirm the version of RHN Proxy Server you wish to install.RHN Parent [satserver.example.com]:
RHN Parent [satserver.example.com]:Copy to Clipboard Copied! Toggle word wrap Toggle overflow The RHN Parent is the domain name or address of the system that serves the Proxy, which could be the RHN Hosted servers (xmlrpc.rhn.redhat.com), or an RHN Satellite Server server.Traceback email []:
Traceback email []:Copy to Clipboard Copied! Toggle word wrap Toggle overflow The Traceback email is the email address to which error-related traceback messages are mailed, usually the email of the Proxy administrator. Use commas to separate more than one email address at this prompt. - The next series of prompts are related to configuring the details for generating an SSL certificate, which is recommended to secure traffic to and from the RHN Proxy Server.
Use SSL [Y/n]: y
Use SSL [Y/n]: yCopy to Clipboard Copied! Toggle word wrap Toggle overflow In the Use SSL prompt, typeyto configure the RHN Proxy Server to support SSL.CA Chain [/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT]:
CA Chain [/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT]:Copy to Clipboard Copied! Toggle word wrap Toggle overflow In the CA Chain prompt, press Enter to use the default path for the Certificate Authority (CA) Chain, which if the RHN Proxy is communicating with an RHN Satellite then this value is usually/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT. If it is communicating with RHN Hosted, it is usually the/usr/share/rhn/RHNS-CA-CERTfile.HTTP Proxy []:
HTTP Proxy []:Copy to Clipboard Copied! Toggle word wrap Toggle overflow If the RHN Proxy Server connects through an HTTP proxy, enter the proxy hostname and port number, such ascorporate.proxy.example.com:3128Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enter the required details necessary to generate a proper SSL server certificate, including the Organzation name, the Organization Unit (such asEngineering), the Common Name (the domain name), as well as the details for City, State and Country. Finally, enter the email address for the administrator or technical contact in charge of SSL certificates. - The command-line installation program prompts you to install monitoring support to RHN Proxy Server, allows you to create and populate a configuration channel for future RHN Proxy Server installations, finalizes SSL configuration, and restarts any service daemons that had modified configurations as a result of running the RHN Proxy Server installation program.
You do not have monitoring installed. Do you want to install it? Will run 'yum install spacewalk-proxy-monitoring'. [Y/n]:n
You do not have monitoring installed. Do you want to install it? Will run 'yum install spacewalk-proxy-monitoring'. [Y/n]:nCopy to Clipboard Copied! Toggle word wrap Toggle overflow Confirm whether or not you want to install Monitoring support on the Proxy server.Copy to Clipboard Copied! Toggle word wrap Toggle overflow Theconfigure-proxy.shprogram then configures SSL, prompting you to create a Certificate Authority password and confirm it before generating the SSL keys and the public certificate.Copy to Clipboard Copied! Toggle word wrap Toggle overflow The installer then asks whether or not you wish to create a configuration channel based on the configuration files created while runningconfigure-proxy.sh. The installer will then create a RHN Satellite Server configuration channel based on the name of the client system upon which RHN Proxy Server is installed (in the example above the sysID is 1000010000), and collects the varioushttpd, SSL,squid, andjabberdserver files that will comprise the configuration channel for the Proxy server. - Finally, the installer starts and restarts all RHN Proxy Server related services and exits when completed.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
4.2.1. The Answer File 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
If you want to automate some of the process of installing RHN Proxy Server on your systems, the
configure-proxy.sh program allows administrators to create answer files that contain pre-filled responses to prompts in the installation program.
The following is an example answer file that contains pre-filled answers related to version number, the RHN Satellite Server server that serves as the parent server, SSL, and other configuration parameters. For more information about creating and using answer files, refer to the
configure-proxy.sh manual page by typing man configure-proxy.sh at a shell prompt.
To use an answer file (called
answers.txt for example) with configure-proxy.sh, type the following:
configure-proxy.sh --answer-file=answers.txt
configure-proxy.sh --answer-file=answers.txt