from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

83747

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Misc

Portage via NFS

You have multiple gentoo installations in your network and don't want to waste disc space for the portage tree and bandwidth to sync them all?

Just read ahead :)

installing nfs server and client

First you have to install an nfs server on the server you picked and nfs utils on the clients.
emerge nfs-utils
Next you need to enable nfs server/client support in the kernel of the machines you use. (Usually this is already enabled)

Add the needed initscripts to the runlevel and nfs should work.

server: rc-update add nfs default
client: rc-update add nfsmount default

exporting your portage tree

On the server side you need to export your portage tree:
nano -w /etc/exports
add
/usr/portage     192.168.0.0/24(rw,sync,no_root_squash)
(modify the ip/netmask according to your network settings)

start the nfs server and nfs clients

Now, start the init scripts.

cleaning clients old portage tree

Next step has to be repeated on all client machines, NOT on the server
cd /usr/portage
rm -r *
This cleans the existing portage tree.

mounting the server's tree

add this to the /etc/fstab file on each client
192.168.0.1:/usr/portage  /usr/portage  nfs  rw
mount the new tree
mount /usr/portage
if all went fine, you should see the portage tree in /usr/portage

once again, this time with the cache

repeat the steps above with the directory /var/cache/edb/dep/usr/portage this way, portage uses the server's portage cache, which speeds up things a bit.

summary

In this setup one client fetches a file, all client can use it, this saves bandwidth and time, but creates more internal network load.
Every user can sync the tree now or you could create a crontab on the server to have it sync every week. Please don't sync more than once a day.
back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2026-03-14
dist-kernel - 6.12.77
Ebuild name:

virtual/dist-kernel-6.12.77

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-03-14

dist-kernel - 6.18.18
Ebuild name:

virtual/dist-kernel-6.18.18

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-03-14

dist-kernel - 6.19.8
Ebuild name:

virtual/dist-kernel-6.19.8

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-03-14

ell - 0.83
Ebuild name:

dev-libs/ell-0.83

Description

Embedded Linux Library provides core, low-level functionality for system daemons

Added to portage

2026-03-14

gentoo-kernel - 6.12.77
Ebuild name:

sys-kernel/gentoo-kernel-6.12.77

Description

Linux kernel built with Gentoo patches

Added to portage

2026-03-14

gentoo-kernel - 6.18.18
Ebuild name:

sys-kernel/gentoo-kernel-6.18.18

Description

Linux kernel built with Gentoo patches

Added to portage

2026-03-14

gentoo-kernel - 6.19.8
Ebuild name:

sys-kernel/gentoo-kernel-6.19.8

Description

Linux kernel built with Gentoo patches

Added to portage

2026-03-14

gentoo-kernel-bin - 6.12.77
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.77

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-03-14

gentoo-kernel-bin - 6.18.18
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.18.18

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-03-14

gentoo-kernel-bin - 6.19.8
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.19.8

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-03-14

iwd - 3.12
Ebuild name:

net-wireless/iwd-3.12

Description

Wireless daemon for linux

Added to portage

2026-03-14

libplacebo - 7.360.1
Ebuild name:

media-libs/libplacebo-7.360.1

Description

Reusable library for GPU-accelerated image processing primitives

Added to portage

2026-03-14

lzlib - 1.16
Ebuild name:

app-arch/lzlib-1.16

Description

Library for lzip compression

Added to portage

2026-03-14

multi-term - 1.4-r1
Ebuild name:

app-emacs/multi-term-1.4-r1

Description

Manage multiple terminal buffers in Emacs

Added to portage

2026-03-14

nvidia-drivers - 595.44.03
Ebuild name:

x11-drivers/nvidia-drivers-595.44.03

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2026-03-14

sqlite - 3.51.3
Ebuild name:

dev-db/sqlite-3.51.3

Description

SQL database engine

Added to portage

2026-03-14

systemd - 259.4
Ebuild name:

sys-apps/systemd-259.4

Description

System and service manager for Linux

Added to portage

2026-03-14

systemd-utils - 259.4
Ebuild name:

sys-apps/systemd-utils-259.4

Description

Utilities split out from systemd for OpenRC users

Added to portage

2026-03-14

vanilla-kernel - 6.12.77
Ebuild name:

sys-kernel/vanilla-kernel-6.12.77

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-03-14

vanilla-kernel - 6.18.18
Ebuild name:

sys-kernel/vanilla-kernel-6.18.18

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-03-14

vanilla-kernel - 6.19.8
Ebuild name:

sys-kernel/vanilla-kernel-6.19.8

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-03-14

2026-03-13
awscli - 1.44.57
Ebuild name:

app-admin/awscli-1.44.57

Description

Universal Command Line Environment for AWS

Added to portage

2026-03-13

bitstring - 4.4.0
Ebuild name:

dev-python/bitstring-4.4.0

Description

A pure Python module for creation and analysis of binary data

Added to portage

2026-03-13

boto3 - 1.42.67
Ebuild name:

dev-python/boto3-1.42.67

Description

The AWS SDK for Python

Added to portage

2026-03-13

botocore - 1.42.67
Ebuild name:

dev-python/botocore-1.42.67

Description

Low-level, data-driven core of boto 3

Added to portage

2026-03-13

chrome-binary-plugins - 146.0.7680.75
Ebuild name:

www-plugins/chrome-binary-plugins-146.0.7680.75

Description

Binary plugins from Google Chrome for use in Chromi

Added to portage

2026-03-13

chromedriver-bin - 146.0.7680.75
Ebuild name:

www-apps/chromedriver-bin-146.0.7680.75

Description

