<?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=Systemctl_%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4</id>
	<title>Systemctl 常用命令 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.linuxsa.org/index.php?action=history&amp;feed=atom&amp;title=Systemctl_%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4"/>
	<link rel="alternate" type="text/html" href="https://wiki.linuxsa.org/index.php?title=Systemctl_%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4&amp;action=history"/>
	<updated>2026-04-17T03:46:23Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.linuxsa.org/index.php?title=Systemctl_%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4&amp;diff=1042&amp;oldid=prev</id>
		<title>2023年8月9日 (三) 13:09 Evan</title>
		<link rel="alternate" type="text/html" href="https://wiki.linuxsa.org/index.php?title=Systemctl_%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4&amp;diff=1042&amp;oldid=prev"/>
		<updated>2023-08-09T13:09:56Z</updated>

		<summary type="html">&lt;p&gt;&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;
如何激活服务并在启动时启用或禁用服务（即系统启动时自动启动服务）&lt;br /&gt;
 systemctl is-active ssh.service&lt;br /&gt;
# systemctl enable ssh.service&lt;br /&gt;
# systemctl disable ssh.service&lt;br /&gt;
&lt;br /&gt;
如何屏蔽（让它不能启动）或显示服务（如 httpd.service）&lt;br /&gt;
# systemctl mask httpd.service&lt;br /&gt;
ln -s &amp;#039;/dev/null&amp;#039; &amp;#039;/etc/systemd/system/httpd.service&amp;#039;&lt;br /&gt;
# systemctl unmask httpd.service&lt;br /&gt;
rm &amp;#039;/etc/systemd/system/httpd.service&amp;#039; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=参考=&lt;br /&gt;
[https://stage.gp.idealisan.com/typora/linux%E6%9F%A5%E7%9C%8B%E6%89%80%E6%9C%89%E5%BC%80%E6%9C%BA%E5%90%AF%E5%8A%A8%E9%A1%B9.html 如何查看linux开机启动项目]&lt;br /&gt;
&lt;br /&gt;
[https://code2life.top/2017/12/16/0009-linux-systemd-startup/  Systemd与开机自启动]&lt;br /&gt;
&lt;br /&gt;
[ http://man.linuxde.net/systemctl systemctl命令 ]&lt;br /&gt;
&lt;br /&gt;
[https://linux.cn/article-5926-1.html systemctl 命令完全指南]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category:devops]]&lt;/div&gt;</summary>
		<author><name>Evan</name></author>
	</entry>
</feed>