From 773084e18c4426ffae33f842875fcbac5be77b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duret?= <sduret@merethis.com> Date: Fri, 22 Sep 2017 12:09:09 +0200 Subject: [PATCH] Activate services at system startup --- doc/en/installation/from_packages.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/en/installation/from_packages.rst b/doc/en/installation/from_packages.rst index 7e0646ccb7..78289ef789 100644 --- a/doc/en/installation/from_packages.rst +++ b/doc/en/installation/from_packages.rst @@ -116,6 +116,28 @@ Setting this option into /etc/my.cnf will NOT work. # echo -ne "[Service]\nLimitNOFILE=32000\n" | tee /etc/systemd/system/mariadb.service.d/limits.conf # systemctl daemon-reload # service mysql restart + +Launch services during the system startup +----------------------------------------- + +Enable the automatically start of services during the system startup. + +Execute these commands on central server. + +* **CentOS v6** :: + + # chkconfig httpd on + # chkconfig snmpd on + # chkconfig mysql on + +* **CentOS v7** :: + + # systemctl enable httpd.service + # systemctl enable snmpd.service + # systemctl enable mysql.service + +.. note:: + If MySQL database is on a dedicated server, execute the enable command of mysql on DB server. Conclude installation --------------------- -- GitLab