2.3. 启​​​​​​​动​​​​​​​ Piranha Configuration Tool服​​​​​​​务​​​​​​​


在​​​​​​​您​​​​​​​为​​​​​​​ Piranha Configuration Tool设​​​​​​​定​​​​​​​密​​​​​​​码​​​​​​​后​​​​​​​,请​​​​​​​启​​​​​​​动​​​​​​​或​​​​​​​者​​​​​​​重​​​​​​​启​​​​​​​位​​​​​​​于​​​​​​​ /etc/rc.d/init.d/piranha-gui 的​​​​​​​ piranha-gui 服​​​​​​​务​​​​​​​。​​​​​​​此​​​​​​​时​​​​​​​请​​​​​​​以​​​​​​​根​​​​​​​用​​​​​​​户​​​​​​​身​​​​​​​份​​​​​​​输​​​​​​​入​​​​​​​以​​​​​​​下​​​​​​​命​​​​​​​令​​​​​​​:
/sbin/service piranha-gui start
or
/sbin/service piranha-gui restart
Issuing this command starts a private session of the Apache HTTP Server by calling the symbolic link /usr/sbin/piranha_gui -> /usr/sbin/httpd. For security reasons, the piranha-gui version of httpd runs as the piranha user in a separate process. The fact that piranha-gui leverages the httpd service means that:
  1. 必​​​​​​​须​​​​​​​在​​​​​​​系​​​​​​​统​​​​​​​中​​​​​​​安​​​​​​​装​​​​​​​ Apache HTTP Server。​​​​​​​
  2. 通​​​​​​​过​​​​​​​用​​​​​​​ service 命​​​​​​​令​​​​​​​终​​​​​​​止​​​​​​​ piranha-gui 服​​​​​​​务​​​​​​​来​​​​​​​终​​​​​​​止​​​​​​​或​​​​​​​者​​​​​​​重​​​​​​​启​​​​​​​ Apache HTTP Server。​​​​​​​

警告

如​​​​​​​果​​​​​​​是​​​​​​​在​​​​​​​ LVS 路​​​​​​​由​​​​​​​器​​​​​​​中​​​​​​​使​​​​​​​用​​​​​​​ /sbin/service httpd stop 或​​​​​​​者​​​​​​​ /sbin/service httpd restart 命​​​​​​​令​​​​​​​,您​​​​​​​必​​​​​​​须​​​​​​​使​​​​​​​用​​​​​​​以​​​​​​​下​​​​​​​命​​​​​​​令​​​​​​​启​​​​​​​动​​​​​​​ piranha-gui 服​​​​​​​务​​​​​​​:
/sbin/service piranha-gui start
The piranha-gui service is all that is necessary to begin configuring LVS. However, if you are configuring LVS remotely, the sshd service is also required. You do not need to start the pulse service until configuration using the Piranha Configuration Tool is complete. See 第 4.8 节 “启​​​​​​​动​​​​​​​ LVS” for information on starting the pulse service.

2.3.1. 配​​​​​​​置​​​​​​​ Piranha Configuration Tool网​​​​​​​页​​​​​​​服​​​​​​​务​​​​​​​器​​​​​​​端​​​​​​​口​​​​​​​

默​​​​​​​认​​​​​​​情​​​​​​​况​​​​​​​下​​​​​​​,Piranha Configuration Tool在​​​​​​​端​​​​​​​口​​​​​​​ 3636 运​​​​​​​行​​​​​​​。​​​​​​​要​​​​​​​更​​​​​​​改​​​​​​​此​​​​​​​端​​​​​​​口​​​​​​​号​​​​​​​,请​​​​​​​在​​​​​​​ piranha-gui 网​​​​​​​页​​​​​​​服​​​​​​​务​​​​​​​器​​​​​​​配​​​​​​​置​​​​​​​文​​​​​​​件​​​​​​​ /etc/sysconfig/ha/conf/httpd.conf 中​​​​​​​修​​​​​​​改​​​​​​​第​​​​​​​二​​​​​​​部​​​​​​​分​​​​​​​的​​​​​​​ Listen 3636 行​​​​​​​。​​​​​​​
要​​​​​​​使​​​​​​​用​​​​​​​ Piranha Configuration Tool,您​​​​​​​至​​​​​​​少​​​​​​​需​​​​​​​要​​​​​​​一​​​​​​​个​​​​​​​文​​​​​​​本​​​​​​​网​​​​​​​页​​​​​​​浏​​​​​​​览​​​​​​​器​​​​​​​。​​​​​​​如​​​​​​​果​​​​​​​您​​​​​​​在​​​​​​​主​​​​​​​ LVS 路​​​​​​​由​​​​​​​器​​​​​​​中​​​​​​​启​​​​​​​动​​​​​​​了​​​​​​​网​​​​​​​页​​​​​​​浏​​​​​​​览​​​​​​​器​​​​​​​,请​​​​​​​打​​​​​​​开​​​​​​​位​​​​​​​置​​​​​​​ http://localhost:3636。​​​​​​​您​​​​​​​可​​​​​​​以​​​​​​​用​​​​​​​主​​​​​​​ LVS 路​​​​​​​由​​​​​​​器​​​​​​​的​​​​​​​主​​​​​​​机​​​​​​​名​​​​​​​或​​​​​​​者​​​​​​​ IP 地​​​​​​​址​​​​​​​替​​​​​​​换​​​​​​​ localhost,以​​​​​​​便​​​​​​​通​​​​​​​过​​​​​​​网​​​​​​​页​​​​​​​浏​​​​​​​览​​​​​​​器​​​​​​​从​​​​​​​任​​​​​​​意​​​​​​​位​​​​​​​置​​​​​​​进​​​​​​​入​​​​​​​ Piranha Configuration Tool。​​​​​​​
当​​​​​​​您​​​​​​​的​​​​​​​浏​​​​​​​览​​​​​​​器​​​​​​​连​​​​​​​接​​​​​​​到​​​​​​​ Piranha Configuration Tool时​​​​​​​,您​​​​​​​必​​​​​​​须​​​​​​​登​​​​​​​录​​​​​​​来​​​​​​​访​​​​​​​问​​​​​​​配​​​​​​​置​​​​​​​服​​​​​​​务​​​​​​​。​​​​​​​在​​​​​​​「​​​​​​​用​​​​​​​户​​​​​​​名​​​​​​​」​​​​​​​字​​​​​​​段​​​​​​​输​​​​​​​入​​​​​​​ piranha,在​​​​​​​「​​​​​​​密​​​​​​​码​​​​​​​」​​​​​​​字​​​​​​​段​​​​​​​输​​​​​​​入​​​​​​​ piranha-passwd。​​​​​​​
现​​​​​​​在​​​​​​​ Piranha Configuration Tool正​​​​​​​在​​​​​​​运​​​​​​​行​​​​​​​,您​​​​​​​可​​​​​​​能​​​​​​​想​​​​​​​要​​​​​​​考​​​​​​​虑​​​​​​​要​​​​​​​对​​​​​​​网​​​​​​​络​​​​​​​中​​​​​​​访​​​​​​​问​​​​​​​此​​​​​​​工​​​​​​​具​​​​​​​的​​​​​​​人​​​​​​​员​​​​​​​进​​​​​​​行​​​​​​​限​​​​​​​制​​​​​​​。​​​​​​​下​​​​​​​面​​​​​​​的​​​​​​​部​​​​​​​分​​​​​​​就​​​​​​​是​​​​​​​总​​​​​​​结​​​​​​​如​​​​​​​何​​​​​​​达​​​​​​​到​​​​​​​此​​​​​​​目​​​​​​​的​​​​​​​。​​​​​​​
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.