* [gentoo-user] to install portage on other gentoo installs
@ 2014-02-13 0:40 Edward M
2014-02-13 0:44 ` Alan McKinnon
2014-02-14 18:03 ` [gentoo-user] " eroen
0 siblings, 2 replies; 21+ messages in thread
From: Edward M @ 2014-02-13 0:40 UTC (permalink / raw
To: gentoo-user
Howdy,
Been busy learning Linux :-) got new email other was getting crowded.
I'm planing on installing Gentoo on a few systems and I was wondering
to save bandwidth, i could install portage to the other Gentoo installs
from my system instead downloading from mirrors?
Thanks in advance!
--
Learing Linux with Gentoo to earn LPIC1.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-13 0:40 [gentoo-user] to install portage on other gentoo installs Edward M
@ 2014-02-13 0:44 ` Alan McKinnon
2014-02-13 1:54 ` Nilesh Govindrajan
` (2 more replies)
2014-02-14 18:03 ` [gentoo-user] " eroen
1 sibling, 3 replies; 21+ messages in thread
From: Alan McKinnon @ 2014-02-13 0:44 UTC (permalink / raw
To: gentoo-user
On 13/02/2014 02:40, Edward M wrote:
> Howdy,
>
> Been busy learning Linux :-) got new email other was getting crowded.
> I'm planing on installing Gentoo on a few systems and I was wondering
> to save bandwidth, i could install portage to the other Gentoo installs
> from my system instead downloading from mirrors?
>
> Thanks in advance!
>
Yes.
The stage are just tarballs, download them once, copy to the new
location and unpack.
Same with the portage snapshots.
Same with the distfiles.
they are just files, copy them to where they need to be and use them, or
let emerge find them.
Read the install docs first and learn more about how Linux works on the
command line. Pretty soon you'll find the bits where the manual says
"download such-and-such from this place" and you'll spot that if you
already have the downloadable file you can just use it already.
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-13 0:44 ` Alan McKinnon
@ 2014-02-13 1:54 ` Nilesh Govindrajan
2014-02-13 4:57 ` Edward M
2014-02-13 5:01 ` Edward M
2014-02-13 16:35 ` Edward M
2 siblings, 1 reply; 21+ messages in thread
From: Nilesh Govindrajan @ 2014-02-13 1:54 UTC (permalink / raw
To: gentoo-user
On Thursday 13 February 2014 06:14 AM, Alan McKinnon wrote:
> On 13/02/2014 02:40, Edward M wrote:
>> Howdy,
>>
>> Been busy learning Linux :-) got new email other was getting crowded.
>> I'm planing on installing Gentoo on a few systems and I was wondering
>> to save bandwidth, i could install portage to the other Gentoo installs
>> from my system instead downloading from mirrors?
>>
>> Thanks in advance!
>>
>
> Yes.
>
> The stage are just tarballs, download them once, copy to the new
> location and unpack.
> Same with the portage snapshots.
> Same with the distfiles.
> they are just files, copy them to where they need to be and use them, or
> let emerge find them.
>
> Read the install docs first and learn more about how Linux works on the
> command line. Pretty soon you'll find the bits where the manual says
> "download such-and-such from this place" and you'll spot that if you
> already have the downloadable file you can just use it already.
>
>
>
If you have a common machine or NAS, put them there. You can mount
/usr/portage to NAS / NFS. It does work.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-13 1:54 ` Nilesh Govindrajan
@ 2014-02-13 4:57 ` Edward M
0 siblings, 0 replies; 21+ messages in thread
From: Edward M @ 2014-02-13 4:57 UTC (permalink / raw
To: gentoo-user
On Thu, 13 Feb 2014 07:24:44 +0530
Nilesh Govindrajan <me@nileshgr.com> wrote:
> On Thursday 13 February 2014 06:14 AM, Alan McKinnon wrote:
> > On 13/02/2014 02:40, Edward M wrote:
> >> Howdy,
> >>
> >> Been busy learning Linux :-) got new email other was getting
> >> crowded. I'm planing on installing Gentoo on a few systems and I
> >> was wondering to save bandwidth, i could install portage to the
> >> other Gentoo installs from my system instead downloading from
> >> mirrors?
> >>
> >> Thanks in advance!
> >>
> >
> > Yes.
> >
> > The stage are just tarballs, download them once, copy to the new
> > location and unpack.
> > Same with the portage snapshots.
> > Same with the distfiles.
> > they are just files, copy them to where they need to be and use
> > them, or let emerge find them.
> >
> > Read the install docs first and learn more about how Linux works on
> > the command line. Pretty soon you'll find the bits where the manual
> > says "download such-and-such from this place" and you'll spot that
> > if you already have the downloadable file you can just use it
> > already.
> >
> >
> >
>
> If you have a common machine or NAS, put them there. You can mount
> /usr/portage to NAS / NFS. It does work.
>
Thanks for the great advice. I will start reading on how setting
an NFS system, since,i already have the Gentoo nfs wiki and an old
amd64 pc just sitting here collecting dust.
https://wiki.gentoo.org/wiki/NFSv4
Regards
--
Learing Linux with Gentoo to earn LPIC1.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-13 0:44 ` Alan McKinnon
2014-02-13 1:54 ` Nilesh Govindrajan
@ 2014-02-13 5:01 ` Edward M
2014-02-13 16:35 ` Edward M
2 siblings, 0 replies; 21+ messages in thread
From: Edward M @ 2014-02-13 5:01 UTC (permalink / raw
To: gentoo-user
On Thu, 13 Feb 2014 02:44:02 +0200
Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On 13/02/2014 02:40, Edward M wrote:
> > Howdy,
> >
> > Been busy learning Linux :-) got new email other was getting
> > crowded. I'm planing on installing Gentoo on a few systems and I
> > was wondering to save bandwidth, i could install portage to the
> > other Gentoo installs from my system instead downloading from
> > mirrors?
> >
> > Thanks in advance!
> >
>
> Yes.
>
> The stage are just tarballs, download them once, copy to the new
> location and unpack.
> Same with the portage snapshots.
> Same with the distfiles.
> they are just files, copy them to where they need to be and use them,
> or let emerge find them.
>
> Read the install docs first and learn more about how Linux works on
> the command line. Pretty soon you'll find the bits where the manual
> says "download such-and-such from this place" and you'll spot that if
> you already have the downloadable file you can just use it already.
>
>
>
Thanks for the reply. this sounds more complicated and i think I
will wait on installing gentoo on the other systems, until, i
have gather all the needed docs and howtos. so portage
installation will go smoothly.
regards
--
Learing Linux with Gentoo to earn LPIC1.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-13 0:44 ` Alan McKinnon
2014-02-13 1:54 ` Nilesh Govindrajan
2014-02-13 5:01 ` Edward M
@ 2014-02-13 16:35 ` Edward M
2014-02-13 16:55 ` Alan McKinnon
2 siblings, 1 reply; 21+ messages in thread
From: Edward M @ 2014-02-13 16:35 UTC (permalink / raw
To: gentoo-user
On Thu, 13 Feb 2014 02:44:02 +0200
Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On 13/02/2014 02:40, Edward M wrote:
> > Howdy,
> >
> > Been busy learning Linux :-) got new email other was getting
> > crowded. I'm planing on installing Gentoo on a few systems and I
> > was wondering to save bandwidth, i could install portage to the
> > other Gentoo installs from my system instead downloading from
> > mirrors?
> >
> > Thanks in advance!
> >
>
> Yes.
>
> The stage are just tarballs, download them once, copy to the new
> location and unpack.
> Same with the portage snapshots.
> Same with the distfiles.
> they are just files, copy them to where they need to be and use them,
> or let emerge find them.
>
> Read the install docs first and learn more about how Linux works on
> the command line. Pretty soon you'll find the bits where the manual
> says "download such-and-such from this place" and you'll spot that if
> you already have the downloadable file you can just use it already.
>
>
>
Alan,
I want to apologized I did not thanked you for the great advice you
gave me. I noticed this this morning when I re-read my emails.
Best Regards.
--
Learing Linux with Gentoo to earn LPIC1.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-13 16:35 ` Edward M
@ 2014-02-13 16:55 ` Alan McKinnon
2014-02-13 18:11 ` J. Roeleveld
2014-02-14 6:59 ` Edward M
0 siblings, 2 replies; 21+ messages in thread
From: Alan McKinnon @ 2014-02-13 16:55 UTC (permalink / raw
To: gentoo-user
On 13/02/2014 18:35, Edward M wrote:
> On Thu, 13 Feb 2014 02:44:02 +0200
> Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>
>> On 13/02/2014 02:40, Edward M wrote:
>>> Howdy,
>>>
>>> Been busy learning Linux :-) got new email other was getting
>>> crowded. I'm planing on installing Gentoo on a few systems and I
>>> was wondering to save bandwidth, i could install portage to the
>>> other Gentoo installs from my system instead downloading from
>>> mirrors?
>>>
>>> Thanks in advance!
>>>
>>
>> Yes.
>>
>> The stage are just tarballs, download them once, copy to the new
>> location and unpack.
>> Same with the portage snapshots.
>> Same with the distfiles.
>> they are just files, copy them to where they need to be and use them,
>> or let emerge find them.
>>
>> Read the install docs first and learn more about how Linux works on
>> the command line. Pretty soon you'll find the bits where the manual
>> says "download such-and-such from this place" and you'll spot that if
>> you already have the downloadable file you can just use it already.
>>
>>
>>
>
> Alan,
>
> I want to apologized I did not thanked you for the great advice you
> gave me. I noticed this this morning when I re-read my emails.
>
> Best Regards.
No problem. Come check my inbox sometime, any given mail stands a 1 in 3
chance of being answered at all :-)
I see earlier in the thread someone mentioned sharing the portage tree
over NFS. Now this is by far the best solution of all in terms of
outright performance; but be warned up front - there are pitfalls.
NFS is nothing like setting up a Windows share, and there's nothing
about it that just magically works. Folks new to Linux often have heaps
of trouble with it (mostly because NFS assumes you are going to do a
whole lot of heavy lifting yourself and you have already dealt with the
tricky issue of keeping user accounts in sync, and permission woes). So
by all means use NFS, just know upfront the learning curve is steepish,
and the good folks on this list can give tons of good advice as well as
get you through the arcane basics :-)
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-13 16:55 ` Alan McKinnon
@ 2014-02-13 18:11 ` J. Roeleveld
2014-02-13 18:43 ` Nilesh Govindrajan
2014-02-14 7:15 ` Edward M
2014-02-14 6:59 ` Edward M
1 sibling, 2 replies; 21+ messages in thread
From: J. Roeleveld @ 2014-02-13 18:11 UTC (permalink / raw
To: gentoo-user
On 13 February 2014 17:55:19 CET, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>On 13/02/2014 18:35, Edward M wrote:
>> On Thu, 13 Feb 2014 02:44:02 +0200
>> Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>>
>>> On 13/02/2014 02:40, Edward M wrote:
>>>> Howdy,
>>>>
>>>> Been busy learning Linux :-) got new email other was getting
>>>> crowded. I'm planing on installing Gentoo on a few systems and I
>>>> was wondering to save bandwidth, i could install portage to the
>>>> other Gentoo installs from my system instead downloading from
>>>> mirrors?
>>>>
>>>> Thanks in advance!
>>>>
>>>
>>> Yes.
>>>
>>> The stage are just tarballs, download them once, copy to the new
>>> location and unpack.
>>> Same with the portage snapshots.
>>> Same with the distfiles.
>>> they are just files, copy them to where they need to be and use
>them,
>>> or let emerge find them.
>>>
>>> Read the install docs first and learn more about how Linux works on
>>> the command line. Pretty soon you'll find the bits where the manual
>>> says "download such-and-such from this place" and you'll spot that
>if
>>> you already have the downloadable file you can just use it already.
>>>
>>>
>>>
>>
>> Alan,
>>
>> I want to apologized I did not thanked you for the great advice you
>> gave me. I noticed this this morning when I re-read my emails.
>>
>> Best Regards.
>
>
>No problem. Come check my inbox sometime, any given mail stands a 1 in
>3
>chance of being answered at all :-)
>
>I see earlier in the thread someone mentioned sharing the portage tree
>over NFS. Now this is by far the best solution of all in terms of
>outright performance; but be warned up front - there are pitfalls.
>
>NFS is nothing like setting up a Windows share, and there's nothing
>about it that just magically works. Folks new to Linux often have heaps
>of trouble with it (mostly because NFS assumes you are going to do a
>whole lot of heavy lifting yourself and you have already dealt with the
>tricky issue of keeping user accounts in sync, and permission woes). So
>by all means use NFS, just know upfront the learning curve is steepish,
>and the good folks on this list can give tons of good advice as well as
>get you through the arcane basics :-)
If you want to do NFS. Let us know.
It can be done easier then Alan makes out. But you then need to ensure only your machines are connected to the network.
In simple terms:
Configure NFS to allow every user from any machine (or network ip range) has access to the files. The NFS server can be told to replace any connecting user with a single user on the server.
That is what I do. With a good firewall preventing non wired owned machines to have any access.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-13 18:11 ` J. Roeleveld
@ 2014-02-13 18:43 ` Nilesh Govindrajan
2014-02-14 7:05 ` Edward M
2014-02-14 7:15 ` Edward M
1 sibling, 1 reply; 21+ messages in thread
From: Nilesh Govindrajan @ 2014-02-13 18:43 UTC (permalink / raw
To: gentoo-user
On Thursday 13 February 2014 11:41 PM, J. Roeleveld wrote:
> On 13 February 2014 17:55:19 CET, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>> On 13/02/2014 18:35, Edward M wrote:
>>> On Thu, 13 Feb 2014 02:44:02 +0200
>>> Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>>>
>>>> On 13/02/2014 02:40, Edward M wrote:
>>>>> Howdy,
>>>>>
>>>>> Been busy learning Linux :-) got new email other was getting
>>>>> crowded. I'm planing on installing Gentoo on a few systems and I
>>>>> was wondering to save bandwidth, i could install portage to the
>>>>> other Gentoo installs from my system instead downloading from
>>>>> mirrors?
>>>>>
>>>>> Thanks in advance!
>>>>>
>>>>
>>>> Yes.
>>>>
>>>> The stage are just tarballs, download them once, copy to the new
>>>> location and unpack.
>>>> Same with the portage snapshots.
>>>> Same with the distfiles.
>>>> they are just files, copy them to where they need to be and use
>> them,
>>>> or let emerge find them.
>>>>
>>>> Read the install docs first and learn more about how Linux works on
>>>> the command line. Pretty soon you'll find the bits where the manual
>>>> says "download such-and-such from this place" and you'll spot that
>> if
>>>> you already have the downloadable file you can just use it already.
>>>>
>>>>
>>>>
>>>
>>> Alan,
>>>
>>> I want to apologized I did not thanked you for the great advice you
>>> gave me. I noticed this this morning when I re-read my emails.
>>>
>>> Best Regards.
>>
>>
>> No problem. Come check my inbox sometime, any given mail stands a 1 in
>> 3
>> chance of being answered at all :-)
>>
>> I see earlier in the thread someone mentioned sharing the portage tree
>> over NFS. Now this is by far the best solution of all in terms of
>> outright performance; but be warned up front - there are pitfalls.
>>
>> NFS is nothing like setting up a Windows share, and there's nothing
>> about it that just magically works. Folks new to Linux often have heaps
>> of trouble with it (mostly because NFS assumes you are going to do a
>> whole lot of heavy lifting yourself and you have already dealt with the
>> tricky issue of keeping user accounts in sync, and permission woes). So
>> by all means use NFS, just know upfront the learning curve is steepish,
>> and the good folks on this list can give tons of good advice as well as
>> get you through the arcane basics :-)
>
> If you want to do NFS. Let us know.
> It can be done easier then Alan makes out. But you then need to ensure only your machines are connected to the network.
>
> In simple terms:
> Configure NFS to allow every user from any machine (or network ip range) has access to the files. The NFS server can be told to replace any connecting user with a single user on the server.
>
> That is what I do. With a good firewall preventing non wired owned machines to have any access.
>
> --
> Joost
>
My favorite firewall rule to do this don't restrict any kind of traffic
between own network and filter the rest.
Use ipset. Very easy.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-13 16:55 ` Alan McKinnon
2014-02-13 18:11 ` J. Roeleveld
@ 2014-02-14 6:59 ` Edward M
2014-02-14 7:14 ` William Kenworthy
1 sibling, 1 reply; 21+ messages in thread
From: Edward M @ 2014-02-14 6:59 UTC (permalink / raw
To: gentoo-user
On Thu, 13 Feb 2014 18:55:19 +0200
Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On 13/02/2014 18:35, Edward M wrote:
> > On Thu, 13 Feb 2014 02:44:02 +0200
> > Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> >
> >> On 13/02/2014 02:40, Edward M wrote:
> >>> Howdy,
> >>>
> >>> Been busy learning Linux :-) got new email other was getting
> >>> crowded. I'm planing on installing Gentoo on a few systems and I
> >>> was wondering to save bandwidth, i could install portage to the
> >>> other Gentoo installs from my system instead downloading from
> >>> mirrors?
> >>>
> >>> Thanks in advance!
> >>>
> >>
> >> Yes.
> >>
> >> The stage are just tarballs, download them once, copy to the new
> >> location and unpack.
> >> Same with the portage snapshots.
> >> Same with the distfiles.
> >> they are just files, copy them to where they need to be and use
> >> them, or let emerge find them.
> >>
> >> Read the install docs first and learn more about how Linux works on
> >> the command line. Pretty soon you'll find the bits where the manual
> >> says "download such-and-such from this place" and you'll spot that
> >> if you already have the downloadable file you can just use it
> >> already.
> >>
> >>
> >>
> >
> > Alan,
> >
> > I want to apologized I did not thanked you for the great advice
> > you gave me. I noticed this this morning when I re-read my emails.
> >
> > Best Regards.
>
>
> No problem. Come check my inbox sometime, any given mail stands a 1
> in 3 chance of being answered at all :-)
>
> I see earlier in the thread someone mentioned sharing the portage tree
> over NFS. Now this is by far the best solution of all in terms of
> outright performance; but be warned up front - there are pitfalls.
>
> NFS is nothing like setting up a Windows share, and there's nothing
> about it that just magically works. Folks new to Linux often have
> heaps of trouble with it (mostly because NFS assumes you are going to
> do a whole lot of heavy lifting yourself and you have already dealt
> with the tricky issue of keeping user accounts in sync, and
> permission woes). So by all means use NFS, just know upfront the
> learning curve is steepish, and the good folks on this list can give
> tons of good advice as well as get you through the arcane basics :-)
Thank you for this valuable advice.
I have been doing some research using bing and google and I found some
howtos,docs setting up NFS portage. hope they work. thanks again
--
Learing Linux with Gentoo to earn LPIC1.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-13 18:43 ` Nilesh Govindrajan
@ 2014-02-14 7:05 ` Edward M
2014-02-14 10:20 ` J. Roeleveld
2014-02-14 10:20 ` J. Roeleveld
0 siblings, 2 replies; 21+ messages in thread
From: Edward M @ 2014-02-14 7:05 UTC (permalink / raw
To: gentoo-user
On Fri, 14 Feb 2014 00:13:19 +0530
Nilesh Govindrajan <me@nileshgr.com> wrote:
> My favorite firewall rule to do this don't restrict any kind of
> traffic between own network and filter the rest.
> Use ipset. Very easy.
I have zero knowledge how ipsec works. once i have nfs set i'll do
ipsec second. nfs will be in my private network for my gentoo
systems(laptops,server,client) boxes. thanks for the tip.
--
Learing Linux with Gentoo to earn LPIC1.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-14 6:59 ` Edward M
@ 2014-02-14 7:14 ` William Kenworthy
2014-02-14 7:22 ` Edward M
0 siblings, 1 reply; 21+ messages in thread
From: William Kenworthy @ 2014-02-14 7:14 UTC (permalink / raw
To: gentoo-user
On 14/02/14 14:59, Edward M wrote:
> On Thu, 13 Feb 2014 18:55:19 +0200
> Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>
>> On 13/02/2014 18:35, Edward M wrote:
>>> On Thu, 13 Feb 2014 02:44:02 +0200
>>> Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>>>
>>>> On 13/02/2014 02:40, Edward M wrote:
>>>>> Howdy,
>>>>>
>>>>> Been busy learning Linux :-) got new email other was getting
>>>>> crowded. I'm planing on installing Gentoo on a few systems and I
>>>>> was wondering to save bandwidth, i could install portage to the
>>>>> other Gentoo installs from my system instead downloading from
>>>>> mirrors?
>>>>>
>>>>> Thanks in advance!
>>>>>
>>>>
>>>> Yes.
>>>>
>>>> The stage are just tarballs, download them once, copy to the new
>>>> location and unpack.
>>>> Same with the portage snapshots.
>>>> Same with the distfiles.
>>>> they are just files, copy them to where they need to be and use
>>>> them, or let emerge find them.
>>>>
>>>> Read the install docs first and learn more about how Linux works on
>>>> the command line. Pretty soon you'll find the bits where the manual
>>>> says "download such-and-such from this place" and you'll spot that
>>>> if you already have the downloadable file you can just use it
>>>> already.
>>>>
>>>>
>>>>
>>>
>>> Alan,
>>>
>>> I want to apologized I did not thanked you for the great advice
>>> you gave me. I noticed this this morning when I re-read my emails.
>>>
>>> Best Regards.
>>
>>
>> No problem. Come check my inbox sometime, any given mail stands a 1
>> in 3 chance of being answered at all :-)
>>
>> I see earlier in the thread someone mentioned sharing the portage tree
>> over NFS. Now this is by far the best solution of all in terms of
>> outright performance; but be warned up front - there are pitfalls.
>>
>> NFS is nothing like setting up a Windows share, and there's nothing
>> about it that just magically works. Folks new to Linux often have
>> heaps of trouble with it (mostly because NFS assumes you are going to
>> do a whole lot of heavy lifting yourself and you have already dealt
>> with the tricky issue of keeping user accounts in sync, and
>> permission woes). So by all means use NFS, just know upfront the
>> learning curve is steepish, and the good folks on this list can give
>> tons of good advice as well as get you through the arcane basics :-)
>
>
> Thank you for this valuable advice.
> I have been doing some research using bing and google and I found some
> howtos,docs setting up NFS portage. hope they work. thanks again
>
An easier method than NFS that avoids some of the pitfalls is
http-replicator. Works like an upstream mirror - the first request
causes the files to be downloaded to the cache and supplied to the host
- then the next host to need the same files gets served from the cache.
Also handles parallel requests unlike NFS.
BillK
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-13 18:11 ` J. Roeleveld
2014-02-13 18:43 ` Nilesh Govindrajan
@ 2014-02-14 7:15 ` Edward M
2014-02-14 8:08 ` Nilesh Govindrajan
1 sibling, 1 reply; 21+ messages in thread
From: Edward M @ 2014-02-14 7:15 UTC (permalink / raw
To: gentoo-user
On Thu, 13 Feb 2014 19:11:44 +0100
"J. Roeleveld" <joost@antarean.org> wrote:
> If you want to do NFS. Let us know.
> It can be done easier then Alan makes out. But you then need to
> ensure only your machines are connected to the network.
That is so kind of you. when i have problems i will ask for help
thank you.
> In simple terms:
> Configure NFS to allow every user from any machine (or network ip
> range) has access to the files. The NFS server can be told to replace
> any connecting user with a single user on the server.
>
> That is what I do. With a good firewall preventing non wired owned
> machines to have any access.
ipsec was mentioned i may need to use this. The nfs will be in my
LAN. i think ipsec may be better just realized my cable modem
has firewall built in will that interfere with ipsec?
--
Learing Linux with Gentoo to earn LPIC1.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-14 7:14 ` William Kenworthy
@ 2014-02-14 7:22 ` Edward M
0 siblings, 0 replies; 21+ messages in thread
From: Edward M @ 2014-02-14 7:22 UTC (permalink / raw
To: gentoo-user
On Fri, 14 Feb 2014 15:14:05 +0800
William Kenworthy <billk@iinet.net.au> wrote:
> An easier method than NFS that avoids some of the pitfalls is
> http-replicator. Works like an upstream mirror - the first request
> causes the files to be downloaded to the cache and supplied to the
> host
> - then the next host to need the same files gets served from the
> cache. Also handles parallel requests unlike NFS.
>
> BillK
This also sounds good. Can I emerge-webrsync then use this to supply
the newest portage to my other Gentoo systems?
--
Learing Linux with Gentoo to earn LPIC1.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-14 7:15 ` Edward M
@ 2014-02-14 8:08 ` Nilesh Govindrajan
2014-02-14 8:31 ` Edward M
0 siblings, 1 reply; 21+ messages in thread
From: Nilesh Govindrajan @ 2014-02-14 8:08 UTC (permalink / raw
To: Gentoo User Mailing List
[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]
On 14 Feb 2014 12:46, "Edward M" <edwardm.gentoo.java@live.com> wrote:
>
> On Thu, 13 Feb 2014 19:11:44 +0100
> "J. Roeleveld" <joost@antarean.org> wrote:
>
> > If you want to do NFS. Let us know.
> > It can be done easier then Alan makes out. But you then need to
> > ensure only your machines are connected to the network.
>
> That is so kind of you. when i have problems i will ask for help
> thank you.
>
>
> > In simple terms:
> > Configure NFS to allow every user from any machine (or network ip
> > range) has access to the files. The NFS server can be told to replace
> > any connecting user with a single user on the server.
> >
> > That is what I do. With a good firewall preventing non wired owned
> > machines to have any access.
>
> ipsec was mentioned i may need to use this. The nfs will be in my
> LAN. i think ipsec may be better just realized my cable modem
> has firewall built in will that interfere with ipsec?
> --
> Learing Linux with Gentoo to earn LPIC1.
>
>
ipset! = ipsec
[-- Attachment #2: Type: text/html, Size: 1419 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-14 8:08 ` Nilesh Govindrajan
@ 2014-02-14 8:31 ` Edward M
0 siblings, 0 replies; 21+ messages in thread
From: Edward M @ 2014-02-14 8:31 UTC (permalink / raw
To: gentoo-user
On Fri, 14 Feb 2014 13:38:50 +0530
Nilesh Govindrajan <me@nileshgr.com> wrote:
> On 14 Feb 2014 12:46, "Edward M" <edwardm.gentoo.java@live.com> wrote:
> >
> > On Thu, 13 Feb 2014 19:11:44 +0100
> > "J. Roeleveld" <joost@antarean.org> wrote:
> >
> > > If you want to do NFS. Let us know.
> > > It can be done easier then Alan makes out. But you then need to
> > > ensure only your machines are connected to the network.
> >
> > That is so kind of you. when i have problems i will ask for help
> > thank you.
> >
> >
> > > In simple terms:
> > > Configure NFS to allow every user from any machine (or network ip
> > > range) has access to the files. The NFS server can be told to
> > > replace any connecting user with a single user on the server.
> > >
> > > That is what I do. With a good firewall preventing non wired owned
> > > machines to have any access.
> >
> > ipsec was mentioned i may need to use this. The nfs will be in
> > my LAN. i think ipsec may be better just realized my cable modem
> > has firewall built in will that interfere with ipsec?
> > --
> > Learing Linux with Gentoo to earn LPIC1.
> >
> >
> ipset! = ipsec
I do not know why I've got Internet Protocol Security etched in my
mind. Thank You for bringing this to my attention.
--
Best regards,
Edward M.
Learing Linux with Gentoo to earn LPIC1.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-14 7:05 ` Edward M
@ 2014-02-14 10:20 ` J. Roeleveld
2014-02-14 10:20 ` J. Roeleveld
1 sibling, 0 replies; 21+ messages in thread
From: J. Roeleveld @ 2014-02-14 10:20 UTC (permalink / raw
To: gentoo-user
On Fri, February 14, 2014 08:05, Edward M wrote:
> On Fri, 14 Feb 2014 00:13:19 +0530
> Nilesh Govindrajan <me@nileshgr.com> wrote:
>
>> My favorite firewall rule to do this don't restrict any kind of
>> traffic between own network and filter the rest.
>> Use ipset. Very easy.
>
> I have zero knowledge how ipsec works. once i have nfs set i'll do
> ipsec second. nfs will be in my private network for my gentoo
> systems(laptops,server,client) boxes. thanks for the tip.
Important:
Nilesh was talking about ipseT (it's part of iptables, which provides
firewall functionality in Linux.)
ipseC is VPN/encryption. Not easy to implement and only necessary if you
want to be able to access your home network from a variety of other
devices.
That is NOT necessary for what you are asking for.
--
Joost
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-14 7:05 ` Edward M
2014-02-14 10:20 ` J. Roeleveld
@ 2014-02-14 10:20 ` J. Roeleveld
2014-02-15 0:39 ` Edward M
1 sibling, 1 reply; 21+ messages in thread
From: J. Roeleveld @ 2014-02-14 10:20 UTC (permalink / raw
To: gentoo-user
On Fri, February 14, 2014 08:05, Edward M wrote:
> On Fri, 14 Feb 2014 00:13:19 +0530
> Nilesh Govindrajan <me@nileshgr.com> wrote:
>
>> My favorite firewall rule to do this don't restrict any kind of
>> traffic between own network and filter the rest.
>> Use ipset. Very easy.
>
> I have zero knowledge how ipsec works. once i have nfs set i'll do
> ipsec second. nfs will be in my private network for my gentoo
> systems(laptops,server,client) boxes. thanks for the tip.
Important:
Nilesh was talking about ipseT (it's part of iptables, which provides
firewall functionality in Linux.)
ipseC is VPN/encryption. Not easy to implement and only necessary if you
want to be able to access your home network from a variety of other
devices.
That is NOT necessary for what you are asking for.
--
Joost
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-user] Re: to install portage on other gentoo installs
2014-02-13 0:40 [gentoo-user] to install portage on other gentoo installs Edward M
2014-02-13 0:44 ` Alan McKinnon
@ 2014-02-14 18:03 ` eroen
2014-02-14 22:27 ` Edward M
1 sibling, 1 reply; 21+ messages in thread
From: eroen @ 2014-02-14 18:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2229 bytes --]
On Wed, 12 Feb 2014 16:40:22 -0800, Edward M
<edwardm.gentoo.java@live.com> wrote:
> Howdy,
>
> Been busy learning Linux :-) got new email other was getting crowded.
> I'm planing on installing Gentoo on a few systems and I was wondering
> to save bandwidth, i could install portage to the other Gentoo
> installs from my system instead downloading from mirrors?
>
> Thanks in advance!
Setting up a local rsync mirror for a portage tree is fairly simple,
you share the working tree at /usr/portage on a local server to
the network and make sure the server is up-to-date before syncing other
clients to it. This is documented in [1]. After setting up the mirror,
you only need to sync-uri in /etc/portage/repos.conf on the other
(local) clients. See portage(5)[2], section 'repos.conf' and
make.conf(5)[3], section 'SYNC' for details on client configuration.
Please *do* read those sections, as much of the information on the wiki
regarding the SYNC variable is outdated.
For sharing distfiles between hosts, a http server sharing the
distfiles folder and prepending the server's uri to GENTOO_MIRRORS in
make.conf[3] might be sufficient for your needs. If the installs are
not homogenous, you can even set up http servers on all of them, and
add all the other local hosts to GENTOO_MIRRORS.
You might want to skim through the FEATURES section in make.conf(5)[3]
for using local distfiles mirrors, as some of them can improve the
usefulness of the mirror significantly.
NFS is another possibility for both portage tree and distfiles and can
reduce total disk space needs, but it incurs significant network
latency which is especially noticeable for portage trees. I use it
myself for virtual machines, but would not suggest it for use over a
physical network. Also note that portage has PORTAGE_RO_DISTDIRS[3] as
an alternative to GENTOO_MIRRORS for eg. read-only *mounted* network
shares which may provide some extra flexibility.
1: https://wiki.gentoo.org/wiki/Project:Infrastructure/Rsync#Setting_up_your_own_local_rsync_mirror
2: https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html
3: https://dev.gentoo.org/~zmedico/portage/doc/man/make.conf.5.html
--
eroen
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: to install portage on other gentoo installs
2014-02-14 18:03 ` [gentoo-user] " eroen
@ 2014-02-14 22:27 ` Edward M
0 siblings, 0 replies; 21+ messages in thread
From: Edward M @ 2014-02-14 22:27 UTC (permalink / raw
To: gentoo-user
On Fri, 14 Feb 2014 19:03:10 +0100
eroen <eroen@falcon.eroen.eu> wrote:
> On Wed, 12 Feb 2014 16:40:22 -0800, Edward M
> <edwardm.gentoo.java@live.com> wrote:
> > Howdy,
> >
> > Been busy learning Linux :-) got new email other was getting
> > crowded. I'm planing on installing Gentoo on a few systems and I
> > was wondering to save bandwidth, i could install portage to the
> > other Gentoo installs from my system instead downloading from
> > mirrors?
> >
> > Thanks in advance!
>
> Setting up a local rsync mirror for a portage tree is fairly simple,
> you share the working tree at /usr/portage on a local server to
> the network and make sure the server is up-to-date before syncing
> other clients to it. This is documented in [1]. After setting up the
> mirror, you only need to sync-uri in /etc/portage/repos.conf on the
> other (local) clients. See portage(5)[2], section 'repos.conf' and
> make.conf(5)[3], section 'SYNC' for details on client configuration.
> Please *do* read those sections, as much of the information on the
> wiki regarding the SYNC variable is outdated.
>
> For sharing distfiles between hosts, a http server sharing the
> distfiles folder and prepending the server's uri to GENTOO_MIRRORS in
> make.conf[3] might be sufficient for your needs. If the installs are
> not homogenous, you can even set up http servers on all of them, and
> add all the other local hosts to GENTOO_MIRRORS.
>
> You might want to skim through the FEATURES section in make.conf(5)[3]
> for using local distfiles mirrors, as some of them can improve the
> usefulness of the mirror significantly.
>
> NFS is another possibility for both portage tree and distfiles and can
> reduce total disk space needs, but it incurs significant network
> latency which is especially noticeable for portage trees. I use it
> myself for virtual machines, but would not suggest it for use over a
> physical network. Also note that portage has PORTAGE_RO_DISTDIRS[3] as
> an alternative to GENTOO_MIRRORS for eg. read-only *mounted* network
> shares which may provide some extra flexibility.
>
> 1:
> https://wiki.gentoo.org/wiki/Project:Infrastructure/Rsync#Setting_up_your_own_local_rsync_mirror
> 2: https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html 3:
> https://dev.gentoo.org/~zmedico/portage/doc/man/make.conf.5.html
>
Thank you for suppling great lesson and links. I will go over the
sections you mentioned and take notes. I will be having fun this
weekend...configuring Gentoo, with all the great knowledge i was
given from kind Gentoo users. Thanks again.
Best regards,
Ed
--
Learing Linux with Gentoo to earn LPIC1.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] to install portage on other gentoo installs
2014-02-14 10:20 ` J. Roeleveld
@ 2014-02-15 0:39 ` Edward M
0 siblings, 0 replies; 21+ messages in thread
From: Edward M @ 2014-02-15 0:39 UTC (permalink / raw
To: gentoo-user
On Fri, 14 Feb 2014 11:20:26 +0100
"J. Roeleveld" <joost@antarean.org> wrote:
> On Fri, February 14, 2014 08:05, Edward M wrote:
> > On Fri, 14 Feb 2014 00:13:19 +0530
> > Nilesh Govindrajan <me@nileshgr.com> wrote:
> >
> >> My favorite firewall rule to do this don't restrict any kind of
> >> traffic between own network and filter the rest.
> >> Use ipset. Very easy.
> >
> > I have zero knowledge how ipsec works. once i have nfs set i'll
> > do ipsec second. nfs will be in my private network for my gentoo
> > systems(laptops,server,client) boxes. thanks for the tip.
>
> Important:
> Nilesh was talking about ipseT (it's part of iptables, which provides
> firewall functionality in Linux.)
>
> ipseC is VPN/encryption. Not easy to implement and only necessary if
> you want to be able to access your home network from a variety of
> other devices.
> That is NOT necessary for what you are asking for.
>
> --
> Joost
>
>
Thank you for explaining what ipsec is used for, some reason i
automatically read as ipsec when Nilesh mentioned it. Nilesh brought it
up to my attention earliar; it was ipset not ipsec. thanks again for
the explanation.
Best regards
Ed
--
Learing Linux with Gentoo to earn LPIC1.
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2014-02-15 0:39 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-13 0:40 [gentoo-user] to install portage on other gentoo installs Edward M
2014-02-13 0:44 ` Alan McKinnon
2014-02-13 1:54 ` Nilesh Govindrajan
2014-02-13 4:57 ` Edward M
2014-02-13 5:01 ` Edward M
2014-02-13 16:35 ` Edward M
2014-02-13 16:55 ` Alan McKinnon
2014-02-13 18:11 ` J. Roeleveld
2014-02-13 18:43 ` Nilesh Govindrajan
2014-02-14 7:05 ` Edward M
2014-02-14 10:20 ` J. Roeleveld
2014-02-14 10:20 ` J. Roeleveld
2014-02-15 0:39 ` Edward M
2014-02-14 7:15 ` Edward M
2014-02-14 8:08 ` Nilesh Govindrajan
2014-02-14 8:31 ` Edward M
2014-02-14 6:59 ` Edward M
2014-02-14 7:14 ` William Kenworthy
2014-02-14 7:22 ` Edward M
2014-02-14 18:03 ` [gentoo-user] " eroen
2014-02-14 22:27 ` Edward M
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox