<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.linuxsa.org/index.php?action=history&amp;feed=atom&amp;title=Centos7_systemctl%E5%9F%BA%E7%A1%80%E7%94%A8%E6%B3%95</id>
	<title>Centos7 systemctl基础用法 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.linuxsa.org/index.php?action=history&amp;feed=atom&amp;title=Centos7_systemctl%E5%9F%BA%E7%A1%80%E7%94%A8%E6%B3%95"/>
	<link rel="alternate" type="text/html" href="https://wiki.linuxsa.org/index.php?title=Centos7_systemctl%E5%9F%BA%E7%A1%80%E7%94%A8%E6%B3%95&amp;action=history"/>
	<updated>2026-04-19T09:09:13Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.linuxsa.org/index.php?title=Centos7_systemctl%E5%9F%BA%E7%A1%80%E7%94%A8%E6%B3%95&amp;diff=213&amp;oldid=prev</id>
		<title>Evan：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://wiki.linuxsa.org/index.php?title=Centos7_systemctl%E5%9F%BA%E7%A1%80%E7%94%A8%E6%B3%95&amp;diff=213&amp;oldid=prev"/>
		<updated>2019-10-14T13:48:45Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
centos 7启动方式&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  centos6使用的是/etc/rc.d/init.d/functions启动centos7使用的是systemd启动&lt;br /&gt;
  systemd启动脚本方式&lt;br /&gt;
  systemctl enable httpd.service #自启动某服务&lt;br /&gt;
  systemctl disable httpd.service #禁用开机启动&lt;br /&gt;
  systemctl status httpd.service #查看服务状态&lt;br /&gt;
  systemctl list-units --type=service #查看所有服务&lt;br /&gt;
  &lt;br /&gt;
  systemctl start httpd.service&lt;br /&gt;
  systemctl stop httpd.service&lt;br /&gt;
  systemctl restart httpd.service&lt;br /&gt;
  &lt;br /&gt;
  systemctl is-enabled httpd #直看httpd服务是否开机启动&lt;br /&gt;
  &lt;br /&gt;
  也可以用于管理系统重启系统&lt;br /&gt;
  systemctl reboot关闭系统&lt;br /&gt;
  systemctl poweroffCPU停止工作systemctl halt暂停系统&lt;br /&gt;
  systemcti suspend休眠&lt;br /&gt;
  systemctl hibernate进入救援模式-单用模式systemctl rescue&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Nginx on centos7]]&lt;br /&gt;
&lt;br /&gt;
[[Centos7初始化]]&lt;br /&gt;
[[category:linux]][[category:ops]]&lt;/div&gt;</summary>
		<author><name>Evan</name></author>
	</entry>
</feed>