Use correct syntax markup for shell
Approved by: carlavilla
This commit is contained in:
parent
55c95407aa
commit
a9a9e66105
666 changed files with 17924 additions and 17924 deletions
|
|
@ -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
|
||||
....
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue