e-mail   
 Menu
  Home
  Download
  Top 10 Downloads
  Last 15 New Files
  Web Links
  Tips
  Last 15 New Tips
  NLM Programming
  Admins Club





SUPLA System
Internet of Things




Installation and Administration






Polish Forum SUSE


 
Who's Online

 There are currently,
25 guest(s)
that is (are) online.
 


Technical Information

Back to List of Categories

Technical Information about
  A Little YaST Magic
  A Slideshow for Your KDE Wallpaper
  Add Novell Support to Your Firefox Search Engine
  Adding To The Panels In Gnome.
  Akregator - RSS News Reader
  An Introduction to WBEM and OpenWBEM in SUSE LINUX
  Authenticating SUSE LINUX to eDirectory via LDAP
  Basic Mounting Differences between Windows and Linux
  Beginner's Guide to Using Novell SUSE LINUX's Build Utility
  Browsing Files
  Card Readers on SUSE LINUX 9.2 Professional?
  Changing the Default Browser in Gnome
  Developing Perl CGI scripts on SUSE LINUX
  Do I Have Permission?
  Double SYNC -- Using RSYNC Simultaneously With and Without Branch Office for Data Backup
  Dumb Question: Mounting Linux CDs
  Easy Command-Line Introduction
  Easy Way to Debug SSL Connections
  Enabling an Interactive Startup in Novell/SUSE LINUX
  Exploring MySQL 4.1 and PHP 5 on SUSE LINUX
  Extend Your Panels Using Gnome Drawers.
  Firefox Speed Tip
  Fix Java Errors With ConsoleOne On Linux
  Fix Your Mouse Wheel...
  Gimp -- Closing In on Photoshop...
  Gimp Tips Part 1: Resizing Images
  Gimp Tips Part 2: Rounding Corners
  Gimp Tips Part 3: Fading Photography Edges
  Gimp Tips Part 4: Selective Colorization
  Gimp Tips Part 5: Plugins a Plenty - Adding Light
  Gimp Tips Part 6: Using The Clone Tool
  Google Auto-fill Replica for Linux
  How a Corrupted USB Drive Was Saved by GNU/Linux
  How to Implement Login Scripts into a Pure Linux Environment
  How to install and connect an External Modem on a Linux PC
  How to Install the Novell Client for Linux on SUSE Linux 10.0
  How to launch applications at login in Gnome
  How to Remote Control Linux
  How to setup a Linux application to automatically startup when you login.
  How to share Files and Printers Between Linux and MS Windows with Samba
  How to uninstall the Novell Client for Linux
  How to upgrade the Novell Client for Linux
  How to use SMB without turning off the firewall
  How's the Weather?
  HTML Development Tools in Linux
  Informative Bash Prompt
  Install and Use QEMU on SUSE 9.2
  Install Linux Frequently, Without the Hassle
  Installing Apache, PHP, and MySQL on SUSE LINUX Professional
  Installing RPM Files
  Integrating Novell Linux Desktop into a Novell NetWare network
  Introduction to Oracle 10g R1 (10.1.0.3) on SUSE LINUX Professional 9.3
  iPrint Printers on Novell Linux Desktop
  Linux Scheduling Priorities Explained
  Make a Misbehaving Program Quit
  Manually Mounting a USB Flash Drive in Linux
  Migrating To Linux, Advantages Over Windows 9.x And XP
  Minimize Your Maximizing with Multiple Desktops
  Mounting NetWare Volumes On NLD Illustrated
  Move Your /home to Another Computer
  Mozilla Mail Review
  Need a Backup?
  Novell Client Settings with Windows Terminal Server
  Novell Linux Desktop Equivalents of Windows Software - New and Improved
  Novell Linux Desktop System Upgrade How-To
  Partitioning Hard Drive for Linux Install
  Perform Remote SuSE Installations With Virtual Network Computing
  Quick Intro to Klipper
  Quick Shortcuts in The Gimp
  Reset Your Lost Root Password
  Resizing Your Gnome / KDE Panels
  Runlevels in SUSE LINUX
  Running Existing Win32 Applications on SUSE LINUX
  Service Command in /etc/init.d/
  Setting Shortcut Keys
  Setting up a Linux NFS Install Source for Your LAN
  Should I choose Novell Linux Desktop or SUSE LINUX Professional as my desktop?
  Starting Services From the Command Line On SuSE LINUX
  Sticky Notes for Gnome
  SUSE LINUX 9.3 Professional Review
  Sync Up The Taskbar and the Desktop in Gnome
  System Upgrade How-To
  Taking Screenshots in Linux
  The Basics of Messaging in the Cross-Platform GroupWise Client
  The Novell Client for Linux (beta).
  Transparent Panels in Gnome
  Trick Out Your KDE Desktop
  Understanding the YAST Software Module Options
  Updating Your Software with Red Carpet
  Using dsbk on Linux and Unix
  Using iFolder to Synchronize Firefox Bookmarks
  Using Multiple Swap Partitions In 2.4
  Using openSSH to Securely Access Remote Systems
  What FTP client should I use on Linux?
  What Is Logical Volume Management?
  What is so great about Firefox?
  Which Graphic Formats For What?
  Windows Shortcuts for Firefox Tabs on Linux
  Windows to Linux: A Beginner's Guide
  Windows Users Can Feel at Home Exploring Files in Linux
  WLAN interface as the Default
  Work With User Selection Icons In KDM
  YAST Online Update De-Mystified

Technical Information
 Setting up a Linux NFS Install Source for Your LAN

Printer-friendly version

Posted: 6 Apr 2005

If you are an administrator, you probably oversee a network. On your network, you may have several machines running SUSE, Novell Linux Desktop, and/or SUSE Linux Enterprise Server. If this is the case, you know what it's like installing software from CDs onto all those machines. One of the things that you might wish to consider is how to most easily install packages onto each of the machines.

Before we start, let's review what is going to take place. First, we are going to create a repository directory on a machine that will act as an NFS Server to the network. You will put the contents on each of your installation CDs into this repository. You will then export this folder via NFS. On each of the client machines, you will set up an NFS Installtion Source in YAST that will use this repository.

Please take note that I am doing this in KDE. If you do it in Gnome, know that it will be similar in concept, but will not be exactly the same. In all reality, there are several factors here that may change how this is done. Depending on your situation, adapt this guide to fit your needs.

Create the Repository

First, let's make a folder to use as the repository. Open your 'home' folder in Konqueror:

Right-click out in the white space. Select CREATE NEW, and then FOLDER:

Name the folder slp93, and click OK:

Now, you need to make subfolders for each of the five installation CDs.

Go into the slp93 folder. Right-click out in the white space. Select CREATE NEW, and then FOLDER:

Name the folder CD1, and click OK:

Make folders for the rest of the CDs. Name them CD2, CD3, CD4, and CD5:

Leave this window open. Now, we have to copy the contents of the CDs to each of these folders. Go ahead and put the first CD into your drive. Cancel anything that pops up.

Open up a new Konqueror window and browse to /media:

Go into the folder of your CD drive. Mine is called 'SU930_001.' Yours might also be 'dvdrecorder,' 'cdrecorder,' or 'cdrom:'

In your other window, go into the CD1 folder:

Drag everything from the CD over to the CD1 folder:

When the small menu appears, click COPY HERE:

When it's finished copying, eject the CD. Put in the second CD. Copy its contents to the CD2 folder.

Repeat these steps with each CD, until you have copied the contents of every CD to its corresponding folder.

Finally, we are finished creating the repository. Next, we'll export these folders from an NFS Server.

Configure the NFS Server

Open YAST. On the left, select NETWORK SERVICES. On the right, select NFS SERVER:

When the "Configuration of the NFS Server" window comes up, make sure "Start NFS Server" is selected. If you have a firewall, be sure to open a port for the NFS Server. Click NEXT:

In the next window, click ADD DIRECTORY:

A small window appears. Click BROWSE:

Browse to your home directory. It will be something like /home/smorris where 'smorris' is your username. Then go into the slp93 folder. Your LOOK IN box should say /home/smorris/slp93, where 'smorris' is your username. Click OK to continue:

Click OK again on the smaller window to continue:

You are presented with a box to specify Hosts and options for your NFS Server. In most cases, unless you have other settings to put here, you can just click OK:

Once back in the main YAST window, click FINISH:

YAST then loads your new settings and starts up the NFS Server. The NFS Server is good to go. Now we need to set up our client machines to use it.

Configure the Client Machines

Go over to another machine on the network. Open YAST. From the left, select SOFTWARE. From the right, select CHANGE SOURCE OF INSTALLATION:

Another window appears, called "Software Source Media." In this window, select the current install source (probably pointing to a CD-ROM), and click ENABLE OR DISABLE. The STATUS column should change to OFF:

Next, we'll add the new installation source. Click the ADD button, and select NFS:

Another window appears asking for the server and the directory. In the SERVER NAME box, put in the IP address of the machine containing the repository and NFS Server. In the DIRECTORY ON SERVER box, type /home/smorris/slp93/CD1, substituting 'smorris' for your username. When finished, click OK:

YAST then verifies that the installation source provided is valid.

If it is not valid, it will display an error that says that there is no installation source found in the location provided.

If it is a valid installation source, it will appear in the list:

You have now added the first CD as an installation source. Add the rest of the CDs in the same manner. Instead of putting in CD1 as the folder every time, you will specify CD2, CD3, and so on for each CD. For CDs 2 through 5, you may be prompted with a box that looks like this:

If such a box appears, it is okay to click CONTINUE.

When you have all of the CD locations added, click FINISH:

Next, we'll test the configuration to make sure everything works.

Test the Configuration

Finally, it's a good idea to test the setup. Open YAST on the configured client machine. Select SOFTWARE from the left pane, and INSTALL AND REMOVE SOFTWARE from the pane on the right:

Another window appears. We need to install something to test our installation source. For our example, we'll install 'Maelstrom,' an Asteroids clone. However, it could be any package you wish to use. Type 'maelstrom' into the SEARCH box, then click the SEARCH button:

Check the box to tell YAST to install it, and then click ACCEPT to proceed:

If you are prompted for a CD or an error occurs, something has been misconfigured. Go back and check each step for accuracy. If YAST is able to proceed and install the package, you can rest assured that it is working properly.

Conclusion

Sometimes, it is nice to have one central repository that you can use as a YAST package installation source. This way, you don't have to worry about wear and tear on your CDs. You don't even have to deal with the CDs, except to create the initial repository.

Although this guide was created using SUSE LINUX Professional 9.3, you can mix and match operating systems. You can put a Novell Linux Desktop repository on a SUSE LINUX Enterprise Server machine. Or, you can put a SUSE LINUX Enterprise Server repository on a SUSE LINUX Professional 9.2 machine. As long as you put the correct repository in as an installation source on the proper client machine, it should work like a charm. It's a nice time-saver, especially if you have a large number of client machines on your network.






Since 2003

Portal posiada akceptację firmy Novell Polska
Wszystkie materiały dotyczące produktów firmy Novell umieszczono za zgodą Novell Polska
Portal has been accepted by the Novell Polska
All materials concerning products of Novell firm are placed with Novell Polska consent.
NetWare is a registered trademark of Novell Inc. in the United States and other countries.
Windows is a trademark or a registered trademark of Microsoft Corporation in the United States and other countries.
Sybase is a registered trademark of Sybase Inc. in the United States of America.
Other company and product names are trademarks or registered trademarks of their respective owners.