Blogs

Mount and read from NTFS partitions on Linux -- Fedora Core 5

  1. Download the specific kernel module rpm from linux-ntfs.org .
  2. You can check the currently installed kernel version using `uname -rm` .
  3. Install via:
    # rpm -ivh kernel-module-ntfs-*.rpm
    
  4. Check the partitions to be mounted:
    # fdisk -l | grep NTFS
    

    Note: If using a dual boot, then windows is normally installed in the first partition, "/dev/hda1".

  5. The listed NTFS partition can be mountable after a restart via:
    # mount -r -o umask=0222 -t ntfs /dev/hda1 /mnt/ntfs
    
  6. For automated mounts during startup, add the below line in "/etc/fstab" .
    /dev/hda1   /mnt/ntfs     ntfs    ro,defaults,umask=0222 0 0
    

eBox Installation and Configuration

eBox management tool will effectively and easily help you managing the advanced services for your corporate network.

eBox is a framework for the development and deployment of network services in small and medium-sized networks, offering a simplified graphical interface to non expert users. It can be set up as a gateway, having some extra features over a usual router.

Read Full article here

Make free calls with Linux and Skype

Skype currently offers free calls within the US and Canada. I was able to seemlessly install and use it on Fedora Core 5 using the dynamic binary which requires Qt3.2 or greater.

Below is a quick install process:

Download and install the dynamic binary as below:

$ wget http://download.skype.com/linux/skype-1.2.0.18.tar.bz2
# tar -C /opt -xvjf /path/to/skype-1.2.0.18.tar.bz2
# ln -s /opt/skype-1.2.0.18 /opt/skype
# ln -s /opt/skype/skype /usr/bin/skype
$ cp /opt/skype/skype.desktop ~/Desktop

Once installed, you should be able to click on the desktop launcher icon and run Skype.

Enjoy the free calls!!

Quick and Easy Mplayer Installation on Fedora Core 5 via Yum...

Mplayer is a movie player that plays most multimedia formats supported by many native and binary codecs. You can watch Video CD, SVCD, DVD, 3ivx, DivX 3/4/5 and even WMV and QuickTime movies on Linux.

  1. FC5 rpms for mplayer are available at greysector.net
  2. Set up yum to use greysector repository:
    # cat <<EOF > /etc/yum.repos.d/greysector.repo
    [greysector]
    name=Grey Sector RPMs for Fedora Core $releasever - $basearch
    baseurl=http://rpm.greysector.net/yum/$releasever/$basearch/
    #mirrorlist=http://rpm.greysector.net/yum/mirrorlist-$releasever
    gpgkey=http://rpm.greysector.net/greysector-pubkey.txt
    enabled=0
    
    [greysector-all]
    name=Grey Sector RPMs for all Fedora Core releases - $basearch
    baseurl=http://rpm.greysector.net/yum/all/$basearch/
    #mirrorlist=http://rpm.greysector.net/yum/mirrorlist-all
    gpgkey=http://rpm.greysector.net/greysector-pubkey.txt
    enabled=0
    EOF
    
  3. Import the GPG Key:
    # rpm --import http://rpm.greysector.net/greysector-pubkey.txt
    
  4. Use yum to install or update the current rpms:
    # yum --enablerepo=greysector* install mplayer*
    
  5. You can selectively list the mplayer rpms and install the ones you want:
    # yum --enablerepo=greysector* list mplayer*
    # yum --enablerepo=greysector* install mplayer mplayer-gui mplayerplug-in mplayer-codecs mplayer-codecs-extra
    
  6. The required ones are mplayer, mplayerplug-in and mplayer-codecs.

Detailed Bacula Network Backup Implementation Guide

This tutorial explains how to install and configure bacula network backup.

Bacula is a set of computer programs that permits you (or the system administrator) to manage backup, recovery, and verification of computer data across a network of computers of different kinds. Bacula can also run entirely upon a single computer, and can backup to various types of media, including tape and disk.

