Author archive

Tips and tricks: What TCP/IP ports are required to be open on an RHN Satellite, Proxy or Client system?

For Satellite:
If the Satellite server is “connected”, then it will initiate outbound connections to ports 80 and 443 on the Red Hat Network (RHN) hosted service (rhn.redhat.com / satellite.rhn.redhat.com). Access to these hosts and ports should not be restricted to ensure correct functioning of the satellite system. If required, an HTTP(S) proxy may be used, by passing the “–http-proxy” option to the “satellite-sync” command.

If using a proxy server, Satellite will initiate connections to port 5222 on each proxy server connected. This is used for communications relating to the “OSA” service (also known as “Push to Client“). If using the OSA service, access to this port should not be restricted.

» Read more


Tips and tricks: How do I force users to change their passwords upon first login?

1.) Firstly, lock the account to prevent the user from using the login until the change has been made:

# usermod -L <username>

2.) Change the password expiration date to 0 to ensure the user changes the password during the next login:

# chage -d 0 <username>

3.) To unlock the account after the change do the following:

# usermod -U <username>

» Read more


Friday roundup

  • How will we get our media in the future? The Digital Entertainment Content Ecosystem (DECE) may have something to say about that. From Newsweek.
  • If you’re not following the Mars Phoenix on Twitter, you totally should be. Because a robot that celebrates Talk Like A Pirate Day… from Mars? Awesome.
  • In honor of Richard Wright’s passing this week, check out this Pink Floyd / 2001: A Space Oddity synch in Wired.
  • Keeping an eye on web stuff: Does the web need an indicator of its truthiness? Tim Berners-Lee thinks so. And, in other news, the Web 2.0 expo seemed to take place without much of a downturn, even with the rough US economic news. (Wired, again.)
  • And to round out the Wired trifecta–and suggest a celebratory activity for this most festive (Arrrr!) day–we give you Pirate like a Pirate. Ahoy, matey, and set the sails for the weekend!

Tips and tricks: How do I add raw device mapping in Red Hat Enterprise Linux 5?

Answer:

The raw devices interface has been deprecated in Red Hat® Enterprise Linux® 5. The rawdevices service and /etc/sysconfig/rawdevices file no longer exist and raw devices are now configured via udev rules. However the preferred method for performing raw I/O (ie. bypassing filesystem caching) is to open EXT3/EXT2 files with the O_DIRECT flag.

This is an excerpt from the raw command’s man page:

Although  Linux  includes  support  for rawio, it is now a deprecated interface. If your application performs device access using this
interface, Red Hat encourages you to modify your application to open the block device with the O_DIRECT flag. The rawio interface will
exist for the life of Red Hat Enterprise Linux 5, but is a candidate for removal from future releases.

» Read more


Video: The history of Fedora

Download this video: [Ogg Theora]

You’ve seen him here before, but it’s been a while since he popped in for a visit. You can enjoy his earlier work here, here, here or here. (Or check out his entire RHM collection). Who is that masked man? It’s the Fedora Project’s Greg DeKoenigsberg. And who better to talk about this history of the Fedora than someone who has been involved nearly every step of the way…


Tips and tricks: What is devlabel, and how do I use it?

Devlabel is a script which manages symbolic links to storage devices on your system. This is accomplished by utilizing the inherent unique identifiers (UUID) that each device should have in order to maintain a correctly pointing symlink in the event that the device name changes (eg. /dev/sdc1 becomes /dev/sdd1).

» Read more


Friday roundup: The music edition

  • A new Brad Sucks album is available. Don’t know who that is? We have a podcast interview with the man himself, and we’ve used his music in our other projects. Bravo for Creative Commons licensing…
  • Speaking of CC, check this out. Attention remixers: Creative Commons and OpenSourceCinema are co-hosting a Call for Soundtracks for the movie “RIP: A Remixer’s Manifesto” a movie about the struggles to keep content free and open. Remixers everywhere are invited to download the movie clips linked to on this page and create music using Creative Commons licensed samples. The movie producers will select the best of those for use in the final version of the movie.
  • “MixMatchMusic brings a new level of precision to the burgeoning field of online music collaboration. If you’ve been looking for a way to make music with people without being in the same room as them — and you already have your own digital audio workstation (DAW) software — this could be just the collaboration tool you’ve been looking for.” Read more.

Tips and tricks: Registering Xen guests with RHN

Question: How do I register my Red Hat Enterprise Linux Xen Guest system with the Red Hat Network?

Answer:

Important: For Red Hat Enterprise Linux 4 fully-virtualized guests install the latest version of up2date.

This procedure will work for both fully-virtualized and para-virtualized guests.

  1. The host system (dom0) must be registered with Red Hat Network. Follow standard procedures to register this system with Red Hat Network (RHN).
  2. Under the System Properties page, subscribe the base system to the appropriate Virtualization Channel. Virtualization allows for up to 4 Xen guest registrations, while Virtualization Platform allows for an unlimited number of Xen guest registrations.
  3. Make sure that the virtualization add on entitlement is checked “Add-On Entitlements: Virtualization *(0 open entitlements)*”. This is available via rhn.redhat.com –> Systems (Top Red Bar) –> Click on the host
    system –> Click Edit These Properties –> Check the add on entitlements
    box (Virtualization) –> Click update properties. If you have Advanced
    Platform entitlement you can check the “Virtualization Platform” box
    instead to be able to register an unlimited number of guests for this host.

  4. Make sure that rhn-virtualization-common and rhn-virtualization-host are installed on the host system. If they are not installed, run:
    yum install rhn-virtualization-common rhn-virtualization-host
    
  5. Install the Xen guest.
  6. Make sure that the Xen guest is running. Please note that xenguest is the name of the Xen guest.
    xm create xenguest
    
  7. From the command line on the host system, run:
    rhn_check
    
  8. From the command line on the host system, run:
    rhn-profile-sync
    
  9. From the Xen guest, run:
    rhn_register
    

Now the Xen guest will show up as a registered, virtualized system. » Read more