tag:blogger.com,1999:blog-46134555713678063692024-03-14T01:01:17.467+08:00Selling Free Software for a LivingThe opinions on this blog are my own and are not representative of my employers, past or present.Unknownnoreply@blogger.comBlogger105125tag:blogger.com,1999:blog-4613455571367806369.post-63827539561810248732018-05-26T17:01:00.000+08:002018-05-26T17:01:47.830+08:00Getting XMind 8 to work on openSUSE Leap 15openSUSE Leap 15 was officially launched on 25th May 2018. More at <a href="https://en.opensuse.org/Portal:15.0">https://en.opensuse.org/Portal:15.0</a><br />
<br />
XMind is my go-to mind mapping software for a few years now. More at <a href="https://www.xmind.net/">https://www.xmind.net/</a><br />
<br />
<h3>
Challenge:</h3>
Using the XMind 8 Linux package (zip file) and following the, albeit brief, instructions at <a href="http://support.xmind.net/customer/en/portal/articles/2639667-begin-to-use-xmind-8-on-linux">http://support.xmind.net/customer/en/portal/articles/2639667-begin-to-use-xmind-8-on-linux</a>, you will see XMind launch with the GUI Splash screen but the program will fail and exit.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-A2V0tIPm9w8/WwkcyrruOPI/AAAAAAAACoE/xUrCgdAcDokA_7P84vvXT27EKGVO2JJ0ACLcBGAs/s1600/XMind-error.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="315" data-original-width="912" height="221" src="https://3.bp.blogspot.com/-A2V0tIPm9w8/WwkcyrruOPI/AAAAAAAACoE/xUrCgdAcDokA_7P84vvXT27EKGVO2JJ0ACLcBGAs/s640/XMind-error.jpg" width="640" /></a></div>
<div style="text-align: left;">
</div>
<br />
<br />
<h3>
Root-cause:</h3>
XMind is a Java-based application and it is sensitive to the version of Java. The default Java runtime in openSUSE Leap 15 is OpenJDK version 10.0.1 (dated 2018-04-17).<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-g81sEJDWRZU/Wwkd1cwwjSI/AAAAAAAACoQ/6911lyu0vyMGOoPUGy6s3_481ZoUvF53wCLcBGAs/s1600/XMind-current-Java.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="195" data-original-width="623" height="200" src="https://3.bp.blogspot.com/-g81sEJDWRZU/Wwkd1cwwjSI/AAAAAAAACoQ/6911lyu0vyMGOoPUGy6s3_481ZoUvF53wCLcBGAs/s640/XMind-current-Java.jpg" width="640" /></a></div>
<br />
<h3>
Resolution:</h3>
<div>
Install the older OpenJDK version 1.8.0. Instead of removing the default version 10.0.1, I elected to install the older version 1.8.0 alongside and switch the default path for Java to 1.8.0.</div>
<div>
<br /></div>
<div>
<b><u>Here are my steps:</u></b></div>
<div>
<br /></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;"><b>zypper in java-1_8_0-openjdk</b></span></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-2tQdFw1StFk/Wwke4Fk7ZGI/AAAAAAAACoo/2YQcAQKARHk946FPPs6YX61XaeUEtjAHwCLcBGAs/s1600/Xmind-install-jdk180.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="192" data-original-width="878" height="138" src="https://1.bp.blogspot.com/-2tQdFw1StFk/Wwke4Fk7ZGI/AAAAAAAACoo/2YQcAQKARHk946FPPs6YX61XaeUEtjAHwCLcBGAs/s640/Xmind-install-jdk180.jpg" width="640" /></a></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;"><b><br /></b></span></div>
<div>
<br /></div>
<div>
<b><span style="font-family: "courier new" , "courier" , monospace;">update-alternatives --config java</span></b></div>
<div>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><i>(followed by picking the newly installed jre-1.8.0)</i></span></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-OjimdEL6Y0k/WwkfwivJ11I/AAAAAAAACo0/LzGuZmNzM74KrHs18VvyPJeJQ9bgmezrACLcBGAs/s1600/Xmind-switch-default-java.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="168" data-original-width="656" height="162" src="https://2.bp.blogspot.com/-OjimdEL6Y0k/WwkfwivJ11I/AAAAAAAACo0/LzGuZmNzM74KrHs18VvyPJeJQ9bgmezrACLcBGAs/s640/Xmind-switch-default-java.jpg" width="640" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<i>Validate:</i> <span style="font-family: "courier new" , "courier" , monospace;"><b>java -version</b></span></div>
<div>
<br /></div>
<div>
That's it. Now, when we execute the XMind program, it will work and launched successfully. </div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-o1KcCGeqtv4/Wwkgba9i1BI/AAAAAAAACo8/uv36eO0Rp3caQpqx2ntFNr8mmV5fZAcdwCLcBGAs/s1600/XMind.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="772" data-original-width="1026" height="480" src="https://2.bp.blogspot.com/-o1KcCGeqtv4/Wwkgba9i1BI/AAAAAAAACo8/uv36eO0Rp3caQpqx2ntFNr8mmV5fZAcdwCLcBGAs/s640/XMind.jpg" width="640" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Keep Calm & Carry On loving Linux!</div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-4613455571367806369.post-76935983644863244742018-05-01T23:11:00.002+08:002018-05-23T15:11:32.506+08:00openSUSE Leap 42.3 on Google Cloud Platform (GCP)<span style="color: blue;"><i>Blogging... I'm glad I started in 2008, it is like having a diary that you can never misplace... and reading some old entries can bring back wonderful memories, as I recall and review the course of my life from this, albeit narrow, technology perspective.</i></span><br />
<span style="color: blue;"><i><br /></i></span>
<span style="color: blue;"><i>Anyway, its been a good 4+ years since my last entry and the longest hiatus... glad and grateful to say that I am now working for Google. My personal Linux passion is still very much alive and personal bias towards all things SUSE (more openSUSE since 2011).</i></span><br />
<br />
<h3>
Problem Statement:</h3>
So, it is May 2018 and I am little disappointed that openSUSE Leap did not make it to the out-of-the-box <a href="https://cloud.google.com/compute/docs/images" target="_blank">public images</a> on Google Cloud Platform (GCP). However, it is listed in the <a href="https://cloud.google.com/compute/docs/images#community_supported_images" target="_blank">"Community supported images"</a> category.<br />
<span style="color: #0b5394;"><br /></span>
<span style="color: #0b5394;"><i>PS: I'm placing my vain hope that Leap 15 will make it though...</i></span><br />
<br />
This blog entry describes the steps to create a vanilla openSUSE Leap 42.3 VM on GCP and thereafter, create a custom image from this said VM so you can easily/quickly create openSUSE Leap 42.3 VMs for other workloads in the future through the <a href="https://console.cloud.google.com/" target="_blank">GCP Web Console</a>.<br />
<br />
From this point on, I will assume you have a <a href="https://cloud.google.com/" target="_blank">GCP</a> account and therefore access to GCP consoles etc. It is not difficult to start with Google Cloud Platform, just go to <a href="https://cloud.google.com/free/">https://cloud.google.com/free/</a> to get a Free Tier account.<br />
<br />
<h3>
Create an openSUSE Leap 42.3 VM on GCP:</h3>
<ol>
<li>Login to your <a href="https://console.cloud.google.com/" target="_blank">GCP console</a> and your project (default or otherwise).</li>
<li>From Menu (top-left), Compute Engine -> <a href="https://console.cloud.google.com/compute/instances" target="_blank">VM instances</a></li>
<li>Note that openSUSE is not listed as an Operating System image when you try to <a href="https://console.cloud.google.com/compute/instancesAdd" target="_blank">create a new VM</a>. This is well documented at the <a href="https://cloud.google.com/compute/docs/images" target="_blank">Images section</a> of the Compute Engine topic.<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-4iVpGuN_Rg8/Wuhylk0qVBI/AAAAAAAACTE/x4VrXhLZUpk4JIKE9I4wYqxpHpCIAHrQACLcBGAs/s1600/image%2Blist.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="461" data-original-width="499" height="295" src="https://2.bp.blogspot.com/-4iVpGuN_Rg8/Wuhylk0qVBI/AAAAAAAACTE/x4VrXhLZUpk4JIKE9I4wYqxpHpCIAHrQACLcBGAs/s320/image%2Blist.png" width="320" /></a></div>
</li>
<li>Launch the Cloud Shell within the console, on the top-right. <div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-gZss8zge154/WuhzezAt6VI/AAAAAAAACTQ/8b2mEHduiQIRy7_b9xTH8rDoBQNNWmG-wCLcBGAs/s1600/cloud%2Bshell%2Bicon.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="42" data-original-width="213" src="https://1.bp.blogspot.com/-gZss8zge154/WuhzezAt6VI/AAAAAAAACTQ/8b2mEHduiQIRy7_b9xTH8rDoBQNNWmG-wCLcBGAs/s1600/cloud%2Bshell%2Bicon.png" /></a></div>
</li>
<li>Find the available community supported openSUSE Leap image with the following command input to the Cloud Shell.<b><span style="font-size: small;"><span style="font-family: "courier new" , "courier" , monospace;"> </span></span></b></li>
<ul>
<li><b><span style="font-size: small;"><span style="font-family: "courier new" , "courier" , monospace;">gcloud compute images list --project opensuse-cloud --no-standard-images </span></span></b><a href="https://4.bp.blogspot.com/-D_5l-z1Wg8w/Wuh0-bi8jZI/AAAAAAAACTo/zhbvgoYDOwsWfiMWsOQoitALI6VEw8YiQCLcBGAs/s1600/cloud%2Bshell%2B-%2Blist%2Bopensuse.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="133" data-original-width="824" height="100" src="https://4.bp.blogspot.com/-D_5l-z1Wg8w/Wuh0-bi8jZI/AAAAAAAACTo/zhbvgoYDOwsWfiMWsOQoitALI6VEw8YiQCLcBGAs/s640/cloud%2Bshell%2B-%2Blist%2Bopensuse.png" width="640" /></a></li>
</ul>
<li>Create a VM with the openSUSE Leap 42.3 image in the Singapore datacenter (or any <a href="https://cloud.google.com/about/locations/" target="_blank">Zones</a> that is closest to you)</li>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<ul>
<li> <b><span style="font-family: "courier new" , "courier" , monospace;">gcloud compute instances create osleap423 --image-family opensuse-leap --image-project opensuse-cloud --zone asia-southeast1-a</span></b></li>
<li>For Reference, the available parameters for gcloud compute instances create at this link - <a href="https://cloud.google.com/sdk/gcloud/reference/compute/instances/create">https://cloud.google.com/sdk/gcloud/reference/compute/instances/create</a></li>
<li>Verify that the VM has been created in the console <div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-XRR36AbKaFY/Wuh3GvISQ_I/AAAAAAAACUA/79hufdXjSLYkwO8shWwn_jUlHzk9HhiyACLcBGAs/s1600/vm%2Blist.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="234" data-original-width="733" height="204" src="https://3.bp.blogspot.com/-XRR36AbKaFY/Wuh3GvISQ_I/AAAAAAAACUA/79hufdXjSLYkwO8shWwn_jUlHzk9HhiyACLcBGAs/s640/vm%2Blist.png" width="640" /></a></div>
</li>
</ul>
<li><b>SSH</b> into your newly created openSUSE Leap 42.3 VM to download and apply the latest updates/patches. Click the <b>SSH</b> button (see screenshot above).</li>
<ul>
<li>Once you SSH into your VM, <b><span style="font-family: "courier new" , "courier" , monospace;">zypper up</span></b>.<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/--iFKQG4m9t0/Wuh6FN_ZFaI/AAAAAAAACUg/2H20t4_UC5cpjLgOM4Pn6Qaaob2-4A3igCLcBGAs/s1600/ssh%2Bzypper%2Blr.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="282" data-original-width="907" height="196" src="https://2.bp.blogspot.com/--iFKQG4m9t0/Wuh6FN_ZFaI/AAAAAAAACUg/2H20t4_UC5cpjLgOM4Pn6Qaaob2-4A3igCLcBGAs/s640/ssh%2Bzypper%2Blr.png" width="640" /></a><a href="https://2.bp.blogspot.com/-OlpKnNzx6qo/Wuh6K-XlPjI/AAAAAAAACUk/UPlEnoot7N4qelKbm6HQkUTohgI-N7GxACLcBGAs/s1600/ssh%2Bzypper%2Bup%2B-%2B1.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="400" data-original-width="906" height="281" src="https://2.bp.blogspot.com/-OlpKnNzx6qo/Wuh6K-XlPjI/AAAAAAAACUk/UPlEnoot7N4qelKbm6HQkUTohgI-N7GxACLcBGAs/s640/ssh%2Bzypper%2Bup%2B-%2B1.png" width="640" /></a></div>
<a href="https://4.bp.blogspot.com/-mZIQGQ2JsKE/Wuh6UTBrmKI/AAAAAAAACUo/vWryF9Tas2I3Y--kkDmaqQ5zYVDGWtuYwCLcBGAs/s1600/ssh%2Bzypper%2Bup%2B-%2B2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="340" data-original-width="907" height="238" src="https://4.bp.blogspot.com/-mZIQGQ2JsKE/Wuh6UTBrmKI/AAAAAAAACUo/vWryF9Tas2I3Y--kkDmaqQ5zYVDGWtuYwCLcBGAs/s640/ssh%2Bzypper%2Bup%2B-%2B2.png" width="640" /></a></li>
</ul>
<li><b>Reboot </b>the VM to test all updates are working.<b> </b></li>
<ul>
<li>Reboot: <b><span style="font-family: "courier new" , "courier" , monospace;">sudo reboot</span></b>. You will lose SSH connection, naturally.</li>
<li>Sign back in via <b>SSH button</b>... it may take a few tries as the VM is rebooting.</li>
<li>Sign out of SSH:<b> <span style="font-family: "courier new" , "courier" , monospace;">exit</span></b></li>
</ul>
<li><b>Shutdown</b> the VM. <b>Select</b> the VM (checkbox) from the Console and Click <b>STOP.</b></li>
</ol>
<br />
<h3>
Create a custom image in your GCP Project for Re-use later:</h3>
<ol>
<li>From the GCP console, navigate to Compute Engine -> <a href="https://console.cloud.google.com/compute/images" target="_blank">Images</a></li>
<li>Click <b>[+] CREATE IMAGE</b> <div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-Zhd8dtqK828/Wuh7Mu4MMPI/AAAAAAAACU8/qlbDAzH6W9gfBeMTieHvDNRMUKwjLZyKgCLcBGAs/s1600/create%2Bimage.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="107" data-original-width="366" height="93" src="https://2.bp.blogspot.com/-Zhd8dtqK828/Wuh7Mu4MMPI/AAAAAAAACU8/qlbDAzH6W9gfBeMTieHvDNRMUKwjLZyKgCLcBGAs/s320/create%2Bimage.png" width="320" /></a></div>
</li>
<li>Put in the name of your new image (eg. my-opensuse-leap-423) and select <u>Source</u> as Disk and <u>Source disk</u> as the boot disk from the right VM (eg. osleap423).<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-nujKwAmZVBk/Wuh-Lac5yjI/AAAAAAAACVU/junSSO6tEWAnX-07hGIbeSnhYZHWoTD4QCLcBGAs/s1600/create%2Bimage%2B2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="661" data-original-width="541" height="640" src="https://2.bp.blogspot.com/-nujKwAmZVBk/Wuh-Lac5yjI/AAAAAAAACVU/junSSO6tEWAnX-07hGIbeSnhYZHWoTD4QCLcBGAs/s640/create%2Bimage%2B2.png" width="521" /></a></div>
</li>
<ul>
<li><b>(Optional)</b> You can click the <u>command line</u> link at the bottom to note the equivalent Cloud Shell command. This is useful if you want to script actions for future re-use and not use the web-console.</li>
</ul>
<li>Once your custom image is created, you will be able to select it for the next VM you wish to create.</li>
<table>
<tbody>
<tr><td valign="top"><a href="https://3.bp.blogspot.com/-DiUiOTeMvMM/WuiBzvdQDpI/AAAAAAAACVs/QU06zrOR-AsbubvP25MNsk2C7ADSqbxjQCLcBGAs/s1600/create%2Binstance%2Bboot%2Bdisk%2Boption.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="456" data-original-width="464" height="392" src="https://3.bp.blogspot.com/-DiUiOTeMvMM/WuiBzvdQDpI/AAAAAAAACVs/QU06zrOR-AsbubvP25MNsk2C7ADSqbxjQCLcBGAs/s400/create%2Binstance%2Bboot%2Bdisk%2Boption.png" width="400" /></a></td><td valign="top"><a href="https://1.bp.blogspot.com/-Wg1sNZL_Mws/WuiB5XHWESI/AAAAAAAACVw/IZB6vn5TLzcn-zDPmvEun8nvX5niqKKfwCLcBGAs/s1600/custom%2Bimage%2Bfor%2Bselection.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="224" data-original-width="517" height="171" src="https://1.bp.blogspot.com/-Wg1sNZL_Mws/WuiB5XHWESI/AAAAAAAACVw/IZB6vn5TLzcn-zDPmvEun8nvX5niqKKfwCLcBGAs/s400/custom%2Bimage%2Bfor%2Bselection.png" width="400" /></a></td></tr>
</tbody></table>
</ol>
Enjoy! :-)Unknownnoreply@blogger.com6Singapore1.352083 103.819836000000010.8441055 103.174389 1.8600605 104.46528300000001tag:blogger.com,1999:blog-4613455571367806369.post-70561385772983908222014-01-28T18:00:00.000+08:002014-01-28T18:00:07.998+08:00My openSUSE 13 Journal 1: Getting IBM Notes 9.0.1 to work!Its a new year (belated) and 13.1 has been out for quite a while now. I had it running in a VM as an evaluation and did not really move my desktop setup from 12.3 up to 13.1 until last weekend.<br>
<br>
In the meantime, a few readers has corresponded with me via comments in my previous post about getting IBM <strike>Lotus</strike> Notes 9 Social Edition to work on 13.1. My initial favourable responses were based purely on a very quick install and startup tests (it all looked good). Unfortunately, there appears to be a little bug with the combination of openSUSE 13.1 and IBM Notes 9.0.1 but it is a very small one and the resolution is ridiculously simple (but not immediately apparent).<br>
<br>
I hope to blog more on 13.1 at a later date but will only focus on getting IBM Notes 9.0.1 working on 13.1 in this entry. I have been having some difficulties in my personal health lately and that only takes time away from pursuing my hobbies (blogging here being one of them).<br>
<br>
First, I would like to acknowledge <b><a href="http://www.blogger.com/profile/08094116555813542267" target="_blank">Craig</a></b> for bringing to my attention the challenge and so proactively providing the links to his discussions in the Lotus forum (<a href="http://www-10.lotus.com/ldd/ndseforum.nsf/xpTopicThread.xsp?documentId=32D7004E3965913B85257C3C00791B85#D157BAAD286B944F85257C470025D6F7" target="_blank">here</a>). I would also like to Thank <b><a href="http://www.blogger.com/profile/02170611921883531873" target="_blank">Ashu</a></b> for his encouraging comments left on my <a href="http://sellingfreesoftwareforaliving.blogspot.com/2013/04/my-opensuse-12-journal-14-ibm-notes-9.html" target="_blank">previous blog entry</a> and hope this entry will be just as useful to those out there who share the same fascination of using openSUSE and IBM Notes. <br>
<br>
<h2>
Installation - Easy as pie</h2>
As documented in previous blog entries, installation of IBM Notes 9.0.1 is really a piece of cake. You download the binaries (NOTES_9.0.1_LINUX_RPM_EN.tar), untar it into an empty directory and you will find 5 RPMs (i586 - 32-bit) and a few other files.<br>
<br>
As root, execute the following in the same directory:<br>
<br>
<span style="font-family: Courier New, Courier, monospace;"><b>zypper in *.rpm</b></span><br>
<br>
Done! You will find the IBM Notes icon in the <b>Recently Installed Apps</b> folder in KDE4. Alternatively, the launch icon can also be found in the <b>KDE::Applications::Office::More Programs::IBM Notes</b>. Right-click and Add to Favourites to easily find it the next time.<br>
<br>
<h2>
First sign of trouble</h2>
First sign of trouble, at least for me, only occurred after successfully launching IBM Notes and when I get into my mailbox, view calendar or log into SameTime. The GUI would freeze and then IBM Notes would terminate and NSD runs.<br>
<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2014/01/my-opensuse-13-journal-1-getting-ibm.html#more">Read more »</a>Unknownnoreply@blogger.com11tag:blogger.com,1999:blog-4613455571367806369.post-51499839620108905512013-09-01T08:00:00.000+08:002013-09-20T11:43:28.802+08:00My IBM Worklight Studio Software Appliance via SUSE StudioIts been quite a while since I've created any software appliance via SUSE Studio. This blog entry describes the motivation behind and the details of my IBM Worklight Studio Developer Edition software appliance created via SUSE Studio.<br />
<div>
<br /></div>
<div>
<span style="font-size: large;">Background</span></div>
<div>
<a href="http://www.ibm.com/software/products/us/en/worklight/" target="_blank">IBM Worklight</a> is the mobile application platform that is part of the <a href="http://www.ibm.com/mobilefirst/us/en/" target="_blank">IBM MobileFirst</a> solution.</div>
<div>
<br /></div>
<div>
<a href="http://www.ibm.com/software/mobile-solutions/worklight/components/mobile-development-platform/" target="_blank">IBM Worklight Studio</a> is the development tool for creating web, hybrid or native mobile apps that runs on the IBM Worklight platform. <a href="http://www.ibm.com/developerworks/" target="_blank">IBM developerWorks</a> also host resources on working with IBM Worklight, <a href="http://www.ibm.com/developerworks/mobile/library/mo-aim1206-working-with-worklight-1/" target="_blank">here</a> and <a href="http://www.ibm.com/developerworks/mobile/worklight/getting-started.html" target="_blank">here</a>.</div>
<div>
<br /></div>
<div>
IBM Worklight Studio Developer Edition V6, release in June 2013, is freely available as a plugin on top of Eclipse Juno V4.2.2. Also freely available, is the Rational Test Workbench plugin that provides functional testing of mobile applications created by Worklight Studio. Both plugins can be found on the Eclipse Marketplace.</div>
<div>
<br /></div>
<div>
<i>* From this point forward, I will use "<b>IBM Worklight Studio</b>" to mean the <b>IBM Worklight Studio Developer Edition</b> for the rest of this blog entry *</i></div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Motivation</span></div>
<div>
The installation and configuration of IBM Worklight Studio and the Android SDK will take <b><u>at least an hour or two.</u></b> This is very much dependent on your network download speed and readiness of your OS/machine (or virtual machine). </div>
<div>
<br /></div>
<div>
By the time your IBM Worklight Studio and the Android SDK is ready for action, you will probably opt to go for a coffee break first. :)</div>
<div>
<br /></div>
<div>
Therefore, to shorten the time to evaluation and also improve productivity of fellow developers out there who wants to focus on evaluating the tool from a development perspective, I thought a software appliance with everything pre-installed and configured would be helpful. </div>
<div>
<br /></div>
<div>
Since I cannot give out Windows or Mac OS virtual images without running into license infringement issues, I chose to use SUSE Studio to construct a openSUSE based virtual machine with all the required IBM Worklight Studio components installed and ready to go.</div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Link to my Appliances</span></div>
<div>
I have created two editions of my <a href="http://susestudio.com/u/han" target="_blank">software appliance</a>:</div>
<div>
<b>RTR</b> - <a href="http://susestudio.com/a/aTMdP0/worklight-studio-rtr" target="_blank">Ready to Rock edition (Link)</a></div>
<div>
<b>ARTR</b> - <a href="http://susestudio.com/a/aTMdP0/worklight-studio-artr" target="_blank">Almost Ready to Rock edition (Link)</a></div>
<div>
<br /></div>
<div>
The <b>RTR</b> edition is a complete and ready to go stack with all software installed and configured. I have also included a library of <a href="http://www.ibm.com/developerworks/mobile/worklight/getting-started.html" target="_blank">tutorials downloaded from IBM developerWorks</a> on the subject. You can start developing your first mobile app straight away and can deploy that onto the Android Emulator. If you have an Android phone connected via USB to the VM, you can also deploy your mobile app onto your Android phone for testing. However, the size of the appliance download is <b>2.4Gb</b> (compressed).</div>
<div>
<br /></div>
<div>
The <b>ARTR</b> edition has a smaller footprint of only <b>1.5Gb</b> (compressed). However, you only have Eclipse Juno V4.2.2 installed and you will need to install the IBM Worklight Studio plugins on your own. The effort is not strenuous for the operator but you'll need good Internet download speed to install the plugins via the Eclipse Marketplace. All tutorials on installation are included in the Tutorials folder to help guide you through the process.<br />
<br />
<span style="color: red;"><b>PS:</b></span> For those who are new to SUSE Studio, you do not need to sit around and wait for the download to complete before you can see the appliance in action. Use the <span style="color: blue;"><b>Testdrive</b></span> option to have it provisioned in the Cloud for an hour and you can interact with it remotely from your web browser. </div>
<div>
<br /></div>
<div>
That's all for now. Please let me know what you think by leaving a comment on the SUSE Studio Marketplace or here on my blog. </div>
<div>
<br /></div>
<div>
Have Fun!<br />
<br />
PS: Happy Father's Day to Australians who celebrate it on this day.</div>
Unknownnoreply@blogger.com0Perth WA, Australia-31.9530044 115.85746930000005-33.6770629 113.27568230000004 -30.2289459 118.43925630000005tag:blogger.com,1999:blog-4613455571367806369.post-7801952580391484332013-04-25T06:30:00.000+08:002013-04-25T06:30:02.081+08:00My openSUSE 12 Journal 14: IBM Notes 9 on 12.3<a href="http://www.blogger.com/profile/13836193841426063537" rel="nofollow" style="background-color: #fdfefa; color: #d57629; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; font-weight: bold; line-height: 18px;">Syed Tassawur Hussain</a>, this is for you. Thank you for prodding and giving me the motivation to complete this blog entry on how to install the GA version of IBM Notes 9 Social Edition. <img align="middle" alt=":)" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons6/1.gif"><br>
<br>
Back in the days of using 12.2, IBM Notes 9 was in Beta and I have blogged about how I installed and configured this combination <a href="http://sellingfreesoftwareforaliving.blogspot.com.au/2013/01/my-opensuse-12-journal-8-ibm-notes-90.html" target="_blank">here</a>.<br>
<br>
With my move to 12.3, I was going to install the now GA version of IBM Notes 9. Given how impressed I was with 12.3, and all the additional software and customizations applied in 12.2 seems to transfer seemlessly to 12.3, I was naturally mildly surprised (and annoyed) that installation of IBM Notes 9 did not go quite as smoothly as Notes 9 Beta on 12.2.<br>
<br>
Let me jump to the crux of the matter, one particular library (<b>libjpeg62</b>) has been removed from the media and default online repositories of 12.3. This <b>libjpeg62</b> was previously in 12.2 and earlier versions of openSUSE. As such, IBM Notes 9 installer and even zypper were not able to install execute successfully.<br>
<br>
Here's how I arrive at this conclusion and was able to successfully install IBM Notes 9 on openSUSE 12.3. While I have not tried this on the enterprise flavour of openSUSE (ie SUSE Linux Enterprise Desktop 11), should you encounter the same challenges, the steps below may be of help.<br>
<br>
<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2013/04/my-opensuse-12-journal-14-ibm-notes-9.html#more">Read more »</a>Unknownnoreply@blogger.com10tag:blogger.com,1999:blog-4613455571367806369.post-24355707284867655812013-04-21T08:00:00.000+08:002013-04-21T08:00:03.417+08:00My openSUSE 12 Journal 13: NetworkManager Config for Cisco LEAP Wireless<span style="font-size: large;"><b><span style="background-color: yellow; color: blue;">This is my 100th blog entry!</span></b> </span> <img align="middle" alt=":)" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons6/1.gif"><br>
<br>
In short, I wasted a few days and a weekend to get my shiny new 12.3 to connect with my company's Cisco LEAP (henceforth referred to as just LEAP) wireless network.<br>
<br>
<i>For those who do not have a requirement to connect to wifi via LEAP but are curious anyways, please see this link for <a href="http://en.wikipedia.org/wiki/Lightweight_Extensible_Authentication_Protocol" target="_blank">LEAP</a>.</i><br>
<br>
To save you the same grief, here is the answer (see screenshot below) on how to configure NetworkManager:<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-nxUsUWN21jg/UXKJHDLVRNI/AAAAAAAABHU/622_1H9k_W0/s1600/12.3_NetworkManager-LEAP-03.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="345" src="http://1.bp.blogspot.com/-nxUsUWN21jg/UXKJHDLVRNI/AAAAAAAABHU/622_1H9k_W0/s640/12.3_NetworkManager-LEAP-03.jpg" width="640"></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">The one on the Left WORKED; the one on the Right did NOT work for me</td></tr>
</tbody></table>
<u><b>Disclaimer:</b></u> Your mileage may vary (YMMV) because I did not test this against another LEAP wifi network outside of my company's implementation.<br>
<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2013/04/my-opensuse-12-journal-13.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4613455571367806369.post-90747793548357358992013-04-20T17:00:00.000+08:002013-04-20T17:00:04.462+08:00My openSUSE 12 Journal 12: Hello 12.3!<br>
Hello openSUSE 12.3! You were released into the big bad world on 13 March 2013 and you are fantastic!<br>
<img align="middle" alt=":)" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons6/1.gif"><br>
<br>
Two weeks back, I installed 12.3 onto a new partition on my primary workstation/laptop in one hour. By the hour thereafter, and I do need to install quite a handful of additional software, I was working on my day job without skipping a beat. One of the software that is critical to my job is <b>IBM Notes 9 Social Edition</b>. As covered in <a href="http://sellingfreesoftwareforaliving.blogspot.com.au/2013/01/my-opensuse-12-journal-8-ibm-notes-90.html" target="_blank">my previous blog entry on the beta</a>, IBM Notes 9 has been officially released on 2 March 2013. Look out for my next blog entry on installing the Generally Available(GA) version of IBM Notes 9 Social Edition on openSUSE 12.3.<br>
<br>
Hand on my heart, 12.3 is a very worthy successor to 12.2. I am very happy with it, and if you know me, that says alot... BUT... there is one little usage/design point with the GUI of NetworkManager that got me confused and I was unable to get onto my office's Cisco LEAP wireless network. This was resolved eventually (after 3 days and a weekend) and it turns out to be a non-issue... or a usage issue... or... anyway, look out for this in my next entry. <img align="middle" alt=":)" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons6/1.gif"><br>
<br>
<u><b>Installation and Partitioning</b></u><br>
<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2013/04/my-opensuse-12-journal-12-hello-123.html#more">Read more »</a>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-4613455571367806369.post-59146358653209538062013-02-03T23:30:00.000+08:002013-02-04T05:05:56.253+08:00My openSUSE 12 Journal 11: VirtualBoxThis should be an interesting entry in light of the <a href="http://www.zdnet.com/oracle-who-fedora-and-opensuse-will-replace-mysql-with-mariadb-7000010640/" target="_blank">recent developments in the roadmap of both Fedora & openSUSE where MySQL is being ditched for MariaDB</a>. This will affect new enterprise deployments in the next 18-24 months when the changes cascades into the next major release of RHEL & SLES.<br>
<br>
At the heart of these changes is the perceived lack of openness & transparency of commercial juggernauts shepherding open source projects. Another example is LibreOffice, being a fork of OpenOffice a few years back, and is now the default in openSUSE distributions.<br>
<br>
<b><a href="https://www.virtualbox.org/" target="_blank">VirtualBox</a></b> was originally from Innotek GmbH and they were acquired by Sun Microsystems Inc. in February 2008 which in turn got acquired by Oracle Corporation in January 2010. Virtualbox is not shipped as a default on openSUSE but you can install it very easily because the binaries are available in the default online repositories.<br>
<br>
Personally, I think VirtualBox is the <b><u>'BEST'</u></b> virtualization software for the desktop. I would go with KVM or even Xen for enterprise server virtualization. However, for virtualizing Windows or Linux on a desktop for quick testing purposes, <b><u>I'll pick Virtualbox anytime for its ease of use & free of cost attributes.</u></b><br>
<br>
<span style="font-size: x-large;">Easy Install Method</span><br>
<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2013/02/my-opensuse-12-journal-11-virtualbox.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4613455571367806369.post-21461857459641079652013-01-26T18:00:00.000+08:002013-01-26T18:00:01.467+08:00My openSUSE 12 Journal - 10: Chinese text input (fcitx)I need Simplified Chinese text input capability for my desktop. Back in openSUSE 12.1 and prior versions, it was SCIM that provided that functionality. In openSUSE 12.2, FCITX replaces SCIM. <br>
<br>
<span style="font-size: x-large;"><b>How do you add secondary language input capabilities?</b></span><br>
<br>
This section applies to all openSUSE and SUSE Linux Enterprise versions. Thanks to YaST, the way to enable this functionality has remained consistent over the years.<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a href="http://4.bp.blogspot.com/-ij0T0Y0Rdeg/UQI3mtKAsOI/AAAAAAAABAY/biPyzj7qmKo/s1600/fcitx-cn_01.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em; text-align: center;"><img border="0" height="50" src="http://4.bp.blogspot.com/-ij0T0Y0Rdeg/UQI3mtKAsOI/AAAAAAAABAY/biPyzj7qmKo/s200/fcitx-cn_01.jpg" width="200"></a>In <b>YaST</b>, find and select <b>Language</b> (under <b>System</b>).<br>
<br>
<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-m0Y8o8r0R3k/UQI39u-bnII/AAAAAAAABAg/h9vj0A4tQxo/s1600/fcitx-cn_02.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="264" src="http://3.bp.blogspot.com/-m0Y8o8r0R3k/UQI39u-bnII/AAAAAAAABAg/h9vj0A4tQxo/s320/fcitx-cn_02.jpg" width="320"></a></div>
In the <b>Secondary Languages</b> section, select and put a <b>check mark</b> next to Simplified Chinese... and any other language of your choice.
<br>
Click <b>Ok</b> button and YaST will install the proper software and language package to enable this functionality.<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-4H0zOPoqqI4/UQI8Ln3WKNI/AAAAAAAABAw/s67Y3It8ePI/s1600/fcitx-cn_03.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://2.bp.blogspot.com/-4H0zOPoqqI4/UQI8Ln3WKNI/AAAAAAAABAw/s67Y3It8ePI/s1600/fcitx-cn_03.jpg"></a></div>
<i>(Optional):</i> You might want to log out and log back in to your account, just to be sure there is a new language input <b>icon</b> in your <b>System Tray</b>. In my experience, the icon shows up without a need to log out and back in again.<br>
<br>
<br>
<span style="font-size: x-large;"><b>Frustration #1: Where is the configuration panel?</b></span><br>
<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2013/01/my-opensuse-12-journal-10-chinese-text.html#more">Read more »</a>Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-4613455571367806369.post-71783028683700704222013-01-25T18:00:00.000+08:002013-04-20T15:34:14.004+08:00My openSUSE 12 Journal - 9: Upgrading to Stable Kernel 3.7.4I took every step and every precaution, with fear and trembling, but I finally took the plunge to upgraded my default kernel (3.4.11) in openSUSE 12.2 to the latest stable kernel (3.7.4).<br>
<br>
You know what? This is the best thing I could have ever done for my laptop!!!<br>
<br>
Special Thanks to <b><u>Mike Veltman</u></b>, appreciate your guidance and encouragement.<br>
<br>
<b style="font-size: x-large;">What made me do it?</b><br>
I have been using openSUSE 12.2 for over 3+ weeks and have noticed some performance issues from a desktop productivity perspective. This was confirmed when speaking with Mike and also confirmed by a comment from Jack Bauer on <a href="http://sellingfreesoftwareforaliving.blogspot.com.au/2013/01/my-opensuse-12-journal-6-hello-122.html" target="_blank">my previous blog entry</a>.<br>
<br>
<b><u>Scenario:</u></b> Try copying a large amount of files (total file size of say over 1Gb) from your hard disk to an external USB drive. During the file transfer (doesn't matter if you initiate the transfer via commandline or GUI), the rest of the desktop (except the mouse pointer) is practically dead and unresponsive. At best, a simple task of opening a new tab on Firefox to surf will take over 10 seconds. If you want to open LibreOffice to read a doc/spreadsheet, you can forget-about-it.<br>
<br>
This was initially tolerated because I would schedule large file backups in the evening after work. However, it is starting to get to me because I don't recall earlier openSUSE 11.3, 11.4 and 12.1 ever giving me such issues. The final straw came this week and its my Windows VM... it was running well but I have to put PGP whole disk encryption on the VM. As expected the Windows VM slowed down but I also noticed its slowing my host as well.<br>
<br>
<span style="font-size: x-large;"><b>How I did it?</b></span><br>
<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2013/01/my-opensuse-12-journal-9-upgrading-to_25.html#more">Read more »</a>Unknownnoreply@blogger.com6tag:blogger.com,1999:blog-4613455571367806369.post-42955770257065456232013-01-19T04:00:00.000+08:002013-01-23T17:09:43.427+08:00 My openSUSE 12 Journal - 8: IBM Notes 9.0 public betaI was going to install Lotus Notes 8.5.3 on openSUSE 12.2... but a good friend of mine (Lotus geek) informed me that the next great version IBM Notes 9.0 is ready as an open beta. He challenged me to live life on the edge again and, I accepted! <img align="middle" alt="L-)" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons6/30.gif"><br>
<br>
Link to download <a href="https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-beta-nodoso&S_PKG=dl&CT=ISM0007&lang=en_US&cp=UTF-8" target="_blank">IBM Notes/Domino 9.0 public beta</a><br>
Link to the <a href="http://www-10.lotus.com/ldd/ndsebetaforum.nsf" target="_blank">public beta forum</a>.<br>
<br>
I would like to draw your attention to the fact that IBM has <u>dropped the Lotus brand</u> and name this new major version <b>IBM Notes 9.0 Social Edition</b>. This is a great statement of intent and direction for this product/solution.<br>
<br>
<b><span style="font-size: large;">
Installation:</span></b><br>
<b><br></b>
<b>Pre-requisite:</b> You will need to uninstall previous versions of Lotus Notes (if any). Note that installing both 8.5.x and 9.0b is not supported (officially). <br>
<br>
After you have downloaded the tarball for Notes 9.0b, untar it. You will notice a bunch of RPMs and a <span style="font-family: Courier New, Courier, monospace;"><b>smartupgrade.sh</b></span> script. Run/execute the script as root. Its really that simple. <img align="middle" alt=":)" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons6/1.gif"><br>
<br>
<b><span style="color: red;">[Update on 23 Jan 2013]:</span></b> If running <span style="font-family: Courier New, Courier, monospace;"><b>smartupgrade.sh</b></span> script did not work for you, don't fret. In the same directory where all the <b>ibm_*</b> rpms reside. Execute, as root, <span style="font-family: Courier New, Courier, monospace;"><b>zypper in ibm_*.rpm</b></span> and let zypper figure out all the dependencies for you. All good. <img align="middle" alt=":)" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons6/1.gif"><br>
<br>
The Notes 9.0b icon can be found via <b>Application Launcher -> Applications -> Office -> More Programs -> IBM Notes</b>. You can <u>right-click and select <b>Add to Favourites</b></u> so that you don't have to navigate that much just to start it later.<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-YH5u-LMPNQ4/UPlhJWzyWnI/AAAAAAAAA9I/MBgv5HUDw5A/s1600/IBM_Notes_01.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="246" src="http://2.bp.blogspot.com/-YH5u-LMPNQ4/UPlhJWzyWnI/AAAAAAAAA9I/MBgv5HUDw5A/s320/IBM_Notes_01.jpg" width="320"></a></div>
<br>
Note that in your very first startup, it will launch a text console for you to accept the license... just in case you miss it and wonder why you are stuck at the splash screen and nothing happens.<br>
<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2013/01/my-opensuse-12-journal-8-ibm-notes-90.html#more">Read more »</a>Unknownnoreply@blogger.com8tag:blogger.com,1999:blog-4613455571367806369.post-8226503561324049492013-01-16T18:30:00.000+08:002013-01-26T09:14:20.514+08:00My openSUSE 12 Journal - 7: Printing to PDFOne more thing... that I forgot to mention in my previous entry is the topic of printing to PDF.<br>
<br>
I'm quite surprised this capability is not included in the base openSUSE 12.2 install since we have OSS version of the Adobe PDF reader (Okular). <img align="middle" alt=":-/" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons6/7.gif"><br>
<br>
<u><b>Scenario/Use Case:</b></u><br>
You need to print out a document directly into a PDF format file, instead of killing trees. Some examples are:<br>
<ul>
<li>Printing online receipts directly into a PDF for your electronic filing</li>
<li>Converting some page or document into PDF format using the Print function</li>
</ul>
Do note that if your document can be opened and edited in LibreOffice (comes with 12.2), and you want to convert that document into a PDF, you can do that by clicking the PDF button within LibreOffice.<br>
<br>
<u><b>Solution:</b></u><br>
<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2013/01/my-opensuse-12-journal-7-printing-to-pdf.html#more">Read more »</a>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-4613455571367806369.post-70166568845832497252013-01-15T18:00:00.000+08:002013-01-26T09:13:40.302+08:00My openSUSE 12 Journal - 6: Hello 12.2!More than a year (12+ months) since my last entry... obviously lots have happened... BUT<br>
<br>
Its a new year (2013), a new job, a new Laptop and a new <b>openSUSE 12.2!</b> I'll stop right there before I go off on a tangent, seeing & proclaiming trends where none existed previously.<img alt=":P" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons6/10.gif"><br>
<br>
<u><b>Details:</b></u> <br>
<ul>
<li>openSUSE 12.2 x86_64 (64-bit) - KDE desktop (default)</li>
<li>Toshiba Tecra R840 (Intel i5, 4Gb RAM, 320Gb Hdd, Intel HD integrated graphics)</li>
<li>Dual-boot with Windows 7 (/dev/sda1) and openSUSE (/dev/sda2)</li>
</ul>
<br>
<u><b>Installation:</b></u><br>
Smooth as silk is all I can say and something that has come to be expected. <img alt=":)" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons6/1.gif"><br>
<br>
Given the dual-boot setup, I created my own disk partitioning scheme. So this step deviated from the otherwise straight-forward install (ie click next till the end).<br>
<br>
<u>Disk partition scheme:</u><br>
<ul>
<li>/dev/sda1 - 100Gb - original factory installed Windows 7 (size shrunk to 100Gb)</li>
<li>/dev/sda2 - 100Gb - root partition of openSUSE 12.2 ('/') formatted to ext4</li>
<li>/dev/sda3 - 98Gb - extended partition</li>
<li>/dev/sda5 - 6Gb - SWAP partition</li>
<li>/dev/sda6 - 92Gb - common data partition formatted to NTFS (read/write for both Win7 & openSUSE 12.2)</li>
</ul>
At install time, I did not format the common data partition. Instead, I left it blank (unformatted) and used Windows 7 to format it much later. Once formatted, this common data partition will be known as <b><span style="font-family: "Courier New",Courier,monospace;">D:\</span></b> drive on Windows 7.<br>
<br>
Reboot into openSUSE 12.2 and use YaST Partitioner to set a mount point. I usually mount this under <span style="font-family: "Courier New",Courier,monospace;">/mnt/common</span>. Now, openSUSE 12.2 will automatically mount the common data partition in <span style="font-family: "Courier New",Courier,monospace;">/mnt/common</span> on boot.<br>
<br>
The only outstanding part is that <span style="font-family: "Courier New",Courier,monospace;">/mnt/common</span> is accessible by root (super-user) but normal users access is troublesome. To make <span style="font-family: "Courier New",Courier,monospace;">/mnt/common</span> read-writeable by normal user, I edit the mount options of <span style="font-family: "Courier New",Courier,monospace;">/mnt/common</span> in the <b><span style="font-family: "Courier New",Courier,monospace;">/etc/fstab</span></b> file. Example, changed the options in <b>bold</b> from original (first line below) to the second:<br>
<br>
/dev/disk/by-id/ata-xxxxxx-part6 /mnt/common ntfs-3g <strike><b>user,users</b></strike>,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0<br>
<br>
/dev/disk/by-id/ata-xxxxxx-part6 /mnt/common ntfs-3g <b>uid=han</b>,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0<br>
<br>
where <b>han</b> in <b>uid=han</b> is my normal user account on openSUSE 12.2.<br>
<br>
There might be a more user-friendly way to do this but I did not explore since I'm comfortable editing the /etc/fstab. Readers who knows how this can be done, please feel free to leave a comment. Thanks.<br>
<br>
<br>
<u>Grub vs Grub2:</u><br>
I chose to stick with Grub instead of the newer Grub2 boot loader. The reason is simple, I could easily edit the boot options via <span style="font-family: "Courier New",Courier,monospace;">/boot/grub/menu.lst</span> because its a text file. In Grub2, this is non-trivial and until they have an easier editing interface, I'll stick with Grub. <br>
<br>
<br>
<u><b>Additional Software</b></u><br>
<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2013/01/my-opensuse-12-journal-6-hello-122.html#more">Read more »</a>Unknownnoreply@blogger.com5tag:blogger.com,1999:blog-4613455571367806369.post-14236141858511863852011-12-10T21:00:00.000+08:002011-12-12T17:47:28.309+08:00My openSUSE 12 Journal - 5: Desktop Bits & BytesThis is week 3 of using 12.1 and still lovin' it. This journal entry covers a few disparate topics, from wifi to graphics cards, as I go about my daily routine in the office (stuff I actually get paid doing) with openSUSE 12.1 on my Lenovo Thinkpad.<br>
<u><br></u><br>
<u><b>Can't locate your hidden Wifi access point?</b></u><br>
Here is a neat command (as root) that you can execute to help NetworkManager connect to a hidden wireless access point OR when NetworkManager is unable to detect your desired wireless point fast enough in a wifi-saturated environment.<br>
<br>
<div style="color: #38761d; font-family: "Courier New",Courier,monospace;">
<b>iwlist <i>wlan0</i> scanning essid <i>MyWifi</i></b></div>
<br>
where <b><span style="font-family: 'Courier New', Courier, monospace;">wlan0</span></b> is usually your default wifi device, if you are unsure, execute <b style="color: #38761d;"><span style="font-family: 'Courier New', Courier, monospace;">ip add </span></b> to verify.<br>
<b><span style="font-family: 'Courier New', Courier, monospace;">MyWifi</span></b> is the name of your desired/hidden wireless access point. For ease of use, you could wrap this into a nice little script.<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2011/12/my-opensuse-12-journal-5-desktop-bits.html#more">Read more »</a>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-4613455571367806369.post-48704234755632252402011-12-03T21:00:00.000+08:002011-12-06T12:48:01.495+08:00My openSUSE 12 Journal - 4: Minor FrustrationsThis is my fourth journal entry for openSUSE 12.1 and it has been two weeks of operational use on both my Thinkpad and home PC. Here are some additional minor frustrations and some workarounds... and yes, I have posted on the openSUSE forums (just in case you'd ask).<br>
<br>
<b>Boot 12.1 using the old System V init</b><br>
In my first journal entry, I complained the lack of "chattiness" during boot since the adoption of Systemd. You can easily switch to the old System V init on boot. At the grub boot loader screen (usual 8 seconds delay) and <u><b>before</b> you hit Enter</u> to boot, press the <b>F5</b> button to <u>switch from default to System V</u>. Now, press <b>Enter</b> to boot and press the <b>Esc</b> key during the splash screen to see the familiar System V init messages.<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-9xEBQ3mW620/Ttnn3WC-rKI/AAAAAAAAA0o/Ubki85m7-Fs/s1600/Photo+27-11-11+2+22+03+PM.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="239" src="http://1.bp.blogspot.com/-9xEBQ3mW620/Ttnn3WC-rKI/AAAAAAAAA0o/Ubki85m7-Fs/s320/Photo+27-11-11+2+22+03+PM.jpg" width="320"></a></div>
<span class="Apple-style-span" style="color: purple;"><b>[Update on 6 Dec 2011]:</b></span> Tired of pressing F5 every time on boot? Append the following to the end of the line:<br>
<b style="font-family: 'Courier New', Courier, monospace;">init=/sbin/sysvinit</b><br><span class="Apple-style-span" style="font-family: inherit;">For example, in </span><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b>/boot/grub/menu.lst</b></span><span class="Apple-style-span" style="font-family: inherit;">, at the end of the line starting with "</span><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">kernel /boot/vmlinuz-3.1.0-1.2-desktop</span><span class="Apple-style-span" style="font-family: inherit;">...", append the line above and save the file. On the next boot, you can verify the change in the <b>Boot Options</b> field. Press <b>Enter</b> and you will boot up 12.1 under the old System V init.</span><br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2011/12/my-opensuse-12-journal-4-minor.html#more">Read more »</a>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-4613455571367806369.post-43503340438590064242011-12-02T23:00:00.000+08:002011-12-03T01:01:30.106+08:00Air Video Server on openSUSE 12.1In short, <a href="http://www.inmethod.com/air-video/index.html" target="_blank">Air Video</a> is a client-server product that streams, via live conversion, videos of many formats to any iOS device (eg iPhone, iPad etc). The server software is free-of-charge but only runs on Mac OSX and Windows. The client is also free-of-charge for iOS devices but "crippled". If you like the solution, you pay for the client.<br>
<br>
Since the Air Video Server is written in Java and uses a customized version of FFMPEG, it would be possible to run it on Linux. The folks behind Air Video though supportive but are NOT offering official support for Linux. <br>
<br>
I have been successful in making Air Video Server (AVS) work on openSUSE 11.3, 11.4 and 12.1. Here are the steps:<br>
<br>
<a href="http://sellingfreesoftwareforaliving.blogspot.com/2011/12/air-video-server-on-opensuse-121.html#more">Read more »</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4613455571367806369.post-80807961662597002932011-11-26T23:00:00.000+08:002011-11-26T23:00:04.826+08:00On the road again: MYGOSSCON 2011Going on the road again... after a year of life's transitions and pursuing other interests, I am privileged to have the opportunity to speak at <a href="http://mygosscon.oscc.org.my/2011/" target="_blank">MYGOSSCON 2011</a> next week. <br />
<br />
The title of my paper is "Key Trends: Challenges, Opportunities and Leverage for Linux/OSS Ecosystem". I look forward to the discussions it will generate. :)<br />
<br />
Personally, I am looking forward to this with excitement as I have been granted the latitude in content creation. I will be approaching the topic from another angle and with, what I hope to be, a fresh perspective.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4613455571367806369.post-27710360604044463072011-11-25T20:00:00.000+08:002011-11-27T14:55:31.256+08:00My openSUSE 12 Journal - 3: Lotus Notes 8.5.3<a href="http://www-01.ibm.com/software/lotus/products/notes/" target="_blank">Lotus Notes</a> is what I use at work and the latest v8.5.3 works well on openSUSE 11.4. Although it installed without a hitch on 12.1, things goes awry when I start using it. Here are my observations and how I managed to get it working again. :)<br />
<br />
For starters, Lotus Notes 8.5.3 only managed to render about half of its interface. For example, I could see my inbox but email preview pane is blank. Integrated <a href="http://www-01.ibm.com/software/lotus/sametime/" target="_blank">SameTime</a> worked but workspaces and replication tabs were blank too. I suspect it could be some incompatibility or confusion with the GTK libs and I was right... Google is my friend and I discovered a brilliant soul who had the same challenge, created a <a href="http://lists.opensuse.org/opensuse-bugs/2011-11/msg03695.html" target="_blank">bug report</a> against openSUSE and even created a workaround/fix.<br />
<br />
<b style="color: purple;">[Update on 27 Nov 2011]:</b> Oops, it occurred to me that Lotus Notes 8.5.3 is actually 32-bit running on 64-bit openSUSE 12.1. That means the <a href="http://download.opensuse.org/repositories/home:/lijews/openSUSE_12.1/i586/lotus-notes-gnome3-1-1.1.i586.rpm" target="_blank">RPM</a> created by <a href="https://build.opensuse.org/project/users?project=home%3Alijews" target="_blank">Stefan Lijewski</a> should have worked. I cannot recall why I came to the previous conclusion. I have just tried the 32-bit RPM and it worked for me. Therefore, I am correcting my entry below. <br />
<br />
<strike>Unfortunately for me, I could not use his nicely packaged <a href="http://download.opensuse.org/repositories/home:/lijews/openSUSE_12.1/i586/lotus-notes-gnome3-1-1.1.i586.rpm" target="_blank">RPM</a> and <a href="http://software.opensuse.org/search?q=lotus&baseproject=openSUSE%3A12.1&lang=en&include_home=true&exclude_debug=true" target="_blank">online repository</a> because I am using 64-bit openSUSE 12.1.</strike> <br />
<br />
The easy way is to use a 1-click install via Stefan Lijewski's online <a href="http://software.opensuse.org/search?q=lotus&baseproject=openSUSE%3A12.1&lang=en&include_home=true&exclude_debug=true" target="_blank">repository</a>.<br />
<br />
The easy but manual way is to download the <a href="http://software.opensuse.org/search/download?base=openSUSE%3A12.1&file=home%3A%2Flijews%2FopenSUSE_12.1%2Fi586%2Flotus-notes-gnome3-1-1.1.i586.rpm&query=lotus" target="_blank">RPM</a> before you manually execute a <b style="color: #38761d;"><span style="font-family: "Courier New",Courier,monospace;">zypper in lotus-notes-gnome3-1-1.1.i586.rpm </span></b><br />
<br />
In both cases, you will need to verify that your Lotus Notes launch icon has been updated to use the new <b>notes-wrapper</b> script instead of the original notes script in <b><span style="font-family: "Courier New",Courier,monospace;">/opt/ibm/lotus/notes/</span></b> directory.<br />
<br />
Finally, the hard way (if you're so inclined to experience compiling your own code) is the original method I used below.<br />
<br />
<strike>Below is how I got Lotus Notes 8.5.3 working on openSUSE 12.1 (64-bit).</strike><br />
<br />
1. Download the workaround fix from <a href="https://github.com/sgh/lotus-notes_gtk2.23.3" target="_blank">https://github.com/sgh/lotus-notes_gtk2.23.3/downloads</a><br />
<br />
2. Un-tar the fix, <b style="color: #38761d;"><span style="font-family: "Courier New",Courier,monospace;">tar zxvf sgh-lotus-notes_gtk2.23.3-2028e8e.tar.gz</span></b><br />
<br />
3. You will need to install additional packages before you can compile the fix. As root, <b style="color: #38761d;"><span style="font-family: "Courier New",Courier,monospace;">zypper in make gcc gtk2-devel glibc-devel-32bit gcc-32bit</span></b><br />
<br />
4. In the <span style="font-family: "Courier New",Courier,monospace;">sgh-lotus-notes_gtk2.23.3-2028e8e</span> subdirectory, compile the fix with <b style="color: #38761d;"><span style="font-family: "Courier New",Courier,monospace;">make</span></b><br />
<br />
5. If <b><span style="font-family: "Courier New",Courier,monospace;">make</span></b> completed with success, you should have a new file <b><span style="font-family: "Courier New",Courier,monospace;">libnotesgtkfix.so</span></b> in the directory. Copy it and <b><span style="font-family: "Courier New",Courier,monospace;">notes-wrapper</span></b> to installed Lotus Notes directory <b><span style="font-family: "Courier New",Courier,monospace;">/opt/ibm/lotus/notes/</span></b>.<br />
<br />
6. Last and final step, edit your Lotus Notes icons (<b><span style="font-family: "Courier New",Courier,monospace;">kmenuedit</span></b> if using KDE4) and change the default launch script to execute <b><span style="font-family: "Courier New",Courier,monospace;">notes-wrapper</span></b> instead.<br />
<br />
That's it. Lotus Notes 8.5.3 should function normally... and its all good for the last 3 days for me.<br />
<br />
I hear this would not be a challenge with the newer Lotus Notes 8.5.4 (yet to be officially released). We shall see when we get there. :)Unknownnoreply@blogger.com11tag:blogger.com,1999:blog-4613455571367806369.post-18494592922386753082011-11-24T20:00:00.000+08:002011-11-24T20:00:08.775+08:00openSUSE 12.1 gets positive review on LASNice and positive review of openSUSE 12.1 on the <b>L</b>inux <b>A</b>ction <b>S</b>how on 20th Nov 2011. The YouTube video is embedded below... you may <u><b>fast-forward to 30:10</b></u> where they finally got down to the review of openSUSE 12.1.<br />
<br />
Most interesting (the best) comment on that YouTube page was from <a href="http://blog.jospoortvliet.com/" target="_blank">Jos Poortvliet</a> (our openSUSE Community Manager), <i style="color: purple;">"VERY nice review guys! Fun to see how opinions on openSUSE have
changed in the last year - from 'meh, yeah, is that distro still alive?'
to the awesomeness now :D</i><br />
<div style="color: purple;">
<i>If you ever wanna talk about it with me - I'd be happy to be on the show..."</i></div>
<br />
As with most things in life, its all about perception and goodwill. openSUSE 12.1 is polished and enjoyable but a number of the great features mentioned, including <a href="http://susestudio.com/" target="_blank">SUSE Studio</a> and <a href="https://build.opensuse.org/" target="_blank">openSUSE Build Service</a>, have been around for a while... anyway, I'm just happy & enjoying the goodwill towards openSUSE. :)<br />
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/U7LJZ6EXmzw" width="560"></iframe>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4613455571367806369.post-61122027433386673982011-11-20T23:00:00.000+08:002011-11-20T23:00:07.181+08:00My openSUSE 12 Journal - 2Installed openSUSE 12.1 (64-bit) on both my home PC and my Thinkpad W520. The best part was I did not have to burn any installation DVDs and speed of installation was at Gigabit speed on my home local network. <img class="emoticon" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/67.gif" alt="peace" title="peace" /><br /><br />Here is what I did in a nutshell:<br /><ol><li>Download openSUSE 12.1 64-bit ISO and verified integrity with md5sum</li><li>Configured my Thinkpad, running openSUSE 11.4, as the network installation server.</li><li>Boot up my home PC in PXE-boot mode and installed openSUSE 12.1 from my Thinkpad.</li><li>Once my PC is installed and running openSUSE 12.1, I configured it as the network installation server and boot up my Thinkpad in PXE-boot mode and installed openSUSE 12.1 onto it.</li></ol>Simple and sweet!<br /><br />For more details, please refer to my older posts:<br /><ol><li>Network Installation of openSUSE [<a href="http://sellingfreesoftwareforaliving.blogspot.com/2011/11/network-installation-of-opensuse.html">Link</a>]</li><li>Using Apache2 to deploy and maintain SUSE [<a href="http://sellingfreesoftwareforaliving.blogspot.com/2010/10/using-apache2-to-deploy-maintain-suse.html">Link</a>]</li><li>Install and configure TFTP server for PXE boot environment [<a href="http://sellingfreesoftwareforaliving.blogspot.com/2011/11/install-and-configure-tftp-server-for.html">Link</a>]</li><li>Install and configure DHCP Server [<a href="http://sellingfreesoftwareforaliving.blogspot.com/2011/11/install-and-configure-dhcp-server.html">Link</a>]<br /></li></ol>Happy to report the steps I documented in the posts above worked for openSUSE 12.1. There were some minor differences, mainly to do with Systemd and how it changes the console output a little. The previously observed SuSEFirewall bug for TFTP server is still present, so remember to add port 69 to UDP as previously documented.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4613455571367806369.post-32253462124910646022011-11-20T20:00:00.000+08:002011-11-20T20:00:03.428+08:00My openSUSE 12 Journal - 1openSUSE 12.1 was released earlier this week. Although I had to wait more than 24 hours before I got my hands on the the ISO binaries (4.4Gb of both 32-bit and 64-bit), it was well worth it. The lesson learnt was to use more than one download method concurrently in the event something fails. More importantly, its imperative to verify (ie md5sum) the downloaded binaries or risks having to abort an installation when the integrity of the packages are in question. <img class="emoticon" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/102.gif" alt="tension" title="tension" /><br /><br />For this release of openSUSE, everything has been incredibly smooth from installation to productive use of my home system. In fact, I have just completed another installation on my Thinkpad W520. I am sure there are some who have encountered challenges (no software is perfect); however, at least for me, this has been the smoothest experience ever since the days of SLES 8!<br /><br /><span style="font-weight: bold; color: rgb(0, 102, 0);">To all involved with openSUSE 12.1, please accept my congratulations on a job well done! </span><img class="emoticon" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/41.gif" alt="tepuktangan" title="tepuktangan" /><br /><span style="font-weight: bold;"><br /></span><span style="font-size:130%;"><span style="font-weight: bold;"><u>One little quirk, minor annoyance</u></span></span><br />From a usage scenario, I have to report something that made me panic on the first-boot of openSUSE 12.1, to the extent that I voluntarily hit the physical reset button on my PC.<br /><br />The cause, as it turns out, is the new <span style="font-weight: bold;">Systemd</span> that replaces the old <span style="font-weight: bold;">System-V init</span>. Whenever I boot up a newly installed Linux for the first time, I always hit the <span style="font-weight: bold;">ESC</span> key on boot to see the boot messages. This helps me identify any problems early and gives me an indication of how quickly and smoothly Linux boots up. When I did the same with openSUSE 12.1 on first-boot, I observed some initial messages but suddenly everything seems to just stop. I panicked after 20 seconds and hit the physical reset button (thinking I may have messed up).<br /><br />Apparently, the new Systemd is not very "chatty". I only had to wait 40 seconds more and the entire system booted up and I am automatically logged into KDE4. <img class="emoticon" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/9.gif" alt="malu" title="malu" /><br /><br />If anyone could share how one might re-enable the same level of "chattiness" when the system boots up, appreciate if you could use the comments section below.<br /><br /><span style="font-weight: bold;font-size:130%;" ><u>Gnome 3.2</u></span><br /><br />Post-installation, I used <span style="font-weight: bold;">YaST - Software Management</span> and installed both the <span style="font-weight: bold;">"Gnome Base System"</span> and the <span style="font-weight: bold;">"Gnome Desktop Environment"</span> patterns. Finally, I got to try out Gnome 3 for the first time ever.<br /><br />I have been a Gnome 2.x user for quite a number of years until I switched over to KDE4 when it became the default in openSUSE 11.2. KDE4 is great but I do miss the simplicity of Gnome 2.x from time to time.<br /><br />Happy to report I'm using Gnome 3.2 rather productively on my home PC. However, I am not fully convinced it would be my default environment just yet. Gnome 3.2 is major re-design and it's as different to Gnome 2.32 as KDE4 is to KDE3. Here are some of my thoughts at this time:<ul><li>I liked the idea of integrating my online identity (Google & Twitter only at this time) into my desktop; but, this means I have to use Evolution... not something I liked due to past experiences (3 years ago).</li><li>I<span jsid="text" class="commentBody"> really liked the concept of workspace on demand. I can drag an app & move it to the next available workspace & a new empty one is created. I am ready to move on from the 4-sided (or n-sided) cube paradigm.</span></li><li>The font size and window title-bars takes up too much screen estate. It seems to run contrary to my initial impression that Gnome Shell gives me lots of screen estate since there is only one bar at the top.</li><li>A good buddy of mine explained that its design was geared towards mobile devices (ie tablets with touchscreens) and I start to appreciate it more; however, I think this approach seems a tad <span jsid="text" class="commentBody">too early at best? Given how mobile devices are dominated by Apple, Android & others, I don't see any hardware vendor officially supporting (hard-bundling) Gnome as the de-facto GUI. Feels more like a spill over from Meego & netbook UI era (only 2-3 years ago).</span></li></ul>I will be blogging more on my experiences with openSUSE 12.1 ... looking back at my blog posts, I realized it was 3 years ago that I started a similar series of posts on my experiences with openSUSE 11... how time flies...<img class="emoticon" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif" alt="senyum" title="senyum" />Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-4613455571367806369.post-59111937395240499202011-11-10T17:00:00.003+08:002011-11-10T17:00:01.131+08:00Every-Packet's Changing... my Keane ParodyThis is for all my friends, colleagues & fellow human-beings who ended up working in IT... and loving it.<img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif" alt="happy" border="0" /><br /><div><br /></div><div><span style="font-weight: bold;"><u>Every-Packet's Changing</u></span><u> (sung to the tune of Everybody's Changing by Keane)</u></div><div><br /></div><div>You say you wonder your own LAN</div><div>When I think about it, I don't see how you can<br /><br /></div><div>You route add, you netstat</div><div>And I can't see the Ping that you tried</div><div>Says Every-Packet's changing and I don't know why</div><div><br /></div><div>So little time, try to understand that I...</div><div>Try to log a call just to stay in the game, I</div><div>Try to stay awake and remember my frame-rate<br />Every-Packet's changing and I start to go insane<br /><br />You're gone from here, soon you will disappear<br />Fading into tri-colored light<br />Cause Every-Packet's changing and I don't feel right<br /><div><br /></div><div>So little time, try to understand that I...</div><div>Try to log a call just to stay in the game, I</div>Try to stay awake and remember my frame-rate<br />Every-Packet's changing and I start to go insane<br /><br /><div>So little time, try to understand that I...</div><div>Try to make a patch just to stay in the game, I</div>Try to stay awake and not go init zero<br />Every-Packet's changing and I don't feel the same<br /><br />Ooooh, Every-Packet's changing and I report abends...<br /><br /><iframe src="http://www.youtube.com/embed/RSNmgE6L8AU" allowfullscreen="" frameborder="0" height="315" width="560"></iframe><br /></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4613455571367806369.post-89423668094595218312011-11-07T23:45:00.002+08:002011-11-08T07:22:15.495+08:00Network Installation of openSUSE<div dir="ltr" style="text-align: left;" trbidi="on">This will be my main blog entry discussing the best practices (mine anyway) on setting up a network installation server.<br /><br /><span style="font-weight: bold;"><u>What is the Motivation for this setup?</u></span><br /><br />1) Local Area Networks (LANs) are <span style="font-weight: bold;">ubiquitous</span>... even in homes where, chances are, you have a modem to the Internet and next to it is a wireless/ethernet router for multiple wifi and ethernet capable devices (PCs, Laptops, Smartphones, Tablets etc) to connect and surf the web.<br /><br />2) If you are a Linux/OSS enthusiast, you would be constantly downloading the latest ISOs from the web, burning them onto a DVDs and installing them on physical/virtual machines. This is <span style="font-weight: bold;">time/resource intensive</span>... time to download, time to burn a DVD, time/money spent on blank DVDs etc. Of course, if you install openSUSE on virtual machines, you avoid the DVD part of the process but you would still have lots of ISOs on your filesystem... if you have a classroom of 20 machines... well, you get the idea.<br /><br />3) Almost all PCs and Laptops these days have an ethernet port and are capable of booting up from the network (ie <span style="font-weight: bold;">PXE-boot</span>). This means you physically power them on, tell it to go into PXE-boot mode and it will go onto the network and seek out an installation server to download and install the openSUSE binaries.<br /><br />4) This is an <span style="font-weight: bold;">efficient way</span> to install openSUSE onto both physical and virtual machines in a LAN environment where there is only one central place for your software binaries.<br /><br /><span style="font-weight: bold;"><u>Pre-requisites:</u></span><br /><br />i) You have a LAN environment connecting a few machines via the network cable. Although booting from wifi is possible but it is out of the scope of this discussion.<br /><br />ii) You have a physical machine (preferably<span style="font-weight: bold; color: rgb(255, 0, 0);">*</span>) with openSUSE installed and this will be the designated network installation server.<br /><span style="color: rgb(255, 0, 0);font-size:85%;" >*</span><span style="font-size:85%;">It is possible to set this up on a virtual machine but you need to ensure it is connected to the physical LAN in a Bridge networking mode and not the usual NAT networking mode for typical virtual machines.</span><br /><br /><span style="font-weight: bold;"><u>3 Simple<span style="color: rgb(255, 0, 0);">^</span> Steps to Success:</u></span><br /><span style="font-size:85%;"><span style="font-style: italic;"><span style="color: rgb(255, 0, 0);">^</span>Simple - it will become more simple as you do this more frequently.</span></span><br /><br /><span style="font-weight: bold;">Step 1:</span> Install and configure Apache2 webserver to host and distribute openSUSE binaries.<br />Please refer to my other blog entry on this subject - <a href="http://sellingfreesoftwareforaliving.blogspot.com/2010/10/using-apache2-to-deploy-maintain-suse.html">Using Apache2 to deploy & maintain SUSE</a><br /><br /><span style="font-weight: bold;">Step 2:</span> Install and configure tftpboot server to enable initial boot of target machines over the network.<br />Please refer to my other blog entry on this subject - <a href="http://sellingfreesoftwareforaliving.blogspot.com/2011/11/install-and-configure-tftp-server-for.html">Install and configure TFTP server for PXE boot environment<br /></a><br /><span style="font-weight: bold;">Step 3:</span> Install and configure dhcpd server to provide an IP address for target machines and redirect them to the tftpboot server.<br />Please refer to my other blog entry on this subject - <a href="http://sellingfreesoftwareforaliving.blogspot.com/2011/11/install-and-configure-dhcp-server.html">Install and configure DHCP server</a><br /><br /><span style="font-weight: bold;">Step 4:</span> On the target physical machines, on boot and depending on the BIOS, activate the boot from LAN option and watch it get an IP address from the Installation Server (via Step 3), followed by connecting to the TFTP server and presenting an installation menu (via Step 2). Enter the choice of OS to install and your installation will commence over the LAN (via Step 1).<br /><br /><span style="font-weight: bold;"><u>Additional points of note:</u></span><br /><br />a) Everything discussed here applies to SLES, SLED and openSUSE. The steps documented are based on openSUSE 11.x and should work on older versions and even the enterprise editions of SUSE.<br /><br />b) Software installation (apache2, tftpboot, syslinux, dhcpd etc) assumes your SLE or openSUSE server have access to their respective binaries, either in DVD (also ISO) or software repository on the web.<br /><br /><span style="font-weight: bold;">References:</span><br /><ul><li>openSUSE.org - <a href="http://en.opensuse.org/SDB:PXE_boot_installation">SDB:PXE boot installation</a></li><br /><li>Novell Cool Solutions - <a href="http://www.novell.com/coolsolutions/feature/17719.html">Setting Up a SUSE PXE Installation Server in an Existing NetWare Environment</a></li><br /><li>Novell Article - <a href="http://www.novell.com/communities/node/5777/setting-pxe-boot-server">Setting up a PXE Boot Server</a><br /></li></ul><br />Enjoy!<br /></div>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-4613455571367806369.post-49575408319513892672011-11-07T23:20:00.002+08:002011-12-03T00:54:06.098+08:00Install and configure TFTP server for PXE boot environmentThis blog entry describes how you would install and configure the <span style="font-weight: bold;">TFTP</span> (<span style="font-weight: bold;">T</span>rivial <span style="font-weight: bold;">F</span>ile <span style="font-weight: bold;">T</span>ransfer <span style="font-weight: bold;">P</span>rotocol) server for the purpose of building a <span style="font-weight: bold;">PXE boot environment</span>. The tftp server would transfer the syslinux binaries to boot up your physical machine. It will also present a text-based menu for the user to select what operating system to install.<br />
<div>
<br /></div>
<div>
Link to main entry on <a href="http://sellingfreesoftwareforaliving.blogspot.com/2011/11/network-installation-of-opensuse.html">Network Installation of openSUSE</a>.<br />
<br />
<span style="font-weight: bold;">1) Install SysLinux</span> (Bootloader for Linux)<br />
<br />
Command-line (as root): <span style="color: #009900; font-family: 'courier new'; font-weight: bold;">zypper in syslinux</span><br />
<a href="http://4.bp.blogspot.com/-r0Ze7-X20eE/TresddjdwPI/AAAAAAAAAxg/zGupf9doVLI/s1600/tftp-01.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5672191877845991666" src="http://4.bp.blogspot.com/-r0Ze7-X20eE/TresddjdwPI/AAAAAAAAAxg/zGupf9doVLI/s320/tftp-01.jpg" style="cursor: hand; cursor: pointer; height: 102px; width: 320px;" /></a><br />
<br />
<span style="font-weight: bold;">2) Install tftp</span><br />
<br />
Command-line (as root): <span style="color: #009900; font-family: 'courier new'; font-weight: bold;">zypper in tftp yast2-tftp-server</span><br />
<a href="http://2.bp.blogspot.com/-N1Bx-KOIzhY/TresdpCeLOI/AAAAAAAAAxs/edHSwUubnJM/s1600/tftp-02.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5672191880928832738" src="http://2.bp.blogspot.com/-N1Bx-KOIzhY/TresdpCeLOI/AAAAAAAAAxs/edHSwUubnJM/s320/tftp-02.jpg" style="cursor: hand; cursor: pointer; height: 121px; width: 320px;" /></a><br />
<br />
<span style="font-weight: bold;">3) Enable tftp</span><br />
<br />
Command-line (as root): <span style="color: #009900; font-family: 'courier new'; font-weight: bold;">yast2 tftp-server</span><br />
<br />
<a href="http://4.bp.blogspot.com/-C_ERf4TPDRA/Tresd13LarI/AAAAAAAAAx0/iOS_tY1nsyE/s1600/tftp-03.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5672191884371126962" src="http://4.bp.blogspot.com/-C_ERf4TPDRA/Tresd13LarI/AAAAAAAAAx0/iOS_tY1nsyE/s320/tftp-03.jpg" style="cursor: hand; cursor: pointer; height: 292px; width: 320px;" /></a><br />
<br />
In <span style="font-weight: bold;">TFTP Server Configuration</span> dialog, check to <span style="font-weight: bold;">Enable</span> the service. Ensure the Boot Image Directory is set to <span style="color: black; font-family: 'courier new'; font-weight: bold;">/srv/tftpboot</span>. Finally, check the <span style="font-weight: bold;">Open Port in Firewall</span> and click <span style="font-weight: bold;">Ok</span>.<br />
<br />
<span style="color: #cc0000; font-weight: bold;">Note:</span> Its been observed that the SUSE Firewall may still block incoming traffic to the TFTP boot server despite the <span style="font-weight: bold;">Open Port in Firewall</span> setting.<br />
<br />
<a href="http://4.bp.blogspot.com/-rLqiUC-O4XU/TrfHJywLKdI/AAAAAAAAA0I/WmJeb_EsUqs/s1600/firewall-01.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5672221226753010130" src="http://4.bp.blogspot.com/-rLqiUC-O4XU/TrfHJywLKdI/AAAAAAAAA0I/WmJeb_EsUqs/s320/firewall-01.jpg" style="cursor: hand; cursor: pointer; height: 201px; width: 320px;" /></a><a href="http://3.bp.blogspot.com/--gB0O2FD0zM/TrfGz_d2F3I/AAAAAAAAAz4/D9C1pPwHRCE/s1600/firewall-02.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5672220852208670578" src="http://3.bp.blogspot.com/--gB0O2FD0zM/TrfGz_d2F3I/AAAAAAAAAz4/D9C1pPwHRCE/s320/firewall-02.jpg" style="cursor: hand; cursor: pointer; height: 171px; width: 320px;" /></a><br />
<br />
To ensure the Firewall is not blocking incoming TFTP traffic, open the Firewall setting via <span style="font-weight: bold;">YaST</span> (or command-line <span style="color: #009900; font-family: 'courier new'; font-weight: bold;">yast2 firewall</span>). Navigate to the <span style="font-weight: bold;">Allow Services</span> section (left-hand pane) and click on <span style="font-weight: bold;">Advanced</span> button. Ensure that port <span style="font-weight: bold;">69</span> is listed in the <span style="font-weight: bold;">UDP</span> section and click <span style="font-weight: bold;">OK</span> to accept. Click <span style="font-weight: bold;">Next</span> and complete the settings change.<br />
<br />
Next, create the sub-directory <span style="font-family: 'courier new'; font-weight: bold;">/srv/tftpboot/pxelinux.cfg</span> via the command-line: <span style="color: #009900; font-family: 'courier new'; font-weight: bold;">mkdir -p /srv/tftpboot/pxelinux.cfg</span><br />
<br />
<span style="font-weight: bold;">4) Populating the </span><span style="font-family: 'courier new'; font-weight: bold;">/srv/tftpboot</span><span style="font-weight: bold;"> directory</span><br />
<br />
Copy <span style="font-weight: bold;">pxelinux.0</span> file (part of syslinux package installed earlier) to the <span style="font-family: 'courier new'; font-weight: bold;">/srv/tftpboot</span> directory. Command-line: <span style="color: #009900; font-family: 'courier new'; font-weight: bold;">cp /usr/share/syslinux/pxelinux.0 /srv/tftpboot/</span><br />
<br />
Copy the relevant Linux <span style="font-weight: bold;">kernel</span> and <span style="font-weight: bold;">initrd</span> boot files to <span style="font-family: 'courier new'; font-weight: bold;">/srv/tftpboot</span> and provide meaning names (to avoid confusion later). This is best described by way of an example. Let's say I want to enable my installation server to provide an option to install both the 32-bit and 64-bit of openSUSE 11.4. Therefore, I would do the following:<br />
<br />
a) Mount both 32-bit and 64-bit of openSUSE 11.4 ISO on the filesystem:<br />
<br />
<span style="color: #009900; font-family: 'courier new'; font-weight: bold;">mount -t iso9660 -o ro,loop /directory/to/openSUSE-32-bit.iso /mnt/openSUSE-11.4-i586</span><br />
<br />
<span style="color: #009900; font-family: 'courier new'; font-weight: bold;">mount -t iso9660 -o ro,loop /directory/to/openSUSE-64-bit.iso /mnt/openSUSE-11.4-x86_64/</span><br />
<br />
<br />
b) Copy the relevant Linux kernel and initrd files to <span style="font-family: 'courier new'; font-weight: bold;">/srv/tftpboot</span> and rename them with more meaning names:<br />
<br />
<span style="color: #009900; font-family: 'courier new'; font-weight: bold;">cp /mnt/openSUSE-11.4-i586/boot/i386/loader/linux /srv/tftpboot/openSUSE-114-32bit.krnl</span><br />
<br />
<span style="color: #009900; font-family: 'courier new'; font-weight: bold;">cp /mnt/openSUSE-11.4-i586/boot/i386/loader/initrd /srv/tftpboot/openSUSE-114-32bit.initrd</span><br />
<br />
<span style="color: #009900; font-family: 'courier new'; font-weight: bold;">cp /mnt/openSUSE-11.4-x86_64/boot/x86_64/loader/linux /srv/tftpboot/openSUSE-114-64bit.krnl</span><br />
<br />
<span style="color: #009900; font-family: 'courier new'; font-weight: bold;">cp /mnt/openSUSE-11.4-x86_64/boot/x86_64/loader/initrd /srv/tftpboot/openSUSE-114-64bit.initrd</span><br />
<br />
<a href="http://4.bp.blogspot.com/-lyrKHm5qtec/Trew4dPRTPI/AAAAAAAAAyE/Z8MqF_p1KKQ/s1600/tftp-04.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5672196739664268530" src="http://4.bp.blogspot.com/-lyrKHm5qtec/Trew4dPRTPI/AAAAAAAAAyE/Z8MqF_p1KKQ/s320/tftp-04.jpg" style="cursor: hand; cursor: pointer; height: 78px; width: 320px;" /></a><br />
<br />
c) Copy the <span style="font-family: 'courier new'; font-weight: bold;">message</span> file from any openSUSE ISO to <span style="font-family: 'courier new'; font-weight: bold;">/srv/tftpboot</span>:<br />
<br />
<span style="color: #009900; font-family: 'courier new'; font-weight: bold;">cp /mnt/openSUSE-11.4-x86_64/boot/x86_64/loader/message /srv/tftpboot/</span><br />
<br />
*You may unmount the ISOs as these copy are a one-time operation.<br />
<br />
<br />
<span style="font-weight: bold;">5) Prepare the text-based menu</span><br />
<br />
[<span class="Apple-style-span" style="color: blue;">Update on 3 Dec 2011:</span> added the directory where the file default should reside below]<br />
<br />
Create a text-file (via your favourite editor as root), named <span style="font-family: 'courier new'; font-weight: bold;">default</span> in the <span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b>/srv/tftpboot/pxelinux.cfg</b></span> directory with the following contents:<br />
<br />
<span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;">default harddisk</span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;">display message</span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;">prompt 1</span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;">timeout 600</span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;"> </span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;"># Install openSUSE 11.4 (32-bit)</span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;">label openSUSE-114-32</span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;"> kernel openSUSE-114-32bit.krnl</span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;"> append initrd=openSUSE-114-32bit.initrd splash=silent vga=0x314 showopts install=http://<u>IP_ADDRESS_OF_SERVER</u>/software/openSUSE-11.4-i586/</span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;"># Install openSUSE 11.4 (64-bit)</span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;">label openSUSE-114-64</span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;"> kernel openSUSE-114-64bit.krnl</span><span style="font-size: 100%;"><br /></span><span style="font-family: 'courier new'; font-size: 100%; font-weight: bold;"> append initrd=openSUSE-114-64bit.initrd splash=silent vga=0x314 showopts install=http://<u>IP_ADDRESS_OF_SERVER</u>/software/openSUSE-11.4-x86_64/</span><br />
<br />
Everything is self-explanatory above except for the install=http://IP_ADDRESS_OF_SERVER portion. Please refer to my other blog entry on using <a href="http://sellingfreesoftwareforaliving.blogspot.com/2010/10/using-apache2-to-deploy-maintain-suse.html">Apache2 webserver to host and serve up software binaries</a>.<br />
<br />
Finally, edit the <span style="font-family: 'courier new'; font-weight: bold;">message</span> file in <span style="font-weight: bold;">step 4c</span> earlier to correspond with the example <span style="font-family: 'courier new'; font-weight: bold;">default</span> file entries.<br />
<span style="color: #000099; font-family: 'courier new';"> <br />Welcome to openSUSE!</span> <span style="color: #000099; font-family: 'courier new';"><br /><br />To start the installation, type one of the options below and press <return>.</return></span> <span style="color: #000099; font-family: 'courier new';"><br /><br />Available boot options:</span><br />
<span style="color: #000099; font-family: 'courier new';"> openSUSE-114-32 - Installation of 11.4 32bit</span><br />
<span style="color: #000099; font-family: 'courier new';"> openSUSE-114-64 - Installation of 11.4 64bit</span><br />
<br />
<span style="color: #000099; font-family: 'courier new';">Have a lot of fun...</span><br />
<br />
<br />
Done.</div>Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-4613455571367806369.post-60449923738041047532011-11-07T23:00:00.005+08:002011-11-11T12:28:47.377+08:00Install and configure DHCP serverThis blog entry describes how you would install and configure the dhcpd (DHCP) server for the purpose of assigning an IP address to machines booting up via the network and pointing these machines to the <span style="font-weight: bold;">PXE boot environment</span>.<br /><br />The PXE boot environment (TFTP server) is documented in another blog entry <a href="http://sellingfreesoftwareforaliving.blogspot.com/2011/11/install-and-configure-tftp-server-for.html">Install and configure tftp server for PXE boot environment</a> and the main entry discussion on <a href="http://sellingfreesoftwareforaliving.blogspot.com/2011/11/network-installation-of-opensuse.html">Network Installation of openSUSE</a>.<br /><br /><span style="font-weight: bold;">1) Install DHCP Server (dhcpd)</span><br /><br />Command-line (as root): <span style=" font-weight: bold; color: rgb(0, 153, 0);font-family:courier new;">zypper in dhcp-server yast2-dhcp-server</span><br /><br /><a href="http://4.bp.blogspot.com/-BXyuZlWy3vE/Tre7XXtF4yI/AAAAAAAAAyo/jpM50NSiAag/s1600/dhcpd-01.jpg"><img style="cursor:pointer; cursor:hand;width: 320px; height: 173px;" src="http://4.bp.blogspot.com/-BXyuZlWy3vE/Tre7XXtF4yI/AAAAAAAAAyo/jpM50NSiAag/s320/dhcpd-01.jpg" alt="" id="BLOGGER_PHOTO_ID_5672208265870959394" border="0" /></a><br /><br /><span style="font-weight: bold;">2) Configure DHCP</span><br /><br />Make a backup of the <span style=" font-weight: bold;font-family:courier new;">dhcpd.conf</span> file to start afresh: <span style=" font-weight: bold; color: rgb(0, 153, 0);font-family:courier new;">mv /etc/dhcpd.conf /etc/dhcpd.org.conf</span><br /><br />Create a new <span style=" font-weight: bold;font-family:courier new;">dhcpd.conf</span> file, using your favourite text editor as root, from scratch with the following content:<br /><hr /><br /><span style="font-family:courier new;">option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;</span><br /><span style="font-family:courier new;">option domain-name "example.org";</span><br /><span style=" font-weight: bold;font-family:courier new;">option routers 192.168.11.1;</span><br /><span style="font-family:courier new;">max-lease-time 7200;</span><br /><br /><span style="font-family:courier new;">ddns-updates off;</span><br /><br /><span style="font-family:courier new;">ddns-update-style none;</span><br /><br /><span style="font-family:courier new;">log-facility local7;</span><br /><span style="font-family:courier new;">default-lease-time 600;</span><br /><br /><span style="font-family:courier new;"># define rules to identify DHCP Requests from PXE and Etherboot clients.</span><br /><span style="font-family:courier new;">class "pxe" {</span><br /><span style="font-family:courier new;"> match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";</span><br /><span style="font-family:courier new;">}</span><br /><span style="font-family:courier new;">class "etherboot" {</span><br /><span style="font-family:courier new;"> match if substring (option vendor-class-identifier, 0, 9) = "Etherboot";</span><br /><span style="font-family:courier new;">}</span><br /><br /><span style=" font-weight: bold;font-family:courier new;">subnet 192.168.11.0 netmask 255.255.255.0 {</span><br /><span style=" font-weight: bold;font-family:courier new;"> range 192.168.11.51 192.168.11.60;</span><br /><span style="font-weight: bold;font-family:courier new;"> </span><span style="font-family:courier new;">default-lease-time 14400;</span><br /><span style="font-family:courier new;"> max-lease-time 172800;</span><br /><span style=" font-weight: bold;font-family:courier new;"> server-name "192.168.11.200";</span><br /><span style=" font-weight: bold;font-family:courier new;"> next-server 192.168.11.200;</span><br /><span style=" font-weight: bold;font-family:courier new;"> filename "pxelinux.0";</span><br /><span style="font-family:courier new;"># allow members of "pxe";</span><br /><span style="font-family:courier new;">}</span><br /><hr /><br />Using the sample dhcpd.conf above, you can see that<br /><ul><li>My router IP is 192.168.11.1</li><br /><li>DHCP daemon is giving out IP address starting from 192.168.11.51 to 192.168.11.60. You can adjust this setting to provide more IP addresses. The important part is to assign IP addresses outside the range of any other existing DHCP server (either in the router or in another environment where you do not have access to the official DHCP server).</li><br /><li>server-name and next-server points to the IP address of the network installation server (ie pointing back to the openSUSE server that is running DHCP server, TFTP server, Apache2 server with binaries)</li></ul><br /><br /><span style="font-weight: bold;"></span>Alternatively, if you would like a GUI interface, you may try <span style=" font-weight: bold; color: rgb(0, 153, 0);font-family:courier new;">yast2 dhcp-server</span>. Below are screenshots of the 4 step wizard.<br /><br /><a href="http://3.bp.blogspot.com/-PzoETxLO97A/TrfFEZMIjxI/AAAAAAAAAzk/AlxROWAgB9s/s1600/dhcpd-101.jpg"><img style="cursor:pointer; cursor:hand;width: 320px; height: 203px;" src="http://3.bp.blogspot.com/-PzoETxLO97A/TrfFEZMIjxI/AAAAAAAAAzk/AlxROWAgB9s/s320/dhcpd-101.jpg" alt="" id="BLOGGER_PHOTO_ID_5672218934968356626" border="0" /></a><br /><br /><a href="http://4.bp.blogspot.com/-VOsZa2rn6Xw/TrfE-CCuYOI/AAAAAAAAAzA/EwiG3153_Jk/s1600/dhcpd-102.jpg"><img style="cursor:pointer; cursor:hand;width: 320px; height: 203px;" src="http://4.bp.blogspot.com/-VOsZa2rn6Xw/TrfE-CCuYOI/AAAAAAAAAzA/EwiG3153_Jk/s320/dhcpd-102.jpg" alt="" id="BLOGGER_PHOTO_ID_5672218825675661538" border="0" /></a><br /><br /><a href="http://3.bp.blogspot.com/-tadzIJGfpow/TrfE-tHXIpI/AAAAAAAAAzI/54Jf4aYflNY/s1600/dhcpd-103.jpg"><img style="cursor:pointer; cursor:hand;width: 320px; height: 203px;" src="http://3.bp.blogspot.com/-tadzIJGfpow/TrfE-tHXIpI/AAAAAAAAAzI/54Jf4aYflNY/s320/dhcpd-103.jpg" alt="" id="BLOGGER_PHOTO_ID_5672218837237834386" border="0" /></a><br /><br /><a href="http://3.bp.blogspot.com/-GsLEIZYdBoc/TrfE-teHcNI/AAAAAAAAAzc/1kRpP8hvSys/s1600/dhcpd-104.jpg"><img style="cursor:pointer; cursor:hand;width: 320px; height: 203px;" src="http://3.bp.blogspot.com/-GsLEIZYdBoc/TrfE-teHcNI/AAAAAAAAAzc/1kRpP8hvSys/s320/dhcpd-104.jpg" alt="" id="BLOGGER_PHOTO_ID_5672218837333274834" border="0" /></a><br /><br /><br /><span style="font-weight: bold;">3) Starting and Stopping the DHCP Server</span><br /><br />Its best to manually start and stop the DHCP Server as required... as most LANs already have some DHCP service running... doubly so if your machine is portable (ie Laptop), you wouldn't want your Laptop to start dishing out IP addresses on boot.<br /><br />To start the DHCP server, command-line (as root): <span style=" font-weight: bold; color: rgb(0, 153, 0);font-family:courier new;">rcdhcpd start</span><br /><br />To stop the DHCP server, command-line (as root): <span style=" font-weight: bold; color: rgb(0, 153, 0);font-family:courier new;">rcdhcpd stop</span>Unknownnoreply@blogger.com0