LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-22-2010, 11:49 AM   #1
lealsaballos
LQ Newbie
 
Registered: Mar 2005
Posts: 17

Rep: Reputation: 0
opensuse 11.3 Local Repo


hi all!

Last week I successfully configured a local repository for CentOS. I did it because I'm teaching a course with this distro.

I am also teaching another course with opensuse, sadly, I could not configure a local repository for opensuse. I thought this would be easier.

Local internet connection is very slow, so I need to configure the local repository.

I have searched for information on the novell site and find nothing.

All help is very welcome, thank you.
 
Old 11-22-2010, 12:17 PM   #2
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189

Rep: Reputation: 39
You can add a local repo with the 'zypper' commnad:

Code:
zypper ar my/dir/with/rpms local
the 'ar' is add repository, the directory can be /mnt/cdrom/xxxxx if you have your rpm files on CD, and 'local' is the repo name.

See:http://en.opensuse.org/SDB:Zypper_us...g_repositories
 
Old 11-22-2010, 03:07 PM   #3
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189

Rep: Reputation: 39
I forgot to add: you can then install from the local repo with zypper.
Code:
cd my/dir/with/rpms
zypper install *.rpm
 
Old 11-22-2010, 03:08 PM   #4
lealsaballos
LQ Newbie
 
Registered: Mar 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by udaman View Post
You can add a local repo with the 'zypper' commnad:

Code:
zypper ar my/dir/with/rpms local
ok, I got it, but I also need bring access to other hosts via web.

The main idea is setting up a web server, and create a http repository.

Last week I made it using CentOS, I found some informations at centos's wiki. But it was impossible to find similar information at novell web sites.
 
Old 11-22-2010, 03:12 PM   #5
lealsaballos
LQ Newbie
 
Registered: Mar 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by udaman View Post
I forgot to add: you can then install from the local repo with zypper.
Code:
cd my/dir/with/rpms
zypper install *.rpm
And I forgot to say Thanks because I didn't know about zypper, look like a very nice tool.

Once again Thanks
 
Old 11-22-2010, 04:11 PM   #6
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189

Rep: Reputation: 39
Code:
zypper ar  http://my.web.server.repository/suse/11.3 local_web
 
Old 11-22-2010, 04:29 PM   #7
lealsaballos
LQ Newbie
 
Registered: Mar 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by udaman View Post
Code:
zypper ar  http://my.web.server.repository/suse/11.3 local_web
Wow, that was cool, jejeje

Thanks
 
  


Reply


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
local repo pravlin Debian 2 07-23-2009 08:22 AM
yum local repo dlee12 Linux - Newbie 1 03-01-2009 12:26 PM
local apt repo anantshri Linux - Software 1 01-02-2006 06:33 AM
local apt repo adem0rdna Fedora 5 02-08-2005 09:59 PM
I need a local rpm repo a13x Linux - Networking 4 12-16-2004 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:12 AM.

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