{"id":50,"date":"2008-08-19T08:47:53","date_gmt":"2008-08-19T00:47:53","guid":{"rendered":"http:\/\/play.datalude.com\/blog\/?p=50"},"modified":"2009-11-05T10:55:36","modified_gmt":"2009-11-05T02:55:36","slug":"ubuntu-version-of-chkconfig","status":"publish","type":"post","link":"https:\/\/play.datalude.com\/blog\/2008\/08\/ubuntu-version-of-chkconfig\/","title":{"rendered":"Ubuntu version of chkconfig"},"content":{"rendered":"<p>I always forget this one when I'm setting up a new Ubuntu machine, so this is as much for my benefit as anyone else's &#8230;<\/p>\n<p>I've used a lot of OSes and have always found the chkconfig command on Redhat \/ Centos very useful for changing runlevels of services. The equivalent on Ubuntu is the fabulously unmemorably named sysv-rc-conf. (UPDATE &#8211; Ignore most of this post and read Ernest's comment below) &#8230; Here's how to get it on your system.<\/p>\n<pre>sudo apt-get install sysv-rc-conf<\/pre>\n<p>and to run it requires<\/p>\n<pre>sudo ..uh what was its name again sysrc something? Dammit.<\/pre>\n<p>So what I normally do is a quick symlink:<\/p>\n<pre>sudo ln -s \/usr\/sbin\/sysv-rc-conf \/usr\/sbin\/chkconfig<\/pre>\n<p>and then I can use chkconfig as if it was really available for Ubuntu. Don't know why they couldn't just stick to the same name. Bah.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I always forget this one when I'm setting up a new Ubuntu machine, so this is as much for my benefit as anyone else's &#8230; I've used a lot of OSes and have always found the chkconfig command on Redhat \/ Centos very useful for changing runlevels of services. The equivalent on Ubuntu is the &#8230; <a title=\"Ubuntu version of chkconfig\" class=\"read-more\" href=\"https:\/\/play.datalude.com\/blog\/2008\/08\/ubuntu-version-of-chkconfig\/\" aria-label=\"Read more about Ubuntu version of chkconfig\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[4],"tags":[45,46,8],"class_list":["post-50","post","type-post","status-publish","format-standard","hentry","category-linux","tag-chkconfig","tag-sysv-rc-conf","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":0,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"wp:attachment":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}