Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 11-30-2005, 10:52 AM   #1
LQ Newbie
Registered: Oct 2005
Location: Florida
Distribution: Suse 10.0
Posts: 17

Rep: Reputation: 0
SuSE 10.0 Yast Online Update Local FTP Server

I could not find this easily on here, so I'm posting under a obvious subject. I did this on the SuSE 10.0 DVD

This is a quick overview on how to setup a computer to update from the internet, and make it's updates available through local internet via an FTP server. The FTP server and automatic online update to an external server are on the same computer.

1) I installed vsftp from the SuSE 10.0 DVD.
2) Make sure that "disabled=no" in /etc/xinetd.d/vsftpd. This will make it actually be able to receive connections. You'll probably have to tweak your firewall too, if you use it.
3A) If /var/lib/YaST2/you/mnt exists (and has files under it, if it doesn't have files delete it and go to 3B), move mnt to /srv/ftp/pub/suse. /var/lib/YaST2/you/mnt will become /srv/ftp/pub/suse, not mnt going under /srv/ftp/pub/suse... Go to Step 4A.
3B) If the directory doesn't exist, create /srv/ftp/pub/suse, and create a symbolic link in /var/lib/YaST2/you/ named "mnt" that points to /srv/ftp/pub/suse.
4A) The files already exist, which means you unselected "remove packages after update". Do a normal "update" and it will save the files into the FTP directory (because of the symbolic link)
4B) If the directory didn't exist, our you wanted to get all packages, you're going to want to mirror one of the source systems, or just do a complete update of your system. I used lftp and mirrored only the directories I needed. Unfortunately, the servers have tons of the OpenOffice language files, so that takes up alot of space and time.
5) Now, ensure that the FTP server is running, and go to another computer and use the URL(I don't have 5 posts, so, therefore I can't post this "URL") ftp : / / <hostname>/pub/suse. It should download LIGHTNING FAST compared to the external system. Optionally, you can set these clients to automatically update themselves.


For reference, the directory tree now on my FTP server is:
rpm (only the i586 and noarch directories)
/srv/pub/suse/media.1 (empty, nothing under here)

So, all I "mirrored" was
and got the rest of the directories under 10.0 (i.e. deltas, patches, patches.obsolete, scripts).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 10.0 YaST online update daily bunkenburg SUSE / openSUSE 2 03-02-2006 06:21 PM
Suse 8.1 Yast online update (not working) Sparks_ITCS Linux - Newbie 1 08-26-2005 07:16 PM
SuSE 9.1 - problems after YaST online update sgray SUSE / openSUSE 7 05-25-2005 03:31 AM
Using Yast Online Update from a local directory to install Nvida drivers Killer-Tomato Linux - Newbie 2 09-28-2004 07:07 AM
Suse 8.1 yast online update notworking gonus Linux - Distributions 0 11-05-2002 11:04 AM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration