My Linux How To
these are what I like to use..
1st I suggest for newbies like me "BE VERY CAREFULL!! when you have to be in root directory"
Mounting a USB Hard Drive or Jump Drive
Log in as "root"
at the command prompt type "dmesg" - to find out what the hardware is listed as sdx1 (CD, Jump, ext. HD)
(you need to fid out what x is.
mount dev/sdx1 (directory name of you choice I use) usb_hd
cd directory
ls
To auto mount a Jump Drive (using "jump" as directory)...
or a camera compactflash (I use "camera" as directory)
Log in as "root"
In a command shell
Type: dmesg (find out what the x is in sdx1)
# cat /var/log/messages
Dec 27 19:19:54 Apollo kernel: Vendor: LEXAR Model: JUMPDRIVE Rev: 1.20
Dec 27 19:19:54 Apollo kernel: Type: Direct-Access ANSI SCSI revision: 02
Dec 27 19:19:54 Apollo kernel: USB Mass Storage support registered.
Dec 27 19:19:55 Apollo devlabel: devlabel service started/restarted
Dec 27 19:20:32 Apollo kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Dec 27 19:20:32 Apollo kernel: SCSI device sda: 251904 512-byte hdwr sectors (129 MB)
Dec 27 19:20:32 Apollo kernel: sda: Write Protect is of
f
Dec 27 19:20:32 Apollo kernel: sda: sda1
Type: devlabel add -d /dev/sdx1 -s /dev/jump --automount (use Jump value for "x" which in my case x=a)
Start emacs and load file: /etc/auto.master
Type: /etc/auto.misc --timeout=4
save file
Load in emacs the file: /etc/automisc
Type: jump -fstype=vfat :/dev/jump
save file
Load in emacs the file: /etc/bashrc
Type: usb='sudo /sbin/devlabel reload'
save file
In command shell
Type: chown (your login name) /mnt
Type: cd/home/(your login name)
Type: ln -s /mnt/jump jump
Type: chown /home/(your login name)/jump
Type: devlabel reload
Type: /etc/init.d/autofs start
Type: /usr/sbin/visudo
press: "esc" key
press: "i" (for insert)
use "down arrow" key to get to a blank line and Type:
(your login name) ALL=(ALL) NOPASSWD: /sbin/devlabel
(your login name) ALL=(ALL) NOPASSWD: /bin/dmesg
(your login name) ALL=(ALL) NOPASSWD: /bin/mount
(your login name) ALL=(ALL) NOPASSWD: /binumount
press: "esc" key
Type: "ZZ" (These are capital Z's)
reboot and go to (your login name) home and look for directory called jump and click on it..If something is there yeepee you did it.
If nothing shows up in your home directory under jump, don't panic!
In a command shell Type: usb (you may have to do this a couple of times)
look for a line that says:
SYMLINK: /dev/jump -> /dev/sdx1 (this means jump drive is now mounted)
Want to add a MP3 player? get XMMS
Get: xmms-mp3-1.2.10-2.2.p.1.fc2.fr.i386.rpm (or latest version)
Run: rpm -ivh xmms-mp3-1.2.10-2.2.p.1.fc2.fr.i386.rpm (or latest version you just got)
Run xmms:
Options > Preferences > Audio I/O Plugins
MPEG Layer 1/2/3 Placeholder Plugin [lib_rhmp3.so]
--> Uncheck [ ] Enable Plugin
Apply
If you want the XMMS status plugin for Gnome, go here:
New RPMS
Get: xmms-status-plugin-1.0-2.rhfc2.nr.i386.rpm
Restart xmms
Options > Preferences > General Plugins
Status Docklet Plugin 1.0 [libstatusdocklet.so]
--> Check [ ] Enable Plugin
Apply
to add music hit - PL - ADD - find directory of music - select songs - add to play list
How about JAVA to view some web content?
Go to Sun
Choose:
J2SE v 1.4.2_06 JRE
includes the JVM technology
The J2SE Java Runtime Environment (JRE) allows end-users
to run Java applications. More info...
Download J2SE JRE
Java(TM) 2 Runtime Environment, Standard Edition 1.4.2_06
Choose: RPM in self-extracting file (j2re-1_4_2_06-linux-i586-rpm.bin, 12.95 MB)
run:
sh j2re-1_4_2_06-linux-i586-rpm.bin
rpm -ivh j2re-1_4_2_06-linux-i586.rpm
ln -s /usr/java/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
To test it click here and follow instructions you may see a kitty walk by
Real Player
Download RealPlayer 10.0 GOLD: Real
Select: "Download RPM Package"
NOTE: You may have a previous version of RealPlayer installed if you do, note the difference below.
As ROOT, check to see if you have an OLDER RealPlayer:
rpm -q RealPlayer
RealPlayer-8.0-1
Uninstall OLDER RealPlayer -AND- the Mozilla Plugins if installed:
Install RealPlayer 10 GOLD:
rpm -ivh RealPlayer10GOLD.rpm
Like to Chat? How about getting
Yahoo! Messenger
go to Yahoo! Messenger
click on RedHat 9 (or latest version)
and get "rh9.ymessenger-1.0.4-1.i386.rpm" (or latest version)
from root: rpm -ivh rh9.ymessenger-1.0.4-1.i386.rpm (or whatever rpm you downloaded)
Run from command prompt: /usr/bin/ymessenger (to launch the application to set up Yahoo Messenger).
This page last updated 1/12/2005