Teaching Linux/Unix Basics to Microsoft Junkies? 570
flupps asks: "I've been asked to hold a two-day crash course in a class of students that currently are studying to become MCSD certified. I'm looking for ideas how to set this up. I was thinking about starting with some general file system descriptions, where to find what files, the man pages, the tab-button, etc.
After that move on to some of the daemons and just explain what they do." He's got at least one idea to start with (below), but what must-have skills or demonstrations would you add?
I also plan to set a database program in VB (one of the certificates in the MCSD suite) against a MySQL or Postresql db and show that there are free alternatives that works as well as SQL server.
What would you think could be a good addition to teach them?
This is in no way meant to be a very advanced course, but I want to show some of the excellence of *nix and why you sometimes can save time and stability and maybe make them interested and read up more by themselves afterwards.
Any suggestions very welcome.
the best combo IMHO (Score:5, Insightful)
Re:the best combo IMHO (Score:2)
Powerful, true, but on the other hand most of the power comes from regexp syntax that might be a little off-putting to someone who's never seen that before.
Re:the best combo IMHO (Score:5, Informative)
1) Install a distro (preferably one that will have the easiest time with the hardware)
2) Configure a windowing environment (prefereably one that looks the most like Windows)
3) Show them an Office suite (preferably one that's comperable to MS-Office)
4) Fire up some awesome games (preferably XPilot
5) Start up a variety of browsers (preferable w/ Quicktime, Flash, RealPlayer, XMMS)
6) Configure and use an e-mail client, Jabber/Yahoo/AIM client (Gaim's good)
7) Spend some time on XMMS with various skinns -- and point to http://www.jazzradio.net/ and say, "This is coming from Germany"
8) Show them Palm Pilot support (Jpilot's the best)
9) Show them Quanta's HTML, PHP, SQL, Java and C/C++ syntax coloring
10) Show them a GUI file manager (e.g. Konqueror, et al)
Last, but not least, show them SWAT, Webmin and other easy-to-use administrative tools. You want to leave them with the sense that the Linux environment will be friendly, not ominous.
Let them at least start with some motivation to want to learn more!
Re:the best combo IMHO (Score:5, Informative)
1) Windows has tab completion. It's just not turned on by default. (Do help cmd from the shell in Win 2K (at least) to get a description of it. You can also configure the completion char to something other than tab..)
2) cat exists, it's called type
3) grep exists, it's called find. If find isn't sufficiently powerful for you, you can always get grep for Windows.
4) piping and redirection works more or less exactly like in UNIX with the same syntax even
Of course all of this stuff isn't as commonly used on Windows as it is in UNIX, but it doesn't mean that it's not there.
Re:the best combo IMHO (Score:3, Informative)
For example, I had a devil of a time figuring out how to do something simple like "quota username" to see how much quota someone is using without right-clicking the drive, picking quota tab, waiting to resolve 15,000 SIDs so I could find the username I was looking for. There is a perl script in the resource kit, but it runs forever (I stopped it in frustration after 15 minutes) since I assume it's trying to resolve SID to usernames and our NT domain controller has 15,000 accounts... (the server in question was a w2k member server, of a NT 4 domain).
But to get back to topic, I don't understand why. It's not easy moving from unix sys admin to windows or visa-versa. That's mainly why each camp hates the other platform. I'm more comfortable with UNIX admin, and I'm sure if I had the time to invest in learning Windows admin, I could easily throw the needed scripts together to get what I need out of the box.
Two days isn't going to cut it. Just go over basics in philosophy and try to avoid platform wars..
Re:the best combo IMHO (Score:3, Interesting)
* In XP, tab completion is on by default.
* There's also a built-in utility called findstr, which offers many options that find does not.
Checkmark compatibility (Score:4, Insightful)
Sure, DOS has had scripting and pipes from day one (well, unless you tried MSDOS 1.0). Were they as useful as their Linux counterparts? No freakin' way.
Why does TYPE not take stdin? Why is "copy con" equivalent to "copy con:"? (And, why is "copy con.txt" ambiguous?)
How can a batch file determine if a directory exists? Hint:
if exists c:\foo\con
yields different results in different DOS versions
DOS for the longest time failed the basic tests. And for the longest time, I was working with the MKS toolkit, replacing the ones that didn't quite do what I wanted them to do with copies ported from comp.sources. But it never became UNIX.
NT is still rife with inconsistencies in the CMD shell, and I don't know (nor care to know) if or when they get partially fixed.
The point is: if you want to use Windows, use Windows tools. Learn how to use VB Script to its effect. Learn MSVC if you must. Prentending that it's another UNIX if you squint right will hurt you. Windows is not designed to be UNIX.
Every time I use Windows on the premise that an OS is an OS and a command shell is a command shell I get hurt. I should have learned that lesson from VMS years before.
Does anyone knows if the Posix subsystem still exists in Windows XP? That was the worst checkmark compatibility I ever saw. You could run Posix code on NT, to allow NT to be purchased by the federal government. And unless you wanted to do actual work with it, the compatibility was fine.
It is completely beyond me why people are porting Apache to Windows. NT comes with a perfectly functional web server, why bother replacing it? Don't get me wrong, I hate IIS with a vengeance, but the loopholes in the underlying operating system (like the $::DATA bug) will have to be special cased in Apache too. And the $DEITY like privilege issues that plague the IIS indexing server will plague Apache just as well.
Possibly even worse, because code ported from UNIX will have to be modified to suit NT's security model, a redesign from scratch really is the only appropriate way to deal with such huge gaps in design philosophy.
Re:the best combo IMHO (Score:2)
Why not just use the windows scripting host, and write the scripts in VBScript, or jscript? It's part of Win2K. Not sure about XP.
Re:the best combo IMHO (Score:2)
Re:the best combo IMHO (Score:4, Funny)
Here in technical circles, cat | grep is known as useless use of cat [helsinki.fi] =)
Re:the best combo IMHO (Score:2)
For programs that include filenames in their output (such as wc and err... grep), cat * |
There are sometimes switches to do the same thing, but they aren't portable across different programs or flavors of OS.
cheers,
mike
cat is not useless (Score:2, Interesting)
Yes, cat causes a bit of overhead. However (and I have a PII/266), it serves one excellent purpose -- if you habitually use cat, you don't have to worry about the syntax of the next command in the pipeline. Maybe it accepts a file, maybe it doesn't, maybe it's some wrapper script that doesn't accept a file...for one liners, using cat is a *good* habit to be in. You don't have to constantly check man pages, documentation, or "try it and see if it works".
I think most of the "useless use of" complaints in UNIX that USENET people like to mention to show off their UNIX leetness are just stupid. Skimming down this page [helsinki.fi], I see:
Useless Use of kill -9: Okay, you should always use TERM first. However, spending more of your valuable time trying three or four other signals before kill -9 is just stupid, however (unless it's netscape, which oddly enough can sometimes be axed with QUIT).
Useless use of echo may be more legitimate *but* you may be planning to do something more extensive:
command -options `echo $variable|seds/foo/bar/`, for example. You can't do that with just
command -options $variable
The useless use of ls * really is useless, IMHO, because it frequently has unwanted side effects...you'd need ls -d * to get equivalent behavior to ls.
They get cranky about using grep foo |wc -l instead of grep -c foo. Who *cares*? Frequently grep is not the last element in the pipeline. If you're in the habit of using wc -l, you don't have to worry about the preceding item, even if you decide to insert a new item into the pipeline before grep and wc.
The complaint about using grep + awk is just stupid. grep is significantly faster than awk, anyway.
First thing... (Score:2, Funny)
Yes you do need to recompile the operating system (Score:5, Funny)
Re:Yes you _can_ recompile the operating system (Score:2)
man pages (Score:5, Informative)
man heir is a good start for disk structure. (if you're on a BSD, i'm not sure Linux distros have that.
Explain the Unix philosophy, with small apps doing one thing well, and how they can be glued together to do complicated things.
Re:man pages (Score:3, Informative)
different
Re:man pages (Score:3, Funny)
I was thinking he mispelled man hair. I was also wondering if hair(1) was included in the Emacs distribution.
Not to discourage you .... (Score:5, Insightful)
If you're just trying to get them familiar with Unix, nevermind I guess, but I'm just saying that unless you give them tasks / goals instead of just 'showing' them, they really won't see the benefits.
You might also take into account their view on this class. Much like people that have to take a G.E. course in something they have no interest in, they may smile and nod, regurgitate, and retain nothing. Are they here to learn, or because they have to?
Re:Not to discourage you .... (Score:2)
Very good advice. I'd steer clear of the love or hate it dichotomy, though. Almost everyone can learn something of utility from what you're teaching (if nothing else, explaining the mail daemons will help them understand how their email works) and knowing their agenda will help you decide what a paritcular student might be excited by.
Re:Not to discourage you .... (Score:5, Insightful)
Consider offering the course as a two day project where the end goal is to get a web site up and going. Don't get caught up in programming -- focus on using an existing app that needs mysql or other similar database. (It is also a great opportunity to introduce them to OSD and Freshmeat.)
MAKE SURE YOU HAVE A VERY COMPLETE WELL WRITTEN STEP BY STEP GUIDE TO EVERYTHING. Do not assume they know how to login. Do not assume they will know to su before running make install. Do not assume they know that --help is a good way to find out what command line parameters are.
Have a good list of recommended texts for follow-up reading including a good general purpose introductory text. (A good intro sysadmin text for windows converts is Linux Administration: A Beginners Guide, 2nd Ed. I know that a lot of college courses use this.)
As you're going through the course, be sure to include "Hot Tips" or something similar. Little details, tips, and tricks that make what they are doing fun or provide a neat "whiz-bang" feature. It also gives you a good connection to the students since they will feel like you're giving them the real scoop on Linux rather than a pre-canned course.
Do not -- I REPEAT -- Do Not Make Fun of Microsoft. You will discredit yourself if you do. Do not make fun of Microsoft certificate programs (after all, these students are there because of a Microsoft certificate program) and instead encourage them to learn about as many different ways of doings things as possible. Encourage the exploration of different operating systems (MacOS, Unixen, and Windows at the very least).
Finally, when introducing tools, don't give too many options. Show one common way that will work and when appropriate, pick the easiest tool to use. For example, when the time comes to edit a configuration file, don't waste time teaching vi yet. Instead, start with one of the GUI editors that are most like notepad or pico if you're showing how to use the cli. Tell them that there are better and more powerful editors available like vi and emacs and give references to web sites that will tell them more. Offer to answer questions after the class if they are curious about the alternatives.
ALWAYS SHOW PROGRESS. SET MILESTONES. EVERY 1-2 HOUR SECTION SHOULD HAVE A RESULT THAT THEY CAN SHOW TO OTHER PEOPLE.
Save the "advanced topics" for the end like creative use of pipes, cli tricks, and remote logins. (Remote logins will especially throw microsofties for a loop at first because it will be very different for them.)
Make sure you have a security section. This should be first thing in the morning on the second day as they will need to be fresh and have something on their servers worth securing. Try to cover the high level stuff like turning off services they don't need and how to see what services are running. Show them netstat and ssh. A great hot tip section would be to show them nmap. ("It's a hacker's tool. Oooohhhhh!")
Finally, watch their eyes when you talk. Look for people getting lost. Take things slowly, don't talk down to them. Be patient. Expect to answer really dumb questions that will seem completely intuitive to you. Occationally relate stories about when you were learning and how tricky something was. Students love hearing that their teacher had a few mishaps along the way too. It reminds them that the path to becoming a good administrator includes making mistakes.
Best of luck.
Re:Not to discourage you .... (Score:2)
I didn't learn until well after I needed it that
Teach the basics as you're teaching the less than basics... if you go into
Other than that, the above post seemed to be righteously accurate.
-9mm-
Re:Not to discourage you .... (Score:3, Informative)
Show them that they can mount remote filesystems and cd to them like a regular directory. I've noticed that that amazes UNIX newbies more than most other things. Show them about their "user space" the home directory and how their files can be protected from other peering eyes (permissions are a little advanced, but that'll help them to undertsand the security aspect of unixen)
Re:Not to discourage you .... (Score:2)
That's true of just about anything. But I've taught the "token Unix course" to MCSE/MCSD students many times and most of them just aren't ready to jump in.
The sad truth is that most of them will end up as help desk jockeys or operators and stay there for the duration of their IT carreers.
The key to success is to hold their hands while they do some task that they think is useful. Setting up a file server for MCSE types or building a simple PHP application for MCSD types.
Everybody knows that they won't know enough to be really be useful on their own once they leave - especially if it's just a two day course. But the ones who really are destined to be developers will have gotten enough of a taste that they can learn for real once they're free of the classroom. The others will at least learn that Unix exists and is used widely - something they won't learn from their other classes.
Do you type 80 WPM? (Score:2, Funny)
This is how you win 'em over. No x, not even texty vi or emacs. Nothin' but BASH.
Just sit there and do routine things moving thousands of files around your filesystem, starting a few web server processes, just random unixy stuff that it would take several hours to get done on Windows. I know windows junkies: they're always typing "cmd.exe" and acting cool about having a "tail" to look at logfiles.
Show them a thing or two.
Keep talking throughout.
And convince them that they're nothing.
At the end, mention:
"By the way, I didn't do all this locally. I'm logged in at a server I manage over in Canada. Check out the uptime". What? Longer than Windows 2000 has been out? (Nevermind that it's at Service Pack 2 already, and without that, your security's hosed).
Watch an evil, broad grin work its way across their faces.
Re:Do you type 80 WPM? (Score:3, Interesting)
One thing that Windows based users think of Linux users is that they are pretentious and cocky when it comes to using computers
By zooming around and doing the amazing things one can do in Bash (I am a big fan), you simply alienate them, and push them away. It almost says to them "ha, ha, you CAN'T DO this." That's poor teaching. The message you want to convey is "You can do this too, and it's not too tough."
Another angle (!): Ever tried installing Cygwin/SSH on a Windows 2000 box? I have it running on a machine or two, and if you have the HOME set to
Dont get carried away (Score:2, Troll)
Ive used all three databases you mention. Without a doubt, SQL Server is by far the "best" database. I think you do have to temper what you say, because if you run around making statements like that, then it puts doubt on the other things you say.
I dont mean to cast dispersions on MySQL or PostreSQL, they are very good databases, but not in the same league as SQLServer, IMHO.
Re:Dont get carried away (Score:2, Offtopic)
I'm also interested in hearing why you think Microsoft SQL Server is better than PostgreSQL. I've used PostgreSQL and Oracle and feel that PostgreSQL is as good or better in many situations. I'd be surprised if MS SQL Server had any real advantages over Oracle (except price, and it can't compete with PostgreSQL there).
Oracle's two big advantages, as I see them, are:
On the other hand, PostgreSQL has:
Now, MySQL...I don't understand why you'd use it when PostgreSQL is available. I certainly won't take quite as seriously anyone who advocates using it. It's not even a relational database, by definition. See Codd's Rule #10 [frick-cpa.com], for example. (I don't think any database supports all of these rules perfectly, but MySQL in particular is quite sad.)
[*] - I don't actually administer an Oracle database. I just use one and try to have some understanding of how its administration is done.
Software Installation (Score:5, Insightful)
Re:Software Installation (Score:3, Insightful)
'would you like XYZ support?'
'would you like the ABC option?'
where as installing under *nix is a self motivated process, i.e. if you want it, type it into the conf file yourself or pass it in as a param when you make.
the windows culture is one where you wait for the program to point and prod you, whereas under *nix you have to know what you can do before hand and then choose accordingly.
Re:Software Installation (Score:2, Insightful)
Re:Software Installation (Score:5, Insightful)
Firstly, it'll scare them, and secondly, all that most people will remember is that they HAD to compile stuff to get the operating system to work. Management in their place will get to hear about it, and this impression about Linux will stick.
For a basic course, yes, you could show them how simple it is to install, say, RPM packages (or deb equivalents, I guess) - and how to remove them (often a messy experience on windows). Show them that the compilation is often already done for them. You could even show them "rpm -ql" and "rpm -q --scripts" to show them that they can find out *exactly* what will happen when they install and remove stuff (and without reboots, too).
Show them KDE (maybe even KDE3.0). You might not agree with me that it's currently the best Linux GUI environment, but it is the most like Windows. Want to show them 'man' pages ? Show them man:/command_name in konqueror. Show them the big things that are good about KDE, and also the little things that are good about KDE (e.g. middle-button clicks on scrollbar regions to move the scrollbar there in one operation).
Show them how to cut-and-paste using the mouse. It's different to how it's done in windows, it works between KDE and Gnome apps, and it will stop them thinking they can't cut and paste in Linux. Show them there are other editors than 'vi' and 'emacs' - editors beginners can use easily.
Show them the command line, that's very important, but don't go overboard - don't reinforce their views that the command line is too difficult. Show them some simple, powerful stuff. Stuff like 'grep', 'ls', piping commands together... Think of examples that are simple on Linux/Unix, but very difficult to do on Windows.
Don't give them too much unnecessary info about how daemons work, where config files live, etc, etc. This is an *introductory* course. Just let them be assured that it all works. Get them enthusiastic. If they are, they'll get hold of copies for themselves, and start finding out more for themselves - but you have to build that enthusiasm, put their fears to rest, and show them things they can do more easily (or better) in Linux than in Windows.
Re:Software Installation (Score:2)
gone fishin (Score:5, Insightful)
"This is
This is
This is
If you're interested in using a command and don't know how, use 'man command' and get them familiar with how to use commands. "
You've got two days - so some basic 'how to get info' and then examples of getting that info, would be good.
Possibly a run down of 'in Microsoft, you have IIS, in Unix there's apache, ftp, etc'. 'In MSFT, you have ipconfig
How about running through the 'Administrative tools/Common' menu in 2000 and showing them where all those toys live in *nix - or where they might be able to find them.
But make sure you teach them how to fish for themselves - I suppose MSFT has the help pages, but man pages are our best equivalent. Or homepages for the package in question where applicable.
Good luck!
Also: (Score:2)
I love yack0's suggestion. I would add this: if these people are MS junkies, you might have to teach them very basic UNIX skills: ls, rm, cd, more, less, pico, etc. Believe me when I tell you that you'll have at least one student who doesn't have even this level of skill.
Since this is a crash course, you can probably get away with giving them a short cheat sheet and recommending that they get their hands on a copy of Linux in a Nutshell. But don't forget to incorporate at least something about UNIX basics into the course.
There is no hope! (Score:3, Funny)
If they can't manage that on their own, there's no hope at all.
In a more serious note, I'd try to focus on the similaraties between cmd.exe syntax and bash/sh syntax and possibly get a bit into basic shell programming.
SOAP & Tomcat... (Score:2)
Keep it simple (and don't oversell mysql) (Score:5, Insightful)
I would qualify that - you'll probably have at least one person in the group who's up on MySQL and/or PostgreSQL deficiencies (yes, they have them). Don't try to convince them that MySQL can be a drop-in replacement for SQL Server 2000. Both MySQL and PostgreSQL *can* be used in many situations, and should be considered along with other options re: price/performance, but don't go overboard and talk down to MS people saying MySQL is as good as (or better) than SQL Server. It does a disservice to everyone involved.
Covering RPMs and/or apt-get technology might be useful at the end of 2 day overview.
What would help more than anything else is showing people where/how to get help - online resources (RPMfind, for example) and whatnot. There's only so much you can cram in to two days - don't overdo it. Cover the basics in detail, and give resources to visit afterwards for people who want to learn more and/or experiment.
SSH/X-forwarding (Score:3, Interesting)
show how to start an app from another X-server (Score:2, Insightful)
Re: (Score:2)
Re:Xplatform (Score:2)
She has a tendancy to get utterly confused at the reason I seem to do everything with the keyboard...she said she's almost never seen me use a mouse. Quick use of Winkey shortcuts, TAB combos, and the command line almost totally make it unnecessary.
Don't be afraid of "the curve." (Score:2, Insightful)
I'd suggest pointing out the local sources of information, "man", "info", the "--help" parameter convention,
Next, describe the "small tools, fitting together like legos" philosophy. Talk about the power of the pipeline, and illustrate shell scripts. Point out that shell scripts are themselves commands in a pipeline.
Describe how things are bug to run. manually, cron, at, inetd, at boot.
Point out the innate networkability of Unix. A lot of the time, one isn't sitting at the console of a box when administering it.
Talk about the source+compile+install procedure -- something that will be pretty foreign to microserfs.
Discuss the packaging system of linux distributions. Show the ease of administration that Debian (e.g.) allows, and the "freeness" of most software, and the license and budget problems that it can save.
Oh, yeah. Teach 'em that "vi" rules over "emacs", too.
A few thoughts. (Score:5, Interesting)
* Open a relatively complicated page in MSIE, the same page in Mozilla-win32, and the same page agin in Mozilla-linux. Go to a bunch of annoying web sites, with Mozilla's pop-up/pop-down filters enabled.
* Use ssh to log in to a box halfway across the world. Demonstrate some simple system administration tasks, and the fact that anything you can do at the console you can also do remotely, via ssh.
* Run either Gnome or KDE. Change the themes, a couple of times, demonstrate the customizable UI. Switching between one of the mac Aqua-like themes, some star trek theme, and one of the Winxx-lookalike themes should be very effective.
* Install a distribution in server mode (no X11). Demonstrate the extreme modularization of Linux, such as you can complete get rid of all GUI support, and use only the disk/network services to turn a box into a network appliance.
* Install Windows and Linux on the same box. Boot into Linux; then mount and browse Windows partitions. Make a casual remark that Windows cannot browse Linux partitions in the same way.
* When the Linux box boots up, and is busy going through the initscripts, starting all the services, explain that if one service fails to start for some reason the boot process will continue and the machine should still be mostly usable. Ask if anyone experienced a situation where a Windows driver kept croaking during the boot process, and what happened alter.
I recall an incident about three years ago when UMAX shipped a buggy driver for their scanners. The driver was faulting on machines with USB ports, and CPU speeds over 400 Mhz (something about some timing loop), forcing a complete crash during the Windows boot cycle, with the subsequent reboot falling back into safe mode.
The Linux equivalent for this would be something like SANE, which runs completely in user mode, and therefore cannot crash the entire OS.
* Use samba to browse the local windows network neighborhood.
* If you have a fat pipe, forward X11 over ssh, and run remote X applications on the local terminal.
* Install a base distribution package right out of the box. I'll use Red Hat 7.2 as an example. Apply all the errata to bring the box up to date, except for the kernel, without rebooting. Even install a new version of glibc (the equivalent of msvcxxrt.dll) without rebooting the box. Install a new kernel on the remote machine, make sure that LILO or GRUB is all set up, then remotely reboot the box into the new kernel.
Re:A few thoughts. (Score:2, Interesting)
Another thing: Some facts you can tell them over and over again like "do not use telnet, it's fucking unsafe, use ssh", but if you do not demonstrate it or let them explore it, they won't understand the importance. So proof your statement using tcpdump (they will love it!).
Re:A few thoughts. (Score:2)
Simple solution - do what I did for my father. Install nano (an open-source pico clone). It's relatively easy to use (very similar to the 'edit' program that came with the later DOS's).
This way the users learn how the system functions with respect to the scripts, and after they're hooked, get them on vi/emacs. If they're not hooked, then there's no reason to learn vi/emacs anyway.
The point is to teach (Score:3, Insightful)
IF you are ever in a situation where you are teaching a class on Linux don't be cocky, condescending or anything like that and don't try to turn it into some kind of wizbang tradeshow. Teach people the basic things they need to know, how to navigate the CLI, how to work RPMs, how to manage users, how to look at what's running and so on. Give them real knowledge they can use. IF you do that, you make Linux less sacry and forieng and maybe they start to use it. IF you act as you've suggested all you are going to do is reenforce the stereo type of *nix people as stuck up assholes that hate Windows for no good reason.
Teach, don't preach. It's a class, not a chruch.
Re:A few thoughts. (Score:2)
But I can do the same thing with Windows telnet
Aahhhhhh!!! Passwords in plaintext. Telnet is the devil. SSH is encrypted. These are not equivalent services.
For server only installations, we just don't hook a monitor up.
Running a GUI takes memory and system resources, monitor attached or not. Also, if you don't have a monitor attached, people are a lot less likely to walk up and start fiddling with your server.
You really should conserve some network bandwidth and just go sit down at the machine though.
In an internal network with 100+ MBit network this is not an issue. Guaranteed, your employer would rather have you utilizing instant connections to whatever machines you needed than have you waste five minutes walking over to the server farm, spending another five minutes locating the correct terminal for the machine, and then another 5 minutes walking back to your desk.
Re:A few thoughts. (Score:3, Insightful)
No, not with the Windows telnet server it isn't. By default it's set to use only NTLM authentication, which is encrypted. You can set it to accept plaintext as well but that's not the default.
Re:A few thoughts. (Score:3, Informative)
Re:A few thoughts. (Score:2)
Do you really expect Joe Sixpack to write a VB script to do that, when it only takes two mouse clicks in Mozilla?
* But I can do the same thing with Windows telnet, or better, Windows terminal services since I can actually see what I am doing.
How much does the Windows Terminal Server cost, and are there any CAL fees?
* But I can get that many themes for XP, and plus I actually know how to change the backgrounds and icons in Windows myself. YOu haven't shown me how to do that yet with Linux. This frickin' sucks.
Programs -> Settings -> Desktop -> Background. That's it. It's not rocket science.
Install a distribution in server mode (no X11). Demonstrate the extreme modularization of Linux, such as you can complete get rid of all GUI support, and use only the disk/network services to turn a box into a network appliance.
* Uh, yeah, we use the Services admin panel and Add/Remove programs for that.
How many times do you have to reboot? What happens if the install get screwed up, and you're left with a corrupted registry?
* But if I only want Windows on my system, why do I care? If I could access the Linux partitions it would be like having FAT32 partitions on an NT machine... pretty pointless.
True - NT doesn't really support things like soft and hard links...
* Yeah, when services go down in Windows, it still starts up fine and you just look in the system log. If a driver goes down, I just restart in safe mode, removed the device, and everything is fine. No big deal. Who needs a scanner on a server anyway? It looks like if I do this Linux thing I have to go through all these damned scripts to figure out what went wrong... and where's the safe mode?
It's there. It's called "Run level 1", but you rarely have a need to use it, since as I said a broken daemon is not going to take down the rest of the system.
* Yeah... uh, we do that. Where's the network neighborhood icon?
It's right there, on the screen. Looks like I forget to mention Nautilus, in my original comment.
* We do that with Windows terminal services like we said.
And how much does Windows Terminal Services cost?
You really should conserve some network bandwidth and just go sit down at the machine though.
It's going to be a long walk. Remember, that server's on the other side of the world?
* If we want to install a new version of msvcxxrt.dll without restarting the box, I just close all the apps that are using it and then copy the new DLL into place.
Sounds clumsy and awkwards. There's no need to do that in Linux.
It's not that difficult. It breaks a bunch of stuff though, but I bet this glibc messes things up too.
Nope. I upgraded glibc on my firewall box about three weeks ago. I still haven't rebooted the box:
What are you doing monkeying with the kernel?glibc isn't the kernel.
That doesn't need updating, it's the frickin' kernel. If it's broken, we get a reinstall going while we go to lunch. Huh... fat pipes are cool.
I tend to upgrade my Red Hat servers twice a year. Insert a kickstart floppy, reboot each server, have a cup of coffee while the server upgrades itself, back in production 35 minutes later...
Re:A few thoughts. (Score:2)
make sure to stress ideology (Score:2, Informative)
many windows people when approached with linux view features they don't see as features that don't exist.
After The Basics... (Score:2)
The best thing you can do for a newbie is teach them how to find what they need to find to install or compile all the software they want. Start off with something simple like an Apache/PHP w/MySQL setup.
Give them the three tarballs (and they should know how to open them after the basics) and tell them to try to compile the three pieces of software together. With some tutoring they'll end up having something, more or less, working (hopefully) by reading README files and the INSTALL files after you've told them they use the configure script to start the ball rolling.
If they run into a rut, then you help them. Once they do get everything compiled together, get them on the path of figuring out how to install MySQL into /opt/mysql and apache in /services/www. This will have them reconfiguring and learning how all the flags work.
Finally, get them to install something that will rock their brains a bit. Once they realize that they're having a hard time, tell them where they can go to get libs, dependancies, etc. (freshmeat, rpmfind, etc.). Navigating the box is one thing, but knowing how to install software makes all the online docs suddenly make sense. Anyone have any comments about this approach?
An excellent book (Score:4, Interesting)
It helped me over the hump when I became serious about learning Linux, and I use it as a resource still today. Even if you don't use it as a guide for your class, I'd highly recommend that you mention it to your students.
--SC
Re:An excellent book (Score:2)
I have no financial interest in promoting the book since I didn't write it, but I was an editor for the book and found it to be lean and concise and still recommend it to this day.
Some thoughts (Score:2)
These people may only know about Windows and Microsoft solutions. If so, you'd better give real world examples of what is done with Unix now.
Unix is used because it scales well and is rock solid. With Linux you also get the price advantage, though that isn't so important in big projects. Quality and stability are and you should be able to show that Unix is high quality.
For a MS-only person it's important to be able to use Unix only in some places. Samba is a great example. Same goes with Apache. They might also like the possibility of producing cross platform solutions. Kylix/Delphi is a great example here.
Don't get into any religious fights. Just tell/show places where Unix is a great solution but do it without bashing Microsoft.
Some Suggestions (Score:2)
First, don't make excuses for Linux's weaknesses. You may have students who criticize, quite rightly, the current Linux desktop. Rather than defend it, accept the criticism and move on. You don't want your students to make their conclusions about Linux based on how it looks on the surface.
Second, as you're planning with database services, show them the benefits of Samba and Apache. If any of your students are responsible for admining servers they should be able to relate to these services as well. One point of caution though: They'll be used to using GUI's to administer services and may be turned off by the idea of editing text configurations. I have explained, with great success, that good text configs don't obfuscate your options. Sometimes the most powerful options are buried in GUI's. In a text file, the option you want is just '/option' away.
Lastly, and most importantly, your students will need to know where to get help in the future. Some like to read books, so introduce them to O'Rielly's animal farm (as I like to call it). There's also web and IRC locations support options. Remember that the Linux community has won awards for support, so you want to play that up. Linux support is one of those free things where you actually get more than you paid for. Be sure, however, to advise on where to ask what level of question. Newbie questions often get ridiculed on IRC, for example.
Good luck with your class. I would suggest that once you've put together your materials, you may want to submit a follow-up story. Perhaps you'll plant the seed for a class LUG's can offer all over.
inodes, symlinks, shell, documentation (Score:2, Informative)
Second, teach them about symbolic links and how this makes it possible to separate logical from physical file locations.
Third, show them how to do tasks with shell pipelines (don't forget to explain that file globbing is done by the shell rather that by each command).
Finally, show them that there is complete documentation for everything.
hmm (Score:2)
Being an MCSD student, I think you need to focus on what can be done with Linux systems and services, not how to do it. To me personally something isn't interesting to learn unless I have a use for it. While ls, grep and cat sure are useful, they don't tell me anything of what I can do with them or why I'd even want to learn a bunch of new commands on a new OS just to run some obscure a-patchy-webserver. Show them how MySQL works, show them how Apache with PHP works. Show them what they can do with a Linux box and when they might find it useful to install one instead of an expensive windows server.
So show not just how to grep, cat and ls, but give them enough info about what they can do with a Linux box so they might feel tempted to try it on their own. Go through the common services they might come across and what they can do and briefly explain the normal Linux commands as you use them.
I've done this (Score:2)
It was my Partner at my volunteer job thingy at school. I am the co-director of the CNE High school Tech Dept. There is me, and my partner, Rob. Rob lies, rob lies alot. At the beginning of the year, he had me convinced he has his A+, his MCSE, and an Associates Degree in Comp Sci, aswell as 2k$ in Microsoft stocks. Since then, I have found none of this to be true, yet he does know a damn lot about adminning NT and somewhat of 98. I take more care of the teachers computers, the lab computers, and stuff like that. I make sure defrag is ran in all the labs and on all the teachers computers monthly, etc, etc. I also upgrade, fix, and repair. I can strip a computer to the mobo and have it back together in 2 minutes, Rob can re-install NT from corrupted back-up tapes.
Anywho, I setup a linux lab (redhat 7.1 with XFS and icewm for those who want to know) as an internet surfing lab at the middleschool. So far since November all I've had happen is one X server crap itself, and I just re-ghosted it.
Rob manages the 98 lab (I keep it running, it just installs software and such.) Imagine 5 groups of 30 highschoolers a day in there. It is not fun. Stuff gets deleted, uninstalled, one machine had 10 copies of AIM installed, etc.
Then there is the 486 Lab, which is primarily for typing and some internet research. After seeing the sucess of my Linux lab (some students are supposedly confused by it, but I don't see how, Netscape is pre-started and that is all there is), he finally came to me and said, "I want to put linux in the 486 lab". know that any current distro would be slower than my overweight grandma, and that no older ones would easily allow a journaled FS to be setup, we are now planning on installing QNX R4, but its similar enough to be counted, eh?
bring them distros (Score:2)
Let them know about the local lug if there is one.
Make 'em "Think Unix" (Score:2)
It's a good book. I learned Unix from reading it. The book would be a good starting point to creating an interesting class.
Re:Make 'em "Think Unix" (Score:3, Funny)
Great. What's the *name* of the book?
Great book - Linux for Windows Administrators (Score:2)
You're getting off topic! (Score:2)
WHOA! Hold on there.
What is the course you are teaching? An intro course on *NIX? Ok, great - but why are you now trying to throw in Free Software? That is not what the course is about!
Forget trying to convert any of these M$ students. That is definately not what they are there for. What you should be doing is teaching them the basics of *NIX. Don't try to mix in political rhetoric. Whether or not MySQL/PostGreSQL can beat SQL Server is completely irrelevant to the course.
Stick to teaching *NIX intro stuff, don't get into Proprietary vs. Free. In 2 days you will not convert any MSCD students. Really.
Ok, but show them something useful (Score:2)
#!/bin/sh
rm -f ${1}.html && \
wget http://www.myisp.com/~me/${1}.html && \
vi ${1}.html && \
exec ftp www.myisp.com
Think of examples that do things Windows just doesn't let you do like running X applications remotely. Here's a must read regarding that topic:
Remote X Apps mini-HOWTO [xs4all.nl]
The Xnest script from the above would be good.
Side by Side (Score:2)
Show them how to do something in Windows, which they should be familiar with, then show them the Linux way of doing things. This will help them remember it better and become more comfortable with Linux.
For example, something as simple as changing Screen Resolutions. It's a basic thing and it shows how the two are different.
Do they know DOS? (Score:3, Insightful)
I'm also assuming they don't need to know how to set up and install a system, just be a user. They should know how to configure their own environments, set environment variables, etc. System stuff should be limited to the software they might be using and managing -- where are the logs and conf files, how to install, and so forth.
Free alternatives to costly software is a great idea. What about a brief discussion of Apache, JavaServer/JSP, Xerces, Xalan, etc? No need to get into the nitty gritty, but let them know there are free, multiplatorm alternatives to everything. My alternative to Visual Studio is Visual SlickEdit [slickedit.com].
Cygwin -- an introduction to cross-platform tools (Score:2)
The only downside to this is that those unfamiliar with modern Unix-like systems might see Cygwin as all that Unix is. I've had some Cygwin users insist to me that Linux really should have a GUI, for example.
What you teach depends on what they need, doh! (Score:2, Interesting)
So the next thing is the outcome you want. Why are they being taught? Whose idea was it? Is it just for information, or are they supposed to be able to DO something with this new knowledge they are supposed to be acquiring? Is it just a general awareness class or what? If you don't know that, you haven't a chance in hell of getting it right.
Once that's known you can figure out what you want to introduce them to. There are some materials you might care to use free for download from http://www.linuxtraining.co.uk if that helps you with some training notes.
As someone who makes part of his living from Unix and Linux training (the former for 25 years, the latter for 5 years) I'll happily share my experiences of introducing Microsofties to things like the command line and the intricacies of Linux.
They will be impressed by networked X - I save that for the last couple of hours, since people typically remember most about the last thing they saw and you want to leave a good impression.
The filesystem won't be hard for them, neither will NFS. They will keep asking about domain authentication, but I'd steer clear of NIS
The most important thing I can say is that they will HATE HATE HATE anything command-line oriented. The fastest way to lose them is to start harping on about it. The really bright ones will pick that up for themselves later, but for the introduction, use something like SWAT for Samba admin - webmin will do that and most other things too. I can't emphasise that enough, it's based on real-life experience.
The rest of the class plan you will have to pick when you know what you are trying to get them to do when they leave.
Finally, don't try to teach too much. Two days is VERY limited, the best you are likely to do is get them interested and reduce the fear level. To get people through even basic stuff like LPI 101 and 102 is around ten days of classroom and exercise sessions. In two days they can only get a taster. If you haven't taught in this kind of situation before, you will be astonished how little can be covered in two days from a standing start
Best of luck!
Mike
Start with Rute (Score:2)
Definitely start with:
Rute User's Tutorial and Exposition [sourceforge.net]
Best learning (and reference) resource I've ever seen for Linux.
What are they supposed to be learning? (Score:2)
Most of the suggestions people are making (show them how you can change or theme window managers, install a distro, perform maintenance over ssh, ridicule them) seem to be aimed at MCSEs or admins, not at developers. I still haven't quite figured out whet .NET and its free implementations are or do, so I can't make very useful suggestions (someone come up with better ideas) but I'd imagine teaching them about things like paths, libraries, gcc, scripting languages and available toolkits would be helpful. I don't know how usable Mono and the Qt or Gtk bindings are but you may want to look into them and show them if there's anything yet to show.
Or Glade, Qt Designer, KDevelop...
Show them GPL software under windows (Score:2)
I use Apache, XnView, Gvim, PHP, the Gimp, mySQL, and many other applications under windows. Show them that GPL does not have to be an all or nothing step, you can mix and match win32 and GPL, and have a system that you are mostly familiar with, and high-performing apps, for less then the cost of a pure Microsoft solution.
Then, show them the ease of linux remote administration, the windows compatability, and how linux is usually faster/more reliable on slower hardware. Show them the stability of linux vs windows.
I'm my experience, the disadvantage you have is warez. There are plenty of 'free', easy to use software for windows if you know where to look. Bring up BSA horror stories, and talk about the GPL.
Just my $.02
Sun Microsystems solution to the problem (Score:2)
http://www.sun.com/solutions/blueprints/pubs.html [sun.com]
bbh
Teach them how to find out more... (Score:2)
The biggest one is, teach them how to find out more. These are people who may be used to getting their tech support from paid vendors, and when working with Linux you can get frequently superior support from on-line resources. Teach them how to effectively use google and google groups to get "tech support". One of the most valuable tricks I learned early on with linux was simply looking for an error message in quotes. 90% of the time, somebody already asked the same question and somebody else has already answered it.
Another thing I would suggest is get them familiar with the basics of getting around on the command prompt. Give them a reference sheet with the most useful commands and the most useful switches for those commands. Then if you don't have time to cover them in detail, at least a cursory explanation and that reference sheet should give them the foundation they need.
Next, I would show them how easy it is to download and compile tools. Find some small piece of software that you use routinely, and then show them how to build it. Knowing that most packages can be constructed using the standard
Overall thought I think the focus, given your short time, should be making them feel comfortable with working on Linux. If you get them comfortable, then they can figure it out from there
Start by making a unix/dos command page. (Score:3, Insightful)
DOS Unix
cd cd
md mkdir
rd rmdir or rm- f -f
type cat
more more
attrib chmod
edit vi, pico, emacs
Do this for the filesystem too. initab and rc.d are like autoexec.bat and config.sys. It will be tons easier for them to learn if they already have a foundation to build on.
I wouldn't bother. Seriously. Here's why. (Score:2, Insightful)
In my opinion, the idea of getting Microsoft junkies to sit down and understand Unix is beyond your typical Microsoft junkie's ability. I'm not trying to sound condescending in that, either. I just think that theres a point where someone gets so entrenched in one way of doing, and one way of thinking, that they lose the ability to "switch gears" and pick up something fundementally different. I'll give you two examples:
There was a guy I worked with named Brad. Brad was an ardent Windows guy. He knew nothing about any other OS'es other than Win32, other than their names. In his mind, Win32 was the pinnacle of operating systems because it simplified complex tasks down to a predictable series of point-and-click operations, and like most Win32 gurus, he had absolutely no idea how anything worked under the hood. He had no idea what a kernel was. Infact, anything below the driver level was completely black box to him. In summary, Brad, even though he knows his stuff, is completely oblivious to the merits and drawbacks of his own platform, because to pursue Win32 know-how as a career path assumes that you enjoy remaining ignorant about certain aspects of the machines youre running. It resembles something more of a religious belief than it does a philosophical belief.
Unix, in its form and in its structure, is the polar opposite of Win32 in regard to how you approach it. You're not only encouraged to grab a shovel and dig deep into the platform, you're required to do so if you expect to gain mastery over it. That being said, Win32 users are unaware of this process. They think in surface-layer terms, whereas Unix people know their systems from the ground up.
What makes matters worse, is Linux, and the idea that the whole damn platform can be looked at, dissected and understood down to the source. While this is an advantage to a Unix guy (since we are used to doing such things) , it presents an insurmountable task to a Win32 user, who's concept of computing often does not extend below the GUI.
Here's another anecdote that illustrates the point i'm trying to make: Where I worked, a bunch of Win32 users were given the task of conducting performance evaluation and testing of RAID arrays under AIX. I appeared to be the only guy in there who had anything more than a extremely cursory knowledge of Unix. After a day or two, I began to wonder why all of the AIX hosts were being rebooted so often. I had a look at all the machines and their uptimes, and discovered that these boxes were being rebooted about once a day. I asked why. They looked like deer caught in the headlights....It turns out that whenever they were trying to remedy a config-related issue, their first instinct was to reboot the damn machine to fix it. To explain the concept of "uptime" would have been futile. To explain the notion that "rebooting is not how you fix a problem in Unix.".
In short, they just plain don't get it, and its doubtful they ever will.
Cheers,
Re:I wouldn't bother. Seriously. Here's why. (Score:2)
On the other hand, moving a *nix guru over to W32 isn't difficult at all... they already know the details of how things should work, so it's just a matter of learning which buttons to push and which concepts have been redefined ("domains" to name just one).
Comment removed (Score:5, Insightful)
Re: (Score:3, Insightful)
Keep them interested. (Score:2, Interesting)
- very
certain data from an often used program on your server to, say, a log file or even another program. Try to make it look as easy as possible, emphasise that it can be done with any program, any file. Stuff like that cannot be done with any microsoft OS unless the programs are written or re-written specifically for the purpose.On top of that, when you have them doing something on their own, be doing something on your own computer (X running, blah blah blah) that would amaze a windows user. Use enlightenment with a really good theme while doing something that has to do with class or even just burn time. On the off chance they see what you're doing, they might start looking at Linux as being more and more attractive;)
Of course, this might not work, the students having less care for anything else other than Microsoft, their souls having been sold to them and all :-P
The Unix Philosophy (Score:3, Informative)
I'd suggest teaching them the basics of the Unix philosophy - small is beautiful, make each program do one thing well, avoid captive user interfaces, etc. If you don't already have a copy, pick up Gancarz's The Unix Philosophy which describes the various tenets clearly and concisely. (Hell, if you're allowed to or have a budget, make the text a required purchase. It's cheap.)
Something like this would be far more useful than 'ls|grep' or "/etc is where system-wide configuration files are stored" because it would provide them with a new way of approaching computers.
p.s. For extra points, contrast the Unix philosophy which assumes that you know what you're doing with the DOS/Windows philosophy which assumes that you don't know what you're doing. You might even want to begin your class by reading/assigning Scoville's Unix as Literature [meganet.net] which nicely depicts how different Unix is from other operating systems.
Xargs, find, grep (Score:2, Informative)
These shell commands are good by themselves but great when used together.
will find every config file underDo this from a GUI with three or four shell windows open, so you can grep in one window and keep a file or two open (runing vi, or whatever) in the others. Then do the same thing with NO GUI (yes, Linux runs great like this, esp. on old crapy machines, e.g. my firewall again). Show them how to use ALT-Fn to get multiple screens with out the GUI.
Show them also
to look in the current directory, and will locate only regular files (ignoring links), which is nice for reducing spam.Also show them
for when xargs can't append the commands, or needs to run them singlly.Also, point out http://www.tldp.org/. The Linux Documentation Project isn't the be-all or end-all, but some of their how-to's are invaluable if you have nowhere else to turn.
Good luck!
ESR's Drag.NET (Score:2, Interesting)
ESR did this piece about setting his wife (a windows-junkie-lawyer) up under Linux/KDE
bemis
-The fellow who thinks he knows it all is especially annoying to those of us who do. - Harold Coffin
Learn about them first... (Score:2)
Every comment here says that you should be pushing linux, how simple it is, etc. The beauty of CLI, the elegance of | . If you want to go that route just write on the board "I am LETE I OWNZ YOU". But I think you should give these people credit. They are learning VB or C#, and most people might think that makes you a loser, but give them credit for trying and withhold your judgement.
Show them the dev environment (Score:3, Insightful)
Forget about MySQL. It's a nice DB but can't really compare to Oracle or SQL Server.
My final tip: Don't try to convert them or bash MS solutions, that would only alienate them. Just show how to get the work done in unix, and maybe they'll realize it's easier and develop further interest.
More Ideas tailored for Micro-weenies.. (Score:2, Insightful)
2. Push remote access, like ssh, which gives a user full control of the box from remote, something that is difficult to do in NT w/o consuming many resources (TB2,etc)
3. SAMBA. Install Samba from the cd and show how they can manage and use their (precious) Network Neighborhood stuff, connect to remote computers, etc.
4. Routing. Show how any linux box can setup firewalls and complex routing with a few commands.
5. Security. Run nmap against your now-configured linux box and compare it to, say, a windows 98 box. Show that linux can be locked down for the miscellaneous user.
6. Support.
Maybe not everything can be covered in two days, but hopefully this helps. I was once a M$ kinda idjit, but the above points, as well as many other good suggestions already discussed in this thread, helped me to kick the GUI.
Not your typical post from,
Windows compatabilty tools (Score:3, Informative)
So you are going to need to show them that it is possible to mix'n'match windows and linux.
1)Winbind
(Mandrake 8.2 comes with winbind mostly setup - see http://mandrakeuser.org/connect/csamba5.html) or at least samba and joining a samba box to a windows domain. Something like LinNeighborhood for accessing shares.
2)Rdesktop or vnc or X on cygwin
The chances are they are going to have windows servers around, so make sure they know they can get into them from linux. From the other side, make sure they know they can get into their linux boxes from windows and run graphical apps, either with vnc or by running X on cygwin. (Need I mention rdesktop and vnc are standard on Mandrake
Show them why unix is better in some regards:
3)Please choose a decent distro. Please don't show them how to resolve dependencies on packages with rpm, but show them the right tool for installing software (apt or urpmi).
4)Show them how to effortlessly setup a firewall. Mail server, web server, proxy server.
Give them something they can apply on windows:
5)Show them that they can run PHP on IIS, and apache on windows (for better security). Show them cygwin.
6)Give them something to tie it all together. Maybe write a small php webpage that can send email to a windows domain account, or something that queries a db (or both).
7)Remind them that they should not be running X on their servers (aka you have a choice not to run a GUI).
8)Remind them not to hit CTRL-ALT-DEL when they want to log in locally
9)Show them the really good gui tools around, things like Kdevelop, OpenOffice, Evo, Konqueror,Gimp etc
10)Show them your favourite command-line features. Bash-completion, vi (they don't need to use it, but show them that a console editor can do syntax-highlighting), mc, lynx, ssh (with password-less key-based logins), X ssh-tunnelled.
11)Show them how easy it is to change hardware (like an ethernet card change with kudzu or similar) with a single reboot and virtually no downtime.
12)Give them CDs for the distro you used, and another CD with similar stuff for windows (cygwin, apache, mysql, mysqlfront etc).
I think your problem is going to be fitting it all into 2 days!
My experienses with windows nerds (Score:3, Interesting)
The first time I used Redhat 7.2. It turned out to be a mistake. The next time I used mandrake 8.2 and that worked well.
The graphics seems to impress more than the cli.(Unfortunately) Things that you as a unix person are impressed by dont work well for windows people. This was a real problem for me as I use the cli for most of my work. You have to learn to use the kde tools like konqueror and kwrite.
In 2 days you wont be able to do much more that show them the power of Linux. You need at least a week.
Here are some of my tips based on the experiences that I have had.
Make them install mandrake with a full graphics install with dual boot.
Show the wizards and control center
Show them X -query and rdesktop.
Windows people seem to prefer kde to gnome but dont forget to show them choice. Install both so you can show them evolution.
Also the web admins really impress them. (Swat, webmin and cups)
Mandrake has a beta of Staroffice (silverclub members only). Get it. (email me if you want it)
Dont even bother showing vi. Somehow it doesnt work for windows people.Use kwrite instead.
Make sure you install all the games. During my course the games really got them going.For some strange reason "frozen bubble" was a big hit.
Teaching the students the cli with commands like grep, cut etc. didnt impress much until they wrote their first script. I had them write a simple menu to start different commands. Then they understood the power of unix.
Get them to run ssh to each other. For windows admins this is very impressive. Installing kiofish in kde is also impressive.
If you want my course material, I'll be happy to send it to you. Its in swedish and not that good but you could send it through babelfish and get som ideas. Its for the cli so it wont be useful unless you can increase the course to at least 5 days.
These are some of my experiences. Hope they help you.
Regards kenneth karlsson
MCSD not MCSE (Score:5, Informative)
Most of the comments I've been reading have been going off about administration and configuration. These are people going for a developer certification. That means they probably already know a lot about programming, and they probably already know a fair bit about programming under Windows.
Going in there and giving them a Linux sales-pitch would be a waste of their time.
Database connectivity sounds like a cool thing to demonstrate, you might want to demonstrate the basic development tools and documentation available at their disposal. Show them an easy editor to use.. something consistent with the editors used in the Windows world, show them gcc and some neat stuff like xxgdb. The ones who are clueful enough to care will pick it up when they leave.
IMHO the most important thing to explain to them is software licensing. It is quick, but when they realize that if they like to develop software, they'll clue in that developing their apps for Linux is easier.
A few tiny things like that would probably take up all the time you have. Cygwin might help them know how to develop apps from Windows to target Linux boxes.
My experience with MCSDs and other Windows developers is that they don't really care about the OS, they just care about writing apps and using OSes to make money by solving problems.
Where to find help -Confessions of a Win 2000 user (Score:3, Interesting)
I have been teaching myself how to use Linux over the last week.
I have been running Ipcop as a firewall for a few months and getting into the shell and poking around finally got the better of me and I decided to give Linux a good go.
My goals were :
SO far I am doing well. I had some Red Hat 7.1 CDs and have that running. Gnome and Enlightenment work for me, although I am mainly using enlightenment as it is a pretty crappy machine. I got Samba to work so I have a share set up in my Windows workgroup. I have Apache running. I have VNC Server and SSH running so I can do it all from my Windows Laptop using PuTTy and VNC (the only spare monitor I had was really crappy).
The only thing I have left to do is configure PHP and a database and I am happy.
But I do have a point....
The most important thing I have learned. Is Google Groups search is your best friend. There are so many little quirks and pitfalls for someone setting this sort of stuff up by themselves for the first time. No tutorial can cover them all. Teaching people how to find answers is the best lesson of all. Especially when it is 1am and they have just managed to completely stop something from running (Samba, X etc), it is important to know how to get an answer when you have no one holding your hand.
End of the story....I am loving it! If most of my computer use didn't involve SQL Server I could see myself switching.
philosophy (Score:5, Insightful)
You need to back up and do something more fundamental before you start showing them filesystems and daemons. You need to compare the two competing philosophies that drive Windows and Unix cultures.
After this balancing act, then you can begin to lead them down your path of showing them practical items. At each point you can refer back to these fundamentals. For example, when it /etc, you can explain why Unix admins think text file configuration is inherently more stable and powerful than registry keys, because without such an explanation the Windows admins will typically see it as quaint and backward. Again, when you get to /dev, you can show the inherent debugging power of being able to do things like "tail /dev/midi00" to debug a connector on the computer, even if that data is not useful immediately. You can show how grep, awk, and perl can be chained together to do advanced data processing (on text) that would not be possible on Windows without a specific feature to make it happen. The key is to refer back to a specific philosophy for each exercise, so they can see the big picture.
None of them will watch a hands-on lecture and run out screaming "I've got to convert to this immediately! He broke out this thing called grep and it was.... it was.... AMAZING!" :-) Rather, you want to give them a clear understading of our culture, and just like how a high school senior goes to a college campus and says, "Yeah, I can see myself here" you might kindle an interest in some of them to find out more about how we *nix people think.... and that would be the first step to bringing them over.
A few years ago I would have said (Score:3, Funny)
best project (Score:3, Interesting)
But what really fused my interest and admiration for linux was configuring a dedicated router on outdated hardware. There are quite some "linux router on a disk" projects out there, look for Coyote, FreeSCO or FLI4L (which is maintained by bunch of german guys).
Get your people to setup a working design for a linux router. The beauty of the project is that they can just make a boot disk, reboot the box they are working on and test it for real. The simplicity of the projects has quite some advantages - it takes out the "cluttering" some distros have (as in having
These systems are probably all you need to teach the basics of piping and redirection, the
Excuse me for praising FLI4L here, other router distros are probably just as good, but FLI4L has the flexibility to astonish even people like me.
Re:GUI vs CLI (Score:3)
With the three you can begin to create automations regardless of what level of computer use you are at.
It's like having the three primary color of the rainbow and with them being allowed to create any color of the rainbow, but take away one and you are greatly constrained.
User Interfaces are like that, we generally only have two available, if even that, on the windows box but even Linux has a hard time providing a standard 3rd UI to applications, devices and libraries.
Watch out, wait to long and MS will figure this out and get the jump on it. That would be a shame.
Want to convert MS user to Linux? Then give them highly productive tools they cannot find on their windows boxes. And that would include general automation tools friendly enough for anyone to use.
Re:Show them the possibilities (Score:4, Informative)
They are developers, for crying out loud. They'll start running after 5 minutes of iptables; why not show them gcc?
Show them the [...] the geniality of config-files, and NO REGISTRY.
Look, config files in
Don't get me wrong, I'm a 100% unix guy; but it seems to me that exactly this kind of arguments makes people stay away from linux. You don't have to crush Windows, you have to give them reasons to make them beleive in linux, and to want to hop in the wagon.
Re:Don't try too much. Actually, don't try anythin (Score:2)
Dunno about that... Python, Qt 3.0, and MySQL have a pretty good shot and overthrowing the RAD power of VB. Qt 3 now supports data aware widgets which allow you to tie a DB in a similar way that VB allows. And Python just kicks VB's butt as a language. Qt Designer has some pretty cool stuff like signal/slots, superior layout control, etc that give the form builder in VB a run for its money...
Re:They'll Ask (Score:2)
Re:Don't forget VI (Score:2, Insightful)
Emacs would be better because at least you can type stuff straight in after running it, and it has some menus, and saving files is simple ctrl key stuff. In vi, doing 'i' to start editing, and then wondering why the cursor doesn't wrap around at the end of lines, and then "esc", ":" "w" to save the file is just too much for these people. Vi isn't normal! vilearn is a good tutorial program, but these people are not here to learn Vi. Mention Vi as an editor available on every Unix system, mention that it is complicated, but they can use gvim as an OLE editor within Visual Studio...
Pico is suitable - it is easy to use and has a help system. In a GUI environment, just use gedit or kate or whatnot.
Overall I agree with the people that advocate showing what you can do with a Unix system, not how to do it. Show the development tools available, show the services available, etc. Show differences between Windows and Unix equivalents. Don't be evangelical about Unix, be realistic. Explain that the systems are different, and both have advantages and disadvantages...