WebDriver for Chrome

Added to portage

2026-03-13

chromium - 146.0.7680.75
Ebuild name:

www-client/chromium-146.0.7680.75

Description

Open-source version of Google Chrome web browser

Added to portage

2026-03-13

claude-code - 2.1.74
Ebuild name:

dev-util/claude-code-2.1.74

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-03-13

discord - 0.0.128
Ebuild name:

net-im/discord-0.0.128

Description

All-in-one voice and text chat for gamers

Added to portage

2026-03-13

google-auth - 2.49.1
Ebuild name:

dev-python/google-auth-2.49.1

Description

Google Authentication Library

Added to portage

2026-03-13

google-chrome - 146.0.7680.75
Ebuild name:

www-client/google-chrome-146.0.7680.75

Description

The web browser from Google

Added to portage

2026-03-13

klayout - 0.30.7
Ebuild name:

sci-electronics/klayout-0.30.7

Description

Viewer and editor for GDS and OASIS integrated circuit layouts

Added to portage

2026-03-13

libva-intel-media-driver - 26.1.4
Ebuild name:

media-libs/libva-intel-media-driver-26.1.4

Description

Intel Media Driver for VA-API (iHD)

Added to portage

2026-03-13

mesa - 26.0.2
Ebuild name:

media-libs/mesa-26.0.2

Description

OpenGL-like graphic library for Linux

Added to portage

2026-03-13

mesa_clc - 26.0.2
Ebuild name:

dev-util/mesa_clc-26.0.2

Description

mesa_clc tool used for building OpenCL C to SPIR-V

Added to portage

2026-03-13

nitrocli - 0.4.1-r2
Ebuild name:

app-crypt/nitrocli-0.4.1-r2

Description

A command line tool for interacting with Nitrokey devices

Added to portage

2026-03-13

nuitka - 4.0.5
Ebuild name:

dev-python/nuitka-4.0.5

Description

Python to native compiler

Added to portage

2026-03-13

openapi-core - 0.23.0
Ebuild name:

dev-python/openapi-core-0.23.0

Description

Client-side and server-side support for the OpenAPI Specification v3

Added to portage

2026-03-13

org-modern - 1.13
Ebuild name:

app-emacs/org-modern-1.13

Description

Modern style for your GNU Emacs Org buffers

Added to portage

2026-03-13

pecan - 1.8.0
Ebuild name:

dev-python/pecan-1.8.0

Description

A WSGI object-dispatching web framework, lean, fast, with few dependencies

Added to portage

2026-03-13

phonenumbers - 9.0.26
Ebuild name:

dev-python/phonenumbers-9.0.26

Description

Python port of Google's libphonenumber

Added to portage

2026-03-13

pkl-mode - 1.0.3
Ebuild name:

app-emacs/pkl-mode-1.0.3

Description

Major mode for editing Pkl files

Added to portage

2026-03-13

postfix - 3.11.1-r1
Ebuild name:

mail-mta/postfix-3.11.1-r1

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-03-13

postfix - 3.12_pre20260312
Ebuild name:

mail-mta/postfix-3.12_pre20260312

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-03-13

pyjwt - 2.12.0
Ebuild name:

dev-python/pyjwt-2.12.0

Description

JSON Web Token implementation in Python

Added to portage

2026-03-13

pytest-env - 1.6.0
Ebuild name:

dev-python/pytest-env-1.6.0

Description

pytest plugin that allows you to add environment variables

Added to portage

2026-03-13

rssguard - 5.0.4
Ebuild name:

net-news/rssguard-5.0.4

Description

Simple (yet powerful) news feed reader

Added to portage

2026-03-13

shell-maker - 0.89.1
Ebuild name:

app-emacs/shell-maker-0.89.1

Description

Interaction mode for making comint shells for GNU Emacs

Added to portage

2026-03-13

simpleeval - 1.0.5
Ebuild name:

dev-python/simpleeval-1.0.5

Description

A simple, safe single expression evaluator library

Added to portage

2026-03-13

tempel - 1.12
Ebuild name:

app-emacs/tempel-1.12

Description

Templates with in-buffer field editing for GNU Emacs

Added to portage

2026-03-13

tibs - 0.5.7
Ebuild name:

dev-python/tibs-0.5.7

Description

A sleek Python library for your binary data

Added to portage

2026-03-13

vanilla-sources - 6.12.77
Ebuild name:

sys-kernel/vanilla-sources-6.12.77

Description

Full sources for the Linux kernel

Added to portage

2026-03-13

vanilla-sources - 6.18.18
Ebuild name:

sys-kernel/vanilla-sources-6.18.18

Description

Full sources for the Linux kernel

Added to portage

2026-03-13

vanilla-sources - 6.19.8
Ebuild name:

sys-kernel/vanilla-sources-6.19.8

Description

Full sources for the Linux kernel

Added to portage

2026-03-13

vertico - 2.8
Ebuild name:

app-emacs/vertico-2.8

Description

Vertical interactive completion

Added to portage

2026-03-13

yt-dlp - 2026.03.13
Ebuild name:

net-misc/yt-dlp-2026.03.13

Description

youtube-dl fork with additional features and fixes

Added to portage

2026-03-13

yt-dlp-ejs - 0.7.0
Ebuild name:

dev-python/yt-dlp-ejs-0.7.0

Description

External JavaScript for yt-dlp supporting many runtimes

Added to portage

2026-03-13

zsnes - 2.1.0
Ebuild name:

games-emulation/zsnes-2.1.0

Description

Fork of the classic Super Nintendo emulator

Added to portage

2026-03-13

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 46.9 ms