Gossamer Forum
Home : General : Perl Programming :

Unix & Linux????

Quote Reply
Unix & Linux????
Just wondering something....
When then software said - netscape for unix or this script design for unix machine...

does that means i can use it on Linux? Actually i was wondering to install Linux as second OS, anybody can describe what i need to do (the software for multiboot, which the best and easier linux to use and so on)..
Quote Reply
Re: Unix & Linux???? In reply to
So? You're looking to install Linux as a separate operating system? This is not a task I would recommend for a novice user, although, with newer versions of Linux, it is becoming increasingly easier to do.

Let's start with some basics: First of all, Linux is what we call a flavor of Unix. There are a number of flavors available, but most of them are either a BSDI flavor like FreeBSD and BSDI (from Berkley systems) or a System V flavor like Linux and Solaris. There are other flavors, but unless you are using a legacy computer or have alot of money to spend, you probably will not have to deal with them.

Linux as a flavor of Unix is most like System V, which means the base level operation and system features best mimic System V. Linux has its own specialized enhancments, not to mention its more or less free, though you would be best served to use a variant of Linux that is packaged by a company.

The best known packages or variants of Linux are Slackware, Redhat and Debian. Slackware is no longer produced for distribution, though it is widely packaged in Linux Books on CD-ROM. Redhat is the most popular distribution, and Debian is growing in popularity. Redhat is a commercial distribution, though it is often packaged with Linux books available at many bookstores. I do recommend Redhat for learning users, as Slackware can be harder to manage once you get running unless you want to do alot of compiling and installs later.

Redhat 5.2 is the current distribution of Linux. This is not to be confused with the actual version of the Linux operating system that it uses. In fact, the only difference between version 4.2 and 5.2 of Redhat is what is packaged with the Linux core (or kernal). Basically, Redhat 5.2 comes with the latest Netscape for Linux, Perl, GCC, and so forth. If you happen to get Redhat 4.2, you'll not only have to find and install Netscape, you will need to install XFree86 (XWindows), and newer versions of Perl, and modules you will need for its use, not to mention Apache and so forth. 5.2 also automates the tasks of installing software though the use of modules that are prepackaged and available on their web site. This makes it easier to install some item rather than compiling code from the prompt.

If this sounds complicated, well, its meant to be. Linux and all Unix operating systems were never designed to make it easy for a common Joe to install and configure the operating system. However, you will find as you learn how to install and configure your UNIX server that you are not constrained to the severe limitations MS Windows OS's place on an administrator. The Internet was designed so that it ran on Unix primarily, to Windows, networking is an afterthought. To Unix, Networking is what it is designed to do from the ground up.

As for multi-boot, most Linux OS's come with a multi-boot program called LILO that is fairly easy to setup and configure. Some other considerations: Linux runs best on its own type of partitions, crippling Linux by running it on a faked DOS partition is dangerous and a cost to performance. Because you have to run on a separate partition, you will either have to break up your current drive using a third party partition program or possibly FDISK, or place Linux on a separate drive (my suggestion is a separate drive).

Linux also does not come with a graphic "windowed based" interface on its own. Linux is at its core Unix, meaning it likes the shell, and will prefer to use it. XWindows is the way to get a windowed interface, and in fact, X is simply a way for you to interface yourself into a shell through a server graphicly. I won't get into those gory details, but if you want to run a web browser in Linux besides Lynx (text based) you will need X. Comparing the install of X compared to say Windows 95, is like comparing buying a car. In Windows 95, you goto a dealership, pay the man and get a key to the car. With XFree86 (the free version of XWindows) you pay the man, and he give you a box of parts, a mechanic and an instruction manual. Its your job to read the manual, and tell the mechanic (Linux) how to build the car. If you have Linux 5.2 and RPM, its like having a car with no tires, and no seats, and you have to pick those and put them on yourself. In short, its alot of work. I can install Redhat , and an X environment in about 2 hours, but I have done each about 30 or 40 times. It took me about 5 tries of each to get em working the first time around, but now I know how to do both well. Basically, get a a damn good book, and stick to it.

Many might think that the convienence of NT and Windows far outweighs the costs in time and effort to administrate a Unix server. However, you'll never find a major business to my knowledge that relies wholly on NT servers. Any professional admin or developer is well advised to continue to learn and support Unix. I personally feel that Windows is an excellent workstation environment for development in Unix and other systems, however, I do not see that Windows will ever superseed Unix as an operating system. My reasons are simple. Windows requires 10 times the operating resources of a standard Unix server and operates only on par with that Unix server. It is a simple comparision of cost of performance over cost of convienence.

Sorry for my rant, hope this helped.


------------------
Fred Hirsch
Web Consultant & Programmer
Quote Reply
Re: Unix & Linux???? In reply to
I just got a slackware (3.5) version but i will not able to try it until the end of february. I think i will got a machine with Windows NT so i will need to install another two OS (win 98 [for the games of course] & linux). Well, does LILO support 3 OS?? Does windows emulater (i just read in linux book) is good as original windows??

------------------
aneip
Quote Reply
Re: Unix & Linux???? In reply to
LILO doesn't rely on the OS itself, its up to you to determine how you want it installed and how to start the various operating systems on your system. Basically, LILO will give you the option to start any of the varied OS's on your system, you can set one as an automatic default as well. I am a bit skeptical about putting LILO on a NTFS drive, I would strongly suggest backing up your drive, because LILO can and will write to the master boot record, possibly corrupting your entire NTFS file partition. This is not as much a problem with FAT32 and DOS partitions, because it is generally easier to restore the system files.

As for Windows emulation, I have never actually attempted to run it, and from what I understand, do not expect to run Word 97 and other high end Windows apps though the emulator. At best, it will run a majority of Windows 3.1 and some Windows 95 applications. I am sure that the program has a current list of successful programs that run in the emulator. I believe the emulation itself is very very alpha (not even beta) even still, so I wouldn't rely on it for much.


------------------
Fred Hirsch
Web Consultant & Programmer
Quote Reply
Re: Unix & Linux???? In reply to
Let me go ahead and warn you that you'll probably want something like Partition Magic for what you want to do. We've found out (at my office) that vendors are (for the most part) shipping Windows 98 computers with hard drives fully formatted as FAT32 and Windows NT Workstation computers with NTFS. From past experience, a computer with Win95, WinNT, and Linux (Red Hat v5.2) doesn't last long if you go with defaults. Your best bet will be to either use something like Partition Magic to convert to FAT16 and then install your other version of Windows. Your C: drive will have to be FAT16. As for Linux, I would recommend using a LILO boot disk rather than allowing LILO to write to the boot sector of your hard drive. As mentioned above, NT doesn't tend to like other OS's writing things to the boot sector.