From owner-freebsd-questions@freebsd.org Sun Sep 20 15:28:01 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 75D1C3E4EF1 for ; Sun, 20 Sep 2020 15:28:01 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BvWfl4JF2z3S6W for ; Sun, 20 Sep 2020 15:27:59 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.159] (cpe-23-243-161-111.socal.res.rr.com [23.243.161.111]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 977ab494 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 20 Sep 2020 15:27:51 +0000 (UTC) Subject: Re: Offline systems To: Peter , freebsd-questions@freebsd.org References: <5F6762BE.5000700@aboutsupport.com> From: Pete Wright Message-ID: Date: Sun, 20 Sep 2020 08:27:53 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <5F6762BE.5000700@aboutsupport.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4BvWfl4JF2z3S6W X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-3.01 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.99)[-0.991]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_MEDIUM(-1.01)[-1.005]; RECEIVED_SPAMHAUS_PBL(0.00)[23.243.161.111:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.71)[-0.710]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2020 15:28:01 -0000 On 9/20/20 7:10 AM, Peter wrote: > Hi, > > I want to setup a few servers(30+) on  intranet network and NONE(not > even a master server or anything like that) of them having internet > access. > > What is best approach so I can still install ports/packages on demand ? > > Try to make custom repo similar to Ubuntu/Debian ? > > What is your advice ? > there is a section on setting up a local cache for pkg repositories here in the handbook: https://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/mirror-howto.html depending on your needs you could create a local cache for your systems based on the quarterly pkg releases.  then use sneaker net to make the cached packages available on your private network. alternatively you can use poudriere (https://www.freshports.org/ports-mgmt/poudriere/) and set that up to build your packages and serve them internally. -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA