REDHAT AND JDS (JAVA DESKTOP SYSTEM)




[01]. HOW TO CONFIGURE LILO

boot = /dev/hda

map = /boot/map

install = /boot/boot.b

prompt

time out =100

lba 32

other = /dev/hda1

label = windows




[02]. HOW TO INSTALL LILO

cd /etc

cp lilo.conf lilo.conf.save

cd /usr/src

tar xvf /dev/fd0

tar xvfz lilo*.tar.gz

cd lilo*

./QuickInst

(yes all)

Device Name: /dev/hda

(test lilo)

cp /etc/lilo.conf.save /etc/lilo.conf




[03]. CHECK HOME SERVER

/etc/nsswitch.conf




[04]. AUTO NFS MOUNT

vi /etc/fstab

vi /etc/exports

/export (rw)

/etc/init.d/nfs start




[05]. HOW TO INSTALL APACHE

rpm -Uvh latest-apache.rpm

/etc/httpd

/usr/local/httpd

./configure

/usr/local/apache

make

make install




[06]. MAKE BOOK DISK

/dosutils

rawrite.exe

/images/boot.img

A




[07]. HOW TO CHANGE RUNLEVE

/etc/inittab




[08]. HOW TO SHARE WITH WINDOWS FAT32 OR NTFS

/etc/fstab

/dev/hda1 /export/windows vfat default 1 1




[09.] HOW TO CHANGE NIS DOMAIN

/etc/yp.conf




[10]. HOW TO SET PATH

path = “usr/java/bin:${PATH}”

export PATH




[11]. HOW CONFIGURE XCONFIGURE

xconfigurator

xf86config

xf86cfg




[12]. SET ENV DISPLAY

setenv DISPLAY domino:0.0

/usr/openwin/bin/xhost +




[13]. HOW TO TURN ON FTP

/etc/init.d/wu-ftp




[14]. HOW TO MAKE SWAP

fdisk /dev/sda

p

t

2

82

w

mkswap /dev/sda2




[15]. RPM PACKAGE

rpm -ivh (install)

rpm -Uvh (update)

rpm -ev (uninstall)




[16]. HOW TO TURN OFF FTP

./vsftpd stop




[17]. HOW TO GET AUTO SET MAP FOR RAINIER

ypcat -k auto_set.rainier

/var/lib/nfs

/usr/sbin/showmount -a




[18]. HOW TO XF86CONFIG

Xfree86 -configure

/etc/X11/XF86Config




[19]. SUSE LINUX BOOT LODER

/boot/grub/memu.1st




[20]. MADHATTER LINUX

yast2 install autofs type 4

/etc/nsswitch.conf

vi /etc/auto.net (insert key=”$1.sfbay.sun.com”

modules.conf -> insert

(alias autofs autofs4)




[21]. NAGIOS GROUP

/space/cfg/nagios/other




[22]. UP DOWN NETWORK

ifup eth0

ifdown eth0

vi /etc/sysconfig/ifcfg-eth0




[23]. SET CRON JOB

/var/spool/cron

cron.daily

/etc/crontab




[24]. LINUX LILO

image=/boot/umlinuz-2.4.20-6

label=linux

initrd=/boot/initrd-2.4.20-6.img

read-only

append=”hdc=ide-scsi root=label=/”




[25]. SUSE LINUX BOOT

kernel )hd0,3) /boot/vmlinuz

root=/dev/hda4 hdc=ide-scsi

vga=794

initrd (hd0,3) /boot/initrd

title windows

root (hd0,0)

makeactive

chainloader +1

title Linux Other

root (hd0,1)

makeactive

chainloader +1




[26]. SUSE LINUX CHANGE BOOT TYPE

vi /etc/sysconf/displaymanager

change xdm -> gdm




[27]. HOW TO MAKE PARTITION

- mkfs /dev/hdb2

primary partition

mk /export

mount /export




[28]. SUSE LINUX TYPE OF AUTOMOUNT

/usr/sbin/showmount -a

umount -f

/var/lib/nfs/



[29]. MOZILLA JAVA PLUGIN

On Linux, Mozilla requires JRE 1.4.2 or later

Open a terminal

Change to your Mozilla (or Mozilla Firebird) plugins directory

Issue the following command: ln -s /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so




[30]. JDS SAMBA

/etc/samba/smb.conf




[31]. JDS APACHE

/usr/local/apache2/conf/httpd.conf