Archive for May, 2009

Enabling SSL under Red Hat Enterprise Linux

Friday, May 29th, 2009

Create the keys – replace the O, OU & URL with your own data.  These are locally signed keys:
# openssl req -new -x509 -sha1 -newkey rsa:1024 \
> -nodes -keyout test.key -out test.crt \
> -subj ‘/O=NP/OU=Support/CN=www.example.com’
Generating a 1024 bit RSA private key
…………………………………….++++++
……………………….++++++
writing new private key to ‘test.key’
—–
Put the keys in their respective folders:
# ls -lrt
total 912
-rw-r–r– [...]

How to format a USB stick on Fedora Core 10 Linux

Friday, May 29th, 2009

Formatting a 16GB (Cruzer micro 16) USB Stick on Fedora 10.
Power up your Fedora machine and login then stick in USB stick.
Fedora 10 mounts USB device automatically.
Find the USB drives system name and mount point:
$ mount
~
/dev/sdb1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=500)
Unmount USB disk:
$ umount /media/disk
Found that fdisk /dev/sdb1 didn’t work as a normal user so [...]