Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By routers at 2006-08-30 11:57
Yum > / FC4 / This project usefull for Admin with more than one fc4 in the LAN
_________________________________________________________________________________
1) ---------------------------------Setting Local Server---------------------------
Requirement :
* Any Linux Version but this my project using slackware 10.2
* Sambal installed configure to share one directory or disk, please refer to samba configuration
This is my example:
rou@noc:~$ uname -an
Linux noc 2.4.31 #6 Sun Jun 5 19:04:47 PDT 2005 i686 unknown unknown GNU/Linux
rou@noc:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 19G 859M 17G 5% /
/dev/hdb1 19G 809M 18G 5% /export/REPO <- look at this point
/dev/hdc1 111G 93G 13G 89% /export/NFS
/dev/hdd1 28G 15G 13G 54% /export/home
NOTE-----------Carefull This mightbe not for you so no need to care--------------.
| for customize system i remove installed packages what i no need |
| # rpm -e --nodeps lvm2.i386 pcmcia-cs.i386 |
| # yum remove bind parted rp-pppoe wireless-tools man man-pages.noarch |
|________________________________________________________________________________|
[root@cs rou]# cd /
[root@cs /]# mkdir /export/mnt/update
[root@cs /]# mount -t smbfs //noc/REPO /export/mnt/update/
note* there //noc , i already add "192.168.0.11 noc" in /etc/hosts
this command will update all installed file and downloaded packages will be stored in "noc" machine
# yum clean headers <- do not use clean packages, let all the packages store in the server
--------------------------------end of usage------------------------------------------
4) -----------------------Advantages of doing this-----------------------------------------
After you update first workstation then update second workstation very easy, just set same way
for workstation setting and you update second workstation the yum will not download
any file which already available in the server
________________________
Here is the result from //Second Workstation//
# yum update
~~~
Transaction Summary
=============================================================================
Install 4 Package(s)
Update 125 Package(s)
Remove 0 Package(s)
Total download size: 135 M
Is this ok [y/N]: y
Downloading Packages:
(1/41): glib2-2.6.6-1.i38 100% |=========================| 568 kB 01:17
---------------------
note* normal condition supposed to download 125+1 packages
but this condition only download 41 packages so save a lot of bandwitdh
_______________________
Here is the result for //Third Workstation//
# yum update
~~~~
Transaction Summary
=============================================================================
Install 4 Package(s)
Update 125 Package(s)
Remove 0 Package(s)
Total download size: 135 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libgcc ##################### [ 1/254]
Updating : hwdata ##################### [ 2/254]
=====so can see the different nothing download for third workstation============
note* if anyone want to modified welcome . in purpose to make people understand
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.