| 1 |
'\" t |
| 2 |
.\" Title: drblsrv |
| 3 |
.\" Author: Georges Khaznadar <[email protected]> |
| 4 |
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> |
| 5 |
.\" Date: 12/27/2011 |
| 6 |
.\" Manual: Administration commands |
| 7 |
.\" Source: drblsrv |
| 8 |
.\" Language: English |
| 9 |
.\" |
| 10 |
.TH "DRBLSRV" "8" "12/27/2011" "drblsrv" "Administration commands" |
| 11 |
.\" ----------------------------------------------------------------- |
| 12 |
.\" * Define some portability stuff |
| 13 |
.\" ----------------------------------------------------------------- |
| 14 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 |
.\" http://bugs.debian.org/507673 |
| 16 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 17 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 |
.ie \n(.g .ds Aq \(aq |
| 19 |
.el .ds Aq ' |
| 20 |
.\" ----------------------------------------------------------------- |
| 21 |
.\" * set default formatting |
| 22 |
.\" ----------------------------------------------------------------- |
| 23 |
.\" disable hyphenation |
| 24 |
.nh |
| 25 |
.\" disable justification (adjust text to left margin only) |
| 26 |
.ad l |
| 27 |
.\" ----------------------------------------------------------------- |
| 28 |
.\" * MAIN CONTENT STARTS HERE * |
| 29 |
.\" ----------------------------------------------------------------- |
| 30 |
.SH "NAME" |
| 31 |
drblsrv \- program to make a DRBL server |
| 32 |
.SH "SYNOPSIS" |
| 33 |
.HP \w'\fBdrblsrv\fR\ 'u |
| 34 |
\fBdrblsrv\fR [{\fB\-f\fR\ |\ \fB\-\-force\-yes\fR}] [{\fB\-i\fR\ |\ \fB\-\-install\fR}] [{\fB\-u\fR\ |\ \fB\-\-uninstall\fR}] [{\fB\-v\fR\ |\ \fB\-\-verbose\fR}] [{\fB\-t\fR\ |\ \fB\-\-testing\fR}\ {\fIy\fR\ |\ \fIn\fR}] [{\fB\-a\fR\ |\ \fB\-\-unstable\fR}\ {\fIy\fR\ |\ \fIn\fR}] [{\fB\-n\fR\ |\ \fB\-\-netinstall\fR}\ {\fIy\fR\ |\ \fIn\fR}] [{\fB\-m\fR\ |\ \fB\-\-smp\-client\fR}\ {\fIy\fR\ |\ \fIn\fR}] [{\fB\-x\fR\ |\ \fB\-\-set\-proxy\fR}\ {\fIy\fR\ |\ \fIn\fR}] [{\fB\-c\fR\ |\ \fB\-\-console\-output\fR}\ {\fIy\fR\ |\ \fIn\fR}] [{\fB\-g\fR\ |\ \fB\-\-upgrade_system\fR}\ {\fIy\fR\ |\ \fIn\fR}] [{\fB\-k\fR\ |\ \fB\-\-client_archi\fR}\ {\fI0\fR\ |\ \fI1\fR\ |\ \fI2\fR}] [{\fB\-o\fR\ |\ \fB\-\-client_kernel_from\fR}\ {\fI1\fR\ |\ \fI2\fR}] [{\fB\-s\fR\ |\ \fB\-\-skip\-select\-repository\fR}] [{\fB\-l\fR\ |\ \fB\-\-language\fR}\ {\fI0\fR\ |\ \fI1\fR\ |\ \fI2\fR}] |
| 35 |
.HP \w'\fBdrblsrv\fR\ 'u |
| 36 |
\fBdrblsrv\fR [{\fB\-h\fR\ |\ \fB\-\-help\fR} | {\fB\-v\fR\ |\ \fB\-\-version\fR}] |
| 37 |
.SH "DESCRIPTION" |
| 38 |
.PP |
| 39 |
\fBdrblsrv\fR |
| 40 |
is a program to build or maintain a DRBL server\&. |
| 41 |
.SH "OPTIONS" |
| 42 |
.PP |
| 43 |
The program follows the usual GNU command line syntax, with long options starting with two dashes (`\-\*(Aq)\&. A summary of options is included below\&. |
| 44 |
.PP |
| 45 |
\fB\-f\fR, \fB\-\-force\-yes\fR |
| 46 |
.RS 4 |
| 47 |
force yes, only for Debian\-like distribution\&. It should not be used except in very special situations\&. Using force\-yes can potentially destroy your system! |
| 48 |
.RE |
| 49 |
.PP |
| 50 |
\fB\-i\fR, \fB\-\-install\fR |
| 51 |
.RS 4 |
| 52 |
install DRBL\&. |
| 53 |
.RE |
| 54 |
.PP |
| 55 |
\fB\-u\fR, \fB\-\-uninstall\fR |
| 56 |
.RS 4 |
| 57 |
uninstall DRBL\&. |
| 58 |
.RE |
| 59 |
.PP |
| 60 |
\fB\-v\fR, \fB\-\-verbose\fR |
| 61 |
.RS 4 |
| 62 |
verbose mode\&. |
| 63 |
.RE |
| 64 |
.PP |
| 65 |
\fB\-t \fR\fB\fI[y/n]\fR\fR, \fB\-\-testing \fR\fB\fI[y/n]\fR\fR |
| 66 |
.RS 4 |
| 67 |
use packages in testing branch or not\&. |
| 68 |
.RE |
| 69 |
.PP |
| 70 |
\fB\-a \fR\fB\fI[y/n]\fR\fR, \fB\-\-unstable \fR\fB\fI[y/n]\fR\fR |
| 71 |
.RS 4 |
| 72 |
use packages in unstable branch or not\&. |
| 73 |
.RE |
| 74 |
.PP |
| 75 |
\fB\-n \fR\fB\fI[y/n]\fR\fR, \fB\-\-netinstall \fR\fB\fI[y/n]\fR\fR |
| 76 |
.RS 4 |
| 77 |
install the network installation program or not\&. |
| 78 |
.RE |
| 79 |
.PP |
| 80 |
\fB\-m \fR\fB\fI[y/n]\fR\fR, \fB\-\-smp\-client \fR\fB\fI[y/n]\fR\fR |
| 81 |
.RS 4 |
| 82 |
use SMP kernel for DRBL clients or not\&. |
| 83 |
.RE |
| 84 |
.PP |
| 85 |
\fB\-x \fR\fB\fI[y/n]\fR\fR, \fB\-\-set\-proxy \fR\fB\fI[y/n]\fR\fR |
| 86 |
.RS 4 |
| 87 |
set proxy or not\&. |
| 88 |
.RE |
| 89 |
.PP |
| 90 |
\fB\-c \fR\fB\fI[y/n]\fR\fR, \fB\-\-console\-output \fR\fB\fI[y/n]\fR\fR |
| 91 |
.RS 4 |
| 92 |
set console output for client or not\&. |
| 93 |
.RE |
| 94 |
.PP |
| 95 |
\fB\-g \fR\fB\fI[y/n]\fR\fR, \fB\-\-upgrade_system \fR\fB\fI[y/n]\fR\fR |
| 96 |
.RS 4 |
| 97 |
upgrade system or not\&. |
| 98 |
.RE |
| 99 |
.PP |
| 100 |
\fB\-k \fR\fB\fI[0|1|2]\fR\fR, \fB\-\-client_archi \fR\fB\fI[0|1|2]\fR\fR |
| 101 |
.RS 4 |
| 102 |
set the client\*(Aqs CPU arch, 0 for i386, 1 for i586, 2 for same level with DRBL server (for x86_64, use 2)\&. |
| 103 |
.RE |
| 104 |
.PP |
| 105 |
\fB\-o \fR\fB\fI[1|2]\fR\fR, \fB\-\-client_kernel_from \fR\fB\fI[1|2]\fR\fR |
| 106 |
.RS 4 |
| 107 |
choose client\*(Aqs kernel image from, 1 from DRBL server running kernel (if available), 2 from ayo repository\&. |
| 108 |
.RE |
| 109 |
.PP |
| 110 |
\fB\-s\fR, \fB\-\-skip\-select\-repository\fR |
| 111 |
.RS 4 |
| 112 |
skip the question for selecting repository\&. |
| 113 |
.RE |
| 114 |
.PP |
| 115 |
\fB\-l \fR\fB\fI[N]\fR\fR, \fB\-\-language \fR\fB\fI[N]\fR\fR |
| 116 |
.RS 4 |
| 117 |
Set the language to be shown, where N: 0: English, 1: Traditional Chinese (Big5) \- Taiwan, 2: Traditional Chinese (UTF\-8, Unicode) \- Taiwan\&. |
| 118 |
.RE |
| 119 |
.PP |
| 120 |
\fB\-h\fR, \fB\-\-help\fR |
| 121 |
.RS 4 |
| 122 |
Show summary of options\&. |
| 123 |
.RE |
| 124 |
.PP |
| 125 |
\fB\-v\fR, \fB\-\-version\fR |
| 126 |
.RS 4 |
| 127 |
Show version of program\&. |
| 128 |
.RE |
| 129 |
.SH "FILES" |
| 130 |
.PP |
| 131 |
/etc/drbl/drbl\&.conf |
| 132 |
.RS 4 |
| 133 |
The system\-wide configuration file to control the behaviour of |
| 134 |
drblsrv\&. See |
| 135 |
\fBdrbl.conf\fR(5) |
| 136 |
for further details\&. |
| 137 |
.RE |
| 138 |
.PP |
| 139 |
${HOME}/\&.drbl\&.conf |
| 140 |
.RS 4 |
| 141 |
The per\-user configuration file to control the behaviour of |
| 142 |
drblsrv\&. See |
| 143 |
\fBdrbl.conf\fR(5) |
| 144 |
for further details\&. |
| 145 |
.RE |
| 146 |
.SH "ENVIRONMENT" |
| 147 |
.PP |
| 148 |
\fBDRBL_SCRIPT_PATH\fR |
| 149 |
.RS 4 |
| 150 |
If used, the defined path is used to access each of drbl\*(Aqs routine scripts\&. |
| 151 |
.RE |
| 152 |
.SH "DIAGNOSTICS" |
| 153 |
.PP |
| 154 |
The following diagnostics may be issued on |
| 155 |
stderr: |
| 156 |
.PP |
| 157 |
Any error messages worth to be reported in this manpage? |
| 158 |
.RS 4 |
| 159 |
If so, they should be documented here\&. |
| 160 |
.RE |
| 161 |
.PP |
| 162 |
\fBdrblsrv\fR |
| 163 |
provides some return codes, that can be used in scripts: |
| 164 |
.\" line length increase to cope w/ tbl weirdness |
| 165 |
.ll +(\n(LLu * 62u / 100u) |
| 166 |
.TS |
| 167 |
ll. |
| 168 |
\fICode\fR \fIDiagnostic\fR |
| 169 |
T{ |
| 170 |
\fB0\fR |
| 171 |
T} T{ |
| 172 |
Program exited successfully\&. |
| 173 |
T} |
| 174 |
T{ |
| 175 |
\fB1\fR |
| 176 |
T} T{ |
| 177 |
is such documentation useful? If no, erase it\&. |
| 178 |
T} |
| 179 |
.TE |
| 180 |
.\" line length decrease back to previous value |
| 181 |
.ll -(\n(LLu * 62u / 100u) |
| 182 |
.sp |
| 183 |
.SH "KNOWN BUGS" |
| 184 |
.PP |
| 185 |
The program is currently limited to only work with \&.\&.\&. [some known bugs?] |
| 186 |
.SH "SEE ALSO" |
| 187 |
.PP |
| 188 |
|
| 189 |
\fBdrbl.conf\fR(5), |
| 190 |
\fBdrblpush\fR(8) |
| 191 |
.SH "AUTHORS" |
| 192 |
.PP |
| 193 |
\fBGeorges Khaznadar\fR <\&georgesk@ofset\&.org\&> |
| 194 |
.RS 4 |
| 195 |
Wrote this manpage for the Debian system, based on the output of the command "\fBdrblsrv\fR \-h"\&. |
| 196 |
.RE |
| 197 |
.PP |
| 198 |
\fBSteven Shiau\fR <\&steven@nchc\&.org\&.tw\&> |
| 199 |
.RS 4 |
| 200 |
Wrote the command \fBdrblsrv\fR, including its short documentation\&. |
| 201 |
.RE |
| 202 |
.SH "COPYRIGHT" |
| 203 |
.br |
| 204 |
Copyright \(co 2011 Georges Khaznadar |
| 205 |
.br |
| 206 |
.PP |
| 207 |
This manual page was written for the Debian system (and may be used by others)\&. |
| 208 |
.PP |
| 209 |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&. |
| 210 |
.PP |
| 211 |
On Debian systems, the complete text of the GNU General Public License can be found in |
| 212 |
/usr/share/common\-licenses/GPL\&. |
| 213 |
.sp |