{"id":1338,"date":"2014-07-26T09:09:54","date_gmt":"2014-07-26T14:09:54","guid":{"rendered":"http:\/\/www.familytidings.com\/blog\/?p=1338"},"modified":"2014-09-24T19:02:01","modified_gmt":"2014-09-25T00:02:01","slug":"setting-up-ubuntu-14-10-on-jennings","status":"publish","type":"post","link":"https:\/\/www.familytidings.com\/blog\/?p=1338","title":{"rendered":"Setting up Ubuntu 14.10 on Jennings"},"content":{"rendered":"<p>First up, run the Software Center and load Synaptic. Use Synaptic to load these packages:<\/p>\n<ul>\n<li>emacs<\/li>\n<li>nautilus-dropbox<\/li>\n<li>keepassx<\/li>\n<li>gkrellm<\/li>\n<li>system-config-lvm<\/li>\n<li>cifs-utils<\/li>\n<li>gnucash<\/li>\n<\/ul>\n<p>Load Firefox and install <a href=\"http:\/\/www.google.com\/chrome\">Chrome<\/a>. Sign in to Chrome.<\/p>\n<h2>Set up user accounts and groups<\/h2>\n<ol>\n<li>As root, edit <code>\/etc\/passwd<\/code> and add the other users from Boon&#8217;s <code>\/etc\/passwd<\/code><\/li>\n<li>Copy the corresponding lines in Boon&#8217;s <code>\/etc\/shadow<\/code> for the other users<\/li>\n<li>Edit <code>\/etc\/group<\/code> and add the groups for those users and also the ds411p2 group from the same file on Boon<\/li>\n<\/ol>\n<h2>Install NAS credentials<\/h2>\n<p>From Boon, copy the NAS authorization file:<br \/>\n<code>\/etc\/ds411p2pwd<\/code><\/p>\n<h2>Set up NAS mounts<\/h2>\n<p>As root, edit <code>\/etc\/fstab<\/code> and add these lines, substituting your username for {me}:<\/p>\n<blockquote><p><code>\/\/ds411p2\/video \/mnt\/ds411p2-public-video cifs rw,suid,gid=ds411p2,credentials=\/etc\/ds411p2pwd 0 0<br \/>\n\/\/ds411p2\/music \/mnt\/ds411p2-public-music cifs rw,suid,gid=ds411p2,credentials=\/etc\/ds411p2pwd 0 0<br \/>\n\/\/ds411p2\/photo \/mnt\/ds411p2-public-photo cifs rw,suid,gid=ds411p2,credentials=\/etc\/ds411p2pwd 0 0<\/p>\n<p>\/\/ds411p2\/home \/home\/{me}\/ds411p2 cifs user,uid={me},gid={me},rw,suid,credentials=\/home\/{me}\/.ds411p2pwd 0 0<br \/>\n\/\/ds411p2\/video \/home\/{me}\/ds411p2-public-video cifs user,uid={me},gid={me},rw,suid,credentials=\/home\/{me}\/.ds411p2pwd 0 0<\/code><\/p><\/blockquote>\n<p>As root, create the above directories in <code>\/mnt<\/code>. You can (as root) mount them now, but don&#8217;t mount the home directories yet.<\/p>\n<h2>Port user home directories<\/h2>\n<p>TAR all the home directories on Boon to a file on the NAS, then extract them to Jennings. (There are other ways to do this, of course):<br \/>\nOn Boon:<\/p>\n<ol>\n<li><code>cd \/home<\/code><\/li>\n<li><code>sudo tar cvzf \/home\/dave\/ds411p2\/boon-home-all.tgz --one-file-system {myuser} {anotheruser} {theotheruser}<\/code><\/li>\n<\/ol>\n<p>On Jennings, download the TAR file from the NAS through the web console to <code>\/home<\/code>. Write these next steps down, then close all programs except your terminal because we&#8217;ll be overwriting the home directories.<\/p>\n<ol>\n<li><code>cd \/home<\/code><\/li>\n<li><code>sudo tar xvzf \/boon-home-all.tgz<\/code><\/li>\n<li><code>sudo mount \/home\/{me}\/ds411p2<\/code><\/li>\n<li><code>sudo mount \/home\/{me}\/ds411p2-public-video<\/code><\/li>\n<li>Log out and back in again<\/li>\n<li>Dropbox will ask you to sign in again and the Gnome keyring will complain that your password is different. Use the Jennings password to unlock it.<\/li>\n<li>Make sure you can see the NAS files in the <code>\/mnt<\/code> and <code>~\/ds411p2*<\/code> directories.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/launchpad.net\/~webupd8team\/+archive\/ubuntu\/java\">Install Java 8<\/a><\/p>\n<blockquote><p><code>sudo add-apt-repository ppa:webupd8team\/java<br \/>\nsudo apt-get update<br \/>\nsudo apt-get install oracle-java8-installer<\/code><\/p><\/blockquote>\n<h2>Install Minecraft for the kids<\/h2>\n<ol>\n<li>On Boon: <code>cd \/usr\/local\/games; sudo tar cvf ~{me}\/ds411p2\/usr-local-games-minecraft.tar *<\/code><\/li>\n<li>On Jennings: <code>cd \/usr\/local\/games; sudo tar xvf ~{me}\/ds411p2\/usr-local-games-minecraft.tar<\/code><\/li>\n<li><code>rm ~{me}\/ds411p2\/usr-local-games-minecraft.tar<\/code><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>First up, run the Software Center and load Synaptic. Use Synaptic to load these packages: emacs nautilus-dropbox keepassx gkrellm system-config-lvm cifs-utils gnucash Load Firefox and install Chrome. Sign in to Chrome. Set up user accounts and groups As root, edit \/etc\/passwd and add the other users from Boon&#8217;s \/etc\/passwd Copy the corresponding lines in Boon&#8217;s [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1338","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1338"}],"version-history":[{"count":19,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1338\/revisions"}],"predecessor-version":[{"id":1378,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1338\/revisions\/1378"}],"wp:attachment":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}