{"id":9313,"date":"2020-11-28T14:46:30","date_gmt":"2020-11-28T19:46:30","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=9313"},"modified":"2020-11-28T14:46:30","modified_gmt":"2020-11-28T19:46:30","slug":"managing-servers-with-org","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=9313","title":{"rendered":"Managing Servers with Org"},"content":{"rendered":"<p>Fragbot has an interesting reddit post talking about using Emacs as a <a href=\"https:\/\/www.reddit.com\/r\/emacs\/comments\/k2qzxh\/emacs_as_a_standalone_application\/\">standalone infrastructure that can be shared by others<\/a>. The idea is that you integrate Emacs into a workflow for use by folks who aren\u2019t normally Emacs users. He even has a link to Steve Yegge\u2019s famous story about <a href=\"https:\/\/sites.google.com\/site\/steveyegge2\/tour-de-babel\">the Mailman application at Amazon<\/a> as an example.<\/p>\n<p>Dante Catalfamo has a <a href=\"https:\/\/blog.lambda.cx\/posts\/org-ssh-export\/\">similar story<\/a> although in his case it was for personal use. Catalfamo\u2019s problem is that he maintains several machines and VMs at a couple of remote providers as well as at his home. There\u2019s a lot going on and it\u2019s hard to remember what\u2019s running where and the particulars of each machine and application.<\/p>\n<p>To keep track of everything, he has a <code>servers.org<\/code> file that contains all the information. Org\u2019s hierarchical structure is perfect for that. He has the sites as first level headers, machines under those, and bullet lists specifying the applications running on those machines. He has property drawers with information about the OS, IP address, user name and password, and other data about each machine.<\/p>\n<p>Finally, he wrote a custom exporter to take the information in <code>servers.org<\/code> and produce an SSH configuration file. That\u2019s a nice feature because after he makes a change he need merely export it to update his SSH configuration file.<\/p>\n<p>Notice that in none of this is Emacs really being used as an editor. The <code>servers.org<\/code> file could, in fact, be maintained with any editor all. Of course, Catalfamo makes use of Org\u2019s searching and organizing capabilities too but, again, Emacs is not really being used as an editor and anyone could, with a little training, take over the maintenance of the system. It\u2019s another nice example showing that Emacs is better thought of as an environment rather than (merely) an editor.<\/p>\n<p>Catalfamo\u2019s post is interesting and well worth taking a look at if you\u2019re an Org user or thinking of becoming one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fragbot has an interesting reddit post talking about using Emacs as a standalone infrastructure that can be shared by others. The idea is that you integrate Emacs into a workflow for use by folks who aren\u2019t normally Emacs users. He &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=9313\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18,4],"class_list":["post-9313","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs","tag-org-mode"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9313"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9313\/revisions"}],"predecessor-version":[{"id":9314,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9313\/revisions\/9314"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}