{"id":438,"date":"2009-05-11T12:44:17","date_gmt":"2009-05-11T07:14:17","guid":{"rendered":"http:\/\/brainstorms.in\/?p=438"},"modified":"2009-05-11T12:59:59","modified_gmt":"2009-05-11T07:29:59","slug":"installing-ltsp-on-ubuntu-904","status":"publish","type":"post","link":"https:\/\/brainstorms.in\/?p=438","title":{"rendered":"Installing LTSP on Ubuntu 9.04"},"content":{"rendered":"<p>Installing LTSP and enabling thin clients to boot from your ubuntu 9.04 machine is very\u00a0 easy.<\/p>\n<p>I did the following steps.<\/p>\n<p>a) Install ubuntu 9.04 \u00a0 ( aka Jaunty) desktop \u00a0 with a static IP.\u00a0\u00a0\u00a0 (\u00a0 A static IP is needed as your ubuntu box is going to act as a server. My IP is 192.168.0.1). Set up Internet access on this machine. You need to download a lot of packages\u00a0 from the net to complete the installation.<\/p>\n<p>b)\u00a0 Install\u00a0 the packages\u00a0 ltsp-server-standalone and openssh-server<\/p>\n<p><code># apt-get install ltsp-server-standalone<br \/>\n# apt-get install openssh-server<\/code><\/p>\n<p>c)\u00a0 Build the LTSP client environment.<br \/>\n<code><br \/>\n#ltsp-build-client<br \/>\n<\/code><br \/>\nThis\u00a0 command will download all the necessary packages from Internet and build\u00a0 your environment.<\/p>\n<p>Have a look at \/opt\/ltsp\/i386. This directory will\u00a0 now contain the chroot environment for the thin clients.\u00a0 If you want to tweak any settings\u00a0 you cna do it here.<\/p>\n<p>d) Edit the\u00a0 \/etc\/ltsp\/dhcpd.conf to suit your network setting. This file\u00a0 will serve\u00a0 the ip range\u00a0 192.168.0.20 192.168.0.250 by default. If your network uses this range you can leave it\u00a0 as it is. (The default file worked for me as my server IP is 192.168.0.1)<\/p>\n<p>e) Run the following commands.<br \/>\n<code><br \/>\n#ltsp-update-sshkeys<\/p>\n<p>#ltsp-update-image<br \/>\n<\/code><br \/>\nThe first\u00a0 command above will export the ssh keys of the server\u00a0 to the ltsp client environment. The\u00a0 ltsp-update-image command will rebuild a squashfs image from the ltsp chroot environment and place it under \/opt\/ltsp\/images directory.\u00a0 This image will be exported to the thin client as root file system by the NBD daemon on the server.<\/p>\n<p>Your LTSP server is ready.\u00a0 Try booting form a client via pxe or etherboot.  You can also try to boot the thin client in qemulator.<br \/>\nThere is a sample script for this in \/usr\/share\/doc\/ltsp-server\/examples\/   named qemu-ltsp.<\/p>\n<p>Note:\u00a0 \u00a0 If you change any thing under \/opt\/ltsp\/i386 , you must rebuild the image for the change to be reflected on the client. Also, if you change the IP address of the server you must do an ltsp-update-sshkeys followed by\u00a0 ltsp-update-image.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing LTSP and enabling thin clients to boot from your ubuntu 9.04 machine is very\u00a0 easy. I did the following steps. a) Install ubuntu 9.04 \u00a0 ( aka Jaunty) desktop \u00a0 with a static IP.\u00a0\u00a0\u00a0 (\u00a0 A static IP is needed as your ubuntu box is going to act as a server. My IP is&hellip; <a href=\"https:\/\/brainstorms.in\/?p=438\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Installing LTSP on Ubuntu 9.04<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6,8,1],"tags":[44,45,43],"class_list":["post-438","post","type-post","status-publish","format-standard","hentry","category-computers","category-gnulinux","category-living-in-india","category-uncategorized","tag-jaunty","tag-ltsp","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/posts\/438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=438"}],"version-history":[{"count":10,"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/posts\/438\/revisions"}],"predecessor-version":[{"id":447,"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/posts\/438\/revisions\/447"}],"wp:attachment":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}