{"id":4068,"date":"2019-07-21T23:39:06","date_gmt":"2019-07-21T15:39:06","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4068"},"modified":"2019-07-23T01:12:25","modified_gmt":"2019-07-22T17:12:25","slug":"chkconfig","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/chkconfig","title":{"rendered":"chkconfig\u547d\u4ee4 – \u68c0\u67e5\u4e0e\u8bbe\u7f6e\u7cfb\u7edf\u7684\u5404\u79cd\u670d\u52a1"},"content":{"rendered":"\n
\u8fd9\u662fRed Hat\u516c\u53f8\u9075\u5faaGPL\u89c4\u5219\u6240\u5f00\u53d1\u7684\u7a0b\u5e8f\uff0c\u5b83\u53ef\u67e5\u8be2\u64cd\u4f5c\u7cfb\u7edf\u5728\u6bcf\u4e00\u4e2a\u6267\u884c\u7b49\u7ea7\u4e2d\u4f1a\u6267\u884c\u54ea\u4e9b\u7cfb\u7edf\u670d\u52a1\uff0c\u5176\u4e2d\u5305\u62ec\u5404\u7c7b\u5e38\u9a7b\u670d\u52a1\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>chkconfig [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5217\u51fachkconfig\u6240\u77e5\u9053\u7684\u6240\u6709\u547d\u4ee4\uff1a<\/p>\n\n\n\n \u5f00\u542f\u670d\u52a1\uff1a<\/p>\n\n\n\n \u5173\u95ed\u670d\u52a1\uff1a<\/p>\n\n\n\n \u589e\u52a0httpd\u670d\u52a1\uff1a<\/p>\n\n\n\n \u5220\u9664httpd\u670d\u52a1\uff1a<\/p>\n\n\n\n <\/p>\n","protected":false},"excerpt":{"rendered":" \u8fd9\u662fRed Hat\u516c\u53f8\u9075\u5faaGPL\u89c4\u5219\u6240\u5f00\u53d1\u7684\u7a0b\u5e8f\uff0c\u5b83\u53ef\u67e5\u8be2\u64cd\u4f5c\u7cfb\u7edf\u5728\u6bcf\u4e00\u4e2a\u6267\u884c\u7b49\u7ea7\u4e2d\u4f1a\u6267\u884c\u54ea\u4e9b\u7cfb\u7edf\u670d\u52a1\uff0c\u5176\u4e2d\u5305 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4068"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=4068"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4068\/revisions"}],"predecessor-version":[{"id":4137,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4068\/revisions\/4137"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}--add <\/td> \u589e\u52a0\u6240\u6307\u5b9a\u7684\u7cfb\u7edf\u670d\u52a1\uff0c\u8ba9chkconfig\u6307\u4ee4\u5f97\u4ee5\u7ba1\u7406\u5b83\uff0c\u5e76\u540c\u65f6\u5728\u7cfb\u7edf\u542f\u52a8\u7684\u53d9\u8ff0\u6587\u4ef6\u5185\u589e\u52a0\u76f8\u5173\u6570\u636e <\/td><\/tr> --del <\/td> \u5220\u9664\u6240\u6307\u5b9a\u7684\u7cfb\u7edf\u670d\u52a1\uff0c\u4e0d\u518d\u7531chkconfig\u6307\u4ee4\u7ba1\u7406\uff0c\u5e76\u540c\u65f6\u5728\u7cfb\u7edf\u542f\u52a8\u7684\u53d9\u8ff0\u6587\u4ef6\u5185\u5220\u9664\u76f8\u5173\u6570\u636e <\/td><\/tr> --level <\/td> \u6307\u5b9a\u8bfb\u7cfb\u7edf\u670d\u52a1\u8981\u5728\u54ea\u4e00\u4e2a\u6267\u884c\u7b49\u7ea7\u4e2d\u5f00\u542f\u6216\u5173\u6bd5<\/td><\/tr><\/tbody><\/table>\n\n\n\n [root@linuxcool ~]# chkconfig -list <\/pre>\n\n\n\n
[root@linuxcool ~]# chkconfig telnet on<\/pre>\n\n\n\n
[root@linuxcool ~]# chkconfig telnet off<\/pre>\n\n\n\n
[root@linuxcool ~]# chkconfig \u2013-add httpd <\/pre>\n\n\n\n
[root@linuxcool ~]# chkconfig \u2013-del httpd <\/pre>\n\n\n\n