In technical terms, it is a network Client/Server based backup program. Bacula is relatively easy to use and efficient, while offering many advanced storage management features that make it easy to find and recover lost or damaged files. Due to its modular design, Bacula is scalable from small single computer systems to systems consisting of hundreds of computers located over a large network.

Lomboz Eclipse on Linux -- Fedora Core 5

Lomboz is an open source and free J2EE development environment built on the Eclipse open source platform and the Web Tools Platform (WTP) projects.

  1. Download and install the latest java sdk.
    # cd /usr/local
    # sh /path/to/jdk-1_5_0_07-linux-i586.bin
    # ln -s /usr/local/jdk-1_5_0_07 /usr/local/java
    # ln -s /usr/local/java/bin/java /usr/bin/java
    # ln -s /usr/local/java/bin/javac /usr/bin/javac
    
  2. Download and install the Eclipse SDK:
    $ wget http://download.eclipse.org/eclipse/downloads/drops/R-3.1.2-200601181600/eclipse-SDK-3.1.2-linux-gtk.tar.gz
    # tar -C /opt -xvzf eclipse-SDK-3.1.2-linux-gtk.tar.gz
    # chown -R root:root /opt/eclipse
    
  3. Download and install Lomboz and prerequisites all in one package:
    $ wget http://download.forge.objectweb.org/lomboz/lomboz-wtp-emf-gef-jem-3.1.2.zip
    # cd /opt
    # unzip /path/to/lomboz-wtp-emf-gef-jem-3.1.2.zip
    

    Note: Say "yes" to any prompt to replace existing file while unzipping.

  4. Start lomboz eclipse:
    $ /opt/eclipse/eclipse
    

Complete Debian linux server setup Guide

Installation,FTP Server Setup,Webserver Setup,Samba Server Setup,Database Server Setup,time clock sync server,Mail Server Configuration,VNC Server setup,Proxy Server Setup,SSH Server Setup,tftp Server Setup,DHCP Server Setup,IPtables Configuration,DNS Server Setup,Firewalls configuration,Backup configuration

Read Full article here

Deleting corrupt DOS files

I recently tried to resize my external usb drive partition which failed on me due to a corrupt file in the partition. The file could not be deleted or moved.

I used dosfsck which comes with dosfstools rpm. Installed it and ran `dosfsck -av /dev/sda1` on the unmounted drive, which automatically fixed the corrupt files. I was then able to resize the partition with the parted tool.

More on how to resize with parted to follow...

Minimum RPM packages required for Gnome graphical display on Cent OS 4.3

Below are the minimum RPM packages required that will also install all dependencies for Gnome Graphical display to be working on Cent OS 4.3:

# yum -y install xorg-X11 system-config-display gdm xterm gnome-desktop gnome-session

Run `system-config-display` to generate the "xorg.conf" file which will be saved to "/etc/X11/xorg.conf".

Set the runlevel to 5 in "/etc/inittab" and reboot.

Atheros AR5005G 802.11abg NIC on Cent OS 4.3

Install the RPM file madwifi-*.i386.rpm (or x86_64 respectively) plus the RPM kernel module packages (kmdl) appropriate for your kernel version and architecture, madwifi-kmdl-*.rpm and madwifi-hal-kmdl-*.rpm.

Use `uname -r` to determine which kmdl you need to download. If you use a depsolver like smart/yum/apt, all you have to do is point it to ATrpms and use

# smart install madwifi madwifi-kmdl-`uname -r`

Replace smart with yum or apt as appropriate. Note that you will have to install a new pair of madwifi*-kmdl packages for each kernel update, as the depsolvers aren't yet capable to automate this.

Read up more details at madwifi.org

You can download the respective rpms from http://atrpms.net/dist/el4/madwifi/ directly and install via:

# rpm -ivh madwifi*.rpm

After you have installed madwifi, reboot and the HAL (Hardware Abstraction Layer) deamon should automatically pick the card up for configuration. If you skip this configuration on boot, you can set up networking as below:

Comment