Setting up a Linux System from Scratch

1. Install the O/S from CDs

- DHCP = NO

IP 209.85.16.222 (Server) (218-222)
Mask 255.255.255.0
Gateway 209.85.16.217
Hostname: tourbean.com
DNS 206.149.144.2
206.149.144.3

Firewall: None

Users:
don
ann
other

Monitor: True color 1024 x 768

Create and save boot disk.

/tmp/install.log Shows what was installed.

Install Done

Fix the partitioning.
Do not boot the new system, fix the wierd partitioning first:
1. Reboot RH Install 1
2. ...->Install
3. Manually partition empty disk space w/fdisk
hda: new/extended/first/max/write
hdc: new/primary/#2/first/max/write
Set up the System:
Sign on as root

Format the new partitions:
mke2fs /dev/hdc2
mke2fs /dev/hda6

Panel size -> 24
Gnome Configuration (toolbox icon) -> Mouse -> Left

Create directory /mnt/hdc and /mnt/hda
mount /dev/hdc2 /mnt/hdc
mount /dev/hda6 /mnt/hda

use df to see the disk space, mount to see the mounts

Note: There are two disks: HDA and HDC (the secondary disk).

Set up for downloads by creating /root/download/ linux and java

Install and test the printer:

Program -> System -> Printer Configuration
Queue Name: HP5
Queue Type: Local
Printer Driver: HP5L (lj5gray)
Save, Restart, Print Test Page

Install and test Netscape:

(netscape 6 doesn't work with RH 7.1 yet)

Install and test Samba:

Download Samba.
tar -zxvf Sambaxxx.tar.gz
cd samba2.xx.xx/source
./configure --with-smbmount
make
make install

cd /usr/local/samba
edit (/etc/samba/smb.conf is the config file)
workgroup=DBSERVER

run testparm
(create directory /var/lock/samba)
link /usr/local/samba/lib/smb.conf to conf file

(in source dir, test samba:)
./smbd -D
./nmbd -D

Add the Samba startup script to init.d

MySQL setup:

The setup is fairly easy. Make sure you get the grants correct and create the databases.

Java setup:
Install in: /usr/local/java/jdk
(must be 1.3.1 or later)
Link /usr/local/bin/java, javac, jar
Install docs
Install J2SDKEE
Install J2DSKEE Docs

Tomcat setup:
Unzip
Create script to execute tomcat w/TOMCAT_HOME
and in the tomcat script include my classpaths first (not last as it is now).

Cocoon setup:
Move cocoon/lib to tomcat/lib
Follow the rest of the directions

Download:
StarOffice 5.2 www.sun.com
Java2 SDK 1.3 www.javasoft.com
Java2 SDK 1.3 Documentation
Java2 SKDEE 1.3 Beta
J2EE Documentation
Samba www.samba.org
MySQL www.mysql.com
mm.msql.jdbc 2.0 (java driver for mysql)

Install the following:
- Mozilla
- Java + Docs (link plug to mozilla plug-in directory)
- Java Web Start
- StarOffice + Adabas
- Netbeans
- MySQL jar (mm.mysql)
- Tomcat
- Cocoon
- Oreilly
- J2SDKEE + Docs
- ant
- log4j
- junit
- Jedit
- JExplorer
- javacomm
- winnie
- bbtools
- xalan, xerces (apache), jaxp (javasoft)

Create links (scripts in /usr/local/bin)
jar
java
javac
javaws *
web -> mozilla *
soffice *
runide *
tomcat
jedit (auto on install) *
jexplorer *
ant

* Add these to the desktop.

Add the plug-ins to netscape:
Shockwave (application/x-shockwave-flash)
realplayer (audio/x-pn-realaudio)
adobe acrobat (application/pdf)
java web start (application/x-java-jnlp-file)