# RHEL/CentOS启动服务Tips

建议安装完CentOS/RHEL启动以下服务（默认系统已经安装软件包，但是没有启动和激活服务）

```bash
systemctl start postfix
systemctl enable postfix

systemctl start rsyslog
systemctl enable rsyslog
```

> 激活`postfix`可以使得系统定时执行的cron任务能够有一个输出结果，特别是一些cron执行失败或异常，俄可以通过邮件发现
>
> 激活`rsyslog`是为了生成`/var/log/messages`，虽然现在`systemctl`已经可以使用jounal来管理日志，但是传统的系统日志文件还是方便我们系统管理员检查维护。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://huataihuang.gitbook.io/cloud-atlas-draft/os/linux/redhat/daemon_tips.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
