Technopotomus
Home Network Project-
Windows vs. Ubuntu Linux • An Experiment
Posted on July 15th, 2009 No commentsHere are 10 “test” subjects. I will catalog them below.
Jeanne C.
Occupation: Shop Foreman
Age: 31
HP Pavilion
2G Ram
AMD Sempron
NVIDIA GeForce 6150 SE Graphics
320GB HD
Ethernet Direct from 3m Cable ModemOS: Windows (XP)
Primary Uses: Word Processor, Browsing the Web
Games: Yahoo Games, Solitaire, Nintendo WiiSandra S.
Occupation: Janitorial
Age: 53
Custom Build
2G Ram
AMD Dual Core Athlon XP 3200+
250G HD
Nvidia GeForce 7900
Ethernet to Router, 512k DSLOS: Windows XP
Primary Uses: DeVry Online Courses, MS Office, Web Browsing, Email, Messenger
Games: Solitaire, Bejeweled, Zuma (Yahoo Games)Alyssa I.
Occupation: Activities Coordinator.
Age: 33
Compaq Presario
1G Ram
Celeron 1.6 GHz
40G HD
Onboard Intel 740
Ethernet to Router, 512K DSLOS: Windows XP
Primary Uses: Web Browsing, Email, Messenger, Watch DVD’s.
Games: Solitaire, Spider Solitaire.Jack K.
Occupation: Electronics Store Manager
Age: 36
Averatec 1575
2G Ram
AMD Turion 64 x2
250G HD
ATI RS690T Integrated Graphics
Wireless to Router, 3m Cable ModemOS: Windows Vista 32-Bit
Primary Uses: Web Browsing, Email, Messenger, Xvid Playback, Webcam, Photos, iPhone.
Games: Nope.Joey A.
Occupation: Print Shop Owner / Operator
Age: 42
Mac Pro
16G Ram
8-Core (2) 2.93Ghz Quad-Core Intel Xeon 5500 Processors
2 x 1TB HD
4x NVIDIA GeForce GT 120 with 512MB of GDDR3
Ethernet to Router, 3m Cable ModemOS: Mac OS X v10.5 Leopard
Primary Uses: Graphic Design Station, High Resolution Graphics, Adobe CS4 (Photoshop, Illustrator, InDesign)
Games: Nope.(This guy spent about $9000 on this computer, 24″ Apple display included… Along with a “Holy Sh*t!” I think they gave him an iPod Touch for free.)
Peggy A.
Occupation: Accountant
Age: 57
Dell Inspiron 1525
2G Ram
Dual Core Pentium T4200 2.0GHz
250G HD
Intel (i9xx) Graphics Adapter
Wireless to Router, 512k DSLOS: Windows Vista (HP 32-Bit)
Primary Uses: Email, Web-Browsing, MS Office (Word, Excel, Power Point)
Games: NopeRose R.
Occupation: T-Shirt Shop, Manager
Age: 36
Sony Vaio CS
2G Ram
2.8GHz Intel Core 2 Duo
400GB HD
Intel 4500MHD
Wireless Router, 512k DSL
OS: Windows Vista (HP, 32-Bit)
Primary Uses: Email, Web-Browsing, Watching DVD’s
Games: Galaga, Solitaire, Yahoo Games.Nick A.
Occupation: Graphic Designer
Age: 33
Custom Built Something…
1G Ram
3.0 GHz Pentium 4
160G HD
Nvidia GeForce 4 MX
Ethernet to Router, 5m Cable ModemOS: Windows Vista XP – SP3
Primary Uses: Email, Web-Browsing, Running a Large Format Vinyl Printer (Work Related), Design Adobe CS4(Photoshop, Illustrator, InDesign)
Games: Not on this Computer.Nick K.
Occupation: Electronics Store Sales Manager
Age: 22
Slapped Together (Old Faithful)
1G Ram
1.6 GHz Duron
120G HD
Onboard Intel 740
Ethernet to Router, 5m Cable ModemOS: Windows XP (No SP’s at all)
Primary Uses: Web Browsing, Email
Games: Xbox 360.Brett J.
Occupation: Car Audio Installer
Age: 31
Dell Dimension 2400
512M Ram
2.0 GHZ Celeron
80G HD
Onboard Intel 82845G
Dial-UpOS: Windows (XP – SP1)
Primary Uses: Web Browsing, Email, iPod
Games: PS2So to start we have:
Jeanne C. – Uses it to check her MYSpace in the evenings, and chat on messenger. Does some web-browsing as well. Never uses a mail client program, only checks her mail within a web-browser. Board and card games on Yahoo mostly, sometimes throws a mean game of bowling on the Wii. Jeannie will do a Wubi Install.
Sandra S. – Thinks she knows everything there is to know about computers. She truly doesn’t know a damn thing. Comes up with the lamest definitions of how she solved certain problems on her PC. “I must have downloaded a virus, so I defragged the drive, it that fixed it.” DeVry Online actually told her that she “ABSOLUTELY CANNOT” use any other OS besides XP. Sandra will be running off of a LiveCD.
Alyssa I. – Uses her computer to browse the web, and check her email through the web-browser. She’ll kick back every so often and throw a DVD in to watch. Alyssa will do a Wubi Installation.
Jack K. - Windows Power User. This guy knows the ins and outs of Windows. Spent some time building his own PC’s back in the day, over clocking processors and such, but has relinquished that hobby because it took too much of his time. He knows how to milk every last bit of performance out of a PC. Jack went dual boot via GRUB on his Laptop.
Joey A. – Never bought a PC in his life. Hard Core Mac User. Owns a Mac-Book Air for portability, and bought the beefiest computer I’ve ever heard of for processing large size graphics. Because of the primarily business use of this computer, Joey ran a LiveCD.
Peggy A. – Mom knows somewhat how to work a PC. She calls me when things go wrong, like not being able to connect to the Wireless Router. And I respond with “Flip the Wi-Fi Switch on your laptop, mom.” Mom is doing a Wubi Installation.
Rose R. – My original test subject! Not computer-savvy, at all. Rose is about as computer illiterate (to coin the phrase) as your great-grandmother. If asked what she is running on her system, she would respond with “I don’t know, it says ‘Vaio’ on it.” She asks questions like “If I got a bigger hard drive, would my computer run faster?” and “How do I get more hertz?” Rose did a Wubi Install.
Nick A. – Only uses his computer at work for work. No other apps are on his PC except his design software, and proprietary RIP software. Because of the nature of the computer, Nick is running a LiveCD.
Nick K. – Only for Email, Facebook, and browsing the web for product information. Old Faithful is what he calls the PC, because it’s pushing 6 years old, has nothing special about it, and just keeps on a-chuggin’ along. Nick’s a bit of a turd, so he would only run LiveCD.
Brett J. - For a joke, we call his computer “Brawny” because of the amount of crap it seems to pick up. Brett doesn’t care what he does or where he goes on the internet, and refuses to use a virus scanner, even AVG. His friends have told him that any free software is spyware, and he believes it. He constantly has viruses, spyware, adware, funkware, crapware, and more goofy little utilities on his machine than you can possibly imagine. Brett ran a Wubi installation.
Here we go.
Jeannie C.
Jeannie is Quite happy with Ubuntu. All of her web activities could be accomplished with Firefox just as easily as Internet Explorer 7.
She was quite taken with Open Office, and liked that it came pre-installed. She had been wanting to get Excel, but didn’t want to pay the $150.00 for MS Office.
Her main drawback was that videos that she received in her email didn’t play. I told her about downloading the “Gstreamer” codec packs from Add/Remove, and that solved her problem.
Next thing you know, she’s downloading all sorts of stuff from Add/Remove. Checking it out, uninstalling it if necessary. She told me “You know that star rating doesn’t mean anything. I have a few programs that I love, and they only have one star.”
After a week of use, Jeanne has only booted into Windows once, and that was to grab her MP3’s and Photos to a jump drive…
My conclusion: Jeannie is open to new ideas, and willing to try them out. She didn’t know there was an alternative, but now is much happier with her computer than before. She still dual boots her computer, with Wubi, just to keep her options open.
Sandra S.
Well now. From an original statement that “I always use Linux. I just can’t because DeVry says to use XP.” to “I don’t remember Linux being like this.” We’ve quickly established that Sandra is full of crap. So I do my best to set the crap aside, and continue with her observations.
I wish I would have recorded this for you all to listen to… this phone call was HILARIOUS.
Sandy: Firefox won’t connect.
Me: You’re connected. Just put in the web-address.
Sandy: What do you mean web-address.
Me: You know, like www.google.com
Sandy: Oh, you mean the web-site-address.
Me: Okay, sure.
Sandy: Well, it’s really slow. I’m going to check my email.A few minutes later…
Sandy: Look! You said ‘NO’ viruses. It just got a virus from that picture!
Me: Um, huh, what?
Sandy: That e-mail from my sister has a virus on the picture of my nephew.
Me: I don’t think…
Sandy: See, you move the mouse over it and it get’s bigger. Move the mouse away, and it gets smaller.
Me: Sandy, that’s not a…
Sandy: That’s the whole reason I won’t use Linux! There’s too many problems, and no one knows how to fix it. Now I have to run a McAfee scan again!
Me: Wow, you’re about as much fun as having sex with a light-socket!My Conclusion: At Sandra’s age (53), she’s grown accustomed to doing things her way. You can’t teach an old dog new tricks. But dear god, what turned her into a pit-bull. Sandra was complaining about this experiment from the beginning, giving me lecture after lecture, and only agreed to do this to help with my class. The funny part is she didn’t realize how much she really helped. This is a paper about habits, and HOLY CRAP, she “enforces” her habits.
Alyssa I.
It didn’t seem to matter one way or the other. XP or Ubuntu. I think Alyssa only uses the computer when she ‘HAS’ to. “I mean, Ubuntu works just fine, but so does XP.”
I took a few moments to explain security, viruses, and cost.
“Well, no viruses is nice. But if I can’t connect to the internet, and I call the help desk, how are they going to help me?” and “My computer came with Windows, why not just use Windows? I mean, I didn’t have to buy it, so who cares?”
Quite a statement in itself. It has merit. The illusion of security. Funny though, as all of us Linux users know that the help-desk doesn’t do jack-squat anyway.
My Conclusion: Alyssa doesn’t really ‘use’ computers, therefore no habits have really formed. It was a bit like selling a freezer to an Eskimo.
Jack K.
Ahh, Jack… you little power user, you! Finally someone to pick apart Ubuntu and truly deal with all of the actual differences.
An odd turn of play, Jack decided that he wasn’t going to use Wubi. He would do a dual-boot all by himself. This made his initial week truly “Hell”. He couldn’t get his ATI drivers to work, it caused multiple problems with video playback, and compiz. So Jack went to the boards to find a solution. Try this, try that, try these… Dear God, I would have given up twice as quickly, but he stuck it out.
He was outside his comfort zone, and it was apparent when he wasn’t able to solve his problem quickly. He kept trying things the way he was used to. He spent most of his time searching for DEBS of known Windows programs on Google. A lot of his statements were “If it can’t run ‘enter Windows program here’, then what good is it?” I started explaining alternatives. I told him of programs like aMSN instead of MSN Messenger, Amarok instead of Winamp. But he was stuck on running Windows programs. I told him to download Wine, and see if it could run his programs. He didn’t want to toy with it anymore.
Now comes the “Hell” part. After He decided to remove it… Grub stayed. He then tried to remove Grub. In the process, his recovery partition was lost. He ended up Using the LiveCD, to boot, then grab his data off onto Jump Drives, so he could reinstall Windows… Linux to the rescue! Whether he liked Ubuntu or not, he was certainly glad that it was there for him when he ‘needed’ it.
My Conclusion: Jack has used Windows for most of his computing life. He has learned how to use it, and utilize it very well. I am inclined to think that it is even beyond just habit for Jack, almost to the point of instinct. His habits make it difficult to find alternative ways to accomplish tasks. If Jack were asked to think outside the box, he would have to remove the box from inside his head first.
Joey A.
Well, the first person to actually use Ubuntu in a professional business environment. After a lot of convincing, he decided that he would use it for one full day at the office. Due to the nature of the use of this computer, Joey will be running off of an external HD.
He immediately noticed the performance difference. And thought Compiz was kind of cool. After explaining how to add a repository, he thought that was amazing. “Your drivers will automatically update? No way!” With the ability to read PDF’s by default, queueing up print jobs would be a snap.
Then came the real challenge. Setting up the printer… Which, mind you, is not an ordinary desktop printer. It’s a RIP unit from EFI, which provides print services to a high speed color copier. This “Fiery RIP” unit is a postscript interpreter, so we thought about running a generic postscript driver… no dice. Apparently this proprietary driver is only available for PC or Mac.
This took up a major portion of the day. Guess this, guess that, try this, f*ck that… etc. etc. etc.
Finally, he came to the conclusion that because Ubuntu doesn’t run Adobe CS4, nor can set up his printers, it wasn’t the operating system he could use. However, he would use it on a non-commercial based home computer in a heartbeat. It was great for web-browsing, basic office applications like OpenOffice, and multimedia.
My conclusion: Joey immediately noticed the performance and security benefits of Ubuntu, but cannot adapt it to his business.
Peggy A.
Mom. Mom decided to try it, because she has issues with her laptop and Vista. I get phone calls to the effect of “What is taking this thing so long? Why does it do that? I think I have a virus.”
To clue you in a bit, my mom called me one day and said… “A window popped up while I was web-browsing and it said that I needed this program to eliminate viruses. So I clicked on it, went to their web-site, paid for it, and downloaded it. But it doesn’t seem to be doing anything.” Well, we just worked our way back from there.
So I threw on Ubuntu with a Wubi installation (at her request to not mess anything up on the computer.) Her immediate response was that she loved the simplicity, and especially the Evolution Mail client. My Dad, who calls email “The Internet”, preferred Evolution as well.
Then we hit a speed bump. Ubuntu locked up, froze solid. Couldn’t do anything. So I had to hard boot the computer. Once again, about 10 minutes into it, it locked up solid. This is a piss off, to say the least. Hard boot a third time, lock up.
I don’t know what caused this problem, so I couldn’t fix it. Either case, if she had installed this herself, and had this problem… it’d be gone faster than you could blink.
So, conclusion here is: She liked it, but didn’t get the opportunity to use it.
Rose R.
Rose was thoroughly impressed, and seemed to have the time of her life. She liked the performance, the simplicity of customizing the interface, the menu, and especially Compiz. When I first checked on her, she had changed her theme, font, and screensaver.
To her, it booted fast, she could web-browse, run her instant messenger (Emesene, she found it in Add/Remove). Play games, for some reason, she loves Klotzki. She even thought clicking on “Install” inside Update Manager was WAY easier than Windows Update.
Her only issue was finding an alternative for “Kodak Photo Manager”. Familiarity was the only issue.
So Rose came into this unknowing, and what I found with her was… Ever single one of the tasks she used her Windows computer for, she could easily accomplish in Ubuntu.
My Conclusion: We did a Wubi installation to begin with, but after her first week of use, she called and asked me to help her get RID of Vista entirely.Because of her lack of knowledge about computers, but her want to use them, led her to be open to an alternative. After using the alternative, she was absolutely blown away by the simplicity of the GNOME interface. She likes it, and isn’t looking back.
Nick A.
This guy is a graphic designer for a local print company. As a matter of fact, he’s a bit of competition for Joey A. This computer is used primarily for design work with Adobe CS4, and for printing on a large format vinyl sign printer. And because of the nature of this computer, we are running off of a LiveCD.
Well, once again, same problems in the professional environment. No printer support, and the proprietary program to run the Vinyl Printer is only for Windows.But the great nature of Ubuntu, was that Nick decided to take the LiveCD home and run it there! He loved the interface, and the fact that it installed in about 10-15 minutes, 20 if he did all the updates. He actually explained to me that installing XP on the computer he has took at least 45 minutes, and an additional 2-3 hours of updating.
My conclusion: Ubuntu wouldn’t work for him due to proprietary software, but he liked enough to take it home and run it there!
Nick K.
A Linux hater, right from the get go. He only agreed to do this to help with my assignment. So, due to the nature of his crappy attitude, he will be running a LiveCD.
He toyed around with Firefox, went to his favorite web-sites. Checked his email, and basically told me “It’s the same thing as Windows, just brown. Why wouldn’t I just use Windows?” He didn’t notice any performance differences at all, he thought Compiz was just “fluff” , and because his computer CAME with Windows XP, why bother with anything else.
My Conclusion: He didn’t want to do it, he didn’t care to do it, he didn’t like doing it, he went back to his original setup. It’s about the same thing as trying to convince a two year old to try broccoli. No matter what you do, they ARE GOING TO HATE IT. It’s a preconceived notion that “different” means “bad”. If he were older, he’d be complaining about how much better the rotary dial phone system was, and how pissed off he is that we all switched to touch tone.
Brett J.
Viruses, Spyware, Adware, Pop-Up Blockers, Trojans, Worms, and of course “Porn”.
These are the contents of Brett’s computer. He downloads “Fix A”, and that didn’t work, so he downloads “Fix B.” and that didn’t work, etc. etc. etc.
Finally we are up to Fix “Double D” (Aptly named, because of where he got the virus to begin with.) I told him to wipe that computer clean, and start fresh. My original option was for Brett to do a Wubi installation, but because his computer is a bit of a Typhoid Mary, we clean wiped the sucker and put Ubuntu on it.
A week later, Brett is still up to his old antics on-line, and this time didn’t have to install anything. He didn’t get a single virus, worm, trojan, etc. on his computer.
Well, we found an online-condom for him, apparently. Then came a problem. Familiarity. He wanted to use his iPod, and couldn’t install iTunes. I told him about Hipo, and GTKPod. He tried both, but was insistant on iTunes. Finally we had a little talk.
“Look Brett, you have a computer that does everything you want it to, and doesn’t cause you any frustration what-so-ever. Now the only problem you have is iTunes. If you learn an alternative, which won’t take much time, you will not have these problems anymore.”Apparently he took the advice, and is happily running Ubuntu.
My Conclusion: Familiarity breeds contempt. He only needed one program from Windows (or Mac). After viewing an alternative, and deciding to take the time to learn it, he was fine.My grand conclusions: Familiarity, and compatibility.
Nick K. and Sandra S. were great to see how the human stubbornness has actually gone to the point of controlling their way of thinking, and refusal to allow new ideas or options into your life. Where Nick K. didn’t care, Sandra S. even went so far as to lie and make up stories to justify her unwillingness.
Jeanne C., Rose R., Joey A., and Nick A. were open people, open to new ideas. When they were told about an alternative to Windows, they were more than willing to give it a try. Their openness showed immediately that they knew it would be different than what they were used to. But I think difference was a major factor. Nick A, unfortunately cannot use it at his place of business, but loves it at home.
Alyssa I. Was kind of different. It really didn’t make much difference to her either way. But if it were an alternative way to accomplish something she was actually interested in, it might be different. Alyssa is about as interested in computers, as a the prom queen wanting to fix cars.
Jack K. and Peggy A. Both had problems with their installation. Whereas Peggy’s problem wasn’t really attempted to be fixed, it was however, easily removed. Jack was a completely different story. I can’t blame anyone for wanting to be rid of a hardship, which is why a lot of us don’t use Windows to begin with. The funny part is, it doesn’t matter how much it costs, if it doesn’t work, no one is going to use it.
Brett J. This was almost done just for the pure comedy of it all. But I wanted to find someone who has problem after problem with Windows, and see if could be eliminated. And to much surprise, it was. Completely eliminated. He did still suffer from the familiarity complex, and wanted things to be the same, just different.
-
MTR – Network Diagnostic Tool
Posted on July 11th, 2009 No commentsTraceroute
You may have used traceroute in a Micrsoft OS or in Linux. It’s quite simple and can tell you a few things about the connection between you and any other device on the internet. Just type in traceroute <domain name> and hit enter. You should see something like the following.
traceroute to microsoft.com (207.46.232.182), 30 hops max 40 byte packets 1 192.168.64.64
(192.168.64.64) 1.210 ms 1.237 ms 1.304 ms 2 x-xxx-137-216.mtaonline.net (216.137.xxx.x) 37.635 ms 37.693 ms 38.798 ms 3 6506-1-er-ge3-2.mtaonline.net (216.152.176.205) 40.463 ms 42.126 ms 43.595 ms 4 7606-1-er-po1.mtaonline.net (216.152.176.157) 45.261 ms 46.985 ms 48.903 ms 5 197-168-165-209.static.gci.net (209.165.168.197) 51.290 ms 52.718 ms 54.420 ms 6 209-128-165-209.gci.net (209.165.128.209) 84.047 ms 60.093 ms 61.256 ms 7 8-128-165-209.gci.net (209.165.128.8) 62.892 ms 64.553 ms 66.021 ms 8 52-129-165-209.gci.net (209.165.129.52) 67.917 ms 69.604 ms 71.020 ms 9 217-129-165-209.gci.net (209.165.129.217) 72.445 ms 73.898 ms 75.299 ms 10 InetSeaSDCsw-1.gci.net (209.165.129.62) 77.711 ms 78.967 ms 80.682 ms 11 ge-7-3-0-58.wst-64cb-1a.ntwk.msn.net (207.46.46.41) 82.308 ms 83.984 ms 87.674 ms 12 ge-0-2-0-0.tuk-64cb-1b.ntwk.msn.net (207.46.47.70) 61.504 ms 60.918 ms 61.017 ms 13 ten2-4.tuk-76c-1b.ntwk.msn.net (207.46.46.23) 63.226 ms 64.564 ms 66.245 ms
The second column lists the name (or IP) of the next device interface, and then the next column it’s IP address. This goes on until you hit the destination. All the while you are given the time it has taken to send the ICMP message to each device and then the return message. If you notice, the further away the device is, the longer it takes. But not always, as the last two devices show ~66ms while #11 had ~82ms to ~87ms.
If you were having problems on the internet and it seemed there were a bottleneck somewhere, this nice little tool can help you identify if one exists. Perhaps if one of those above was returning ~70ms and then the next device gave you ~250ms. That’s a noticeable difference, and it could indicate the the link between those two devices has maxed it’s bandwidth at that particular time. Not that you could do anything about it.
MTR
So what if the problem were intermittent, or traceroute did not show any problems because perhaps the chokepoint is experiencing intermittent bursts of data? Enter MTR, the big brother to traceroute. MTR (or My Trace Route) can show you a constant display of each link and how it’s holding up. Take a look.
If you have MTR installed (aptitude install mtr), run it as you would traceroute. i.e. MTR YAHOO.COM
The default display looks much like a regular traceroute display, aside from the data is constantly changing and there’s a few more columns of information. The data changes due to the fact that it’s constantly getting data for you, no once, but constantly until you quit.
After the hostname, you are given columns telling you how much packet loss you get. How many packets were sent. Then you get to see how the pings are doing. You get what the last time it took for the response, the average time, the best it’s been to that particular host and the worst time. You also get a standard deviation. Not exactly sure on this one yet, but lower seems better.
As you can see from the example above, once we went from device #4 to #5, the pings doubled and then from # 5 to #6, the pings doubled again. The first time it doubled, it’s not too bad because that’s an increase in 30ms whereas the second jump was a good 72+ ms.
Not that I’m saying here’s a bottleneck, by no means. However, if anywhere between me and nandomedia.com there would be one, that’s my first suspect. This trace is pretty simple anyway. If I were to see much larger numbers then I would be concerned. Again, not that I can do anything about it, but at least I know it’s not my network, unless the problem was on my network, then I’ll point fingers.
Hit the D key. Here you can change the display. You get a nice view of the packets as they are returned. This first view does not offer much, so hit the D key again. DO IT!!! You’ll like it. At least better than this view.
Now this is much more informational. On the bottom of the screen is a scale. It shows you what each dot, number and letter up above mean. The period is 7ms and as you can see from my PC to my router, that’s what it should be. The next hop is to my ISP and there’s 3’s all along there and the other 2 routers at that location. The 3 is less than 54ms, but since it’s not a 2, it’s greater than 29ms. You see an ‘a’ and a ‘b’ up there too. So the return just from my ISP had a ping return over 54ms and one over 120ms just in these 57 pings.
The display is nice because it scrolls nicely to the left and you can see if there’s just a burp as in the ‘c’ at location #9 or if there’s a serious problem. And if you need to resize your terminal window, MTR will adjust what it displays with ease. Above it’s got room to show the last 57 pings, but if I widened it, it would quickly change accordingly.
So, as traceroute is handy, it’s not constant, it gives a snapshot and things may be fine at that moment. Ping is okay, but does not provide very much info. MTR is the all around tool to replace both.
Linux, Networking aptitude, Debian, internet, Linux, mtr, Networking, ping, routers, traceroute -
Web Server
Posted on June 20th, 2009 No commentsWeb Pages
So now you’ve got an older computer on your home or business network with Linux running on it. It’s not doing much, perhaps monitoring your network. What else can you do? Oh, as I find every day, the possibilities are endless.
One thing that most may think is hard to do, is set up a web server. Yes, you can serve up web pages without having to sign up for a web-hosting service. Do it yourself.
You can have them available on the net even if you don’t have a static IP address or even a domain name, just by using a dynamic dns service. Or you can keep them available just to your private network. Each user can have their own section to themselves. I use one of mine for testing before moving them to whatever web hosting server that hosts the working site. I have another one just for my personal site that I share with family & friends.
APACHE
One of the most famous of Apache is Geronimo, but we are not going to be discussing that Apache, but rather the most widely distributed and used web server software available. It’s no accident that it holds this top spot, it not only works, but does a great job. Much like myself.
Get it. Install it.
Now if you’ve got Debian or Ubuntu (or derivitive) you can install with: aptitude install apache2. If you have a distro such as Red Hat, Fedora or Mandrake, you can use: yum install apache2.
I’m not going to go over the whole installation and configuration process here, but a wealth of that knowledge can be found here. However, once you get the installation completed, you’ll be able to host your own web pages.
Additional Web Apps
Now that you’ve got your Web Server up and running, you can do so much more. For starters, you can install Nagios for keeping tabs on your network. You can install webalizer to keep stats on your web server. I installed coppermine for serving up picture galleries (although, this also involved having PHP and mySQL being installed as well). The possibilities are never ending. Anything you’ve seen on the net, you can pretty much find an open source app to add to your own server.
-
apt-get or aptitude
Posted on May 27th, 2009 1 commentInstalling Software
When you install software for windows, there is many ways to go about that. You can have a CD-ROM with the program and install directly from that. You can download a zip file, extract the files and install the extracted program. You can download an installer that will then download the necessary files off the net.
With Linux, there is also a variety of ways. One of these is using apt-get or aptitude. You may have seen on the internet instructions on installing some software within debian or ubuntu where someone gave the command apt-get install <program>. The alternative is to replace apt-get with aptitude. What’s the difference?
From the users point of view, there is no difference. However confirmed reliable sources have brought out the fact that aptitude will handle dependencies much better.
To quote IRONWALKER from the linuxquestions.org forum:
Aptitude is said to deal with dependencies better than apt-get. For example, say you install a package which automatically installs some library packages because it depends on them. When you remove this package with apt-get, it won’t remove the libraries this package installed, although they aren’t used anymore.
When you install that package with aptitude and remove it with aptitude, aptitude ‘detects’ that those library packages aren’t used anymore and will therefore automatically remove them.
To sum up, aptitude will clean things up when you remove a program. It will also check to make sure no other program needs the files it wants to remove before doing so.
The thing to keep in mind is that if you chose to use one over the other, be consistent.
Graphical Interface
For those who are running Gnome desktop interface (or KDE), you can use Synaptic. This nice program will divide up the available programs into categories for you. You can even search for whatever type of app you are interested in.
If you prefer to hang out in the CLI, you can issue aptitude by itself on the command line and get this interface.
It’s fairly easy and similar to the Synaptic Package Manager. You can search for applications you’re interested in, you can install packages and uninstall them. Not only can you navigate using your arrow keys on your keyboard, it also responds to your mouse. Click on the menu above, or an item to the left to open it up.
This is one sweet app you should familiarize yourself if you like to move around the CLI, especially if you have a system setup without a GUI.
Of course, if you know the name of an application, you can just command line it and not enter the package manager. For instance, you can just enter sudo aptitude install <filename>. If you are unsure if an app exists, or perhaps it’s name, use aptitude search <filename>. AND, as if that’s not enough, if you know just part of the name, enter that in.
The following command yields these results: aptitude search blend
p blender – Very fast and versatile 3D modeller/renderer
p blender-ogrexml – Blender Exporter for Ogre
p enblend – Tool for compositing images
p kwin-style-blended – a window decoration theme for KDESurprise
If you do bring up the aptitude package manager and find yourself in need of a little time killer, hit Ctrl-T and then P.
This works on my Debian system, but on my Ubuntu box it drops me back to the command line with the following message: “Ouch! Got SIGABRT, dying..” – Weird. I’ll have to figure that out another day.










