Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-22-2010, 11:49 AM
|
#1
|
LQ Newbie
Registered: Mar 2005
Posts: 17
Rep:
|
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.
|
|
|
11-22-2010, 12:17 PM
|
#2
|
Member
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189
Rep:
|
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
|
|
|
11-22-2010, 03:07 PM
|
#3
|
Member
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189
Rep:
|
I forgot to add: you can then install from the local repo with zypper.
Code:
cd my/dir/with/rpms
zypper install *.rpm
|
|
|
11-22-2010, 03:08 PM
|
#4
|
LQ Newbie
Registered: Mar 2005
Posts: 17
Original Poster
Rep:
|
Quote:
Originally Posted by udaman
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.
|
|
|
11-22-2010, 03:12 PM
|
#5
|
LQ Newbie
Registered: Mar 2005
Posts: 17
Original Poster
Rep:
|
Quote:
Originally Posted by udaman
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
|
|
|
11-22-2010, 04:11 PM
|
#6
|
Member
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189
Rep:
|
Code:
zypper ar http://my.web.server.repository/suse/11.3 local_web
|
|
|
11-22-2010, 04:29 PM
|
#7
|
LQ Newbie
Registered: Mar 2005
Posts: 17
Original Poster
Rep:
|
Quote:
Originally Posted by udaman
Code:
zypper ar http://my.web.server.repository/suse/11.3 local_web
|
Wow, that was cool, jejeje
Thanks
|
|
|
All times are GMT -5. The time now is 06:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|