home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / misc / linhowto.zip / INFSHEET < prev    next >
Text File  |  1993-10-08  |  22KB  |  470 lines

  1.                              Linux Information Sheet 
  2.  
  3.  
  4.         0.1 Introduction to Linux 
  5.  
  6.         Linux is a completely free clone of the unix operating system 
  7.         which is available in both source code and binary form. It is 
  8.         copyrighted by Linus B. Torvalds (torvalds@kruuna.helsinki.fi), 
  9.         and is freely redistributable under the terms of the Gnu Public 
  10.         License. Linux runs only on 386/486 machines with an ISA or EISA 
  11.         bus. MCA (IBM's proprietary bus) is not currently supported 
  12.         because there is little available documentation. Porting to 
  13.         other architectures is likely to be difficult, as the kernel 
  14.         makes extensive use of 386 memory management and task 
  15.         primitives. However, this is becoming easier as the kernel 
  16.         becomes more general, and there is a port in progress for 
  17.         multiple Motorola 680x0 platforms, and ports are being 
  18.         considered to other platforms as well. Don't hold your breath, 
  19.         but if you are interested and able to contribute, you may find 
  20.         other developers who wish to work with you. 
  21.  
  22.         Linux is still considered to be in beta testing. There are still 
  23.         bugs in the system, and since Linux develops rapidly (new 
  24.         versions come out about once every two weeks), new bugs creep 
  25.         up. However, these bugs are fixed quickly as well. Most versions 
  26.         are quite stable, and you can keep using those if they do what 
  27.         you need and you don't want to be on the bleeding edge. One site 
  28.         has had a computer running version 0.97 patchlevel 1 (dating 
  29.         from last summer) for over 136 days without an error or crash. 
  30.         (It would have been longer if the backhoe operator hadn't 
  31.         mistaken a main power transformer for a dumpster...) 
  32.  
  33.         One thing to be aware of is that Linux is developed using an 
  34.         open and distributed model, instead of a closed and centralized 
  35.         model like much other software. This means that the current 
  36.         development version is always public (with up to a week or two's 
  37.         delay) so that anybody can use it. The result is that whenever a 
  38.         version with new functionality is released, it almost always 
  39.         contains bugs, but it also results in a very rapid development 
  40.         so that the bugs are found and corrected quickly, often in 
  41.         hours, as many people work to fix them. Furthermore, the bugs 
  42.         are generally discovered within hours of a kernel release, 
  43.         especially those which might endanger a user's data, so it is 
  44.         easy for an end-user to avoid these bugs. 
  45.  
  46.         In contrast, the closed and centralized model means that there 
  47.         is only one person or team working on the project, and they only 
  48.         release software that they think is working well. Often this 
  49.         leads to long intervals between releases, long waiting for bug 
  50.         fixes, and slower development. Of course, the latest release of 
  51.         such software to the public is often of higher quality, but the 
  52.         development speed is generally much slower. 
  53.  
  54.         As of August 15, 1993, the current version of Linux is 0.99 
  55.         patchlevel 12. 
  56.  
  57.  
  58.         0.2 Linux Features 
  59.  
  60.  
  61.          * multitasking: several programs running at once. 
  62.  
  63.          * multiuser: several users on the same machine at once (and NO 
  64.            two-user licenses!). 
  65.  
  66.          * runs in 386 protected mode. 
  67.  
  68.          * has memory protection between processes, so that one program 
  69.            can't bring the whole system down. 
  70.  
  71.          * demand loads executables: Linux only reads from disk those 
  72.            parts of a program that are actually used. 
  73.  
  74.          * shared copy-on-write pages among executables. This means that 
  75.            multiple process can use the same memory to run in. When one 
  76.            tries to write to that memory, that page (4KB piece of 
  77.            memory) is copied somewhere else. Copy-on-write has two 
  78.            benefits: increasing speed and decreasing memory use. 
  79.  
  80.          * virtual memory using paging (not swapping whole processes) to 
  81.            disk: to a separate partition or a file in the filesystem, or 
  82.            both, with the possibility of adding more swapping areas 
  83.            during runtime (yes, they're still called swapping areas). A 
  84.            total of 16 of these 16 MB swapping areas can be used at 
  85.            once, for a total 256 MB of useable swap space. 
  86.  
  87.          * a unified memory pool for user programs and disk cache (so 
  88.            that all free memory can be used for caching, and the cache 
  89.            can be reduced when running large programs). 
  90.  
  91.          * dynamically linked shared libraries (DLL's)(static libraries 
  92.            too, of course). 
  93.  
  94.          * does core dumps for post-mortem analysis, allowing the use of 
  95.            a debugger on a program not only while it is running but also 
  96.            after it has crashed. 
  97.  
  98.          * mostly compatible with POSIX, System V, and BSD at the source 
  99.            level. 
  100.  
  101.          * all source code is available, including the whole kernel and 
  102.            all drivers, the development tools and all user programs; 
  103.            also, all of it is freely distributable. 
  104.  
  105.          * POSIX job control. 
  106.  
  107.          * pseudoterminals (pty's). 
  108.  
  109.          * 387-emulation in the kernel so that programs don't need to do 
  110.            their own math emulation. Every computer running Linux 
  111.            appears to have a math coprocessor. 
  112.  
  113.          * support for many national or customized keyboards, and it is 
  114.            fairly easy to add new ones. 
  115.  
  116.          * multiple virtual consoles: several independent login sessions 
  117.            through the console, you switch by pressing a hot-key 
  118.            combination (not dependent on video hardware). 
  119.  
  120.          * Supports several common filesystems, including minix-1 and 
  121.            Xenix, and has an advanced filesystem of its own, which 
  122.            offers filesystems of up to 4 TB, and names up to 255 
  123.            characters long. 
  124.  
  125.          * transparent access to MS-DOS partitions (or OS/2 FAT 
  126.            partitions) via a special filesystem: you don't need any 
  127.            special commands to use the MS-DOS partition, it looks just 
  128.            like a normal Unix filesystem (except for funny restrictions 
  129.            on filenames, permissions, and so on). MS-DOS 6 compressed 
  130.            partitions do not work at this time. 
  131.  
  132.          * CD-ROM filesystem which reads all standard formats of 
  133.            CD-ROMs. 
  134.  
  135.          * TCP/IP networking, including ftp, telnet, NFS, etc. 
  136.  
  137.  
  138.         0.3 Hardware Issues 
  139.  
  140.  
  141.         0.3.1 Minimal configuration 
  142.  
  143.         The following is probably the smallest possible configuration 
  144.         that Linux will work on: 386SX/16, 2 MB RAM, 1.44 MB or 1.2 MB 
  145.         floppy, any supported video card (+ keyboards, monitors, and so 
  146.         on of course). This should allow you to boot and test whether it 
  147.         works at all on the machine, but you won't be able to do 
  148.         anything useful. 
  149.  
  150.         In order to do something, you will want some hard disk space as 
  151.         well, 5 to 10 MB should suffice for a very minimal setup (with 
  152.         only the most important commands and perhaps one or two small 
  153.         applications installed, like, say, a terminal program). This is 
  154.         still very, very limited, and very uncomfortable, as it doesn't 
  155.         leave enough room to do just about anything, unless your 
  156.         applications are quite limited. It's generally not recommended 
  157.         for anything but testing if things work, and of course to be 
  158.         able to brag about small resource requirements. 
  159.  
  160.  
  161.         0.3.2 Usable configuration 
  162.  
  163.         If you are going to run computationally intensive programs, such 
  164.         as gcc, X, and TeX, you will probably want a faster processor 
  165.         than a 386SX/16, but even that should suffice if you are 
  166.         patient. 
  167.  
  168.         In practice, you need at least 4 MB of RAM if you don't use X, 
  169.         and 8 MB if you do. Also, if you want to have several users at a 
  170.         time, or run several large programs (compilations for example) 
  171.         at a time, you may want more than 4 MB of memory. It will still 
  172.         work with a smaller amount of memory (should work even with 2 
  173.         MB), but it will use virtual memory (using the hard drive as 
  174.         slow memory) and that will be so slow as to be unusable. 
  175.  
  176.         The amount of hard disk you need depends on what software you 
  177.         want to install. The normal basic set of Unix utilities, shells, 
  178.         and administrative programs should be comfortable in less than 
  179.         10 MB, with a bit of room to spare for user files. For a more 
  180.         complete system, SLS reports that a full base system without X 
  181.         fits into 45 MB, with X into 70 MB (this is only binaries), and 
  182.         a complete distribution with everything takes 90 MB. MCC 
  183.         provides a much sparser, smaller, and perhaps cleaner 
  184.         installation. Add the whatever space you want to reserve for 
  185.         user files to these totals. With today's prices on hard drives, 
  186.         if you are buying a new system, it makes no sense to buy a drive 
  187.         that is too small. Get at least 200 MB, and you will not regret 
  188.         it. 
  189.  
  190.         Add more memory, more hard disk, a faster processor and other 
  191.         stuff depending on your needs, wishes and budget to go beyond 
  192.         the merely usable. In general, one big difference from DOS is 
  193.         that with Linux, adding memory makes a large difference, whereas 
  194.         with dos, extra memory doesn't make that much difference. This 
  195.         of course has something to do with DOS's 640KB limit. 
  196.  
  197.  
  198.         0.3.3 Supported hardware 
  199.  
  200.         CPU: Anything that runs 386 protected mode programs (all models 
  201.         of 386s and 486s should work; 286s don't work, and never will). 
  202.  
  203.         Architecture: ISA or EISA bus. MCA (mostly true blue PS/2's) 
  204.         does not work. Local bus works. 
  205.  
  206.         RAM: Theoretically up to 1 GB. This has not been tested. Some 
  207.         people (including Linus) have noted that adding ram has slowed 
  208.         down their machine extremely without adding more cache at the 
  209.         same time, so if you add memory and find your machine slower, 
  210.         try adding more cache. 
  211.  
  212.         Data storage: Generic AT drives (IDE, 16 bit HD controllers with 
  213.         MFM or RLL) are supported, as are SCSI hard disks and CD-ROMs, 
  214.         with a supported SCSI adaptor. Generic XT controllers (8 bit 
  215.         controllers with MFM or RLL) are now also supported. Supported 
  216.         SCSI adaptors: Adaptec 1542 (but not 1522), 1740 in extended 
  217.         (not 1542 compatible) mode, Seagate ST-01 and ST-02, Future 
  218.         Domain TMC-88x series (or any board based on the TMC950 chip) 
  219.         and TMC1660/1680, Ultrastor 14F, 24F and 34F, and Western 
  220.         Digital wd7000. SCSI and QIC-02 tapes are also supported. 
  221.         Support for QIC-80 tapes is now in ALPHA testing. 
  222.  
  223.         Video: VGA, EGA, CGA, or Hercules (and compatibles) work in text 
  224.         mode. For graphics and X, there is support for (at least) EGA, 
  225.         normal VGA, some super-VGA cards (most of the cards based on 
  226.         ET3000, ET4000, Paradise, and some Trident chipsets), some S3 
  227.         cards (not Diamond Stealth, because the manufacturer won't tell 
  228.         how to program it), 8514/A, and hercules. (Linux uses the 
  229.         Xfree86 X server, so that determines what cards are supported.) 
  230.  
  231.         Networking: Western Digital 80x3, ne1000, ne2000, 3com503, 
  232.         Allied Telliesis AT1500 (said to be some of the fastest, as well 
  233.         as quite cheap), d-link pocket adaptors, SLIP, CSLIP, PLIP 
  234.         (Parallel Link IP), and more I have forgotten at the moment. 
  235.  
  236.         Other hardware: SoundBlaster, ProAudio Spectrum 16, Gravis 
  237.         Ultrasound, AST Fourport cards (with 4 serial ports), several 
  238.         models of Boca serial boards, the Usenet Serial Card II, several 
  239.         flavours of bus mice (Microsoft, Logitech, PS/2). 
  240.  
  241.  
  242.         0.4 An Incomplete List of Ported Programs and Other Software 
  243.  
  244.  
  245.         Most of the common Unix tools and programs have been ported to 
  246.         Linux, including almost all of the GNU stuff and many X clients 
  247.         from various sources. Actually, ported is often too strong a 
  248.         word, since many programs compile out of the box without 
  249.         modifications, or only small modifications, because Linux tracks 
  250.         POSIX quite closely. Unfortunately, there are not very many 
  251.         end-user applications at this time. Nevertheless, here is an 
  252.         incomplete list of software that is known to work under Linux. 
  253.  
  254.         Basic Unix commands: ls, tr, sed, awk and so on (you name it, 
  255.         we've probably got it). 
  256.  
  257.         Development tools: gcc, gdb, make, bison, flex, perl, rcs, cvs, 
  258.         gprof. 
  259.  
  260.         Graphical environments: X11R5 (Xfree86), MGR. 
  261.  
  262.         Editors: GNU Emacs, Lucid Emacs, MicroEmacs, jove, epoch, elvis, 
  263.         joe, pico, jed. 
  264.  
  265.         Shells: Bash (Posix sh-compatible), zsh (include ksh 
  266.         compatiblity mode), pdksh, tcsh, csh, rc, ash (mostly 
  267.         sh-compatible), and many more. 
  268.  
  269.         Telecommunication: Taylor (BNU-compatible) UUCP, kermit, szrz, 
  270.         minicom, pcomm, xcomm, term/slap (runs multiple shells over one 
  271.         modem line), and Seyon. 
  272.  
  273.         News and mail: C-news, trn, nn, tin, smail, elm, mh. 
  274.  
  275.         Textprocessing: TeX, groff, doc. 
  276.  
  277.         Games: Nethack, several Muds and X games. 
  278.  
  279.         All of these programs (and this isn't even a hundredth of what 
  280.         is available) are freely available. 
  281.  
  282.  
  283.         0.5 Getting Linux 
  284.  
  285.  
  286.  
  287.         0.5.4 Anonymous FTP 
  288.  
  289.         New information: Matt Welsh has written a 150 page guide on 
  290.         getting, installing, and setting up Linux. It is available from 
  291.         tsx-11.mit.edu:/pub/linux/docs/LDP/install*, and is available as 
  292.         LaTeX source as well as DVI, PostScript, and text files. It is 
  293.         also sold by some people in hard copy, and may be published as a 
  294.         book soon. Stay tuned to comp.os.linux.announce. 
  295.  
  296.         At least the following anonymous ftp sites carry Linux. 
  297.  
  298.  
  299.          Textual name                   Numeric address  Linux directory
  300.          =============================  ===============  ===============
  301.          tsx-11.mit.edu                 18.172.1.2       /pub/linux
  302.          sunsite.unc.edu                152.2.22.81      /pub/Linux
  303.          nic.funet.fi                   128.214.6.100    /pub/OS/Linux
  304.          ftp.mcc.ac.uk                  130.88.203.12    /pub/linux
  305.          src.doc.ic.ac.uk               146.169.2.1      /packages/linux
  306.          fgb1.fgb.mw.tu-muenchen.de     129.187.200.1    /pub/linux
  307.          ftp.informatik.tu-muenchen.de  131.159.0.110    /pub/Linux
  308.          ftp.dfv.rwth-aachen.de         137.226.4.105    /pub/linux
  309.          ftp.informatik.rwth-aachen.de  137.226.112.172  /pub/Linux
  310.          ftp.ibp.fr                     132.227.60.2     /pub/linux
  311.          kirk.Bond.oz.au                131.244.1.1      /pub/OS/Linux
  312.          ftp.uu.net                     137.39.1.9       /systems/unix/linux
  313.          wuarchive.wustl.edu            128.252.135.4    mirrors/linux
  314.          ftp.win.tue.nl                 131.155.70.100   /pub/linux
  315.          ftp.stack.urc.tue.nl           131.155.2.71     /pub/linux
  316.          srawgw.sra.co.jp                                /Linux
  317.          ftp.ibr.cs.tu-bs.de            134.169.34.15    /pub/os/linux
  318.          cair.kaist.ac.kr                                /pub/Linux
  319.          ftp.denet.dk                   129.142.6.74     /pub/OS/linux
  320.  
  321.  
  322.  
  323.         tsx-11.mit.edu and fgb1.fgb.mw.tu-muenchen.de are the official 
  324.         sites for Linux' GCC. Some sites mirror other sites. Please use 
  325.         the site closest (network-wise) to you whenever possible. 
  326.  
  327.  
  328.         0.5.5 Other methods of obtaining Linux 
  329.  
  330.         There are many BBS's that have Linux files. A list of them is 
  331.         maintained by Zane Healy; he posts it to the comp.os.linux 
  332.         newsgroup around the beginning and middle of the month, please 
  333.         see that post for more information. comp.os.linux is echoed on 
  334.         the LINUX echoid on fidonet. This list is available as 
  335.         tsx-11.mit.edu:/pub/linux/docs/bbs.list, and is mirrored on fine 
  336.         mirrors everywhere. 
  337.  
  338.         There is also at least one organization that distributes Linux 
  339.         on floppies, for a fee. Contact 
  340.  
  341.                Softlanding Software
  342.                910 Lodge Ave.
  343.                Victoria, B.C., Canada
  344.                V8X-3A8
  345.                +1 604 360 0188
  346.                FAX: 604 385 1292
  347.  
  348.         for information on purchasing. There is also an organization 
  349.         which sells Linux on CD-ROM --- contact 
  350.  
  351.                Yggdrasil Computing, Incorporated
  352.                CDROM sales
  353.                PO Box 8418
  354.                Berkeley, California 94707--8418
  355.                510--526--7531
  356.  
  357.         for information on purchasing the CD-ROM. Also, don't forget 
  358.         about friends and user's groups, who are usually glad to let you 
  359.         make a copy. 
  360.  
  361.  
  362.         0.5.6 Getting started 
  363.  
  364.         As mentioned at the beginning, Linux is not centrally 
  365.         administered. Because of this, there is no ``official'' release 
  366.         that one could point at, and say ``That's Linux.'' Instead, 
  367.         there are various ``distributions,'' which are more or less 
  368.         complete collections of software configured and packaged so that 
  369.         they can be used to install a Linux system. The most important 
  370.         one is currently the SLS release. 
  371.  
  372.         SLS is put together by Peter MacDonald, and is the more 
  373.         full-featured one. It contains much of the available software, 
  374.         and includes X. I really recommend SLS to anyone who's serious 
  375.         about getting started with Linux. 
  376.  
  377.         The first thing you should do is to get and read the list of 
  378.         Frequently Asked Questions (FAQ) from one of the FTP sites, or 
  379.         by using the normal Usenet FAQ archives (e.g. rtfm.mit.edu). 
  380.         This document has plenty of instructions on what to do to get 
  381.         started, what files you need, and how to solve most of the 
  382.         common problems (during installation or otherwise). 
  383.  
  384.  
  385.         0.6 Legal Status of Linux 
  386.  
  387.  
  388.         Although Linux is supplied with the complete source code, it is 
  389.         copyrighted software, not public domain. However, it is 
  390.         available for free under the GNU Public License. See the GPL for 
  391.         more information. The programs that run under Linux each have 
  392.         their own copyright, although many of them use the GPL as well. 
  393.         X uses the MIT X copyright, and some utilities are under the BSD 
  394.         copyright. In any case, all of the software on the FTP site is 
  395.         freely distributable (or else it shouldn't be there). 
  396.  
  397.  
  398.         0.7 News About Linux 
  399.  
  400.  
  401.         There are several Usenet newsgroups for Linux discussion, and 
  402.         also several mailing lists. See the Linux FAQ for more 
  403.         information about the mailing lists (you should be able to find 
  404.         the FAQ either in the newsgroup or on the FTP sites). 
  405.  
  406.         The newsgroup comp.os.linux.announce is a moderated newsgroup 
  407.         for announcements about Linux (new programs, bug fixes, etc). 
  408.  
  409.         The newsgroup comp.os.linux.admin is an unmoderated newsgroup 
  410.         for discussion of administration of Linux systems. 
  411.  
  412.         The newsgroup comp.os.linux.development is an unmoderated 
  413.         newsgroup specifically for discussion of Linux kernel 
  414.         development. The only application development questions that 
  415.         should be discussed here are those that are intimately 
  416.         associated with the kernel. 
  417.  
  418.         The newsgroup comp.os.linux.help is an unmoderated newsgroup for 
  419.         any Linux questions that don't belong anywhere else. 
  420.  
  421.         The newsgroup comp.os.linux.misc is the replacement for 
  422.         comp.os.linux, and is meant for any discussion that doesn't 
  423.         belong elsewhere. 
  424.  
  425.         In general, do not crosspost between the Linux newsgroups. The 
  426.         only crossposting that is appropriate is an occasional posting 
  427.         between one unmoderated group and comp.os.linux.announce. The 
  428.         whole point of splitting comp.os.linux into many groups is to 
  429.         reduce traffic in each. Those that do not follow this rule will 
  430.         be flamed without mercy... 
  431.  
  432.         For the current status of the Linux kernel and a summary of the 
  433.         most recent versions, finger torvalds@kruuna.helsinki.fi 
  434.  
  435.         There is also an occasional ``newsletter,'' Linux News, which 
  436.         summarizes the most important announcements and uploads, and has 
  437.         occasional other articles as well. Look in 
  438.         comp.os.linux.announce for a sample issue. 
  439.  
  440.  
  441.         0.8 Future Plans 
  442.  
  443.  
  444.         Work is underway on Linux version 1.0, which will close some of 
  445.         the gaps in the present implementation. Documentation is also 
  446.         sorely missing, but is being worked on by those on the ``Linux 
  447.         Documentation Project'' (the DOC channel of the 
  448.         linux-activists@niksula.hut.fi mailing list). 
  449.  
  450.  
  451.         0.9 This document 
  452.  
  453.  
  454.         This document is maintained by Michael K. Johnson, 
  455.         johnsonm@Sunsite.unc.edu. Please mail me with any comments, no 
  456.         matter how small. I can't do a good job of maintaining this 
  457.         document without your help. A more-or-less current copy of this 
  458.         document can always be found as 
  459.         tsx-11.mit.edu:/pub/linux/docs/INFO-SHEET, and a DVI version can 
  460.         be found as INFO-SHEET.dvi, in the same directory. 
  461.  
  462.  
  463.         0.10 Legalese 
  464.  
  465.  
  466.         Trademarks are owned by their owners. There is no warranty about 
  467.         the information in this document. Use and distribute at your own 
  468.         risk. The content of this document is in the public domain, but 
  469.         please be polite and attribute any quotes. 
  470.