Factors of an integer are numbers by which the integer is divisible without a remainder. For example, the factors for 6 are: 1, 2, 3, and 6.
R
An programming language / environment for advanced statistical computing. Type "quit()" to exit.
gnuplot
Utility for creating graphs and plots. Very good for non-interactive (batch) work, but not very simple for interactive use. A good introduction to gnuplot can be found at
http://www.duke.edu/~hpgavin/gnuplot.html.
7.4 Miscellaneous
How do I run an MS Windows Application (using "wine")?
You don’t want to install Linux to run MS Windows applications. Still, the Linux-based "wine" library lets me execute some MS Windows binaries, although with a rather severe speed penalty.
On my system (Wine installed), I can execute MS Solitaire by typing in the X-windows terminal: wine /mnt/dos_hda1/windows/sol.exe
194
The /mnt/dos_hda1 is the mount point of the harddrive partition that contains MS Windows, and it is mounted.
If you don’t have wine installed, put your Mandrake cd into the cdrom, mount it, and then do something like this (as root):
cd /mnt/cdrom/Mandrake/RPMS/
rpm -ihv wine-991212-1mdk.i586.rpm
Madrake’s packages are RedHat compatibile so you can use Mandrake CD to install software that RedHat lacks.
Can I have a RAID if my computer has two or more IDE (or other)
harddrives?
RAID = "redundant array of inexpensive drives". RAID can be used for a "on-the-fly" mirroring of one drive to another so as to protect your data and keep your system functioning in case of a disk failure. Linux comes with a set of RAID tools that let you custom-design a RAID system to suit your particular needs.The pieces of RAID on Linux are:
mkraid - initializes/upgrades RAID device arrays
raid0run - starts up old (superblock-less) RAID0/LINEAR arrays
raidstart - command set to manage md devices
raidstop - command set to manage md devices
raidtab - configuration file for md (RAID) devices
RAID operates by joining two or more disks into a single logical device. There are several layers of RAID:
RAID 0 layer ("striping") just joins two or more disks into a single logical device, without giving any redundancy. It is often used to join RAID 1 or RAID 5 layers. RAID 0 + RAID 1 is called RAID 10.
RAID 0 + RAID 5 is called RAID 50.
RAID 1 (mirroring) combines two disks, each containing the same data.
RAID 4 combines three or more disks, with one of the disks dedicated to parity. If any disk fails, the whole logincal device remains available, but with degraded performance. It is not used very often because of the performance.
RAID 5 combines three or more disks, with parity distributed accross the disks. Functionality similar to RAID 4 but apparently better performance.
Try http://www.osfaq.com/vol1/linux_softraid.htm if you would like set up a raid on your computer.
Network traffic shaping using shapecfg
Nice info can be found at: http://oreilly.linux.com/pub/a/linux/2000/08/24/LinuxAdmin.html
Unlikely I will really ever need trafic shaping on my home network, yet it makes an interesting exercise for the curious.
195
Go to Appendix: How to Upgrade the Kernel
Back to Main Menu
196
LINUXNEWBIEADMINISTRATORGUIDE
ver. 0.146 2001-06-24 by Stan, Peter and Marie Klimas
The latest version of this guide is available at http://sunsite.dk/linux-newbie.
Copyright (c) <1999,2000,2001> by Peter and Stan Klimas. Your feedback, comments, corrections, and improvements are appreciated. Send them to linux_nag@canada.com This material may be distributed only subject to the terms and
conditions set forth in the Open Publication License, v1.0, 8 or later http://opencontent.org/openpub/ with the modification
noted in lnag_licence.html.
Quick navigation:
Appendix.
Kernel Upgrade - version 1.1.1
October 11th 1999
All contents of this page were written by Alesh Mustar.
Distributed under the General Public Licence http://www.gnu.org/copyleft/gpl.html. Your feedback,
comments, corrections, and improvements are appreciated. Comment specific to this page: alesh@jpdesign.net
Contents:
A.1 Introduction [p 197]
A.2 What is kernel? [p 198]
A.3 Why upgrade? [p 198]
A.4 Where can I get the new kernel? [p 198]
A.5 Should I download full source or the patch only? [p 203]
A.6 Unpacking the download file [p 203]
A.6.1 Unpacking the patch [p 203]