tag:blogger.com,1999:blog-49476366513969624682024-03-13T19:45:05.762-07:00Switching to LinuxJeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.comBlogger28125tag:blogger.com,1999:blog-4947636651396962468.post-20421677282677854032014-07-28T07:05:00.001-07:002014-07-28T07:05:44.155-07:00Downloading the Kernel Source for a different/older kernel than the latest one (RHEL/Fedora/CENTOS)So I had the unfortunate task of installing a new kernel module that required the kernel source to build (insert sarcastic cheer here lol). When I went to run "./configure" the module kept barking about needing the kernel source. "No problem" I thought, "I'll just head over to the RHEL download site and download the kernel RPM file, rpm -ivh the file and Bob's your uncle right!!!"... wrong, very wrong. After a bunch of fiddling around I found the solution (assuming your local satellite server/repo still has it).<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">yum -y --disableexcludes=all install "kernel-devel-$(uname -r)"</span><br />
<br />
<span style="font-family: inherit;">[Note: you may not need the --disableexecludes=all, but if your system blacklists such things, then there ya go!] </span><br />
<br />
<span style="font-family: inherit;">~Enjoy!</span>Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-14364571087743160932010-10-11T04:54:00.000-07:002010-10-11T04:57:25.410-07:00Ubuntu directions for installing Linux on USB through OSX<meta charset="utf-8"><span class="Apple-style-span"><span class="Apple-style-span" style="font-size: 12px; line-height: 16px;"><div><div>Note: this procedure requires an .img file that you will be required to create from the .iso file you download.</div><div> </div><div>TIP: Drag and Drop a file from Finder to Terminal to 'paste' the full path without typing and risking type errors.</div><div> </div><div><span class="Apple-tab-span" style="white-space:pre"> </span>1.<span class="Apple-tab-span" style="white-space:pre"> </span>Download the desired file</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>2.<span class="Apple-tab-span" style="white-space:pre"> </span>Open the Terminal (in /Applications/Utilities/ or query Terminal in Spotlight)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>3.<span class="Apple-tab-span" style="white-space:pre"> </span>Convert the .iso file to .img using the convert option of hdiutil (e.g.,hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>4.<span class="Apple-tab-span" style="white-space:pre"> </span>Note: OS X tends to put the .dmg ending on the output file automatically.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>5.<span class="Apple-tab-span" style="white-space:pre"> </span>Run diskutil list to get the current list of devices</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>6.<span class="Apple-tab-span" style="white-space:pre"> </span>Insert your flash media</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>7.<span class="Apple-tab-span" style="white-space:pre"> </span>Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>8.<span class="Apple-tab-span" style="white-space:pre"> </span>Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>9.<span class="Apple-tab-span" style="white-space:pre"> </span>Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.imgor ./ubuntu.dmg).</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>▪<span class="Apple-tab-span" style="white-space:pre"> </span>Using /dev/rdisk instead of /dev/disk may be faster.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>▪<span class="Apple-tab-span" style="white-space:pre"> </span>If you see the error dd: Invalid number '1m', you are using GNU dd. Use the same command but replace bs=1m with bs=1M.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>▪<span class="Apple-tab-span" style="white-space:pre"> </span>If you see the error dd: /dev/diskN: Resource busy, make sure the disk is not in use. Start the 'Disk Utility.app' and unmount (don't eject) the drive.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>10.<span class="Apple-tab-span" style="white-space:pre"> </span>Run diskutil eject/dev/diskN and remove your flash media when the command completes</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>11.<span class="Apple-tab-span" style="white-space:pre"> </span>Restart your Mac and press alt while the Mac is restarting to choose the USB-Stick</div></div><div>
<br /></div></span></span>Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com1tag:blogger.com,1999:blog-4947636651396962468.post-92214016527300454212009-06-27T09:35:00.000-07:002009-06-27T09:37:42.600-07:00Enabling write when in rescue mode in Fedora<pre><br />$mount -o remount, rw /<br /></pre>Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-19752827046468347162009-06-03T07:22:00.000-07:002009-06-03T08:08:30.730-07:00Mounting 13TB RaidThis is some quick info I learned while trying to mount a 13TB partition in RHEL 5.3. The main thing is that fdisk does not like to make partitions larger than 2.2TB because dos labels are not recognized. The second is that ext3 file system doesn't like anything bigger than 8Tb. So here is what I did to go around it. I had to used parted instead of fdisk to overcome that 2TB limit.<br /><pre><br />#parted /dev/sdd<br />#mklabel gpt<br />>mkpart primary 0 13000G<br />>quit<br />#yum install e4fsprogs<br />#mkfs.ext4 /dev/sdd1<br /></pre><br />To lay this all out I had to rename the label of the partition to gpt so I could use the larger partitionsize and then I installed support for ext4 and used that as the filesystem. Yes I know I punked out a bit but I am sick of trying to find work arounds for ext3.<br /><br /><span style="font-weight:bold;">APPENDED NOTE!!</span><br /><br />You can't mount ext4 in RHEL just yet lol kind of important. I went back and did<br /><pre><br />#mkfs.ext3 -F /dev/sdd1 <br /></pre><br />and it took the filesystemJeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-62849776197032412132009-05-25T07:40:00.000-07:002009-05-25T07:54:00.817-07:00Setting IP addresses through terminal (RHEL)For some reason this is something that will just not stick in my head and I always have to go searching for it. The way you permanently set/change the ethx ip address is to edit the following file:<br /><br /><span style="font-family: courier new;">nano /etc/sysconfig/network-scripts/ifcfg-ethx</span><br /><br />In this file you can set the ip address, gateway, netmask and ipv6 stuff.<br /><br />To change the DNS addresses you must edit the following different file:<br /><br /><span style="font-family: courier new;">nano /etc/resolv.conf</span><br /><br />Once you have made the changes you need to restart the network service to use the changes<br /><br /><span style="font-family: courier new;">service network restart</span><br /><br />!!Remember all these commands need to be done as either root or through sudo!!Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-85755504148533062792009-03-27T11:03:00.000-07:002009-03-27T11:13:23.386-07:00Sad news for Ubuntu on SunBlade 100's with Condor Users<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4_X1qj35tMz1Cggt1skyA-Gv46qKuG4we5UOMmj4Uj8i65CXo61zk9KjFAiOGlpFeeoF-dsEBCOGQh521Z7iuXq7e3TKDF3kVgwP1OUK0BQXPI7v0juMK2xlOG9DXPb2GJlUPoF1774E/s1600-h/300px-Sun_UltraSPARCII.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 300px; height: 300px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4_X1qj35tMz1Cggt1skyA-Gv46qKuG4we5UOMmj4Uj8i65CXo61zk9KjFAiOGlpFeeoF-dsEBCOGQh521Z7iuXq7e3TKDF3kVgwP1OUK0BQXPI7v0juMK2xlOG9DXPb2GJlUPoF1774E/s320/300px-Sun_UltraSPARCII.jpg" alt="" id="BLOGGER_PHOTO_ID_5317930270170650738" border="0" /></a>I had about 20 Sunblade 100 units sitting around the lab and decided with my team to make a static cluster using them. Well the install of Ubuntu went pretty well using Server 8.10 and Server 7.10. Even loaded the Ubuntu-Gnome desktop on a couple of them just to see it. So with all going well I tryied to load the ever complicated Condor Project to tie them together. Well after trying multiple versions, based on debian, rehl, sparc, and eventually even compiling from source code I can say that Condor on a Sun with Ubuntu using the SPARC processor just will not work. Sorry guys.<br /><br />We ended up loading Solaris 10 and loading Condor. If anybody does find a way please feel free to leave a comment but I doubt it happening any time soon.Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com2tag:blogger.com,1999:blog-4947636651396962468.post-49353516146919991402008-12-14T15:55:00.001-08:002008-12-14T15:55:50.383-08:00USB 3.0 Demo with 5 second Ubuntu boot!!<embed id="VideoPlayback" src="http://video.google.com/googleplayer.swf?docid=-6015621370324169356&hl=en&fs=true" style="width: 400px; height: 326px;" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash"></embed>Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-12258092098965574772008-12-10T11:44:00.000-08:002008-12-10T12:30:24.689-08:00Installing Condor in OSX 10.5I found this process in a weird place on condor's site ... it was in the tutorials under <a href="http://www.cs.wisc.edu/condor/tutorials/scotland-admin-tutorial-2003-10-23/scotland-admin-tutorial-2003-10-23.DEMO.html">Administration Tutorial</a>. At the same time this worked. The only thing I did differently was to download the Condor package for Intel Mac 10.4. Sorry but you will have to do all of this from the terminal window. Beyond that everything else worked. So here is my "workflow" lol...<br /><br /><ol><li>Downloaded <a href="http://www.cs.wisc.edu/condor/downloads-v2/download.pl?state=select_from_mirror_page&version=7.0.5&mirror=UW%20Madison&optional_organization_url=http://">Condor for Intel Mac 10.4 </a>(In my case I used 7.0.5).</li><li>Opened terminal (Hard drive --> Applications --> Utilities --> Terminal)</li><li>Logged in to my root account with "su" and then typed in my password (If you dont know your root password your boned lol ok seriously you need to either see your system administrator or try this out <a href="http://www.mac-forums.com/forums/os-x-operating-system/5331-how-do-i-reset-root-password.html">http://www.mac-forums.com/forums/os-x-operating-system/5331-how-do-i-reset-root-password.html</a> but if your root account just isnt on check out this link <a href="http://support.apple.com/kb/HT1528">http://support.apple.com/kb/HT1528</a>)</li><li>Type "useradd condor" and press [Enter]</li><li>Type "chmod a+rx ~condor" and press [Enter]</li><li>Type "cd /" and press [Enter]</li><li>Type "mkdir condor" and press [Enter]</li><li>Type "cd /condor" and press [Enter]</li><li>Type "cp /Users/jeaimepowell/Desktop/condor-7.0.5-MacOSX10.4-x86-dynamic.tar.gz /condor/" and press [Enter]</li><li>Type "tar -xzf condor-7.0.5-MacOSX10.4-x86-dynamic.tar.gz " and press [Enter]</li><li>Type "cd condor-7.0.5" and press [Enter]</li><li>Type "./condor_configure --install --install-dir=/condor/condor \ --local-dir=/condor/condor/var --owner=condor<br />" and press [Enter] (I got some errors but it installed)</li><li>Type "ln -s /condor/condor/etc/condor_config ~condor/" and press [Enter]</li><li>Type "PATH=$PATH:/condor/condor/bin/:/condor/condor/sbin/" and press [Enter]</li><li>Type "nano /condor/condor/etc/condor_config" and press [Enter]</li><li>Look through the file in Part 2 until you find "HOSTALLOW_WRITE =" and remover the text after it and just have a "*"</li><li>Press [ctrl] [x] and press "Y" then hit [enter] twice</li><li>Type "condor_master" and press [Enter]</li><li>Type "ps -ef |grep condor" and press [Enter] (you should see a bunch of condor processes running</li><li>After a half a minute or so you should be able to type "condor_status" and actually see your machine on the node.</li><li>You are done!<br /></li></ol>Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-62849145983208428932008-12-10T08:47:00.000-08:002008-12-10T09:08:58.717-08:00Installing Condor the easy-easy way<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEginrqkaBIhIgMgUEhr_gLXwjO2XsXSHrrtrsC2SvNl0K9BSJdzFGH0L46oI1urO9d663pEWIC2lftGTtPzB5jIEUi7os83xlVoqpmjoRfkYWTcLHK32NEdtyAnF9OTxw6T7b1p04Wg2J4/s1600-h/grid-computing-1.gif"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEginrqkaBIhIgMgUEhr_gLXwjO2XsXSHrrtrsC2SvNl0K9BSJdzFGH0L46oI1urO9d663pEWIC2lftGTtPzB5jIEUi7os83xlVoqpmjoRfkYWTcLHK32NEdtyAnF9OTxw6T7b1p04Wg2J4/s200/grid-computing-1.gif" alt="" id="BLOGGER_PHOTO_ID_5278209229398930546" border="0" /></a><br />So I have to be honest here... the traditional install of condor using the "Newer Unix Install" has kicked my butt. I ran into permission issues, directory location issues,environmental variable issues, hostname issues and all other sorts problems I would rather forget. Well as a last ditch effort and kind of as a joke to myself I decided to install Fedora (FC10) and look in the package manager (In Gnome "System-->Administration-->Add/Remove Software) for Condor. To my complete shock it was there under "Condor:High Throughput Computing"!!! I checked it and it installed and get this...I typed "condor_status" in the terminal window and boom-bam it was working!! The main condor folder (release directory) is all over the place in the system but the bastard just works. So just to lay it out in a non ubber geek way:<br /><ol><li>Install Fedora (I used FC10 but I dont know if it is in other cores)</li><li>Open "System-->Administration-->Add/Remove Software"</li><li>Search for Condor (type it in the search box and hit enter)</li><li>Put a check next to "Condor:High Throughput Computing" (I checked the Condor headers one too but I dont know if it is necessary)<br /></li><li>Click "Apply" (In my case it also added a few other dependencies automagically so dont be worried if you see that)</li><li>When it is done open a terminal window (Applications --> System Tools --> Terminal)</li><li>Type "condor_status" and you should see a status with one node.</li><li>You are done!!</li></ol>So to fellow grad students and techs trying to get Condor running I hope this helps!! And just to put it out there, the all powerful condor_config file is located in the /etc/condor folder.<br /><br />Good Luck!!Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com4tag:blogger.com,1999:blog-4947636651396962468.post-72489038198028930672008-09-03T06:25:00.000-07:002008-09-03T06:37:38.533-07:00Installing Canon i860 in Fedora Core 9 (gutenprint)Here is the easiest way I have found to get the driver in there.<br /><br /><ol><li>Goto Systen --> Administration --> Add/Remove Software</li><li>In the search box type "gutenprint" and click [Find]</li><li>Add a check mark next to "Cups drivers for Canon, Epson, HP and compatible printers"</li><li>Click "Apply"</li><li>Then goto System --> Administration --> Printing</li><li>Click "New"</li><li>Select the "i860 USB #1" and click [Forward] (this was in my case it may be a different number for you)</li><li>Select "Canon" and click [Forward]<br /></li><li>The "i860" model and "Canon i860 - CUPS+Gutenprint v.5.0.2 ...] should be selected and click [Forward]<br /></li><li>You can change the name if you want but i just left it as "i860" and clicked [Apply]</li><li>Once the install is complete I would test the printer by selecting it from the list and clicking [Print Test Page]</li></ol>And you are done!!Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-13745553777176402022008-09-03T05:45:00.000-07:002008-09-03T05:56:07.564-07:00No sound from flash (Youtube) in Fedora Core 9No I am not the one who came up with this fix. The credit goes to <a href="http://slashcrisis.blogspot.com/2008/06/fedora-9-no-sound-with-flash.html">/crisis</a> website.<br /><br /><ol><li>Open a terminal window</li><li>Type <pre>su - </pre>and enter your root password</li><li>Type<pre> yum install libflashsupport</pre></li><li>When it is done you should be good to go.<br /></li></ol>Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com2tag:blogger.com,1999:blog-4947636651396962468.post-34296587295773735932008-07-20T12:43:00.000-07:002008-07-20T12:45:43.537-07:00Linux Commands used in Greenland to Admin the server<span style="font-weight: bold;">For System Monitoring</span><br /><br /> -top - displays the load and memory usage of all applications and processors<br /><br /> -uptime - show system load and should not be over 20 (for Greenland field server)<br /><br /> -vmstat [-S M 5] (S M show in megabytes and 5 says update every 5 seconds) - shows memory usage.... hopefully will not use swap file because it will slow down the processing<br /><br /> -mpstat [-P ALL](for all processors or can put the number of the specific processor) - shows cpu usage<br /><br /> -df - displays mounted drives and locations<br /> <br /> -du [-h](shows a human readable view) - displays disk usage<br /><br /> -SMclient - displays RAID status<br /><br /> -nodestatus - displays MDCE MatLab workers running<br /><br /> -/etc/init.d/mdce [status] - displays whether mdce is running<br /><br /> -/sbin/service [name] [start stop status restart] - used to access other service such as nfs, portmap ...etc<br /><br /> -cat /etc/fstab - lists mounts and apps that run at startup<br /> <br /> -dmesg - kernel messages such as when you plug up a usb device<br /><br /> -/var/log - contains many system logs for error checking<br /><br /><br /><span style="font-weight: bold;">Grub Boot Screen Options (press a at the Grub startup screen)</span><br /><br /> -Single - starts linux in single users mode with root access<br /> -while in single user mode can type init 3 (3 being the run level you want)<br /> -console=/dev/ttyS0 - means the output of the startup is passed to the serial port<br /><br /><br /><span style="font-weight: bold;">Rsync Command options</span><br /><br />can use the following syntax to to rsync directly to a network drive<br /><br />rsync -av jpowell@192.168.254.108:/mnt/storage/20080717A /media/usb<br /><br />***If you add a / to the trailing source location, it means to copy the data in the folder....without it copies the parent folder too<br /><br /><br /><span style="font-weight: bold;">autossh command</span><br /><br />autossh -M [port1] (-M says what port 1 to monitor on) -N (dont run a command) -R [port2]:localhost:22 (open up the port 2 on the IP machine to create a tunnel to your machine (localhost) on port 22) [user@ip](ssh location you want to connect to)<br /><br />example:<br />autossh -M 20000 -N -R 11000:localhost:22 jpowell@ssh.cresis.ku.edu -p 62<br /><br />person ssh in to this would use:<br />ssh -p 11000 localhost (this is assuming they are on ssh.cresis.ku.edu)<br /><br /><br /><span style="font-weight: bold;">dd command options</span><br /><br />dd -fi=input directory -do=file out<br /><br /><br /><br /><br /><span style="font-weight: bold;">Managing users and permissions</span><br /><br />useradd - used to add users<br /> syntax:<br /> useradd -c "normal user" -d /home/userid -g users\<br /> -G webadm,helpdesk -s\ /bin/bash userid<br /> ***This command creates a new user called "userid," the last parameter in the command. A comment is entered that says "normal user." Userid's home directory will be "/home/userid." Userid's primary group will be users, but userid will also be placed in the "webadm" and "helpdesk" groups. Userid will use the "/bin/bash" shell as the normal console environment.<br /><br />passwd [userid] - changes the users password<br /><br />userdel -r userid - deletes a user ...the -r means to also delete the home directory<br /><br />more /etc/passwd - allows you to view all the users and their associations - The first column contains the user name. The second column contains the user's password. The third column contains the user's numeric id. The fourth column contains the numeric id for the user's primary group. The fifth column contains the user's full name, or a comment. The sixth column contains the location of the user's home directory. Normally this directory lives in the /home directory and has the same name as the user id. The seventh column contains the user's default console shell.<br /><br />groupadd mygroup - adds groups<br /><br />ls -l - produces the following information relating to groups<br />-rw-r--r-- 1 userid mygroup 703 Jun 23 22:12 myfile<br /><br />Ignoring the other columns for the moment, look at the third, fourth, and last columns. The third column contains the name of the owner of the file, userid. The fourth column contains the group associated with the file, mygroup. The last column is the file name. Each file can have only one owner and one group. It is possible to assign rights to Other, the users who don't fall into either category. Think of Other as the equivalent of the Windows group Everyone.<br /><br />chown [owner] [file] - changes the owner of a file or directory<br /><br />chmod [+-r+-w+-x] [file] - changes the permissions for a file<br /><br /><br /><span style="font-weight: bold;">Network Mangement</span><br /><br />ifconfig [ethernet port] - view current ethernet port configuration<br /><br />ifup [eth port] - turn ethernet port on<br /><br />ifdown [eth port]- turn ethernet port off<br /><br />dhclient [ethernet port] - sets the ethernet port to dhcp and grabs IP<br /><br />/sbin/service iptables stop - Linux firewall service stop<br /><br /><br /><span style="font-weight: bold;">Crontab Management</span><br /><br />crontab - allows you to work with items in the cron (task scheduler)<br /> -l means list all cron jobs<br /><br /><br /><br /><span style="font-weight: bold;">Other often used commands</span><br /><br />halt - to stop system<br /><br />mount - to mount drives<br /><br />umount [-f] (forces unmount) - to unmount drives<br /><br />su - - root user with environment<br /><br />ssh [-Y] (to port graphics)<br /><br />nano - text editor<br /><br />fsck - scans and defragments drive (perform at least once per month to not have it automatically kick in [that sucks])<br /><br />rm -rf [directory]- removes directories with data inside<br /><br />find - finds freggin anything<br /><br />sleep [number of seconds] - very useful in scripts to make the system wait<br /><br />man - manual it is your friend<br /><br />less - displays a file page by pageJeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-2359959227195017642008-07-12T08:44:00.001-07:002008-07-12T08:44:38.729-07:00Lifecast Post TestFirst post from my iTouch! I love the app store!<br/><br/>Posted with <a href='http://lifecast.sleepydog.net'>LifeCast</a>Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-76603561308160183672008-07-09T07:08:00.000-07:002008-07-09T07:25:22.638-07:00How to check what is running on your systemOk if you have ever looked over the shoulder of a linux person goign to town you may have seen something like<br /><pre>ps -aux | grep cron</pre><br />so here is what is really going on in that command<br /><pre>ps</pre><br />The ps command tells you what processes are actually running. In the manual it actual says that it gives you a snapshop of what is running on the system.<br /><pre>-aux</pre><br />says print all processes owned by a user named "x" this could be changed to specify a specific user<br /><pre>|</pre><br />The "|" or pipe symbol says to this command and this other command together<br /><pre>grep</pre><br />"grep" is a filter. If you were to simply type "ps" you woudl get a screen full of processes running for your user. By adding the "|" along with "grep" you can filter those processes down to what you need. In this case we looked for "cron" jobs (scheduled tasks). That can of course be changed to anything else you may need to check on.<br /><br />So to say it all together the command <pre>ps -aux | grep cron</pre> is actually telling the computer to show all processes under any user that specifically deals with cron.<br /><br /><br />Hope that helps!!Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com1tag:blogger.com,1999:blog-4947636651396962468.post-32553661616481857812008-07-06T07:53:00.000-07:002008-07-06T07:54:39.513-07:00How to manually mount a USB Drive in Redhat<b>Inserting a USB storage device</b> <ol><li>Plug in the device.</li><li>Check the contents of the file <tt class="COMMAND">/var/log/dmesg</tt> to see what the system named the device. (You can use the command <tt class="COMMAND">dmesg</tt> as well.) It should appear as a SCSI device, so the name should be similar to <tt class="COMMAND">/dev/sda</tt> or <tt class="COMMAND">/dev/sdb</tt>. </li><li>Use the command <tt class="COMMAND">fdisk -l <devicename></tt>, replacing <tt class="COMMAND"><devicename></tt> with the device name from <tt class="COMMAND">/var/log/dmesg</tt> to determine the partitions on the device. Most USB flash drives and other portable storage media types have only one partition, so the output of the <tt class="COMMAND">fdisk</tt> command will most likely be something like <tt class="COMMAND">/dev/sda1</tt> or <tt class="COMMAND">/dev/sdb1</tt>.</li><li>Create a directory (<tt class="COMMAND">mkdir</tt>) to serve as the drive's mount point. It is recommended to use a name that is easy to remember like <tt class="COMMAND">/mnt/usb</tt>. </li><li>Mount the device with the <tt class="COMMAND">mount</tt> command. If the device was detected as <tt class="COMMAND">/dev/sda</tt> and the <tt class="COMMAND">fdisk</tt> command showed <tt class="COMMAND">/dev/sda1</tt> as your partition, the command would be: <blockquote><tt class="COMMAND"><b><pre>mount /dev/sda1 /mnt/usb<br /></pre></b></tt></blockquote> The mount command should automatically detect the partition type and mount the drive. It can be problematic to add the mount command to the file<tt class="COMMAND">/etc/fstab</tt>, as the device may be detected with a different name if system devices are changed or if more than one USB device is plugged in at the same time. For this reason, it is recommended to mount the device manually with the full mount command listed above instead of relying on an entry in <tt class="COMMAND">/etc/fstab</tt>. </li></ol>Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com13tag:blogger.com,1999:blog-4947636651396962468.post-11130386318607792212008-07-03T08:13:00.000-07:002008-07-03T08:15:05.989-07:00Geeky way to send a terminal message to a userHow to send someone a message over linux or unix<br /><br />Step 1: Type who to find out what port they are on (the pts with the number is the port)<br />Step 2: cat >/dev/ptx/y<br />Step 3: type message<br />Step 4: press: "Ctrl + d" to end<br /><br />***could also use the "write username [then optionally pts/terminal#]Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com1tag:blogger.com,1999:blog-4947636651396962468.post-69758756992434868612007-11-23T08:34:00.001-08:002007-11-23T08:42:50.685-08:00What is the deal with Fedora Core 8??<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuw-awN_0_va3D0r1hyphenhyphencIrT5_wmj7jSJAN6BuCewz25YEDqByS3G98HkN8_ZHhBym4rPsoQyQeR2yYpoZ3uHBB0vA5sU7fhdKqsEo4f8W09zyQaI693-WeN6YgiOpVhiDYgIx7RQ7jovo/s1600-h/fedora.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuw-awN_0_va3D0r1hyphenhyphencIrT5_wmj7jSJAN6BuCewz25YEDqByS3G98HkN8_ZHhBym4rPsoQyQeR2yYpoZ3uHBB0vA5sU7fhdKqsEo4f8W09zyQaI693-WeN6YgiOpVhiDYgIx7RQ7jovo/s200/fedora.jpg" alt="" id="BLOGGER_PHOTO_ID_5136075262805194802" border="0" /></a>For the Polar Grid project I use a job scheduler named Condor. Unfortunately attempts to get Condor running in Ubuntu have been completely unsuccessful. So I figure I need to go ahead and get use to Fedora. Fine I download spiffy new FC8 and load it up. Pretty straight forward install. The only issue I kind of had to deal with was that because I have both a SATA and an IDE drive in my system and wanted the SATA to be the primary, I had to have GRUB load on the IDE drive. No biggie.<br /><br />So I'm think all will be well just like it was with Ubuntu as far as general system stability. I was wrong as hell. I had constant lock-ups. Programs froze all the time. I'm not even talking about 3rd party apps which were a joke to get running, I mean built in software like Firefox and Compiz.<br /><br />For you hard core nuts out there I did all of the the updates with the same results, so back I went to Ubuntu 7.10 and I have had nothing but smooth sailing.<br /><br />I am going to try CentOS because I have to have Condor but as for my primary system and all of the Macs in my lab, Fedora is out.Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-36784997674198894192007-08-21T09:19:00.000-07:002007-08-21T10:24:48.657-07:00Dual-booting -- Setting the default OS in Grub (Unbutu)<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7HHeF_Xj8mk4U7Cw5I2nCFA_rqad1VC06osmhaOt8555TY51XsGpVK6QPzpowgHO9ByMvG7cUjIXNocS5vtNIRkNU3z-snKkKow5N7p0h96-0Sops3pXQqyMARBSfaBKEdt2uCTv4r0M/s1600-h/grub.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7HHeF_Xj8mk4U7Cw5I2nCFA_rqad1VC06osmhaOt8555TY51XsGpVK6QPzpowgHO9ByMvG7cUjIXNocS5vtNIRkNU3z-snKkKow5N7p0h96-0Sops3pXQqyMARBSfaBKEdt2uCTv4r0M/s200/grub.jpg" alt="" id="BLOGGER_PHOTO_ID_5101189607295170882" border="0" /></a>Ok if you have decided to just try Ubuntu out without fully committing you may have found yourself in a dual-boot situation. Well when you install Ubuntu it sets it self as the default OS. Well you may not want that or you may have other versions of Linux that you want as the default. Well that is where the grub "menu.lst" file comes into play. To open the file you type:<br /><pre><br />sudo gedit /boot/grub/menu.lst<br /></pre><br />Find the following section in the file:<br /><pre><br />## default num<br /># Set the default entry to the entry number NUM. Numbering starts from 0, and<br /># the entry number 0 is the default if the command is not used.<br />#<br /># You can specify 'saved' instead of a number. In this case, the default entry<br /># is the entry saved with the command 'savedefault'.<br /># WARNING: If you are using dmraid do not change this entry to 'saved' or your<br /># array will desync and will not let you boot your system.<br />default 0<br /></pre><br /><br />The important line is the last one. You will need to change that number 0 to match the Windows boot section. Typically it's always going to be 6 on a default dual-boot configuration. Change this value to 6, and then save and reboot your machine. You should go into Windows instead of Ubuntu automatically. (To figure out what number the OS you want to install is simply count from 0 down the menu to find the number of the wanted OS. In my case it was 6)<br /><br />Special thanks to: <a href="http://www.howtogeek.com/howto/ubuntu/set-windows-as-default-os-when-dual-booting-ubuntu/">http://www.howtogeek.com/howto/ubuntu/set-windows-as-default-os-when-dual-booting-ubuntu/<br /></a>Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com1tag:blogger.com,1999:blog-4947636651396962468.post-49711877084739647142007-08-17T10:29:00.000-07:002007-08-17T10:39:49.192-07:00[Mega Linux Nerd] Shell App -- Cygwin<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.cygwin.com/"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJe5t_AYsfDJeMCW6qwWG0e361wyvEAQhMiLAxQghtPWhGnSWynbNjn2L6qK4Vx54tLYCC4UcZVE9dJS6byyGhSJ64YSLz4RgGjTkUxL1hHXcN1pW53VR9h-nXpqVUjortWJKDOzflXUI/s320/cygwin-logo.jpg" alt="" id="BLOGGER_PHOTO_ID_5099725435764095234" border="0" /></a>A PhD fresh off the boat told me about this Windows Linux Shell emulator <a href="http://www.cygwin.com/">Cygwin</a>. Now i have to tell you that personally this isn't exactly the kill app I have been waiting for but for you ultra nerds out there that love emacs or vi or just good ole` bash commands, this is the thing for you. Now the install isn't as intuitive as would have liked because it is a live distribution. So in otherswords if you are trying to get this off a modem connection -- you might as well hang it up. Once the distribution all you get is a prompt. Nothing more just a prompt although per Dr. A you can start the xserver and possibly pull up Gnome if you really want a GUI interface but why lol? I guess if you don't have a compiler or you just want to mess with someone, this would be the app for you but, if you are looking for something to help make a person want to switch, just leave it alone.Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-54180602636882526012007-08-15T05:07:00.000-07:002007-08-15T05:37:07.600-07:00Package Files (.rpm and .deb)<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://goinglinux.com/index.html"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVIvMIQuF0DN1eNLU3KNJyrrmu-oShzEpej1R5qEsZ4TH9yxJhucfsCKimnsJydgM3o1_eWPDFURkbrzWTrwSSKinKTlGXT_V5LAcCzvkx4S7l1aZ_00WRT0dv-wD-qX7rj89EzboKXJc/s320/GoingLinux80.png" alt="" id="BLOGGER_PHOTO_ID_5098904753028413714" border="0" /></a>I just learned this here recently. Specifically I learned it from a podcast I listen to called <a href="http://goinglinux.com/index.html">Going Linux </a>(Episode #12) so I have to give the credit to the narrator Larry Bushey. I highly recommend his podcast especially for new users. Having said that, lets get into this thing.<br /><br />In Windows we used exe and msi files to install software. There was a certain comfort there when we simply double-clicked a downloaded file to begin an install. Well--Linux has the same thing believe it or not. The two most common are .rpm and .deb. There is a catch though. Certain versions of Linux can only use certain package files natively. Rpm is generally linked to RedHat and its spin-offs (Fedora, CentOS ....). The deb packages are generally linked to Debian (go figure it makes sense lol), and its spin-offs (Ubuntu, Knoppix ...). With these packages in the correct Linux version, the installation of software is a breeze.<br /><br />What if you want to install a kick but app that is in the wrong package for the Linux OS you are in?? In my case I was in Ubuntu, and there was a game that was a rpm. What to do...what to do?? Well thanks to Larry I found out about a program called <a href="http://kitenet.net/%7Ejoey/code/alien/">Alien</a>. Now the cool thing is Alien is probably in your Synaptic Package manager already. But if not you can get it from the <a href="http://kitenet.net/%7Ejoey/code/alien/">this link</a>. Now I am going to warn you that Alien is command line driven. I know I'm sorry but you have use this tool from the console. Once you have installed it and opened the console (terminal for you Fedora users) you can type:<br /><pre><br />/usr/bin/alien -d package.rpm<packagename><br /></packagename></pre><br />or if you want to go to rpm<br /><pre><br />/usr/bin/alien --to-rpm package.deb<packagename><br /></packagename></pre><br />Once it is complete you can double click on the new package and boom-bam your program will install.<br /><br />Now I also want to throw in there that Alien can convert to a bunch of other packages like Stampede .slp, and Slackware .tgz file formats. Alien can also handle <span style="font-size:100%;"><a id="KonaLink2" target="_top" class="kLink" style="text-decoration: underline ! important; position: static; font-weight: bold;" href="http://www.linuxquestions.org/questions/#"><span style="font-weight: 400; position: static; color: rgb(176, 0, 0);font-family:Verdana,Arial,Helvetica,sans-serif;" ><span class="kLink" style="font-weight: 400; position: static; color: rgb(176, 0, 0);font-family:Verdana,Arial,Helvetica,sans-serif;" >Solaris</span></span></a></span>' .pkg.<br /><br />So there you go ... happy hunt-and-pecking!!Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com1tag:blogger.com,1999:blog-4947636651396962468.post-34379069205857040482007-07-30T08:09:00.000-07:002007-07-30T08:11:38.596-07:00Condor Reconfigure<!-- start content --> <p>This pages purpose is to show how to reconfigure a condor pool if the master/server units IP address changes. (Note: This has happened in our case because 1: The server did not have a static IP address. 2:The direct IP address was being used instead of a domain name in condor_config CONDOR_HOST.) </p><p><b>The Condor Master (Fedora RC7 Linux with Gnome)</b> </p><p>First a couple quick questions answered. </p> <pre> 1. Condor is located in two main directories<br /> Actual program scripts<br /><br /> /usr/local/condor/sbin<br /><br /> Condor configuration<br /><br /> /etc/condor<br /><br /> 2. No the condor master does not run auto-magically when you start the system <br /> --well at least not in Linux<br /></pre> <p>Now here is what I had to do: </p><p>1. open a terminal window and get the new IP address of the machine </p> <pre>/sbin/./ifconfig </pre> <p>2. I had to edit the condor_config file to enter in the new IP address (In case you didn't know it the condor_config file is for both the master's config and the workers. (Note: if you are not root, you may have to type su or sudo prior to running this command) </p> <pre> gedit /etc/condor_config </pre> <p>change the CONDOR_HOST under Part 1 then save the config. (Note: If you cannot save, you may need to open the file as root by doing su or sudo.) </p><p>3. Now you have to start the master. (Note: If you already have the master running you may just be able to type ./condor_reconfigure) </p> <pre><br />cd /usr/local/condor/sbin<br />./condor_master<br /></pre> <p>As long as you don't see any errors you should be good to go. 4. Check to make sure the condor is running by typing </p> <pre>condor_status<br /></pre> <p>Assuming all went well you should get something like the following: </p> <pre>[condor@ecsulab222-16 ~]$ condor_status<br /><br />Name OpSys Arch State Activity LoadAv Mem ActvtyTime<br /><br />10-24-5-83.my LINUX INTEL Unclaimed Idle 0.000 883 0+02:15:04<br /><br /><br /> Total Owner Claimed Unclaimed Matched Preempting Backfill<br /><br /> INTEL/LINUX 1 0 0 1 0 0 0<br /><br /> Total 1 0 0 1 0 0 0<br /></pre> <p>Now for the workers </p><p><b>Condor Workers (MAC OS X, Linux, Windows XP)</b> </p><p><b>Mac OS X and Linux</b> (Note: Make sure you still have the IP address of the Condor Master) </p><p>1. Open a Terminal window and edit the condor_config file to change the CONDOR_HOST under Part 1 to the IP address of the Master </p> <pre> open /Users/condor/condor_config </pre> <p>Then save the file. (Note: If you cannot save, you may need to open the file as root by doing su then running the open command.) </p><p>2. You must start the master manually </p> <pre>cd /usr/local/condor/sbin/<br />./condor_master<br /></pre> <p>3. Now you must force the master to take the reconfiguration </p> <pre>./condor_reconfig<br /></pre> <p>4. After a minute or so as long as you haven't had any errors you can go back to the condor master and do a condor_status to look for the OS X machine. </p> <pre>[condor@ecsulab222-16 ~]$ condor_status<br /><br />Name OpSys Arch State Activity LoadAv Mem ActvtyTime<br /><br />10-24-5-83.my LINUX INTEL Unclaimed Idle 0.000 883 0+02:45:04<br />10-24-5-51.my OSX PPC Unclaimed Idle 0.010 128 0+00:09:49<br /><br /> Total Owner Claimed Unclaimed Matched Preempting Backfill<br /><br /> INTEL/LINUX 1 0 0 1 0 0 0<br /> PPC/OSX 1 0 0 1 0 0 0<br /><br /> Total 2 0 0 2 0 0 0<br /></pre> <p><b>Windows XP</b> </p><p>1. Open the c:\condor\condor_config file. (Note: when you double click the icon and it asks what program to open in, I suggest NotePad.) </p><p>2. Change the CONDOR_HOST under Part 1 to the IP address of the Master. </p><p>3. Save the file. (Note: If you are unable to save, you may need to log in to an account with administrative privileges.) </p><p>4. Restart the computer. </p><p>5. After a minute or so once the computer has booted, and as long as you haven't had any errors, you can go back to the condor master and do a condor_status to look for the WINNT 51 machine. </p> <pre>[condor@ecsulab222-16 ~]$ condor_status<br /><br />Name OpSys Arch State Activity LoadAv Mem ActvtyTime<br /><br />10-24-5-122.m LINUX INTEL Unclaimed Idle 0.480 376[?????]<br />10-24-5-83.my LINUX INTEL Unclaimed Idle 0.000 883 0+02:45:04<br />10-24-5-51.my OSX PPC Unclaimed Idle 0.010 128 0+00:09:49<br />cerser1 WINNT51 INTEL Unclaimed Idle 0.000 511 0+00:09:39<br />cerser2 WINNT51 INTEL Unclaimed Idle 0.000 511 0+00:04:38<br />cerser3 WINNT51 INTEL Unclaimed Idle 0.000 511 0+00:04:38<br />cerser4 WINNT51 INTEL Unclaimed Idle 0.000 511 0+00:04:34<br /><br /> Total Owner Claimed Unclaimed Matched Preempting Backfill<br /><br /> INTEL/LINUX 2 0 0 2 0 0 0<br /> INTEL/WINNT51 4 0 0 4 0 0 0<br /> PPC/OSX 1 0 0 1 0 0 0<br /><br /> Total 7 0 0 7 0 0 0<br /></pre>Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-53315414018058389752007-07-25T05:54:00.000-07:002007-07-25T06:44:25.459-07:00SeaSpace (TeraScan) and CentOS<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjONsAoxlLPGaLPHQZLXRUiuCO4busbzWnbgJVNnrIQHoQycCFTB7Rh-2LK-SstosxXt2kVWSPf8l7ClrVxC8rlO0ks06_F_YIytwsNJMnl5mxAPPgryADQSRMmxllEDVGSWOi6cCbb_GY/s1600-h/antenna+006_jpg.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjONsAoxlLPGaLPHQZLXRUiuCO4busbzWnbgJVNnrIQHoQycCFTB7Rh-2LK-SstosxXt2kVWSPf8l7ClrVxC8rlO0ks06_F_YIytwsNJMnl5mxAPPgryADQSRMmxllEDVGSWOi6cCbb_GY/s200/antenna+006_jpg.jpg" alt="" id="BLOGGER_PHOTO_ID_5091119350489848818" border="0" /></a>One of the tasks I set for my self at work is to reload all the lab systems with dual boot Linux and Windows XP. The university I work for has a TeraScan system installed so that we can receive imagery data directly from satellites. I decided to give <a href="http://www.seaspace.com/">Seaspace</a> a call to see which flavor of Linux they would recommend. Well in order for the software to work you must have <a href="http://www.redhat.com/rhel/">Redhat Enterprise</a> installed. A site license for Redhat Enterprise is not cheap in any form or fashion. Even though Linux itself is free, the support or specialized programs to go along with it are not. As a matter of fact your looking around $9k to purchase Redhat Enterprise. I asked if <a href="http://fedoraproject.org/index.html">Fedora</a> which is supposedly RedHat open sourced would work. the agent informed me that they had not had good luck with Fedora, because of the many changes that have occurred in the OS.<br /><br />When I heard that I though oh crap, that is gonna take a while to get passed through the budget. Thankfully the agent from SeaSpace let me know that <a href="http://www.centos.org/">CentOS</a> is a direct port from the RedHat kernel. The best part is that CentOS is free! I have downloaded the <a href="http://en.wikipedia.org/wiki/ISO_image">ISO</a> and I will of course keep you apprised of how it goes.Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-85000978514787502182007-07-23T06:39:00.000-07:002007-07-23T06:54:48.354-07:00Should I really be running Ubuntu??<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipTbZdO2MM6fQ20eExEtARuyfQUFd3GaZFTRzo-S3VS9uIFl9nlS9TqD-HPtjDsJpEI8qiocqv0PrJOJq5EViyHiJhnFyqRNwJAYXUdFtq8p7fOSfu3Izbv6coj3Iipvzx1QKpLf9vRFA/s1600-h/img.php.jpeg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipTbZdO2MM6fQ20eExEtARuyfQUFd3GaZFTRzo-S3VS9uIFl9nlS9TqD-HPtjDsJpEI8qiocqv0PrJOJq5EViyHiJhnFyqRNwJAYXUdFtq8p7fOSfu3Izbv6coj3Iipvzx1QKpLf9vRFA/s400/img.php.jpeg" alt="" id="BLOGGER_PHOTO_ID_5090386860997385170" border="0" /></a>When I started this blog I was all about the Ubuntu distribution of Linux. I hate to say it but it is just to much of a pain to do anything in it. Don't get me wrong i love the fact that everything that is needed for most new Linux users comes pre-installed. I'm not a normal user. I like to try stuff. I like to install new versions of <a href="http://www.beryl-project.org/">Beryl</a>. I like to install <a href="http://www.winehq.org/">WINE</a>, and run PC games. I have to work in a program named <a href="www.cs.wisc.edu/condor/">Condor</a> for GRID computing that isn't supported in Ubuntu. I hate to say it but Ubuntu just isn't getting it for me. I am seriously considering switching over to either <a href="http://www.opensuse.org/">Suse</a> or <a href="http://fedoraproject.org/">Fedora</a>. I'm leaning greater to the Fedora side because of user lead forums and what not. I guess this is a part of every Linux users plight. Since Linux isn't standardized or centralized different distributions may be better for a person or companies particular situation. It sucks but so is life you know? So --Ubuntu guys I am sorry but I just can't take sudo'ing everything anymore. I want a root account. I want to be able to use su. I want some of the power of true Linux back. So I am going to have to jump ship to a different distribution.Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com3tag:blogger.com,1999:blog-4947636651396962468.post-21859468343271979432007-07-20T07:36:00.001-07:002007-07-20T07:54:24.282-07:00I can't run "make" in Ubuntu<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_xQxeoxtOZhpvu73gejkXystHDx2kcz5cJa7Umr47OHU4s1vibTanlfSQRlsxDH2n-q9PfItuKPWJKD1xiA5EuVwa4Y9U4WgU97LA6qUiOJsX5EXZ7akUrLEI4cRa9tG35PgZAq6GSqg/s1600-h/Synaptic.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_xQxeoxtOZhpvu73gejkXystHDx2kcz5cJa7Umr47OHU4s1vibTanlfSQRlsxDH2n-q9PfItuKPWJKD1xiA5EuVwa4Y9U4WgU97LA6qUiOJsX5EXZ7akUrLEI4cRa9tG35PgZAq6GSqg/s320/Synaptic.png" alt="" id="BLOGGER_PHOTO_ID_5089288112803655234" border="0" /></a>I have tried to install a couple things that kept asking me to "./configure" and then"make install". I kept getting a "unknown command" when I tried to run it. Well after a bit of searching I found out that this was because there was no C/C++ Compiler installed. Websites spoke of all types of freaky weird ways to make it work when I came upon a post about "Synaptic Package Manager" which was a life saver.<br /><br />Basically Synaptic is a graphical version of apt-get which if you have run across...you will. Apt-get is a command line way to download and install programs in Linux from the command line (Red Hat also uses "yum"). Well the catch is that if any part of the program name has changed --say oh the version number, you may not be able to find the app.<br /><br />Because Synaptic is visual you do do a simple search to visually pick what you need. (Note: If your flavor of Linux does not have synaptic you should be able to use the command <span style=""><b>apt-get</b> update && <b>apt-get</b> install <b>synaptic)</b> </span><br /><br />I said all that to say this. To install that elusive compiler program you can open Synaptic by<br /><br /><ol><li>Going to <b>System > Administration > Synaptic Package Manger.<br /></b></li><li>Click on "Reload" to update the available packages.</li><li>Click on the "Search" button.</li><li>Type in "gcc" and press enter. (Note: gcc is a command line C/C++ compiler)</li><li>Select all instances of "gcc" that appear</li><li>Click "Apply" and the packages will be installed for you.</li><li>Close Synaptic<br /></li><li>Run your "make install" command from the terminal window.</li></ol>In my case I also had to add a library in which case you can go back into Synaptic and simply search or what ever library name it needs.<br /><br />Special Note: Remember in Ubuntu you must add "sudo" to the front of "make" in the terminal window so the OS will not complain about permission issues.Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com0tag:blogger.com,1999:blog-4947636651396962468.post-29875439107865856902007-07-18T11:56:00.000-07:002007-07-20T07:55:27.661-07:00Installing games in UbuntuOk guys the reason i haven't been posting much is because I am currently in a battle of witts between my computer and myself. I like to play games--there I said it. I like PC games at that. There is an application called Wine that allows people to install and play windows games, and other applications in Linux. Cool beans right--wrong. The wine install was pretty easy.<br /><br />Open a terminal window from "Applications --> Accessories"<br /><br /><pre><br /><i><span style="font-family:courier new;">sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list</span><br /></i></pre><i><br /><br /><span style="font-style: italic;">Once that is done you are supposedly able to type<br /><br /><pre><br /><span style="font-family:courier new;">sudo wine <install_filename.exe><file_name></file_name></span><br /></pre><br /><br />Yeah well if during the install of the application you must say--change CDs you get the error "Cannot eject CD because application is using it". Umm yeah well that sucks. I thought I had it figured out with the "sudo wine eject" command but althogh the Cd ejected, the installation would not continue. As soon as I get this figured out I will tell yall all about it.<br /></span></i>Jeaimehphttp://www.blogger.com/profile/10023394115456676672noreply@blogger.com2