Liquidstate

The digital home of Bryan Ross
  • rss
  • Home
  • About
  • Photos

Reinstalling a package using Yum

October 5, 2007

You can force the re-installation of a package using:

rpm -e --justdb --nodeps <package-name>
yum install <package-name>

This can be really useful if you’ve accidentally removed some components of the package, or perhaps hacked around with config files so much that you just want to go back to the original. Yum will automatically re-install any missing binaries, but it will not overwrite your existing config files. Instead, the ‘default’ config files will be written as “<filename>.rpmnew”.

Comments
No Comments »
Categories
Linux
Tags
Linux, yum
Comments rss Comments rss
Trackback Trackback

Setting up NIS

October 3, 2007

The Network Information Service or NIS (originally called Yellow Pages or YP) is a client-server directory service protocol for distributing system configuration data such as users, groups, or host names between computers.

Typically, NIS becomes invaluable when you have a local area network with a number of systems that are used by a particular group of users. Using NIS, you can share user accounts, groups, and host files so that users can easily login to the various systems. For example, when a user updates their password on one system, it automatically takes effect on all other systems.
Read the rest of this entry »

Comments
No Comments »
Categories
Linux
Comments rss Comments rss
Trackback Trackback

Mount NTFS partitions on RHEL

The goals of the Linux-NTFS project are to develop reliable and full feature access to NTFS by the Linux kernel driver and by a user space driver (ntfsmount), and to provide a wide collection of NTFS utilities and a developer’s library for other GPLed programs.

The quickest way to mount an NTFS partition on a RHEL server is by downloading an RPM suitable for your system, installing it, and then using it like a normal kernel module:

# Mount usb storage device
mount -o ro /dev/sdb1 /mnt/usbdrive

In the above example, I’ve mounted a portable USB disk drive. If you’re not sure on the device path for your usb device, you can take a look at the output of ‘dmesg’ or perhaps check the partition table using ‘fdisk’.

Comments
No Comments »
Categories
Linux
Comments rss Comments rss
Trackback Trackback

Using RPMforge

October 1, 2007

The RPMforge.net project is an independent community-driven project to provide the infrastructure and tools to allow users, developers and packagers to meet and work together to provide and improve RPM packages.

Read the rest of this entry »

Comments
No Comments »
Categories
Linux
Comments rss Comments rss
Trackback Trackback

Ethernet Teaming / Bonding

September 27, 2007

Link aggregation (also known as “Ethernet trunk”, “NIC teaming”, “port teaming”, “port trunking”, etc) allows you to use multiple NICs in parallel to increase the link speed beyond the limits of any one single cable or port, and to increase the redundancy for higher availability.

Although this feature can be incredibly useful for increasing the available bandwidth to file servers, I must say that I have primarily used this in order to provide resilient network connectivity to mission critical servers.

Setting up a single bonded interface is quite simple, and well documented. However, setting up multiple bonded interfaces on a single system is a little more tricky!
Read the rest of this entry »

Comments
No Comments »
Categories
Linux
Comments rss Comments rss
Trackback Trackback

« Previous Entries

Navigation

  • Apple (1)
  • Diving (60)
  • Linux (11)
  • Microsoft (2)
  • Sailing (24)
  • Uncategorized (2)

Photos (view gallery)

IMG_1774IMG_1773IMG_1753IMG_1776IMG_1761IMG_1769IMG_1759IMG_1763IMG_1764

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox