Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerge sync

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
dhewton
Guru
Guru
User avatar
Posts: 461
Joined: Sat Aug 14, 2004 8:54 pm
Location: Canada

emerge sync

  • Quote

Post by dhewton » Fri Sep 10, 2004 5:43 pm

I am at an office where they watch bandwidth.

What I would like is to be able to make my notebook the source for updates. So when I emerge the 4-5 machines I have "gentoo'd", they look to my machine for the updates and download from my machine.

I will simply download all the sources when I am at home to my notebook.

Is this possible?

Thanks

dan
DannyBoy
Top
Insanity5902
Veteran
Veteran
User avatar
Posts: 1228
Joined: Fri Jan 23, 2004 3:32 pm
Location: Fort Worth, Texas

  • Quote

Post by Insanity5902 » Fri Sep 10, 2004 6:55 pm

http://forums.gentoo.org/viewtopic.php?t=202050

http://forums.gentoo.org/viewtopic.php?t=173226

http://forums.gentoo.org/viewtopic.php?t=180336

The first one creates a mysql (or other db) backend for portage and then you can tell other machines to have portage look at that sql server.

The second it is a http replicator

The third is how to create a local rsync mirror.


Enjoy :)
Join the adopt an unanswered post initiative today
Top
dhewton
Guru
Guru
User avatar
Posts: 461
Joined: Sat Aug 14, 2004 8:54 pm
Location: Canada

  • Quote

Post by dhewton » Fri Sep 10, 2004 6:57 pm

Insanity5902 wrote:http://forums.gentoo.org/viewtopic.php?t=202050

http://forums.gentoo.org/viewtopic.php?t=173226

http://forums.gentoo.org/viewtopic.php?t=180336

The first one creates a mysql (or other db) backend for portage and then you can tell other machines to have portage look at that sql server.

The second it is a http replicator

The third is how to create a local rsync mirror.


Enjoy :)
Thanks so much.

One far simpler thing I thought was downloading the source to my notebook, could I not just manually download the source to the remote boxes. (basically I am trying to avoid 200mb openoffice source files etc)

Thanks
DannyBoy
Top
ep98
Apprentice
Apprentice
User avatar
Posts: 232
Joined: Tue Jul 08, 2003 7:13 pm
Location: Bulgaria
Contact:
Contact ep98
Website

Another good solution

  • Quote

Post by ep98 » Fri Sep 10, 2004 7:02 pm

here is what I have to update my 10 Gentoo boxes

Local RSYNC mirror, emerge gentoo-rsync-mirror, is it very easy to set up
second one, everythin downloaded by the first one which is second wall in /usr/portage/distfiles (80GB is mine one)

is exported in NFS, and everyone gets the files from the 1st one, emerge nfs-utils on everyone box

than mount the drive with mount :)

mine looks like this one:

mount 192.168.0.1:/usr/portage/distfiles /usr/portage/distfiles
Tip: Will be better if u set only Read-only permissions to this mount.
If u cant give advice, dont send the helpless to the HOWTO's way or Google.com way.
Top
dhewton
Guru
Guru
User avatar
Posts: 461
Joined: Sat Aug 14, 2004 8:54 pm
Location: Canada

Re: Another good solution

  • Quote

Post by dhewton » Fri Sep 10, 2004 7:08 pm

mount 192.168.0.1:/usr/portage/distfiles /usr/portage/distfiles
Tip: Will be better if u set only Read-only permissions to this mount.[/quote]

This may kill 2 birds with one stone.. I have also not been able to establish how to mount another machine onto mine. But I want it to be so I can copy files back and forth through this..

Could you give me an idea of your mount command including the ability to have write access. The machines being mounted are all inux using resierfs.

Thanks

DAn
DannyBoy
Top
ep98
Apprentice
Apprentice
User avatar
Posts: 232
Joined: Tue Jul 08, 2003 7:13 pm
Location: Bulgaria
Contact:
Contact ep98
Website

Re: Another good solution

  • Quote

Post by ep98 » Fri Sep 10, 2004 7:19 pm

dhewton wrote:mount 192.168.0.1:/usr/portage/distfiles /usr/portage/distfiles
Tip: Will be better if u set only Read-only permissions to this mount.
This may kill 2 birds with one stone.. I have also not been able to establish how to mount another machine onto mine. But I want it to be so I can copy files back and forth through this..

Could you give me an idea of your mount command including the ability to have write access. The machines being mounted are all inux using resierfs.

Thanks

DAn[/quote]
first of all u need to setup a nfs server
second to edit /etc/exports by hand or via Webmin (second is a easy way to newbies)

/path/to/dir 192.168.0.250/255.255.255.0(ro,insecure,no_root_squash), this is for read only, to make it writtable, simply change 'ro' to 'rw'
If u cant give advice, dont send the helpless to the HOWTO's way or Google.com way.
Top
dhewton
Guru
Guru
User avatar
Posts: 461
Joined: Sat Aug 14, 2004 8:54 pm
Location: Canada

Re: Another good solution

  • Quote

Post by dhewton » Mon Sep 13, 2004 6:49 pm

DAn[/quote]
first of all u need to setup a nfs server
second to edit /etc/exports by hand or via Webmin (second is a easy way to newbies)

/path/to/dir 192.168.0.250/255.255.255.0(ro,insecure,no_root_squash), this is for read only, to make it writtable, simply change 'ro' to 'rw'[/quote]

This worked for me but it was not rw, and I am assuming it makes me root doing it.

mount 192.168.1.100:/home /home/dhewton/mount

I would like for a user to be able to access his area. In the above example dhewton (me) wants to be able to copy and write files back and forth.

Dan you give me an idea how to make this happening knowing the above command line is my starting point?

Thanks

DAn
DannyBoy
Top
ep98
Apprentice
Apprentice
User avatar
Posts: 232
Joined: Tue Jul 08, 2003 7:13 pm
Location: Bulgaria
Contact:
Contact ep98
Website

  • Quote

Post by ep98 » Tue Sep 14, 2004 10:14 am

The easy way to maintain NFS and the other services is Webmin
simply:

emerge webmin

rc-update add webmin boot
/etc/init.d/webmin start

mozilla localhost:10000
If u cant give advice, dont send the helpless to the HOWTO's way or Google.com way.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic