aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/en/articles/hubs/_index.adoc
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2021-03-14 12:08:55 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-03-14 12:08:55 +0000
commita9a9e661059557e5bb6ab3e756e007b8e5d231ce (patch)
treeb4fba4f5b8c4f985ade395b460936a7447e8d499 /documentation/content/en/articles/hubs/_index.adoc
parent55c95407aa64d98cdd8edf18990d89e5b86db96c (diff)
Diffstat (limited to 'documentation/content/en/articles/hubs/_index.adoc')
-rw-r--r--documentation/content/en/articles/hubs/_index.adoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/content/en/articles/hubs/_index.adoc b/documentation/content/en/articles/hubs/_index.adoc
index 0ff5ca9f01..dde2707a58 100644
--- a/documentation/content/en/articles/hubs/_index.adoc
+++ b/documentation/content/en/articles/hubs/_index.adoc
@@ -140,7 +140,7 @@ Since the number of rsync clients will have a significant impact on the server m
A command line to mirror FreeBSD might look like:
-[source,bash]
+[source,shell]
....
% rsync -vaHz --delete rsync://ftp4.de.FreeBSD.org/FreeBSD/ /pub/FreeBSD/
....
@@ -154,7 +154,7 @@ The FreeBSD website should only be mirrored via rsync.
A command line to mirror the FreeBSD web site might look like:
-[source,bash]
+[source,shell]
....
% rsync -vaHz --delete rsync://bit0.us-west.freebsd.org/FreeBSD-www-data/ /usr/local/www/
....
@@ -164,14 +164,14 @@ A command line to mirror the FreeBSD web site might look like:
Due to very high requirements of bandwidth, storage and adminstration the FreeBSD Project has decided not to allow public mirrors of packages. For sites with lots of machines, it might be advantagous to run a caching HTTP proxy for the man:pkg[8] process. Alternatively specific packages and their dependencies can be fetched by running something like the following:
-[source,bash]
+[source,shell]
....
% pkg fetch -d -o /usr/local/mirror vim
....
Once those packages have been fetched, the repository metadata must be generated by running:
-[source,bash]
+[source,shell]
....
% pkg repo /usr/local/mirror
....