{"id":95,"date":"2015-06-02T12:43:56","date_gmt":"2015-06-02T12:43:56","guid":{"rendered":"https:\/\/ruimoreira.co.uk\/?p=95"},"modified":"2015-06-02T12:44:35","modified_gmt":"2015-06-02T12:44:35","slug":"rhel-7-and-systemd","status":"publish","type":"post","link":"https:\/\/ruimoreira.co.uk\/?p=95","title":{"rendered":"RHEL 7 and Systemd"},"content":{"rendered":"<p>Hello again<\/p>\n<p>So with much anticipation from the community <strong>Red Hat<\/strong> has released RHEL 7 , and with it an Enterprise Linux Disto that actually ships Systemd , the replacement for the old style SysV init . I am not saying this is good or bad, traditionally people don&#8217;t like change so this is a bit theme right now, in any case here is a Cheat Sheet of the old RHEL 6 equivalents<\/p>\n<table style=\"height: 172px;\" width=\"799\">\n<tbody>\n<tr>\n<th style=\"text-align: center;\">RHEL 6<\/th>\n<th style=\"text-align: center;\">RHEL7<\/th>\n<\/tr>\n<tr>\n<td>chkconfig servicename on<\/td>\n<td>systemctl enable servicename<\/td>\n<\/tr>\n<tr>\n<td>chkconfig servicename off<\/td>\n<td>systemctl disable servicename<\/td>\n<\/tr>\n<tr>\n<td>chkconfig servicename on<\/td>\n<td>systemctl enable servicename<\/td>\n<\/tr>\n<tr>\n<td>chkconfig &#8211;list<\/td>\n<td>systemctl list-unit-files &#8211;type=service<\/td>\n<\/tr>\n<tr>\n<td>service servicename start<\/td>\n<td>systemctl start servicename<\/td>\n<\/tr>\n<tr>\n<td>service servicename stop<\/td>\n<td>systemctl stop servicename<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can also check the more in depth cheat sheet <a href=\"https:\/\/fedoraproject.org\/wiki\/SysVinit_to_Systemd_Cheatsheet\" target=\"_blank\">here <\/a><\/p>\n<p>One of the things that I found to be a bit strange at the beginning was hostnamectl , that as you might have guesses controlls the hostname , so now changing the hostname for your server is something like<\/p>\n<p>#hostnamectl &#8211;static set-hostname myserver.mydomain.com<\/p>\n<p>And yes there is also nmcli and firewallctl but that is another article by itself.<\/p>\n<p>Next: nmcli or How to manage your network on RHEL 7<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello again So with much anticipation from the community Red Hat has released RHEL 7 , and with it an Enterprise Linux Disto that actually ships Systemd , the replacement for the old style SysV init . I am not saying this is good or bad, traditionally people don&#8217;t like change so this is a &hellip; <a href=\"https:\/\/ruimoreira.co.uk\/?p=95\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">RHEL 7 and Systemd<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6,16,22],"tags":[53,51,54,52],"wppr_data":{"cwp_meta_box_check":"No","cwp_rev_product_name":"","cwp_rev_product_image":"","cwp_image_link":"image","cwp_rev_price":""},"_links":{"self":[{"href":"https:\/\/ruimoreira.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/95"}],"collection":[{"href":"https:\/\/ruimoreira.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ruimoreira.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ruimoreira.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ruimoreira.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95"}],"version-history":[{"count":10,"href":"https:\/\/ruimoreira.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":105,"href":"https:\/\/ruimoreira.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions\/105"}],"wp:attachment":[{"href":"https:\/\/ruimoreira.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ruimoreira.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ruimoreira.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}