tag:blogger.com,1999:blog-16979739870213597212024-03-19T10:23:04.017-07:00Useful UbuntuUnknownnoreply@blogger.comBlogger28125tag:blogger.com,1999:blog-1697973987021359721.post-68969939054113115852017-10-21T22:15:00.000-07:002017-10-21T22:17:47.129-07:00How to Install Ubuntu 17.10 Artful AardvarkIt has been a while since I have done one of these but I find it helpful to actually see the steps put in order and maybe someone else will as well (it has been a while since I have done any posts). I have distro-hopped around to many flavors but I still keep coming back to Ubuntu.<br />
<br />
Ubuntu 17.10 is out and here is how it looks to install it fresh on a new system. I'm not going to really explain the options as they are fairly self-explanatory. This is what I did, but feel free to choose what you want on your system.<br />
<br />
<b>Step 1 - Welcome</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifrzE11XF4pyPz72DSJ9FOb2Bt1Zgdg5uoNUKchuiXV9tQmdEGQTB0Oqm7zMeUG-7hicYhDc9imTELpO2M4-AevLcxOg_komPVnH0gBuZ2u0dSKDnY4rU8UCAwhd1hN6nUzzkUYdw9umdo/s1600/VirtualBox_Ubuntu+Dev_21_10_2017_20_41_00.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="600" data-original-width="800" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifrzE11XF4pyPz72DSJ9FOb2Bt1Zgdg5uoNUKchuiXV9tQmdEGQTB0Oqm7zMeUG-7hicYhDc9imTELpO2M4-AevLcxOg_komPVnH0gBuZ2u0dSKDnY4rU8UCAwhd1hN6nUzzkUYdw9umdo/s400/VirtualBox_Ubuntu+Dev_21_10_2017_20_41_00.png" width="400" /></a></div>
<br />
<b>Step 2 - Preparing</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr88ZqkZSitEloRXrVj2vbTTM50kZxifqOljFYRhffX-nLenECdbetnusoTKHHM4ExU0GBcfTp6X5_b2ME_WArmP23At8fDLclOO44b4D-oCsCIPURD6fyRIElROkiyATHJW64DEjd4D-p/s1600/VirtualBox_Ubuntu+Dev_21_10_2017_20_41_22.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="600" data-original-width="800" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr88ZqkZSitEloRXrVj2vbTTM50kZxifqOljFYRhffX-nLenECdbetnusoTKHHM4ExU0GBcfTp6X5_b2ME_WArmP23At8fDLclOO44b4D-oCsCIPURD6fyRIElROkiyATHJW64DEjd4D-p/s400/VirtualBox_Ubuntu+Dev_21_10_2017_20_41_22.png" width="400" /></a></div>
<br />
<b>Step 3 - Installation Type Options</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcOL9XmqmDRfaDxRVIXfHJpXOACbY3nXwuu7MsEGT1OSkGDYK1Iq4LeVIIrumUaRyB-UOSjX1HI7YlsWfkcCHDDR5k4VcWU33n-95HdQJuipHLzisORJTO87up70KqGhBbW4PW5cWwnHsD/s1600/VirtualBox_Ubuntu+Dev_21_10_2017_20_41_39.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="600" data-original-width="800" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcOL9XmqmDRfaDxRVIXfHJpXOACbY3nXwuu7MsEGT1OSkGDYK1Iq4LeVIIrumUaRyB-UOSjX1HI7YlsWfkcCHDDR5k4VcWU33n-95HdQJuipHLzisORJTO87up70KqGhBbW4PW5cWwnHsD/s400/VirtualBox_Ubuntu+Dev_21_10_2017_20_41_39.png" width="400" /></a></div>
<br />
<b>Step 3 Confirmation</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWJYGnAMwWPV1nNv78JfMtw_MFj9bSGes8-mmPNVWQfvRXB9TgsYc53oA12PLkzU8osPdXT65koyXXxxEISDqP46tzFASG08Txp3m9snXzeGhlyQuzSY0Va-n7hvkOwMOpVJlchtlbyBfi/s1600/VirtualBox_Ubuntu+Dev_21_10_2017_20_41_50.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="600" data-original-width="800" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWJYGnAMwWPV1nNv78JfMtw_MFj9bSGes8-mmPNVWQfvRXB9TgsYc53oA12PLkzU8osPdXT65koyXXxxEISDqP46tzFASG08Txp3m9snXzeGhlyQuzSY0Va-n7hvkOwMOpVJlchtlbyBfi/s400/VirtualBox_Ubuntu+Dev_21_10_2017_20_41_50.png" width="400" /></a></div>
<br />
<b>Step 4 - Where are you?</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx9Whl77-6BSkW7jEUua8sHUf4hupNiLLceObRQitASYQVJ3B58O8CoNqE9ah2HcsvSCB2V7xbNd-9cJ-Gl4fA8YMAjYc0152R0r4JTZ4FbJPfCKV8bUyqVytzE-hjxUwwjTbHAppf7ewg/s1600/VirtualBox_Ubuntu+Dev_21_10_2017_20_42_05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="600" data-original-width="800" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx9Whl77-6BSkW7jEUua8sHUf4hupNiLLceObRQitASYQVJ3B58O8CoNqE9ah2HcsvSCB2V7xbNd-9cJ-Gl4fA8YMAjYc0152R0r4JTZ4FbJPfCKV8bUyqVytzE-hjxUwwjTbHAppf7ewg/s400/VirtualBox_Ubuntu+Dev_21_10_2017_20_42_05.png" width="400" /></a></div>
<br />
<b>Step 5 - Keyboard Layout</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit-MGQnQtiaBubW2tYwcO1GqkrBnztdK6SkHjP34dY-hyJPAzG90R-M603mq4EKd3xhpm_ib1zKcQFwGQKl6-4xGhZpPJ7vTD-SrEQMVvZ8DSoZINC417DRnNLmEfQGaZnofqrTAYA1FPn/s1600/VirtualBox_Ubuntu+Dev_21_10_2017_20_42_24.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="725" data-original-width="1032" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit-MGQnQtiaBubW2tYwcO1GqkrBnztdK6SkHjP34dY-hyJPAzG90R-M603mq4EKd3xhpm_ib1zKcQFwGQKl6-4xGhZpPJ7vTD-SrEQMVvZ8DSoZINC417DRnNLmEfQGaZnofqrTAYA1FPn/s400/VirtualBox_Ubuntu+Dev_21_10_2017_20_42_24.png" width="400" /></a></div>
<br />
<b>Step 6 - Who are you?</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmf1NFpZ3RGkdkkR5RQCJl_kiOhp4UxySBKSQWIW1Qa8A9sSg4q4HWVM61cRPRwXI1uHRuEcoF8H6Diir-95jr7WsW7r9xtU1deYC1KT_p5qkU0xBNtsiv_7WiN_iz3bQI1S-9Jl2WiHKd/s1600/VirtualBox_Ubuntu+Dev_21_10_2017_20_42_34.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="725" data-original-width="1032" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmf1NFpZ3RGkdkkR5RQCJl_kiOhp4UxySBKSQWIW1Qa8A9sSg4q4HWVM61cRPRwXI1uHRuEcoF8H6Diir-95jr7WsW7r9xtU1deYC1KT_p5qkU0xBNtsiv_7WiN_iz3bQI1S-9Jl2WiHKd/s400/VirtualBox_Ubuntu+Dev_21_10_2017_20_42_34.png" width="400" /></a></div>
<br />
<b>Step 7 - Installing</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQJM1VgfFCUS97A1W14mbyq-PcQBtIWt0XRMztfZIMLGZ9Tdet5MBJ0eymkIZnva6HXCMcg9J3HjoFkw1vVPtb4p7vIcv8WMwe3o03OTtbL5uPpCbVV0FZrbMAobDnRpldmZsTbB98KYAz/s1600/VirtualBox_Ubuntu+Dev_21_10_2017_20_43_04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="725" data-original-width="1032" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQJM1VgfFCUS97A1W14mbyq-PcQBtIWt0XRMztfZIMLGZ9Tdet5MBJ0eymkIZnva6HXCMcg9J3HjoFkw1vVPtb4p7vIcv8WMwe3o03OTtbL5uPpCbVV0FZrbMAobDnRpldmZsTbB98KYAz/s400/VirtualBox_Ubuntu+Dev_21_10_2017_20_43_04.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2Y0fOz4UJnvEo40yfMSd3_pu1BnI2SdhrLh2v0VtIVEH38qi8GuEW3tAWV_Z4Rjk8PMGOw_NApfYXccQIxdYOLwYoF7ywEot8fmYfHJlqfw5fzzOkeWXsEJHIY4HgCrv72PjNU9ggpqR5/s1600/VirtualBox_Ubuntu+Dev_21_10_2017_20_44_32.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="725" data-original-width="1032" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2Y0fOz4UJnvEo40yfMSd3_pu1BnI2SdhrLh2v0VtIVEH38qi8GuEW3tAWV_Z4Rjk8PMGOw_NApfYXccQIxdYOLwYoF7ywEot8fmYfHJlqfw5fzzOkeWXsEJHIY4HgCrv72PjNU9ggpqR5/s400/VirtualBox_Ubuntu+Dev_21_10_2017_20_44_32.png" width="400" /></a></div>
<br />
<b>Step 8 - Reboot</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjawk8VeTMwgeRP3edjbQe3RE0Y0cbna04kgUHiaV3cNql-KGM7vLgpZyDk6PViIiEwvWTklzB8pF2XcSosQCo1ks5IJw1gGzeu7q2shFOLCqtHZu3657IF0YnPd2AoRm5N8Lz3NQwtNoNp/s1600/VirtualBox_Ubuntu+Dev_21_10_2017_20_50_21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="725" data-original-width="1032" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjawk8VeTMwgeRP3edjbQe3RE0Y0cbna04kgUHiaV3cNql-KGM7vLgpZyDk6PViIiEwvWTklzB8pF2XcSosQCo1ks5IJw1gGzeu7q2shFOLCqtHZu3657IF0YnPd2AoRm5N8Lz3NQwtNoNp/s400/VirtualBox_Ubuntu+Dev_21_10_2017_20_50_21.png" width="400" /></a></div>
<br />
<b>Step 9 - Fresh Desktop Ubuntu 17.10 install</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKcGoUUDcOTWXc25wJYTic-hLOlqp7L12plg9f0oePLW4ckJSOdOPC2Tuf6TBvfcbbxFpHm8rkVg9QWLhe92SUS6t1wZxfFMN1eKHZCZFws11qFmSLIOwCY9FB0E3fakkdr9w5ldbs1KZr/s1600/VirtualBox_Ubuntu+Dev_21_10_2017_20_54_03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="725" data-original-width="1032" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKcGoUUDcOTWXc25wJYTic-hLOlqp7L12plg9f0oePLW4ckJSOdOPC2Tuf6TBvfcbbxFpHm8rkVg9QWLhe92SUS6t1wZxfFMN1eKHZCZFws11qFmSLIOwCY9FB0E3fakkdr9w5ldbs1KZr/s400/VirtualBox_Ubuntu+Dev_21_10_2017_20_54_03.png" width="400" /></a></div>
<span id="goog_1516075221"></span><span id="goog_1516075222"></span><br />
Now that you have a fresh install of Ubuntu 17.10 Artful Aardvark, you can begin customizing it to your needs. If you have any trouble installing this feel free to head to the <a href="https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop#0" target="_blank">documentation</a>.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-86992684101081157422012-07-13T18:05:00.001-07:002012-07-13T18:05:39.766-07:00First thoughts of 12.04 LTS Precise PangolinIt has been a while since I have done any writing on Ubuntu tips, but I figured that now was a good time as any to get back into it. To be quite honest the new Unity interface really turned me off for Ubuntu, but with some changes that have taken place you can always use something else like Kubuntu or one of the other derivatives that are made.<br />
<br />
Of course whenever there is a new release of Ubuntu it is best to check out the <a href="https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes" target="_blank">release notes</a> for your specific version. As a system administrator it has served me well to have this habit since there could be information in the release notes that will inform about major package upgrades that could break existing functionality.<br />
<br />
So far I like the improvements to the desktop interface Unity. Since I use this on a EEEpc, it is not exactly the fastest laptop out there. One of the problems with Unity when it first came out was that it so extremely slow for my laptop to the point it was unusable. They definitely have made some performance improvements. The whole right sidebar is still taking some getting used to, but I think I will come to like it.<br />
<br />
One other piece of software that I have noticed is Quickly. Now I had actually used it before but that was back in its infancy as well and it was not nearly as polished as it is now. Although it deserves a post of its own (it will get one soon), I've been using it and have found it to be pretty good for developing apps for Ubuntu. Only downside I've seen so far is that even though there is a possibility for cross-platform development there doesn't seem to be any work done so far. Hopefully this will change in the future as cross-platform development is a huge plus for me since in a single day I will use Windows, Mac, and Linux.<br />
<br />
More to come soon and if you want a certain software discussed or need help then let me know in the comments. Thanks for reading.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-92211797304886231602011-03-11T21:58:00.000-08:002011-03-11T22:00:14.375-08:00Install Komodo Edit 6 on NattyJust wanted to give a quick update on how to install the latest Komodo Edit on the latest Ubuntu. Its been a while since I posted the last article about Komodo Edit and it needed a quick refresh.<br />
<br />
<ul><li>The packages for Linux can be found <a href="http://www.activestate.com/komodo-edit/downloads">here</a>. Download the appropriate package for whether you have 32-bit or 64-bit.</li>
<li>Use either the GUI to extract the contents or</li>
</ul><blockquote>tar -xvzf Komodo-version<version>-platform<platform>.tar.gz</platform></version></blockquote><ul><li>In your terminal, or open a terminal if you haven't already, change to the new directory</li>
</ul><blockquote>cd Komodo-version<version>-platform</version></blockquote><ul><li>Run the install script. I had to use sudo before the script to get it to install.</li>
</ul><blockquote>sudo ./install.sh</blockquote><ul><li>Go through and answer all of the installer prompts</li>
<li>Once the installer finishes you will need to add Komodo Edit to your PATH. Personally I like the symlink method, but it does require root/sudo access.</li>
</ul><blockquote>ln -s <installdir>/bin/komodo /usr/bin/komodo</installdir></blockquote>Two caveats that I have found is that you probably should not install to the default because it will only work for root or if you sudo. I went ahead and installed to /opt/komodo, but you could install wherever you like to install your non-package maintained software. Second, the installer actually tells you to make the symbolic link in /usr/local/bin but I have found that is not in the default PATH of the users (though it could be added). Other than that it is pretty straight forward. Let me know if you all find any other pain points.Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-1697973987021359721.post-65688554580218223832011-03-05T09:04:00.000-08:002011-03-05T09:04:39.239-08:00Replace Unity InterfaceI know I am not alone when I say that I don't like the new unity interface. I am using the Ubuntu Netbook Edition on my Asus EEEpc and my biggest complaint is that it is too slow. I like the idea of a better interface, but they have a long way to go to make it usable. Until then I will be sticking with the standard GNOME interface which is still included to use. I am going to show you how to change the default session to be the regular desktop session.<br />
<ul><li>Open the Login Screen Settings dialog box.</li>
<li>Change the bottom dropdown box to be Ubuntu Desktop Edition as the default session (you can see I already have mine changed). You may need to press the Unlock button and supply your password to be able to change this setting.</li>
</ul><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1edTRTRW0bCIUAbW9Meyl6Q8LOVT_-uuIsuNv_EH6uuc8MSWnEFTP9CLkWa_foqSc7QCyNcmQBp7KUzMrXBRBfE7igxk5Y-PyX5E9bvmSkwTRukl89XY4l-34tpO9myMNnzocEQIdzeRz/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="232" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1edTRTRW0bCIUAbW9Meyl6Q8LOVT_-uuIsuNv_EH6uuc8MSWnEFTP9CLkWa_foqSc7QCyNcmQBp7KUzMrXBRBfE7igxk5Y-PyX5E9bvmSkwTRukl89XY4l-34tpO9myMNnzocEQIdzeRz/s320/Screenshot.png" width="320" /></a></div><ul><li> You should just be able to log out and back in and then you will get the familiar GNOME desktop.</li>
</ul>This will not actually remove Unity from your installation so at what time you think you might want to use it again you could. I've read a few posts that take you through the steps to remove it, but I don't see it necessary since it can be easily disabled through the login screen. <br />
<ul></ul><ol></ol>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1697973987021359721.post-70316529722610984852010-06-15T18:36:00.000-07:002010-06-15T18:39:20.531-07:00Install Cherokee from PPALately I've been researching different options for web servers and I've been keeping my eye on Cherokee. I've been watching it for some time and have seen that the project is very active, but so far I haven't tried it out. After checking that the Ubuntu repositories did not contain the latest version Cherokee I decided to look for a PPA. Thankfully there is an up to date PPA with packages for all the latest distributions of Ubuntu. Here are the steps that got me set up on Ubuntu 10.04:<br />
<br />
<ol><li>Add the PPA to our sources.list. If you are running 9.10 and above you can run this command:</li>
</ol><blockquote style="font-family: "Courier New",Courier,monospace;">sudo add-apt-repository ppa:cherokee-werbserver/ppa</blockquote><blockquote>But if you are running 9.04 or lower you will need to add them manually:</blockquote><blockquote><span style="font-family: "Courier New",Courier,monospace;">sudo nano /etc/apt/sources.list</span><br />
<span style="font-family: "Courier New",Courier,monospace;">deb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu UBUNTU_VERSION main </span><br />
<span style="font-family: "Courier New",Courier,monospace;">deb-src http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu UBUNTU_VERSION main</span></blockquote><ol start="2"><li>Now update sources and install Cherokee. It is only necessary to install cherokee. The other two packages are for SSL and server statistics respectively.</li>
</ol><blockquote><span style="font-family: "Courier New",Courier,monospace;">sudo apt-get update</span><br />
<span style="font-family: "Courier New",Courier,monospace;">sudo apt-get install cherokee libcherokee-mod-libssl libcherokee-mod-rrd</span></blockquote>Once apt-get finishes you should have a fully functioning Cherokee web server. If you fire up your browser and head over to http://IP_ADDRESS_OF_MACHINE/ (e.g. http://localhost/ if you you are using the same machine that you installed on). You should be greeted with the Cherokee default page which is slightly more informative than Apache's "It Works."<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKyitKzwbFRpMQmZL5_ByJ7wTjz1sXv6vkiJei3a-TUlGulJR7mW4Z8_FHRhO8Ly4OjMuekETI8SAzZ-77c05qmFRQmBdwsmVpkX9-526-9Xvmhp2LvUhuAXbfJWTFYIsrVZDy9w2keh3O/s1600/cherokee+test+page.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKyitKzwbFRpMQmZL5_ByJ7wTjz1sXv6vkiJei3a-TUlGulJR7mW4Z8_FHRhO8Ly4OjMuekETI8SAzZ-77c05qmFRQmBdwsmVpkX9-526-9Xvmhp2LvUhuAXbfJWTFYIsrVZDy9w2keh3O/s320/cherokee+test+page.JPG" /></a></div>Now you are of course wondering how to configure Cherokee right? Well apparently you really shouldn't have to edit configuration files by hand (see picture last paragraph). There is a very well put together web application distributed with Cherokee called cherokee-admin. This webapp can be deployed by opening a terminal and launching this command:<br />
<br />
<div style="font-family: "Courier New",Courier,monospace;">sudo cherokee-admin &</div><div style="font-family: "Courier New",Courier,monospace;"><br />
</div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-family: Georgia,"Times New Roman",serif;">This will launch the webapp and give you the username, password, and URL with which you can access it. It is meant to be launched only when you need it for security and performance reasons. That was as far as I got with my install of Cherokee, but I will be trying out Drupal, Wordpress, and other CMS systems with it to see how well it performs.</span></div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1697973987021359721.post-40814449004268622452010-06-14T21:11:00.000-07:002010-06-14T21:11:07.393-07:00Eclipse Install with LucidI am merely posting this to give a quick update to the process for installing Eclipse with Lucid. It seems that the Ubuntu repositories have finally caught up with the latest release of Eclipse so there is no need to download the package off of the Eclipse website. Just a few terminal commands will do it:<br />
<br />
<blockquote style="font-family: "Courier New",Courier,monospace;">sudo apt-get update<br />
sudo apt-get install eclipse</blockquote>This should work quite well and it will install Eclipse SDK 3.5.2. You can then proceed as usual with your normal set-up and install of plugins with Eclipse. Enjoy!Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-1697973987021359721.post-56902373021253372102010-04-13T07:35:00.000-07:002010-04-13T07:35:52.407-07:00Using Appcelerator Titanium with Ubuntu<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsLJT_RHX2ShE0msxErFyGck5ZqbGBfMi1CyZ86S6JfnN-7vflh7xtM21Myr5SbtoSdiYzC9CeU0AITj4BT9BR_ifGk3XnrBiPnDJUy5_zTvTARZoF6Vp4Dtmj_E4NFfu0M9PDhRvBqr7a/s1600/default_app_logo.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsLJT_RHX2ShE0msxErFyGck5ZqbGBfMi1CyZ86S6JfnN-7vflh7xtM21Myr5SbtoSdiYzC9CeU0AITj4BT9BR_ifGk3XnrBiPnDJUy5_zTvTARZoF6Vp4Dtmj_E4NFfu0M9PDhRvBqr7a/s200/default_app_logo.png" width="200" /></a></div>As anyone can tell by reading other posts in this blog, I am a programmer and I try and use various programming languages and methods all the time. I found Titanium a few months ago and started using it when it was only version 0.7. It has matured very quickly since then and it makes for an interesting platform to develop on. To describe it in a just a sentence it allows for crossplatform desktop application development using only HTML and Javascript. You can also use PHP, Python, and Ruby, but you don't have to. There is also a mobile development side that works quite well also. For a full desciption of what it can do head over to <a href="http://appcelerator.com/">Appcelerator.com</a>.<br />
<br />
Follow these steps to install for Ubuntu 9.10:<br />
<br />
<ol><li>Navigate to <a href="http://appcelerator.com/">Appcelerator.com</a> and click download Titanium.</li>
<li>Click on the link to download either 32-bit or 64-bit Linux. If you are unsure just use the 32-bit.</li>
<li>Extract the archive and put the extracted folder anywhere you want. Personally I have a folder where I keep any downloaded programs in my home folder.</li>
<li>There is an executable file called "Titanium Developer" inside of the extracted that you can then run and follow the directions to install it. I usually choose to install it into my home folder because I had problem with installing it anywhere else.</li>
<li>The last thing you may want to do is create a shortcut either on the desktop or in the menu so you can easily start Titanium Developer. This can be done with the alacarte program.</li>
</ol><div>Go ahead and start creating your desktop programs, and relish in the fact that you did not have to use any other language besides the ones you already use for web development.</div>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-1697973987021359721.post-20981323843247029082010-03-08T20:33:00.000-08:002010-03-08T20:34:40.841-08:00Testing Out Lucid LynxIf you head over to <a href="http://cdimage.ubuntu.com/daily-live/current/">http://cdimage.ubuntu.com/daily-live/current/</a> you can get the most recent build of Lucid Lynx. I went ahead and created a Virtual Box VM since I didn't have time to reformat my hard drive. Seems pretty stable to me, but go ahead and try it out for yourselves.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmqptDV2W9N_9sWE1haBhE2m2Wh1l-97Pp4gEC3D8FtHzMbtocIR0_7ZDVaHPsDE0svaIh5vw0YTr1wFW8PcfzjawZvVWJJflujt0c8ixMwa2UEeIyg3dz8Ejb9TIdTLeBBfOnXFx1CCqQ/s1600-h/SnipImage.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmqptDV2W9N_9sWE1haBhE2m2Wh1l-97Pp4gEC3D8FtHzMbtocIR0_7ZDVaHPsDE0svaIh5vw0YTr1wFW8PcfzjawZvVWJJflujt0c8ixMwa2UEeIyg3dz8Ejb9TIdTLeBBfOnXFx1CCqQ/s400/SnipImage.JPG" width="400" /></a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-13128290487810832482009-10-30T18:41:00.000-07:002009-10-30T18:41:21.068-07:00Install Gnome Do from PPA in 9.10<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnmDXZuyJAvVyGVFfJn10v6lG6JXJm4cD5KRVvDWAXUUZ14mLoK-MSewJ11VV9mvh7QN-yVnvZz2JdzHIDC1h9rgn8iFEQsFx13er3lRLgwsAxSsGMq8fJs8dO3X1xDkJbvPcSapPf7MK_/s1600-h/shot-download.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnmDXZuyJAvVyGVFfJn10v6lG6JXJm4cD5KRVvDWAXUUZ14mLoK-MSewJ11VV9mvh7QN-yVnvZz2JdzHIDC1h9rgn8iFEQsFx13er3lRLgwsAxSsGMq8fJs8dO3X1xDkJbvPcSapPf7MK_/s200/shot-download.png" /></a><br />
</div>I always like to have the latest and greatest of Gnome Do. This can be achieved by installing from their PPA. These instructions are for Ubuntu 9.10 Karmic Koala so they may not work with older versions. Follow the steps below if you want to install Gnome Do from PPA.<br />
<ol><li>Open System > Administration > Software Sources</li>
<li>Click Other Software tab and then click the Add button.</li>
<li>Add these two lines one by one.</li>
</ol><blockquote style="font-family: "Courier New",Courier,monospace;">deb <a href="http://ppa.launchpad.net/do-core/ppa/ubuntu">http://ppa.launchpad.net/do-core/ppa/ubuntu</a> karmic main<br />
deb-src <a href="http://ppa.launchpad.net/do-core/ppa/ubuntu">http://ppa.launchpad.net/do-core/ppa/ubuntu</a> karmic main<br />
</blockquote><ol start="4"><li>Click Close and then Reload. It will complain about a GPG error but we will fix that in the next steps.</li>
<li>Open up a terminal and input these commands.</li>
</ol><blockquote style="font-family: "Courier New",Courier,monospace;">sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 77558DD0<br />
sudo apt-get update<br />
</blockquote><ol start="6"><li>Now you can install Gnome Do with this command.</li>
</ol><blockquote style="font-family: "Courier New",Courier,monospace;">sudo apt-get install gnome-do</blockquote>Congratulations! You now will have the latest Gnome Do installed on your system. Now when the next release of Gnome Do happens you will get it right away instead of waiting for it to be put into mainstream.Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-1697973987021359721.post-56757055216519354422009-08-24T19:54:00.000-07:002009-08-24T19:55:14.952-07:00Ubuntu Google Web Toolkit Setup<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3KG2Lt4rQkm1y3AIxBd5cEIw8JUtZRYsXS_9UP-3Opgka8wQ-u-PUTKMGzVb-9_efIC_8ZQiRX4C-ZpiTvTcRbwJj2z5P9B8de9YJDyaWuwWPSfLkkJaHlY1nIUJ-A3zYID4NVY-0yJeJ/s1600-h/gwt.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5373702157069620706" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3KG2Lt4rQkm1y3AIxBd5cEIw8JUtZRYsXS_9UP-3Opgka8wQ-u-PUTKMGzVb-9_efIC_8ZQiRX4C-ZpiTvTcRbwJj2z5P9B8de9YJDyaWuwWPSfLkkJaHlY1nIUJ-A3zYID4NVY-0yJeJ/s200/gwt.png" style="cursor: pointer; float: left; height: 192px; margin: 0pt 10px 10px 0pt; width: 200px;" /></a><br />
It's easy to get started with the Google Web Toolkit and Ubuntu 9.04. There are a couple of steps you will want to take to ensure a proper setup.<br />
<div></div><div>First let me start by mentioning that the easiest way to do this is to use Eclipse. Eclipse is a full-featured Java IDE. Many complain that it is too slow, crashes, etc. Since Google developed a plugin for Eclipse and most likely their software engineers are using it, I think it would be best to use it as well. Now on to the actual steps.</div><div></div><div><b>Get Eclipse Installed and Working</b></div><div><ol><li><img alt="" border="0" id="BLOGGER_PHOTO_ID_5373702860317691554" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilsvWZuQTBzTHJNA-2lW6ocPNQc6xE4XZqrOWbx71OgoXP4tmKfHGJeXha4zZ3YfwqUr5PUFxYPtXEdOSRMJH1IE0uOVXbUWI-7fjDPp6kznVV1NMIonjqfOc1WXLckblxiBe8hyn9KZfQ/s200/eclipse-galileo.png" style="cursor: pointer; float: right; height: 130px; margin: 0pt 0pt 10px 10px; width: 200px;" />Don't use synaptic to install Eclipse. If you already have it installed through synaptic that's okay, but you will have two versions of Eclipse on your computer.</li>
<li>Download the latest copy of Eclipse at <a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads</a>. Don't worry about all the different versions. Just download the Eclipse Classic at the bottom of the list.</li>
<li>Extract to a directory on your hard drive. I happen to put all of my programs that I install manually in a folder, /home/username/Software. This helps me keep track of all my programs I've installed manually.</li>
<li>You should be able to start Eclipse either through the command line (after you change to the directory) or by double-clicking eclipse inside of the folder.</li>
</ol><div><b>Install Google Web Toolkit Plugin</b></div><div><ol><li>Start Eclipse if you haven't already.</li>
<li>Help > Install new software...</li>
<li>Click the add button. Put GWT Plugin for name and paste in for the url:<br />
<br />
<blockquote>http://dl.google.com/eclipse/plugin/3.5</blockquote></li>
<li><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI94Cg8uTj55q2uHCoBstBUc4kkLzlruNTe0UJUxmnE7Nw_AqrPD5kXmHULPuNaQvsGIn23Z8yjxzGa2akg2vdeviNWM-9KTxbVLURlCc4hXgdukyPuqz9gqucEiIIpc1ArMU2XBI0UUYH/s1600-h/Screenshot.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI94Cg8uTj55q2uHCoBstBUc4kkLzlruNTe0UJUxmnE7Nw_AqrPD5kXmHULPuNaQvsGIn23Z8yjxzGa2akg2vdeviNWM-9KTxbVLURlCc4hXgdukyPuqz9gqucEiIIpc1ArMU2XBI0UUYH/s200/Screenshot.png" /></a>Check the boxes labeled Plugin and SDKs. </li>
<li>Follow through the wizard. You will have to agree to the license.</li>
<li>Once you finish with that window you will want to restart Eclipse. After that you can begin working with GWT in Ubuntu.</li>
</ol>This worked for me on 32bit and 64bit Ubuntu. Hopefully you will be able to start building your Google Web Toolkit applications in Ubuntu. </div></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-53397773830897968872009-05-11T19:44:00.000-07:002009-05-11T19:55:23.440-07:00Upgrade Ubuntu Desktop from 8.10 to 9.04<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfthQwaUIxNuzV-iAr_VgDnrmiv9-CPkFWzG-ZbXobGxyH5SFnNRNZm6dbW8v8DOF85k1yL3ILrfjK6eS7HHpK0Rst7LonU0PzzYXgOAxXj7VxoJMgqaOkykFa6AktahGxoNFB_uW2tmzw/s1600-h/Screenshot-Distribution+Upgrade.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 150px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfthQwaUIxNuzV-iAr_VgDnrmiv9-CPkFWzG-ZbXobGxyH5SFnNRNZm6dbW8v8DOF85k1yL3ILrfjK6eS7HHpK0Rst7LonU0PzzYXgOAxXj7VxoJMgqaOkykFa6AktahGxoNFB_uW2tmzw/s200/Screenshot-Distribution+Upgrade.png" alt="" id="BLOGGER_PHOTO_ID_5334764537233528130" border="0" /></a><br />Doing a distribution upgrade always makes me feel uncertain. I used to use another flavour of Linux that was very poor at upgrading. In fact, every time I tried to upgrade between versions it broke. I ended up doing a clean install every time there was a new version. Since switching to Ubuntu I have not had that problem, but I must be scarred from my previous experiences because I still get uneasy about upgrading. I have even waited to make sure that other people can do successful upgrades.<br /><br />U<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRZ-8vau39jzGks7iQxMk2e59Un7YWEoEpkNEgVmSQ6m_7312HlYomrESJQqdK_wzVjxIi9yZg5jFZURb28td25iw0F0KtKtPaHZD0aOQJwkQl08wQxUXUfy_Yt6tYVAG5sQ8lxOcEoc_t/s1600-h/Screenshot-Distribution+Upgrade-1.png"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 157px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRZ-8vau39jzGks7iQxMk2e59Un7YWEoEpkNEgVmSQ6m_7312HlYomrESJQqdK_wzVjxIi9yZg5jFZURb28td25iw0F0KtKtPaHZD0aOQJwkQl08wQxUXUfy_Yt6tYVAG5sQ8lxOcEoc_t/s200/Screenshot-Distribution+Upgrade-1.png" alt="" id="BLOGGER_PHOTO_ID_5334764679695861250" border="0" /></a>buntu makes it dead simple to perform a distribution upgrade. All one really needs to do is to run update-manager. Generally this runs each time after you start up to check for upgrades but you may have disabled that. Once the program finds that there is a new distribution there is a button that can be pressed to perform a distribution upgrade. Even though the upgrade is seamless I suggest making a backup before you perform the upgrade. You should see some similar screens on your computer that I have posted here. You pretty much let it work and at the end it will want you to reboot.<br /><br />If you have a successful reboot then the upgrade went fine. If you had some issues then you may want to check out the Ubuntu forums or try to google it.<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxvTW1X0ofQabbRiOGC6sf4mJRbM2sOx6RmCrdCk-1nq-FPBnNB80IZoWH5QBE_TJLndv5zgEPgb5IATs9KUeWsahOq3VPRHrlUyGXIi5rgG40Ih5SJUBZEYn3yTxZ2toQU8d33Jvtip5_/s1600-h/Screenshot-Distribution+Upgrade-2.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 393px; height: 400px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxvTW1X0ofQabbRiOGC6sf4mJRbM2sOx6RmCrdCk-1nq-FPBnNB80IZoWH5QBE_TJLndv5zgEPgb5IATs9KUeWsahOq3VPRHrlUyGXIi5rgG40Ih5SJUBZEYn3yTxZ2toQU8d33Jvtip5_/s400/Screenshot-Distribution+Upgrade-2.png" alt="" id="BLOGGER_PHOTO_ID_5334765149787962466" border="0" /></a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-28033210404619809632009-05-10T12:44:00.000-07:002009-05-10T12:51:31.745-07:009.04 Ubuntu Netbook RemixSo I just got an Asus 1000HA and I just had to put the netbook version of Jaunty on it. This was actually very easy to do by way of this <a href="http://www.jpierre.com/2009/04/installing-ubuntu-netbook-remix-904-jaunty-jackelope-on-eee-pc-the-howto-guide/">tutorial</a>. Having such a portable computer has never been better.<br /><br />Of course the default install is lacking as far as applications goes. Once I have all of the applications that I use installed, I'll give a run down of what I did after the installation. For now, I'm just happy that it installed just fine without having to do anything special.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-52945420082276935572009-04-21T23:49:00.000-07:002009-04-21T23:53:26.822-07:00Just 2 days left for Ubuntu 9.04I have been pleasantly surprised with the improvements to Ubuntu. I have been using the Beta since its release on my computer at work. I have only experienced a couple of issues related to printing, but printing is not a huge issue for me. What have been your experiences with Ubuntu 9.04? What do you like, or not like? Leave a comment below.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-71324225049481764812009-03-26T19:15:00.001-07:002009-03-27T06:22:08.481-07:00Passwordless SSHSo you have a bunch of Ubuntu servers and you use SSH to do administrative tasks on the machines. It is beginning to be a pain to always type the password each time you login to a server. You want a way where you can log straight in without having to type a password. That is where key authentication comes in. You can use a program to generate a public and private key for your computer. You can then distribute your public key to each of your servers and then your authentication will come from the keys and not from a password. Please read through these steps carefully and you can have these useful passwordless SSH logins.<br /><ol><li>Install OpenSSH on your computer and all of the servers (You probably have done this already).<br /><blockquote>sudo apt-get install openssh-server</blockquote></li><li>Generate your public and private keys. When it asks for a passphrase leave it empty.<br /><blockquote>ssh-keygen -t rsa</blockquote></li><li>You now need to distribute your public key (~/.ssh/id_rsa.pub) to each servers .ssh/authorized_keys file. This can be done in several ways.<br /></li><li>If you have not made the authorized_keys file on the server you can do this:<br /><blockquote>scp ~/.ssh/id_rsa.pub username@servername:.ssh/authorized_keys</blockquote></li><li>If you have other entires in the authorized_keys folder then you can use cut and paste between two text editors. Open ~/.ssh/id_rsa.pub in the text editor of your choice on your computer. Open a normal SSH session on the server and open the ~/.ssh/authorized_keys in nano, vi, or any other terminal text editor. Copy the text straight from the text editor on your computer to the terminal window. Make sure that it ends up as one line in the authorized_keys file.</li></ol>WARNING: Not setting a password on your keys can pose a security risk. IF someone were to get your private key they could pose as YOUR computer and access the servers just like you do. Guard your private key with your life.<br /><br />You can even set this for other users on the server as well as the root user. It is considered a bad practice to log in as root unless you are doing serious administrative tasks. If you run into problems after copying your public key onto your server, just simply move your keys out of your .ssh folder and then you can login to the server using your password to fix the issue. In that case make sure that your public key was all on one line.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-76003023802808096542009-03-15T23:01:00.000-07:002009-03-15T23:38:40.227-07:00Installing Komodo Edit 5Here is another useful tip for having a good development environment. Since there are many Integrated Development Environments on the market I have been going through each one to see what I like and don't like. I have tested many different IDEs available for PHP programming and I have come to like <a href="http://www.activestate.com/komodo_edit/">Komodo-Edit</a>. This is the light (free) version of the Komodo IDE 5 program. Since this is not available via a repository let me show you how to install this into your Ubuntu system.<br /><ol><li>Download the latest release for Linux by visiting this <a href="http://www.activestate.com/komodo_edit/">link</a> (click the link that says download now).</li><li>If you are using the gnome desktop you can right-click and select extract here or you can extract using the tar command.<blockquote> tar zxvf Komodo-Edit-5.0.3-2767-linux-libcpp6-x86.tar.gz </blockquote></li><li>Open up a terminal and move to that directory using cd. Mine is on my desktop so the command looks like this: <blockquote>cd Desktop/Komodo-Edit-5.0.3-2767-linux-libcpp6-x86/</blockquote></li><li>Now run:<blockquote> sh install.sh</blockquote></li><li>When you are asked where you would like to install it go ahead and type the directory to where it should be installed. Personally I put all custom installs into a folder called Software in my home directory: <blockquote>/home/myuser/Software/Komodo-Edit-5</blockquote></li><li>Once it finishes you still have one more step, inserting the executable into your PATH variable. This can be done with a simple command: <blockquote>sudo ln -s "/home/myuser/Software/Komodo-Edit-5/bin/komodo" /usr/local/bin/komodo</blockquote></li></ol>I have tested Komodo Edit on both x86 and x86_64 and it works fine even on the 64 bit system. If you get frustrated with other IDE setups go ahead and check out Komodo Edit, it may be your next best editor. By the way you can also edit Perl, Python, Ruby, Tcl, Javascript, CSS, XHTML, and some template languages besides PHP.Unknownnoreply@blogger.com21tag:blogger.com,1999:blog-1697973987021359721.post-34046248149332573632009-03-03T19:09:00.001-08:002009-08-24T12:28:19.915-07:00RAID 1 and Ubuntu Server 8.10Since I have recently acquired another 80 GB drive I decided to put it to good use in one of my older computers. It already had an 80 GB drive and what better way to use two equal size hard drives than to set up a RAID 1 array. For some reason when I used to hear the word RAID I assumed that in order to set that up one would need to know a lot. In all reality, setting up a RAID 1 array was quite easy. Since this computer will be a back-up server to my other computers it is nice to know that even if one drive fails I won't lose my data.<br /><br />I will assume that the reader knows the basics of installing the Ubuntu Server. First of all you will need to download the Server ISO and burn it to disk. Once you have that, the only other item you will need is a computer to test it out on that is ready to have a RAID 1 array put on it. In order for it to be ready it will need to have at least 2 drives of equal size. If you don't happen to have a physical computer you could set up a virtual host will two small drives of equal size. Either way you will need a system that you can do a fresh install of Ubuntu Server 8.10. The screenshots you will see will be from a virtual machine.<br /><br /><span style="font-weight: bold;">Initial Set-up and the /boot partition</span><br /><ol><li>Proceed as normal through the installation steps until you get to the part where you need to partition your drive.<br /></li><li>Choose Manual<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkV1C5uQyJ3lAipGq-vry7HSnWEhvH8aD8dm4ErMPm4knHRoelLm6mwJu9hd7r0ctDfu36cZaOWr1_PgZeQoXI5-NjNyYKd1FCfwt6AJnWLGtU2M12hqaZHyjvmyoyO9S0wvHXVYXqF3Tv/s1600-h/step2.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkV1C5uQyJ3lAipGq-vry7HSnWEhvH8aD8dm4ErMPm4knHRoelLm6mwJu9hd7r0ctDfu36cZaOWr1_PgZeQoXI5-NjNyYKd1FCfwt6AJnWLGtU2M12hqaZHyjvmyoyO9S0wvHXVYXqF3Tv/s400/step2.png" alt="" id="BLOGGER_PHOTO_ID_5311396076855618578" border="0" /></a></li><li>We want to create these partitions: 100 MB for /boot; 256 MB for swap; the rest for /;</li><li>Select the first hard drive.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm-mgVvwoeed6gkpOnj2pCdMqCY16iKwrXeQcQX2LeQg9OLS3-BHB40zu5d9939y2xWS9avoT1_uTo-XaaJ3m0ec29MsQ5CGUM_wDnk02aTtAYnbiilxRj6jFNqc6f7T0wBj_QWuGjtTXg/s1600-h/step4.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm-mgVvwoeed6gkpOnj2pCdMqCY16iKwrXeQcQX2LeQg9OLS3-BHB40zu5d9939y2xWS9avoT1_uTo-XaaJ3m0ec29MsQ5CGUM_wDnk02aTtAYnbiilxRj6jFNqc6f7T0wBj_QWuGjtTXg/s400/step4.png" alt="" id="BLOGGER_PHOTO_ID_5311396707203379986" border="0" /></a></li><li>If it asks you to create an empty partition table choose "Yes."</li><li>Repeat four and five for the other drive as well and now you should have something like this.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCLM0BYT_SJHlUY2wO_EggnMVg6Q9T0xx518EJzRj1InVMqP7n9a-7KjpJC1WTYi5H5p67DEnA10qSNT1bqSCOGIG9ce2C5yY4vRS_aP_HD9_n6W_d9TazXwc9xtnHHrPhR-R-WfijwsAK/s1600-h/step6.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCLM0BYT_SJHlUY2wO_EggnMVg6Q9T0xx518EJzRj1InVMqP7n9a-7KjpJC1WTYi5H5p67DEnA10qSNT1bqSCOGIG9ce2C5yY4vRS_aP_HD9_n6W_d9TazXwc9xtnHHrPhR-R-WfijwsAK/s400/step6.png" alt="" id="BLOGGER_PHOTO_ID_5311397388997352898" border="0" /></a></li><li>Now we are going to make the partitions on each drive. Select the first drive to partition it's free space.</li><li>Choose create a new partition.</li><li>Enter 100 MB for its size.</li><li>Choose Primary.</li><li>Choose Beginning.</li><li>Now select the Use as: option and change it to "physical volume for RAID." Also turn the bootable flag on. (This is going to be the /boot partition remember).<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiROmTnNKXqDMzxp-ZjxmDnaoFF-pGXuLBU0RPh20f6uAqxrAwu2aaHTKJwVRAGCZJhB1Zjcn34xjHY1zmr_IGHsPVs7004s89AeNXP_2nGfX7Z1po8PCsyK4rnsZMTkGvbqE15T_8ABvs3/s1600-h/step12.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiROmTnNKXqDMzxp-ZjxmDnaoFF-pGXuLBU0RPh20f6uAqxrAwu2aaHTKJwVRAGCZJhB1Zjcn34xjHY1zmr_IGHsPVs7004s89AeNXP_2nGfX7Z1po8PCsyK4rnsZMTkGvbqE15T_8ABvs3/s400/step12.png" alt="" id="BLOGGER_PHOTO_ID_5311398962839637106" border="0" /></a></li><li>Then choose "Done setting up the partition."</li><li>Repeat 8 through 13 for the other drive as well.</li></ol><span style="font-weight: bold;">Setting up the Swap partition</span><br /><ol><li>Now we need to set up the swap partition. Select the "FREE SPACE" on the first drive.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxkf8nm6oJfT_VeaZl9leJ8PRJ_z8kDSkBK9uVMULykLbhP8wq_LFQPz1DASSe0BtbyVH82WUNIjUt6BlumnBRyZePf63hdBNgbqXfaZR4NmfeeQVCot2ec1I7T2GSg_onaY1VCR6dAtM2/s1600-h/step15.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxkf8nm6oJfT_VeaZl9leJ8PRJ_z8kDSkBK9uVMULykLbhP8wq_LFQPz1DASSe0BtbyVH82WUNIjUt6BlumnBRyZePf63hdBNgbqXfaZR4NmfeeQVCot2ec1I7T2GSg_onaY1VCR6dAtM2/s400/step15.png" alt="" id="BLOGGER_PHOTO_ID_5311399547438905714" border="0" /></a></li><li>Choose Create a new Partition.</li><li>Enter 256 MB for the size.</li><li>Choose Primary.</li><li>Choose Beginning.</li><li>Select the Use as: option but this time choose "swap area."</li><li>Select "Done setting up the partition"</li><li>Repeat steps 2 through 7 for the other drive.</li></ol><span style="font-weight: bold;">Setting up the / Partition</span><br /><ol><li>You should have a similiar set-up as the screenshot below. We could break our root partition down into /home, /usr, /var, etc. I want this to be simple and easy to do. Once you can do this basic set-up you will know how to do the more elaborate.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAQMgx4Roh7JnwBqxKGz2_Nr33bCxcDAzsTfO9dxL5BHyVDVlfUupwT6RlqJFrlQzHKE1ai3JpJIGNBrzhMAA-lwFUrsP9UoqAKIDHoPdepLs8UFTytQg8BV_h_qti0DBRrvUBjQpa7zeS/s1600-h/rootpartitioning.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAQMgx4Roh7JnwBqxKGz2_Nr33bCxcDAzsTfO9dxL5BHyVDVlfUupwT6RlqJFrlQzHKE1ai3JpJIGNBrzhMAA-lwFUrsP9UoqAKIDHoPdepLs8UFTytQg8BV_h_qti0DBRrvUBjQpa7zeS/s400/rootpartitioning.png" alt="" id="BLOGGER_PHOTO_ID_5311402608391020050" border="0" /></a></li><li>Choose the "FREE SPACE" on the first hard disk.</li><li>Choose Create a new partition.</li><li>Use the default value that is already supplied. In my case it is 8.2 GB. This will use the rest of the disk for the root partition.</li><li>Choose primary.</li><li>Now select the Use as: option and change it to "physical volume for RAID."</li><li>Select "Done setting up the partition."</li><li>Repeat steps 2 through 7 for other drive.</li><li>You should have a similar screen as below. Go ahead and choose "Configure software RAID." (It's at the top)<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi04I7RDMrpNKSYyVvFiQBP7iuVXvJFIaJtImh_OThx-PVjM-Xci1EPGAIbHzP2egKPNJyoBzN6UGw3pkpKzZTwVb7NMbphAoEnAcmVEau6tlfk_22bLzEveG5xKUdpWXGhKER8I15EVWXi/s1600-h/finishpart.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi04I7RDMrpNKSYyVvFiQBP7iuVXvJFIaJtImh_OThx-PVjM-Xci1EPGAIbHzP2egKPNJyoBzN6UGw3pkpKzZTwVb7NMbphAoEnAcmVEau6tlfk_22bLzEveG5xKUdpWXGhKER8I15EVWXi/s400/finishpart.png" alt="" id="BLOGGER_PHOTO_ID_5311403006990598082" border="0" /></a></li></ol><span style="font-weight: bold;">Configuring Software RAID</span><br /><ol><li>Your next screen will ask you if you are really sure about your partitioning. Choose "Yes."<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvzCb7vVygHUhm_nflI2HHxk5L0hG_DEdd9HUGEzUtpqP1XLSfKgnRqoPeNYtb169eeA8ivDF8nIFQxM3CJVAQwqFvWfneI6ncEmNdJZdJT_4SSb-SuAjj2MAivjcKFg_ptBSqJ38XZDdR/s1600-h/areusure.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvzCb7vVygHUhm_nflI2HHxk5L0hG_DEdd9HUGEzUtpqP1XLSfKgnRqoPeNYtb169eeA8ivDF8nIFQxM3CJVAQwqFvWfneI6ncEmNdJZdJT_4SSb-SuAjj2MAivjcKFg_ptBSqJ38XZDdR/s400/areusure.png" alt="" id="BLOGGER_PHOTO_ID_5311403701549561714" border="0" /></a></li><li>Now select "Create MD device."<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi52YmzhY5bjO3zapTxTuErJOe9bAFnzfOst1aD2Fde2BJlHd6-31V6k6-rkE9nh7rlWmEcEZSnijzTBW5mzBRRffX09zIqUj34Ggk74b6D4Hhgcx3VWdMbyI8g5y8mN6bWS6Jgd0pJeZMT/s1600-h/mddevice.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi52YmzhY5bjO3zapTxTuErJOe9bAFnzfOst1aD2Fde2BJlHd6-31V6k6-rkE9nh7rlWmEcEZSnijzTBW5mzBRRffX09zIqUj34Ggk74b6D4Hhgcx3VWdMbyI8g5y8mN6bWS6Jgd0pJeZMT/s400/mddevice.png" alt="" id="BLOGGER_PHOTO_ID_5311404129372149762" border="0" /></a></li><li>Choose "RAID1"<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxCb9nGA-qhDF3WhJUV80quXfFhDF_X8i23IWMdMxFW8yYelk0iAqgbkxFUzGJYUEI0Os-KqqkKyYYRkrJd8kkjaL9V7lTJWu-BU2dxa5KfpYWiVnoAG8ZHrfpK-CVxaTPBrA2nSgFW1I4/s1600-h/raid1.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxCb9nGA-qhDF3WhJUV80quXfFhDF_X8i23IWMdMxFW8yYelk0iAqgbkxFUzGJYUEI0Os-KqqkKyYYRkrJd8kkjaL9V7lTJWu-BU2dxa5KfpYWiVnoAG8ZHrfpK-CVxaTPBrA2nSgFW1I4/s400/raid1.png" alt="" id="BLOGGER_PHOTO_ID_5311404372196013826" border="0" /></a></li><li>Now it will ask you how many active devices for the RAID1 array. Since we only have two drives we will leave it at 2 and continue.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8J759RP2RiudpurNaPGo8MpKJKaMZpvdLdHeP9TaQB8Pn44S34OYnRotixthDrS8YLPs5W1xQSGEGnfE8uig67cLAW7q_5Z9aBiYu7FmQaGhDBZi5YorZ8wKBOlzABL_TZQxOiAUZmGYh/s1600-h/activedrives.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8J759RP2RiudpurNaPGo8MpKJKaMZpvdLdHeP9TaQB8Pn44S34OYnRotixthDrS8YLPs5W1xQSGEGnfE8uig67cLAW7q_5Z9aBiYu7FmQaGhDBZi5YorZ8wKBOlzABL_TZQxOiAUZmGYh/s400/activedrives.png" alt="" id="BLOGGER_PHOTO_ID_5311404766520805234" border="0" /></a></li><li>Now it asks about spares. We don't have any so we will leave it at 0 and continue.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_4Ie_yrb8QbaDFQQ15TdU0X5PENKeAGDsyg7NVNfld7EaLyL0XrtREnH8AV-kc5rv6vrI3vJpIAWrRzvi8g1jAthYO2GeMnIZg-sPSkvJ_HS4Y86zZcYrV21pcWltWZDz36jsLEZZg0Pj/s1600-h/spares.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_4Ie_yrb8QbaDFQQ15TdU0X5PENKeAGDsyg7NVNfld7EaLyL0XrtREnH8AV-kc5rv6vrI3vJpIAWrRzvi8g1jAthYO2GeMnIZg-sPSkvJ_HS4Y86zZcYrV21pcWltWZDz36jsLEZZg0Pj/s400/spares.png" alt="" id="BLOGGER_PHOTO_ID_5311405056697078770" border="0" /></a></li><li>Now we need to choose the two partitions that are going to mirror each other. In my example it will be /dev/sda1 and /dev/sdb1. Choose both using the space bar to select/deselect and then continue.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0QCMj7xXbdRTm-dqOrDkuaUFUBZ82AOr3uQAF0expSLGv8jqUa9OIS6nFEvw8qIqGGSZqwuF1K6fgbvfiJXlSvLfPvS_Vm9EzOS3vrjB6l8_LpeEMAES7k5FzNj_476PHTjcfV6rahtP4/s1600-h/2parts.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0QCMj7xXbdRTm-dqOrDkuaUFUBZ82AOr3uQAF0expSLGv8jqUa9OIS6nFEvw8qIqGGSZqwuF1K6fgbvfiJXlSvLfPvS_Vm9EzOS3vrjB6l8_LpeEMAES7k5FzNj_476PHTjcfV6rahtP4/s400/2parts.png" alt="" id="BLOGGER_PHOTO_ID_5311405633966151282" border="0" /></a></li><li>That's it. You've created the MD device for the /boot partition. Repeat steps 2 through 6 but choose /dev/sda3 and /dev/sdb3 in the last step.</li><li>Once you have created both MD devices you can select "Finish."</li></ol>Last but not Least<br /><ol><li>We still have to give those RAID1 devices a mount point and filesystem. Follow the steps below to do it.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-WFAnt_4UMEnEDd8qmeX4gz4bIeRv-xKm4f5KEGGygTBbqExr83yjriv4tqaDEAa_eJdHGw0vyqLkvHgUAlUXX-duiwvhJniRYPDdO-H1ar4NYTU5bsn4DW_0X1taKccTDzkbjDfKwuim/s1600-h/afterRAID.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-WFAnt_4UMEnEDd8qmeX4gz4bIeRv-xKm4f5KEGGygTBbqExr83yjriv4tqaDEAa_eJdHGw0vyqLkvHgUAlUXX-duiwvhJniRYPDdO-H1ar4NYTU5bsn4DW_0X1taKccTDzkbjDfKwuim/s400/afterRAID.png" alt="" id="BLOGGER_PHOTO_ID_5311406826356384002" border="0" /></a></li><li>Select the partition under RAID1 device #0. Mine says "#1 98.6 MB"</li><li>Select the Use as: option and choose Ext3 (or whichever one you want).</li><li>Change the Mount point: to /boot<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMB3pEWLbbist9G4ZnnUQroiCyelF5aROu-MVJMaOTgzmiYYFhfMTknE_GdwOzZ8kL0DBJDL-x4XeShkaRzO98SuUPsx4uvbkr9n9BPlp2qWqkDHhH4H_xZZsdcrWC3sLiwe-iufyJ9q5q/s1600-h/mountboot.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMB3pEWLbbist9G4ZnnUQroiCyelF5aROu-MVJMaOTgzmiYYFhfMTknE_GdwOzZ8kL0DBJDL-x4XeShkaRzO98SuUPsx4uvbkr9n9BPlp2qWqkDHhH4H_xZZsdcrWC3sLiwe-iufyJ9q5q/s400/mountboot.png" alt="" id="BLOGGER_PHOTO_ID_5311407590933404322" border="0" /></a></li><li>Then you can select "Done setting up the partition."</li><li>Now repeat steps 3 through 5 for RAID1 device #1, the 8.2 GB partition. This partition will be mounted to /, which is root.</li><li>Once you have these partitions made you can select "Finish partitioning and write changes to disk"<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3gIJh2cxFGJs2DsOj4J48731JYw0FD56l6DZ9_OSVpcKhQDXqGphZMpzxjf6eae8b9Sbhlu2u4uPqtv8C2OTWkHaue_oSg3nqfjXtorBWNf_Ub3jQ_H9_0WMyi-waK8ZEsIWGzmBl-azg/s1600-h/finish.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3gIJh2cxFGJs2DsOj4J48731JYw0FD56l6DZ9_OSVpcKhQDXqGphZMpzxjf6eae8b9Sbhlu2u4uPqtv8C2OTWkHaue_oSg3nqfjXtorBWNf_Ub3jQ_H9_0WMyi-waK8ZEsIWGzmBl-azg/s400/finish.png" alt="" id="BLOGGER_PHOTO_ID_5311408384206715666" border="0" /></a></li><li>Before it makes the changes it gives a nice warning about destroying data. Choose "Yes" to write the changes to disk.</li><li>You may get another screen warning about the kernel not being able to access the RAID devices. Just continue and the base system will install as normal.<br /></li></ol><span style="font-weight: bold;">Conclusion</span><br />That's really all it takes to set up a RAID1 array with two hard disks of the same size. Now you can know that if one of your drives were to fail you would still have all of the data because of the RAID1 array. Back-ups must still be made in the case of the failure of both of the drives. That's why I will use rsync and an external drive. Hope this is useful for everyone!Unknownnoreply@blogger.com6tag:blogger.com,1999:blog-1697973987021359721.post-92037472990697296032009-02-24T23:05:00.000-08:002009-02-24T23:31:35.699-08:00#!CrunchBang LinuxI have always loved to take different flavors of Ubuntu for a spin and recently I set up Crunchbang Linux on my Laptop. I'll post a screen shot of my desktop at the end. Aside from being based on Ubuntu the main thing with Crunchbang is that it is heavily based on using lightweight applications. Its main window manager is <a href="http://icculus.org/openbox/index.php/Main_Page">Openbox</a>, but it also has gtk in there too. Since my laptop is getting older (nearly five years old now) it needs the lightweight applications.<br /><br />Crunchbang was very easy to set-up. I had zero problems with the install. It is as simple as putting the CD into the drive and letting it boot up to a live environment. Once you are the live environment you can play around with it to see if you like it. If you want to install it you can use the right-click menu to install Crunchbang to your hard drive. I had just installed Windows XP Pro (needed for games/work) on my 60 GB drive. So then I installed Crunchbang after that and it easy dual boots between both. You can find Crunchbang <a href="http://crunchbanglinux.org/">here</a>. The most recent edition is 8.10.2 and it is also the edition that I installed.<br /><br />If you want something that is not heavy on your system resources or maybe you have an older laptop like mine give Crunchbang a try.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidWSDSFgV7P8Uu7Nlmiba9gOfm1hEcQVmJzx-zYGPgF6W2FsoA_sV4SOULQoRgWjOYVtD-FHPCEOaTXmbym9UMCPe8jCE26q2tmR3vtfTnrIhImJZ5GGmgl-U2VOBLDyUKF6zoNGDKrfSq/s1600-h/2009-02-24--1235546740_1680x1050_scrot.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidWSDSFgV7P8Uu7Nlmiba9gOfm1hEcQVmJzx-zYGPgF6W2FsoA_sV4SOULQoRgWjOYVtD-FHPCEOaTXmbym9UMCPe8jCE26q2tmR3vtfTnrIhImJZ5GGmgl-U2VOBLDyUKF6zoNGDKrfSq/s400/2009-02-24--1235546740_1680x1050_scrot.png" alt="" id="BLOGGER_PHOTO_ID_5306633451816158770" border="0" /></a>(Desktop photo from <a href="http://interfacelift.com">interfacelift.com</a>)Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-46132653162727804292009-01-21T00:22:00.001-08:002009-01-29T01:18:54.286-08:00Create a Static IP from the Command LineCreating a static IP from the command line is a very short task. All you need to edit is one configuration file and restart the networking service. You will need to know the settings for your network to do this. I will show how to set a static IP of 192.168.0.101 on a network with a gateway of 192.168.0.1.<br /><ol><li>Open the configuration file in your favorite editor (mine is nano)<blockquote> sudo nano /etc/network/interfaces</blockquote></li><li>Comment out the section where dhcp is being used (put the # in front of the line):<blockquote><pre>#auto eth1<br />#iface eth1 inet dhcp</pre></blockquote></li><li>Add a section like this example: <blockquote><pre>auto eth1<br />iface eth1 inet static<br />address 192.168.0.101<br />netmask 255.255.255.0<br />network 192.168.0.0<br />broadcast 192.168.0.255<br />gateway 192.168.0.1</pre></blockquote></li><li>Close and save the file</li><li>Reload the network service:<blockquote> sudo /etc/network restart</blockquote></li><li>Check to make sure you can access other computers/internet by using ping: <blockquote>ping www.google.com</blockquote></li><li>If you don't get a response then you may have set your network information incorrectly. Just go back and repeat this process at step 3.<br /></li></ol>Make sure you have entered the correct information for YOUR network. Once you have the static IP set up properly you can then have your other computers access that computer through it's IP address.Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1697973987021359721.post-15938929582359504012009-01-20T23:41:00.000-08:002009-01-21T00:23:57.708-08:00Add extra storage on the fly with LVM2Currently I am in the process of creating a file/print server for my home network. It's an older computer but I wanted to experiment with various set-ups and configurations. Two of my requirements were that I must be able to add extra storage on the fly and I must be able to see the two hard drives as one logical unit. The only way (at least that I know of) is to use LVM. I have used it in the past, but I never really needed so I usually did not pick it during the install. In fact my current Ubuntu desktop does not have LVM on it.<br /><br />During my internet searches I came across this great article, <a href="http://www.howtoforge.com/linux_lvm">A Beginners Guide to LVM</a>. Read this all the way through and you should get a good grasp of the main commands of LVM. Since that article did not really explain how to what I wanted I had to adapt it to my needs. Here are the steps I used to get my 80GB Maxtor(sda) and 60GB Western Digital(sdb) to work together as one logical unit. I am also using ext3 as my filesystem because it supports on-line resizing.<br /><ol><li>Fresh install of Ubuntu Server 8.10</li><li>Run updates: <span style="font-style: italic;"><blockquote>sudo aptitude update && sudo aptitude safe-upgrade</blockquote></span></li><li>Reboot because of kernel upgrade</li><li>Figure out what the extra hard drive is (mine is sdb): <blockquote><span style="font-style: italic;">sudo fdisk -l</span></blockquote><span style="font-style: italic;"></span></li><li>Partition the hard drive as Linux LVM: <blockquote>sudo fdisk /dev/sdb</blockquote><span style="font-style: italic;"></span></li><li>Initialize partition for use by LVM (on my system sdb1 is swap):<span style="font-style: italic;"> <blockquote>sudo pvcreate /dev/sdb2</blockquote></span></li><li>Display attributes of volume groups to find your group name (mine is ubuntu-server):<span style="font-style: italic;"> <blockquote>sudo vgdisplay</blockquote></span></li><li>Add my physical volume to my volume group: <blockquote><span style="font-style: italic;">sudo vgextend ubuntu-server /dev/sdb2</span></blockquote><span style="font-style: italic;"></span></li><li>Now extend the logical volume root to include the new physical volume: <span style="font-style: italic;"><blockquote>sudo lvextend -L128G /dev/ubuntu-server/root</blockquote></span></li><li>Lastly, resize the filesystem to include the new free space:<span style="font-style: italic;"> <blockquote>sudo resize2fs /dev/ubuntu-server/root</blockquote></span></li></ol>After reading the beginners guide posted above I was able to go through these steps and add extra storage without unmounting the root parition. This is one of the features of ext3, but I do not know whether you can do that with other filesystems. Now I am able to use both drives to the fullest extent and when I want to add another drive it will be quite easy.Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-1697973987021359721.post-59166525311949261052009-01-15T23:26:00.000-08:002009-01-21T00:23:37.495-08:00Developing with NetBeans IDEProgramming is a hobby of mine and in recent days I have been testing out various IDEs (Integrated Development Environments). One such that I have really enjoyed using is the <a href="http://www.netbeans.org/">NetBeans</a> IDE. One of the greatest features (at least in my opinion) is that no matter what OS I am using I can still be editing my programs with Netbeans. In my daily routines I will end up using Windows, Mac, and Linux so cross platform applications will always get a plus in my book. I also find that one of my greatest frustrations about programming is that most developers only create programs for a specific OS. Now, I understand why they do this (majority), but for people like me (minority) it is always a drawback to an application that only works in one OS. Enough ranting though lets get the latest NetBeans installed in your Ubuntu computer.<br /><ol><li>Go to <a href="http://www.netbeans.org/downloads/index.html">http://www.netbeans.org/downloads/index.html</a> to download the version you want. Personally I chose the Java version but if you want Ruby, C++, or PHP you will want the All version. At the time of this writing the current version is 6.5 and my download was 208 MB.</li><li>Wait for download to complete...</li><li>Open a terminal and cd to the directory you saved it in. For me I saved it to my desktop so I typed in: <span style="font-style: italic;">cd Desktop/</span><br /></li><li>Now type: ./netbeans-6.5-ml-java-linux.sh (or whatever your version happens to be, use tab to autocomplete).</li><li>If that doesn't work then it is possible that it needs the permission to execute. You could right-click>properties. Then under permissions check the box that says "Allow executing file as program" or you could type into command line: <span style="font-style: italic;">chmod +x ./<installer-file-name><br /></installer-file-name></span></li><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij7GDBNWTpl0AeU665iY4wNWpkNZqb3cSOmStGJ6keJKnYT1hg5EyKftBLr3ljwiyICgstnbJY9ypoZdf1J5z4vw_9BXxnNEB2uGq1CbHj_nIz-VmWr2SKFBNIVA2anT_YBhYNr0q241Cc/s1600-h/Screenshot-NetBeans+IDE+Installer.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 290px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij7GDBNWTpl0AeU665iY4wNWpkNZqb3cSOmStGJ6keJKnYT1hg5EyKftBLr3ljwiyICgstnbJY9ypoZdf1J5z4vw_9BXxnNEB2uGq1CbHj_nIz-VmWr2SKFBNIVA2anT_YBhYNr0q241Cc/s400/Screenshot-NetBeans+IDE+Installer.png" alt="" id="BLOGGER_PHOTO_ID_5291794932182136914" border="0" /></a><li>You should see a screen much like the one above.<span style="font-style: italic;"> </span><span>Just follow the prompts and you will have NetBeans installed in no time</span><span style="font-style: italic;">. </span><span><br /></span></li></ol>Below is a screenshot of NetBeans right after opening it for the first time. Now all that needs to be done is some programming projects. Hope this is useful!<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg61BFFALQG_nI4wbBBMZIjTkbscT1Y369UA72NFp4k9srcHOTxr6T1tsqeJ1N204iHDonGiZWKJ1E4bl3MCqDhwT9-atfZOm1cYVbieo5DCGEANgWQju2b_ypCaaxKXHK1h2ZSwgkwBTo6/s1600-h/Screenshot-NetBeans+IDE+6.5.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 233px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg61BFFALQG_nI4wbBBMZIjTkbscT1Y369UA72NFp4k9srcHOTxr6T1tsqeJ1N204iHDonGiZWKJ1E4bl3MCqDhwT9-atfZOm1cYVbieo5DCGEANgWQju2b_ypCaaxKXHK1h2ZSwgkwBTo6/s400/Screenshot-NetBeans+IDE+6.5.png" alt="" id="BLOGGER_PHOTO_ID_5291797530624000242" border="0" /></a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-3648503327564764442008-12-18T19:40:00.000-08:002009-01-21T00:23:09.862-08:00Repairing a corrupted XFS file systemI have been testing out the XFS file system. When 8.10 came out I did a fresh install with XFS as the partition for the root directory. Everything was working fine until one day I was having trouble running programs like Firefox and mplayer. Nothing seemed to be working very well. Programs would load but then all of the sudden they would quit. Finally I tried to log out but all I got was a whitescreen and the computer would not shut off. I did the unthinkable and pressed the power button until it turned off.<br /><br />Two days later I tried to start up my laptop only to be greeted with an error message about the root filesystem not being able to load. I tried the alternate kernel, but that would not load either. It seemed like the drive had not mechanically failed because the bootloader would come up and it would try to mount the root file system. I tried putting in the install CD and using rescue mode but that was not any help. All it did was tell me that it could not load the root filesystem. After doing a few searches I found that running xfs_repair was my best option but the only way to do that was to take the drive out and connect it to my desktop computer through a USB to ATA-66 adapter.<br /><br />Once connected to my desktop all that was needed was to figure out which /dev/??? it was. A quick check in dmesg showed it to be /dev/sdb3. I then ran:<span style="font-style: italic;"><blockquote></blockquote></span><blockquote><span style="font-style: italic;">xfs_repair -L /dev/sdb3</span></blockquote>When that finished I was able to mount the drive and get any files I wanted off of it.<br /><br />I put the drive back in the laptop and it was able to boot, but it was still having problems with some programs. Right now it is getting a fresh install of Ubuntu 8.10! (but this time I am sticking with ext3)Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1697973987021359721.post-79205923137919577522008-12-04T12:44:00.000-08:002008-12-04T13:02:05.529-08:00Installing LiVESAnother good video editor out there is called <a href="http://lives.sourceforge.net/">LiVES.</a> I wanted to test out the latest version so I went to <a href="http://www.getdeb.net/">GetDeb</a> for the download. The website getdeb.net is maintained by a volunteer group that makes fresh .deb packages featuring some of the most used software in Ubuntu. Sometimes the Ubuntu repos can get behind and not have the latest and greatest, so this website is a great companion when you need or want to have the latest version of certain software. So here are the steps:<br /><ol><li>Download the .deb file from getdeb.net.</li><li>Double-click on the file to start up the GDebi package installer.</li><li>First it will tell you that you should install the one in the official channel. Nevermind the message because you are installing the latest.</li><li>The package installer will most likely tell you that it needs to download some other packages for dependencies.</li><li>Click on Install package and when the installer finishes you can find LiVES under Applications>Sound & Video</li></ol><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif7Y7ayxUuzSKw5VuCt3xYYb7KO9ORIrjsl3lYs0DmPaBzHUBT5CvqeLWw7Rwsom-qJx5S_7RY8rlKwO9mRd-hnNzL6p76Efpf34EO3h7xP1zWzm8HQpbgae-VYWpW33T0fPxsw6QGtPzu/s1600-h/Screenshot-LiVES-0.9.9.3:+%3CNo+File%3E.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 234px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif7Y7ayxUuzSKw5VuCt3xYYb7KO9ORIrjsl3lYs0DmPaBzHUBT5CvqeLWw7Rwsom-qJx5S_7RY8rlKwO9mRd-hnNzL6p76Efpf34EO3h7xP1zWzm8HQpbgae-VYWpW33T0fPxsw6QGtPzu/s400/Screenshot-LiVES-0.9.9.3:+%3CNo+File%3E.png" alt="" id="BLOGGER_PHOTO_ID_5276042535712185010" border="0" /></a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-2084863137626100862008-12-02T23:49:00.000-08:002008-12-03T00:04:36.791-08:00Installing CinelerraRecently I have needed to do some video editing and wanted to check out some of the best video editors for Linux. It looked like Cinelerra had the best options but it was not clear how to install it easily. I did not want to install from source so after some careful searching around I found the easy way. You can also view these instructions <a href="http://cinelerra.org/getting_cinelerra.php#ubuntu">here</a> (I made some additions as they did not work for me as they were written).<br /><a href="http://cinelerra.org/getting_cinelerra.php#ubuntu"></a><ol><li>Install a repository using this <a href="http://akirad.cinelerra.org/pool/addakirad.deb">link</a>. After you download the package make sure you install it with the GDebi package installer.<a href="http://akirad.cinelerra.org/pool/addakirad.deb"><br /></a></li><li>Open a terminal and type this command: <span style="font-style: italic;">sudo apt-get update</span><code></code></li><li>Now decide which package you need; cinelerra (x86 and x86_64 without opengl 2.0 video card) cinelerra-generic (x86 and x86_64 with opengl 2.0 video card). You can see the other versions on the page I mentioned earlier under the installation instructions for Hardy<br /></li><li>Install your package using apt-get: <span style="font-style: italic;">sudo apt-get install cinelerra-generic</span></li><li>Once installation completes you should be able to find Cinelerra under Applications>Sound & Video.</li></ol>So far I found the program quite useful and powerful. There are some good articles out there about using it to author DVDs if you do a quick search. One of the articles I read was on linux.com and it was quite helpful to give me a good start on using Cinelerra for editing video. You can find that article <a href="http://www.linux.com/feature/60624">here</a>.Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-1697973987021359721.post-18247468916870907872008-12-02T23:31:00.000-08:002008-12-02T23:49:12.728-08:00Dual Monitors with Nvidia GeForce 8600 GTOnce you install the restricted hardware drivers and you have your Nvidia card working you can then proceed to set up dual monitors. Open up System>Administration>Nvidia X Server Settings. This will open up a dialog box like so...<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglqGGQiokuq0m6KMooZAhpwXYuJvPU-lA2AnIKgX8G0BIPEoT_GxKXwxm909BCJyTu5LaUpHaM64tNjLJAYVO6IliHsdIPtxQS5Cp8nhBm6TagQHNa2ms8HBhTJ9-cczjyXmPO9GURXhMQ/s1600-h/Screenshot-NVIDIA+X+Server+Settings-1.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 253px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglqGGQiokuq0m6KMooZAhpwXYuJvPU-lA2AnIKgX8G0BIPEoT_GxKXwxm909BCJyTu5LaUpHaM64tNjLJAYVO6IliHsdIPtxQS5Cp8nhBm6TagQHNa2ms8HBhTJ9-cczjyXmPO9GURXhMQ/s400/Screenshot-NVIDIA+X+Server+Settings-1.png" alt="" id="BLOGGER_PHOTO_ID_5275467699031787266" border="0" /></a>This nice GUI will allow us to set up our dual monitor interface. I will say that the program can be quite fickle at times and sometimes it will not work even though it should work. Just keep trying with the options until you get a working combination. I wanted my second monitor, which happens to be a regular 15" CRT, to simply be an extension of my desktop. This is done using the TwinView configuration option as seen in the next photo.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXwaQggvL00FaDduFe9G2qbGKAtitnkFXfVQzUMCXRHzBkPfpbkz2wQtbza4zCdbMgMlW8rXCemvflBrKheJNeMJxQN1TQTPdjb8FGAV_jYsF9soRAnClcZajmFlLkQiN7w2dCi8O6vSMB/s1600-h/Screenshot-NVIDIA+X+Server+Settings.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 374px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXwaQggvL00FaDduFe9G2qbGKAtitnkFXfVQzUMCXRHzBkPfpbkz2wQtbza4zCdbMgMlW8rXCemvflBrKheJNeMJxQN1TQTPdjb8FGAV_jYsF9soRAnClcZajmFlLkQiN7w2dCi8O6vSMB/s400/Screenshot-NVIDIA+X+Server+Settings.png" alt="" id="BLOGGER_PHOTO_ID_5275465585236568578" border="0" /></a>And the options for my second monitor...<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV7eynhr84cEh5n6YZB6T6zqLVGUs_i8imWlBF8JRuZsAtWU2gSTJPy4cA22ym2jjXVuT_AgWgu0WGkOj2-OPKOu1YPjZhQoftNFOiizgjQLHr-Aj1rucv-SpRgvhma6URL932MZdU1OPU/s1600-h/Screenshot-NVIDIA+X+Server+Settings-2.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 374px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV7eynhr84cEh5n6YZB6T6zqLVGUs_i8imWlBF8JRuZsAtWU2gSTJPy4cA22ym2jjXVuT_AgWgu0WGkOj2-OPKOu1YPjZhQoftNFOiizgjQLHr-Aj1rucv-SpRgvhma6URL932MZdU1OPU/s400/Screenshot-NVIDIA+X+Server+Settings-2.png" alt="" id="BLOGGER_PHOTO_ID_5275466060736494226" border="0" /></a>Once you get the right settings made make sure you click the Save to X Configuration File. If you don't click that then next time you start up all of your custom settings will be gone and you will have to play around with it again.<br /><br />Setting up the dual monitors was fairly quick for me. Took approx. 10 minutess of playing with various settings to get it to display just like I wanted it too. If you have an Nvidia card you should be able to set these up without too much hassle using similar options like I did. Of course if you want to do a separate X screen you could choose that as well instead of the TwinView.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1697973987021359721.post-59346466220096654752008-10-22T22:11:00.000-07:002008-10-23T23:20:50.452-07:00How to install a minimal UbuntuSometimes you do not want to install anything more than a working command-line Ubuntu Linux system. Maybe you want to use another Desktop environment than GNOME, KDE, or XFCE. I have been trying out Openbox recently, but I wanted to get a completely fresh install of Ubuntu to work with. When I first started searching the net to find how to install a minimal Ubuntu system I came to dead ends. After digging deeper into search reults and forum posts I was able to find the answer. Here are the steps to get a minimal system from Ubuntu.<br /><ol><li>Download the Alternate install ISO.</li><li>Burn this to a disc and pop it into your computer to boot from it (unless you are doing this virtually, then you just need to make the virtual computer see the ISO).</li><li>When you get to the initial boot screen do not press enter right away. Instead press F4 to bring up a menu where you can select "Install a Command-Line System".<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6qGjaAFYGsQ3WHMorSQUeUPFE6oj-gyDkLjiJY0ZembaHmfogT2xR5M-pTeFFiF8ES_kIW7Foosj23xXv_Czl4FFpBHZGf-UZ9USbb0gS28nIhWSafspmww1NdcKnphxMyqpLuH4FrbwP/s1600-h/Picture+2.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6qGjaAFYGsQ3WHMorSQUeUPFE6oj-gyDkLjiJY0ZembaHmfogT2xR5M-pTeFFiF8ES_kIW7Foosj23xXv_Czl4FFpBHZGf-UZ9USbb0gS28nIhWSafspmww1NdcKnphxMyqpLuH4FrbwP/s400/Picture+2.png" alt="" id="BLOGGER_PHOTO_ID_5260600841006599490" border="0" /></a></li><li>Now you press enter and follow the install process like normal.</li></ol>Once you reboot you will be greeted by a friendly text prompt login. From here you can customize your system however you want it.Unknownnoreply@blogger.com0