Lab Exercise 3.2: Installing Linux Products and Managing Processes

 <  Day Day Up  >  

In this exercise, you will install the Mozilla web browser on your server. Then you will practice managing Linux processes. Complete the following steps:

Warning

This lab assumes you have Internet access from your Linux server .


  1. Boot your Linux server and authenticate as your student user with a password of novell . Change to your root user account entering sux - at a shell prompt.

  2. Your SUSE Linux distribution comes with an older version of Mozilla, which was installed when the system was installed. You need to use a newer version in order to access Novell's NNLS web-based management utilities. To do this, you need to complete these steps:

    1. Select Applications , Internet , WWW , Mozilla .

    2. In your Mozilla window, browse to http://www.mozilla.org.

    3. Download the latest version of Mozilla to /tmp . You must use version 1.5 or later.

    4. When the download is complete, close your browser window.

    5. Open a terminal session.

    6. Change to the root user account by entering su - and supplying a password of novell .

    7. Change to the /tmp directory by entering cd/tmp .

    8. At the shell prompt, enter ls . Notice that the file you downloaded from Mozilla.org is a tarball file. For example, if you downloaded Mozilla 1.6, you will see a file named mozilla-i686-pc-linux-gnu-1.6-installer.tar.gz .

    9. Extract the tarball by entering tar -zxvf ./mo ; then press the Tab key. Notice that the rest of the filename is automatically completed for you. The tab-complete feature of Linux makes typing long filenames much easier.

    10. At the shell prompt, enter ls . You should now see a new directory named mozilla-installer where the files from the archive were extracted.

    11. Enter cd mozilla-installer .

    12. Start the installation script by entering ./mozilla-installer .

    13. At this point, you will be presented with a graphical installation wizard that varies depending on the version of Mozilla you've downloaded. Follow the prompts presented to complete a typical installation to the /usr/local/mozilla directory.

Create an icon on your Desktop for the new version of Mozilla by completing the following steps:

  1. Right-click anywhere on your Desktop.

  2. Select New Launcher .

  3. In the Name field, enter Mozilla .

  4. In the Generic Name field, enter Mozilla .

  5. In the Command field, enter /usr/local/mozilla/mozilla .

  6. Select the No Icon button.

  7. Select an icon of your choosing for the Mozilla browser icon.

  8. Click OK .

  9. Close any open browser windows ; then test your new launcher by double-clicking the Mozilla icon on the Desktop.

  10. The Mozilla browser should be displayed as shown in Figure 3.31.

    Figure 3.31. Mozilla running on SUSE Linux.

    graphics/03fig31.jpg


Install the Pure-FTP service on your server by completing the following steps:

  1. Start YaST on your server by selecting Applications , SUSE Menu , System , YaST2 .

  2. When prompted, supply your root user's password ( novell ).

    Note

    When you do this, you'll notice that YaST returns a password error but runs anyway. You can safely disregard the error message .

  3. Select Install or Remove Software .

  4. In the Filter drop-down list, select Package Groups .

  5. Select zzz All .

  6. In the top-right frame, scroll down to and select pure- ftpd .

  7. Click Accept .

  8. When prompted, insert UnitedLinux 1.0 CD #2 and then click OK.

  9. Wait while the package is installed.

  10. When the installation is complete, click Close .

Follow these steps to manage the pure-ftpd service on your server:

  1. Open a terminal session and change to your root user account by entering su - and supplying a password of novell .

  2. At the shell prompt, enter cd /etc/init.d .

  3. Enter ls . You should see a script for the pure-ftpd daemon, as shown in Figure 3.32.

    Figure 3.32. The pure-ftpd script.

    graphics/03fig32.jpg


  4. Check to see the runlevels pure-ftpd is configured to automatically start at by entering chkconfig -l pure-ftpd at the shell prompt.

  5. You should see that pure-ftpd is not configured to automatically start at any runlevel. Start the pure-ftpd service by entering ./pure-ftpd start .

  6. Configure pure-ftpd to automatically start at runlevels 3 and 5 by entering chkconfig pure-ftpd 35 .

  7. Verify this change by entering chkconfig -l pure-ftpd .

Now you can practice managing Linux processes by completing the following steps:

  1. At your shell prompt, enter top .

  2. Sort the display by CPU usage by entering P .

Which process is using the most CPU cycles on your system?

  1. Open a new terminal session.

  2. Change to the root user with the su - command.

  3. Kill the top process by entering killall top . Notice that the top process in the first terminal session is terminated , as shown in Figure 3.33.

    Figure 3.33. Killing the top process.

    graphics/03fig33.jpg


 <  Day Day Up  >  


Novell Certified Linux Engineer (CLE) Study Guide
Novell Certified Linux Engineer (Novell CLE) Study Guide (Novell Press)
ISBN: 0789732033
EAN: 2147483647
Year: 2004
Pages: 128
Authors: Robb H. Tracy

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net