Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Repositorio
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
b1sh0p
n00b
n00b


Joined: 25 Mar 2006
Posts: 21
Location: São Paulo - Brasil

PostPosted: Wed Sep 16, 2009 1:54 am    Post subject: Repositorio Reply with quote

Pessoal estou querendo criar um repositorio local p mim...

Tipo sincronizado com algum lugar?


como faco?

nao tenho ideia nem por onde comecar.



vlws t+
Back to top
View user's profile Send private message
elissoncosta
n00b
n00b


Joined: 22 Jan 2009
Posts: 24
Location: Brasil

PostPosted: Sun Sep 20, 2009 8:50 pm    Post subject: Repositorio Reply with quote

b1sh0p,

Descomente as seguintes linhas no arquivo /etc/rsyncd.conf.

pid file = /var/run/rsyncd.pid
use chroot = yes
read only = yes

[gentoo-portage]
path = /usr/portage
comment = Gentoo Portage tree
exclude = /distfiles /packages


Inicie o serviço rsyncd:


# /etc/init.d/rsyncd start

Configure a inicialização automática do rsyncd:

# rc-update add rsyncd default

Atualização automática do repositório:

Adicione uma rotina diária no cron para atualização do repositório local:

0 0 * * * /usr/bin/emerge --sync

Configuração dos computadores que irão acessar o repositório local:

Edite o arquivo make.conf:

SYNC="rsync://nome_ou_ip_do_repositorio_local/gentoo-portage"


--
Elisson Costa
Back to top
View user's profile Send private message
b1sh0p
n00b
n00b


Joined: 25 Mar 2006
Posts: 21
Location: São Paulo - Brasil

PostPosted: Mon Sep 21, 2009 2:52 am    Post subject: Reply with quote

Elisson muito obrigado... so por curiosidade qual o tamnho disso?
Back to top
View user's profile Send private message
elissoncosta
n00b
n00b


Joined: 22 Jan 2009
Posts: 24
Location: Brasil

PostPosted: Mon Sep 21, 2009 8:48 pm    Post subject: Repositorio Reply with quote

Atualmente o meu repositório, sem contabilizar o diretório distfiles(onde residem os sources a serem compilados) está com 600Mb.

--
Elisson Costa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum