{"id":992,"date":"2014-04-26T20:28:08","date_gmt":"2014-04-26T20:28:08","guid":{"rendered":"http:\/\/scunster.co.uk\/?p=992"},"modified":"2014-04-26T20:29:09","modified_gmt":"2014-04-26T20:29:09","slug":"start-services-at-bootup-centos","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=992","title":{"rendered":"Start services at bootup CentOS"},"content":{"rendered":"<p>If you&#8217;d like a service to load \/ start on bootup or during a system restart then CentOS has a very easy way to achieve this. A utility called chkconfig, you can use it from the terminal as follows<\/p>\n<p>Add named and mysqld services to chkconfig<\/p>\n<pre>chkconfig --add named\r\nchkconfig --add mysqld<\/pre>\n<p>Start named and mysqld at startup as follows<\/p>\n<pre>chkconfig named on\r\nchkconfig mysqld on<\/pre>\n<p>Remove named and mysqld from startup as follows<\/p>\n<pre>chkconfig named off\r\nchkconfig mysqld off<\/pre>\n<p>Check which services are associated with chkconfig and whether they are set to start at bootup or not<\/p>\n<pre>chkconfig --list<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;d like a service to load \/ start on bootup or during a system restart then CentOS has a very easy way to achieve this. A utility called chkconfig, you can use it from the terminal as follows Add named and mysqld services to chkconfig chkconfig &#8211;add named chkconfig &#8211;add mysqld Start named and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[164,3],"tags":[],"class_list":["post-992","post","type-post","status-publish","format-standard","hentry","category-centos","category-linux"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/992","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=992"}],"version-history":[{"count":2,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/992\/revisions"}],"predecessor-version":[{"id":1041,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/992\/revisions\/1041"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}