WebMO Home Page
Features
Pro Features
Enterprise Features
Compare Features
System Requirements
Screen Shots
Working Demo
Support & Tutorials
Support Forum
Testimonials
Revision History
Mailing List
Educational Resources
Workshops
License Info
Pricing
Buy WebMO Pro/Ent
Obtain Free License
Download
|
|
|
Recent news
WebMO 19.0 is now available for free download!
WebMO 19.0 Pro and Enterprise have a variety of additional features and is available for
purchase.
The WebMO app is now available for iOS and Android.
|
February 20, 2019
|
|
Installation of RedHat Linux 6.2
|
These instructions can be used to install and configure RedHat Linux 6.2 on a typical PC. They may need to be tweaked slightly,
depending on the exact configuration of your PC.
- Install Linux
- Turn on computer and quickly insert disk 1 of RedHat Linux Professional 6.2
- If system fails to boot Linux, insert boot disk into floppy drive and restart
- At the boot prompt, press the 'Enter' key
- Make the following selections:
- Language Selection: English
- Keyboard Configuration:
- Model: Generic 101-key PC
- Layout: U.S. English w/ ISO9995-3
- Dead Keys: Disable dead keys
- Mouse configuration:
- Microsoft: IntelliMouse (PS/2)
- Uncheck 'Emulate 3 Buttons'
- Welcome to Red Hat Linux, click next
- Install options:
- Install: Custom
- Check 'use fdisk' only if you want full control over the partition layout
Note: Only 4 primary partitions are allowed. One of these may be an extended partition, which can contain up to 12 logical partitions. Some older BIOS limitations require that the Linux /boot directory be contained in its own partition which does not extend beyond cylinder 1024. DOS/Windows requires a primary partition from which to boot, and additional drives must be logical partitions.
- Add the following partitions (sizes suggested):
- /boot 32MB
- swap 1024MB
- / 3072MB
- /usr 5120MB
- /home 8192MB
- /var 2048MB
- /scratch 1MB and Click 'grow to fill disk'
- Choose partitions to format: accept defaults
- Lilo configuration
- Lilo configuration: verify that 'Create boot disk' is checked
- Install Lilo Boot Record On: /dev/hda Master Boot Record
- Network Configuration
- Uncheck 'Configure using DHCP'
- Make the following settings: (talk to you network adminstrator for correct values)
- IP address: <ip_address>
- Netmask: <subnet_mask>
- Network: xxx.xxx.xxx.xxx (Fills in automatically)
- Broadcast: xxx.xxx.xxx.xxx (Fills in automatically)
- Hostname: <hostname>
- Gateway: <gateway>
- Primary DNS: <dns_server>
- Secondary DNS: <dns_server>
- Time Zone Selection:
- America/Detroit
- Leave 'System Clock uses UTC' unchecked for Linux/Windows dual boot systems
- Account Configuration:
- Set Root Password
- Add user accounts
- Authentication Configuration (accept defaults)
- Selecting Package Groups:
- Printer Support
- X Window System
- Gnome
- KDE
- mail/WWW/news/tools
- Graphics Manipulation
- Multimedia Support
- Networked Workstation
- SMB (Samba) Server
- Anonymous FTP Server
- Web Server
- Authoring/Publishing
- Emacs
- Development
- Utilities
- X Configuration
- Generic: Generic MultiSync
- Adjust sink rates as follows
- Horizontal sink: 30-64 kHz
- Vertical sink: 50-75 Hz
- Video Hardware: (Pick appropriate video card)
- Check Customize X Configuration
- Click next
- Choose 1024 by 768 @ 16 bits per pixel
- Click 'Test this configuration'
NOTE: (Control + Alt + Backspace) exits X immediately
- Click 'Next'
- About to Install. Click Next, and wait a very long time. A log will be written to /tmp/install.log
- Congratuilations, Linux has been installed. Click exit
- Insert floppy and make boot disk
- Remove floppy and press Enter to reboot
- Verfify the date and time
- Login as root and type "date"
- Adjust the date and time if necessary with
# date mmddhhmmyyyy
- Write the new date and time to the system's CMOS clock with
# clock -w
- Verify Linux has correctly detected all of your machine's RAM
- Login and type "free"; verify that your machine's amount of RAM is correctly reported
- If Linux reports less RAM than is installed your system, following instructions
- Customize Linux
- Setup networking correctly. Login and startx to start windows, open a terminal, su to root,
- Run linuxconf, navigate to Config: Networking: Client tasks: Basic host
information.
- On hostname tab, set hostname to <hostname>.
- On adapter 1 tab, set primary name plus domain to <hostname.domain>.
- Click accept. Click 'Act/Changes'. Click 'Activate the changes'. Quit
- Reactivate changes if necessary, then quit.
- Test network connectivity by browsing and telnetting to server.
- Create useful mount points
# mkdir /mnt/zip
# mount -t vfat /dev/hdd4 /mnt/zip
# ls -alF /mnt/zip
# umount /mnt/zip
If the following line is added to /etc/fstab
|
/dev/hdd4 /mnt/zip vfat noauto,owner 0 0
|
then the mount command can be simplified to
- Scratch directory
# cd /scratch
# rm -r lost+found
# chmod 777 /scratch
# chmod +t /scratch
- Configure tcp_wrappers
# vi /etc/hosts.deny
Add the line,
# vi /etc/hosts.allow
Add the line,
|
ALL: <network>/<subnet_mask>
|
where <network> can be determined from
|
% ipcalc --network <ip_address> <subnet_mask>
|
- Change to a graphical login
# vi /etc/inittab
Change the line
to
- Install additional packages from Red Hat CD's
- f2c
Obtain f2c-19991109-2.i386.rpm from Linux Power Tools Applications CD-ROM, /redhat/i386. Insert CD-ROM.
# mount /mnt/cdrom
# cd /mnt/cdrom/i386
# rpm -Uhv f2c-19991109-2.i386.rpm
# umount /mnt/cdrom
- g77
Obtain egcs-g77-1.1.2-30.i386.rpm from Linux installation CD-ROM disk 1, /RedHat/RPMS. Insert CD-ROM.
# mount /mnt/cdrom
# cd /mnt/cdrom/RedHat/RPMS
# rpm -Uhv egcs-g77-1.1.2-30.i386.rpm
# umount /mnt/cdrom
- Install update packages from RedHat
- Option 1: Manually download selected updates and install them
Visit Red Hat website and determine which RPMS need to be updated:
http://www.redhat.com/support/errata/index.html
The bare minimum update must include the following packages (or more recent versions):
wu-ftpd-2.6.0-14.6x.i386.rpm
nfs-utils-0.1.9.1-1.i386.rpm
Earlier versions of the above packages have well-known and widely available remote root access security holes. This list is not guaranteed to be complete, as additional root access security holes may have been uncovered since the time this document was written.
Create a directory for package updates:
# mkdir /home/download/RPMS
Download appropriate RPMS into the above directory. You can check to see whether a package is installed by using the following command:
# rpm -qa | grep package
Install the updates using the following command:
# rpm -Fvh [filename(s)]
- Option 2: Purchase Official Red Hat CD-ROM and automatically install updates
# mount /mnt/cdrom
# cd /mnt/cdrom
# ./install-updates
Answer 'y' to all prompts
If the update fails during the dependency check due to krb5-configs, then this package must be installed manually with
# rpm -ivh 6.2/krb5-configs*
and ./install-updates must be run again
After the update is complete, restart your computer with
# shutdown -r now
Note that the root file system fails to unmount during shutdown and is therefore automatically checked upon restart; several inodes have zero dtime and are deleted
A log of the update may be found in /tmp/update.log, and any error messages or warnings may be found in /tmp/update.err
- Configure Samba
# /sbin/chkconfig smb on
# cd /etc
# cp -p smb.conf smb.conf.000
# vi smb.conf, make the following changes
|
[global] section
Set (uncomment if necessary)
workgroup = <workgroup>
server string = <hostname>
Comment out
; printcap name = /etc/printcap
; load printers = yes
Set (uncomment if necessary)
guest account = nobody
Add
browseable = yes
Set (uncomment if necessary)
security = share
Comment out
; log file = /var/log/samba/log.%m
Set (uncomment if necessary)
max log size = 50
local master = no
os level = 0
domain master = no
preferred master = no
wins support = no
wins server =
preserve case = yes
short preserve case = yes
|
Restart Samba web server
# /etc/rc.d/init.d/smb restart
- Configure Apache
# cd /etc/httpd/conf
# cp -p httpd.conf httpd.conf.000
# vi httpd.conf, make the following changes
|
Uncomment the section
<Directory /home/*/public_html>
....
</Directory>
Uncomment the line
AddHandler cgi-script .cgi
Add the lines
<Directory /home/*/public_html/cgi-bin>
Options ExecCGI
SetHandler cgi-script
</Directory>
To disable directory browsing (Recommended)
Search for and delete any instances of "Indexes" within "Options" statement. For example, change
Options Indexes Includes FollowSymLinks
to
Options Includes FollowSymLinks
|
Important note: The users home directory must be set to mode 755 in order to access it through the web browser. Accounts created during setup are 700 (?), and are not accessible. To fix this, become root and do a chmod 755 on all /home/user directories.
Restart Apache web server
# /etc/rc.d/init.d/httpd restart
Some administrators choose to install cgiwrap so that all cgi cripts run as the user in
whose directory they are installed, instead of 'nobody'. If desired, cgiwrap can be
installed using the following instructions.
Copyright © 2000, WebMO, LLC, all rights reserved.
|