{"id":144,"date":"2008-02-23T18:24:22","date_gmt":"2008-02-24T02:24:22","guid":{"rendered":"http:\/\/www.outflux.net\/blog\/archives\/2008\/02\/23\/ubuntu-server-administration\/"},"modified":"2008-02-23T18:27:05","modified_gmt":"2008-02-24T02:27:05","slug":"ubuntu-server-administration","status":"publish","type":"post","link":"https:\/\/outflux.net\/blog\/archives\/2008\/02\/23\/ubuntu-server-administration\/","title":{"rendered":"Ubuntu Server administration"},"content":{"rendered":"<p><a href=\"http:\/\/apress.com\/\">Apress<\/a> was kind enough to send me a copy of their new book &#8220;Beginning Ubuntu Server Administration: From Novice to Professional&#8221; by Sander van Vugt.  Overall, I was very impressed with this book &#8212; it was well written, filled with applicable examples, covered a wide range of topics, and provided background for people new to Ubuntu or Linux in general.  The book was written to Ubuntu 7.04, so there are a few places where 8.04 will make for an improved experience without having been changed too drastically.  All through the book I was pleased to see various slightly advanced topics covered well enough to get a reader started down the right path without getting them lost in the details.  I think this was especially true in the command line and scripting sections which were great for someone unfamiliar with what can be a daunting experience.<\/p>\n<p>In disk management, a lot of time was spent discussing LVM, which I&#8217;m very fond of myself.  (Even LVM snapshots were covered!)  I have a hard time imagining running any computer without LVM, so it was great to see it get a solid chunk of attention.  The only thing I felt was missing from disk management was a discussion of RAID (md).  For server environments, I think this is a critical topic.  Providing redundancy against drive failure is, I think, even more important than demonstrating how to easily manage partition layouts with LVM.<\/p>\n<p>In filesystem management, basic ACLs were covered as well as quota management.  I think quota management is an often neglected part of administration, so I was glad to see this covered.  In network management, basic iptables were outlined with good examples.  (Hardy&#8217;s &#8220;ufw&#8221; will help make this section even simpler in future revisions of the book.)  IPv6 was touched on, though I would have liked to see slightly more details.<\/p>\n<p>Under service management I enjoyed the introduction to <a href=\"http:\/\/en.wikipedia.org\/wiki\/Public_key_infrastructure\">PKI<\/a>, which is critical to understanding the basics of SSH and other services using SSL.  The examples for DNS, DHCP, NFS, and Samba were all very well done.  I think they make handy references for how to get a network or file-sharing server up and running in short order.<\/p>\n<p>As another Hardy feature to call out, the addition of &#8220;virt-manager&#8221; will make the Virtualization section on <a href=\"http:\/\/en.wikipedia.org\/wiki\/Kernel-based_Virtual_Machine\">KVM<\/a> much nicer to deal with.<\/p>\n<p>I took some notes for ideas and corrections that may be a benefit to other readers of this book:<\/p>\n<ul>\n<li>I personally like suffixing VG and LV names with &#8220;vg&#8221; and &#8220;lv&#8221; just to be able to quickly distinguish them when looking at device names.<\/li>\n<li>Administrators watching long-running &#8220;tail -f&#8221; output would benefit from using &#8220;tail -F&#8221; for when log files are rotated.<\/li>\n<li>In the section on &#8220;Finding Files&#8221; I was expecting to see mention of &#8220;locate&#8221;.<\/li>\n<li>When viewing compressed files: &#8220;zless&#8221; instead of &#8220;zcat FILE.gz | less&#8221;.<\/li>\n<li>When discussing Job Control, I would have liked to see a mention of &#8220;screen&#8221; for managing long-running processes (kernel compiles, &#8220;top&#8221;, etc).  Not enough people know about &#8220;screen&#8221;.  :)<\/li>\n<li>While the book was written to Feisty, it would be nice to have a short section in future versions on how to generate and use AppArmor profiles for the various running network services.<\/li>\n<li>Instead of the manual symlink management for Apache modules and sites, administrators can use the &#8220;a2{dis,en}{site,mod}&#8221; tools.<\/li>\n<li>Typos I saw: tailing &#8220;sudo&#8221; in mysql db creation example, &#8220;_netdec&#8221; should be &#8220;_netdev&#8221; in NFS fstab example.<\/li>\n<\/ul>\n<p>As I mentioned at the start &#8212; I think this is a great book for someone either new to Ubuntu server management or looking for simple service configuration references in a single place.  Thanks again to Apress for sending me a copy; I tried not to be too biased.  :)<\/p>\n<p style='text-align:left'>&copy; 2008, <a href=\"https:\/\/outflux.net\/blog\/\">Kees Cook<\/a>. This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 License<\/a>.<br \/><a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\"><img decoding=\"async\" alt=\"CC BY-SA 4.0\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-sa\/4.0\/88x31.png\" \/><\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apress was kind enough to send me a copy of their new book &#8220;Beginning Ubuntu Server Administration: From Novice to Professional&#8221; by Sander van Vugt. Overall, I was very impressed with this book &#8212; it was well written, filled with applicable examples, covered a wide range of topics, and provided background for people new to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,14],"tags":[],"_links":{"self":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/144"}],"collection":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/comments?post=144"}],"version-history":[{"count":0,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/144\/revisions"}],"wp:attachment":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/media?parent=144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/categories?post=144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/tags?post=144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}