Novell is now a part of Micro Focus

Activating Novell Linux Small Business 9 With Red Carpet

Novell Cool Solutions: Tip
By Aaron Gresko

Digg This - Slashdot This

Posted: 29 Jun 2005

Novell Linux Small Business 9 (NLSB) is updated using Red Carpet software from Novell. Getting Red Carpet running and updating the system requires the following:

  • Obtain an activation code
  • Set up Red Carpet and rcd
  • Activate the Novell Update Service
  • Update the System

Obtain An Activation Code

Before trying to activate the system, obtain a valid activation code. If you're evaluating NLSB, an evaluation activation code can be obtained from the Novell download website.

Go to this page and click the Get Activation Code button. When prompted, enter your Novell Portal login credentials. Record the activation code for evaluation use.

Customers who purchase Novell Linux Small Business will receive an email containing a purchase code and instructions on how to register and receive the activation code. Read and follow the instructions carefully. The account that will register the activation code will administer the code, including other users who can use the activation code to activate systems for updates.

The activation code used for NLSB is also used to activate the Novell Linux Desktops included with NLSB.

Set Up Red Carpet and rcd

Before trying to activate the system to receive updates, make sure Red Carpet is set up correctly. The first step is to make sure rcd, the Red Carpet daemon, is running and will start in its proper runlevels in the future. Complete the following:

  1. Open a terminal and su to root.
  2. See if rcd is running by entering rcrcd status. The status will probably be set to unused, which means rcd is not running.
  3. Enter rcrcd start to start rcd.
  4. See if rcd is set to run in any runlevels by entering chkconfig -l rcd. You should see something similar to the following: rcd       0:off    1:off    2:off    3:off   4:off    5:off     6:off
  5. Set up rcd to boot in its default runlevels by entering insserv rcd.
  6. Verify that rcd will start in runlevels 3, 4, and 5 by entering chkconfig -l rcd.

With rcd running, start Red Carpet by doing the following:

  1. Select Novell > Run Command....
  2. In the Run Command window, enter kdesu red-carpet and then select OK.
  3. Authenticate as root by entering the root password.

Using the menu item for Red Carpet in Novell > System > Configuration is advisable only if logged in to the desktop as root. Otherwise, many Red Carpet menu options will be disabled.

Activate the Novell Update Service

Before trying to activate the Novell Update service, make sure the service is known to rcd. In Red Carpet do the following:

Note: If your system uses a proxy, select Edit > Preferences and provide proxy information before continuing.

  1. Select Edit > Services.... The Services window is shown as in Figure 1.

  2. If the entry for Novell_Update_Server is not present, select Add Service. Otherwise, skip step 3.
  3. In the Add Service window, enter and then select OK.
  4. Select Close to exit the services window.

With the Novell Update service present, activate the service by doing the following:

  1. Select File > Activate.
  2. Select Novell_Update_Server from the Service drop-down list.
  3. Enter the email address of a valid user for the activation code.
  4. Enter the activation code. The code is case sensitive.
  5. Select Activate.

The final step is to subscribe to the Linux Small Business update channels. Select Channels from the toolbar and subscribe to nlsbs9 and sles9 on the server. For NLD boxes, subscribe to nld9 and nld9-sdk.

Update the System

To install an update, select it and select Mark For Installation.

To install all the available updates, select Update All.

In both cases, select Run Now to run the installations.

Red Carpet cannot automatically install updates. An automatic update can be performed with the rcd command-line tool---rug.

To set up rug to perform an automatic update on the Linux Small Business channel, use cron and the command
rug update -y [channelname]. The cron job should run as root.

For example, to set up rug to run every night and update the NLSB server, do the following:

  1. Open a terminal and su to root.
  2. Enter crontab -e to edit root's crontab file.
  3. Enter two lines, one to update the sles9 channel and one to update the nlsbs9 channel, as shown in Figure 2.

Note the two channels are updated an hour apart. This is to avoid a conflict with rug running the update on both channels at the time. If the two NLSB channels are the only two channels subscribed on the server, running update -y will update all subscribed channels.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates