1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
|
# Debian GNU/Linux Installation Guide
msgid ""
msgstr ""
"Project-Id-Version: d-i-manual\n"
"Report-Msgid-Bugs-To: debian-boot@lists.debian.org\n"
"POT-Creation-Date: 2006-10-11 02:03+0000\n"
"PO-Revision-Date: 2006-10-16 15:53+0800\n"
"Last-Translator: Ji YongGang<jungle@soforge.com>\n"
"Language-Team: debian-chinese-gb <debian-chinese-gb@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Tag: title
#: random-bits.xml:4
#, no-c-format
msgid "Random Bits"
msgstr "其他"
#. Tag: title
#: random-bits.xml:11
#, no-c-format
msgid "Linux Devices"
msgstr "Linux 里的设备"
#. Tag: para
#: random-bits.xml:12
#, no-c-format
msgid ""
"In Linux various special files can be found under the directory <filename>/"
"dev</filename>. These files are called device files and behave unlike "
"ordinary files. The most common types of device files are for block devices "
"and character devices. These files are an interface to the actual driver "
"(part of the Linux kernel) which in turn accesses the hardware. Another, "
"less common, type of device file is the named <firstterm>pipe</firstterm>. "
"The most important device files are listed in the tables below."
msgstr ""
"Linux 的许多特殊文件可以在 <filename>/dev</filename> 目录下找到。这些文件称为"
"设备文件,其行为与普通文件不同。大多数设备文件的类型是块设备和字符设备。这些"
"文件是访问硬件的驱动程序(Linux 内核的一部分)的接口。另外一些,不那么常见的类"
"型,是命名<firstterm>管道(pipe)</firstterm>。下表中列出了最重要的设备文件。"
#. Tag: filename
#: random-bits.xml:27
#, no-c-format
msgid "<filename>fd0</filename>"
msgstr "<filename>fd0</filename>"
#. Tag: entry
#: random-bits.xml:28
#, no-c-format
msgid "First Floppy Drive"
msgstr "第一个软驱"
#. Tag: filename
#: random-bits.xml:30
#, no-c-format
msgid "<filename>fd1</filename>"
msgstr "<filename>fd1</filename>"
#. Tag: entry
#: random-bits.xml:31
#, no-c-format
msgid "Second Floppy Drive"
msgstr "第二个软驱"
#. Tag: filename
#: random-bits.xml:37
#, no-c-format
msgid "<filename>hda</filename>"
msgstr "<filename>hda</filename>"
#. Tag: entry
#: random-bits.xml:38
#, no-c-format
msgid "IDE Hard disk / CD-ROM on the first IDE port (Master)"
msgstr "在第一个 IDE 口(Master)的 IDE 硬盘/光驱"
#. Tag: filename
#: random-bits.xml:40
#, no-c-format
msgid "<filename>hdb</filename>"
msgstr "<filename>hdb</filename>"
#. Tag: entry
#: random-bits.xml:41
#, no-c-format
msgid "IDE Hard disk / CD-ROM on the first IDE port (Slave)"
msgstr "在第一个 IDE 口(Slave)的 IDE 硬盘/光驱"
#. Tag: filename
#: random-bits.xml:43
#, no-c-format
msgid "<filename>hdc</filename>"
msgstr "<filename>hdc</filename>"
#. Tag: entry
#: random-bits.xml:44
#, no-c-format
msgid "IDE Hard disk / CD-ROM on the second IDE port (Master)"
msgstr "在第二个 IDE 口(Master)的 IDE 硬盘/光驱"
#. Tag: filename
#: random-bits.xml:46
#, no-c-format
msgid "<filename>hdd</filename>"
msgstr "<filename>hdd</filename>"
#. Tag: entry
#: random-bits.xml:47
#, no-c-format
msgid "IDE Hard disk / CD-ROM on the second IDE port (Slave)"
msgstr "在第二个 IDE 口(Slave)的 IDE 硬盘/光驱"
#. Tag: filename
#: random-bits.xml:49
#, no-c-format
msgid "hda1"
msgstr "hda1"
#. Tag: entry
#: random-bits.xml:50
#, no-c-format
msgid "First partition of the first IDE hard disk"
msgstr "在第一块 IDE 硬盘上的第一个分区"
#. Tag: filename
#: random-bits.xml:52
#, no-c-format
msgid "hdd15"
msgstr "hdd15"
#. Tag: entry
#: random-bits.xml:53
#, no-c-format
msgid "Fifteenth partition of the fourth IDE hard disk"
msgstr "在第四块 IDE 硬盘上的第十五个分区"
#. Tag: filename
#: random-bits.xml:59
#, no-c-format
msgid "<filename>sda</filename>"
msgstr "<filename>sda</filename>"
#. Tag: entry
#: random-bits.xml:60
#, no-c-format
msgid "SCSI Hard disk with lowest SCSI ID (e.g. 0)"
msgstr "SCSI ID (比如 0)最小的 SCSI 硬盘"
#. Tag: filename
#: random-bits.xml:62
#, no-c-format
msgid "<filename>sdb</filename>"
msgstr "<filename>sdb</filename>"
#. Tag: entry
#: random-bits.xml:63
#, no-c-format
msgid "SCSI Hard disk with next higher SCSI ID (e.g. 1)"
msgstr "下一个 SCSI ID (比如 1)的 SCSI 硬盘"
#. Tag: filename
#: random-bits.xml:65
#, no-c-format
msgid "<filename>sdc</filename>"
msgstr "<filename>sdc</filename>"
#. Tag: entry
#: random-bits.xml:66
#, no-c-format
msgid "SCSI Hard disk with next higher SCSI ID (e.g. 2)"
msgstr "下一个 SCSI ID (比如 2)的 SCSI 硬盘"
#. Tag: filename
#: random-bits.xml:68
#, no-c-format
msgid "sda1"
msgstr "sda1"
#. Tag: entry
#: random-bits.xml:69
#, no-c-format
msgid "First partition of the first SCSI hard disk"
msgstr "在第一块 SCSI 硬盘上的第一个分区"
#. Tag: filename
#: random-bits.xml:71
#, no-c-format
msgid "sdd10"
msgstr "sdd10"
#. Tag: entry
#: random-bits.xml:72
#, no-c-format
msgid "Tenth partition of the fourth SCSI hard disk"
msgstr "在第四块 SCSI 硬盘上的第十个分区"
#. Tag: filename
#: random-bits.xml:78
#, no-c-format
msgid "<filename>sr0</filename>"
msgstr "<filename>sr0</filename>"
#. Tag: entry
#: random-bits.xml:79
#, no-c-format
msgid "SCSI CD-ROM with the lowest SCSI ID"
msgstr "SCSI ID 最小的 SCSI 光驱"
#. Tag: filename
#: random-bits.xml:81
#, no-c-format
msgid "<filename>sr1</filename>"
msgstr "<filename>sr1</filename>"
#. Tag: entry
#: random-bits.xml:82
#, no-c-format
msgid "SCSI CD-ROM with the next higher SCSI ID"
msgstr "下一个 SCSI ID 的 SCSI 光驱"
#. Tag: filename
#: random-bits.xml:88
#, no-c-format
msgid "ttyS0"
msgstr "ttyS0"
#. Tag: entry
#: random-bits.xml:89
#, no-c-format
msgid "Serial port 0, COM1 under MS-DOS"
msgstr "串口 0,即 MS-DOS 下的 COM1"
#. Tag: filename
#: random-bits.xml:91
#, no-c-format
msgid "ttyS1"
msgstr "ttyS1"
#. Tag: entry
#: random-bits.xml:92
#, no-c-format
msgid "Serial port 1, COM2 under MS-DOS"
msgstr "串口 1,即 MS-DOS 下的 COM2"
#. Tag: filename
#: random-bits.xml:94
#, no-c-format
msgid "psaux"
msgstr "psaux"
#. Tag: entry
#: random-bits.xml:95
#, no-c-format
msgid "PS/2 mouse device"
msgstr "PS/2 鼠标设备"
#. Tag: filename
#: random-bits.xml:97
#, no-c-format
msgid "gpmdata"
msgstr "gpmdata"
#. Tag: entry
#: random-bits.xml:98
#, no-c-format
msgid "Pseudo device, repeater data from GPM (mouse) daemon"
msgstr "伪设备,中转从GPM(鼠标)服务传来的数据"
#. Tag: filename
#: random-bits.xml:104
#, no-c-format
msgid "cdrom"
msgstr "cdrom"
#. Tag: entry
#: random-bits.xml:105
#, no-c-format
msgid "Symbolic link to the CD-ROM drive"
msgstr "指向光驱的符号链接"
#. Tag: filename
#: random-bits.xml:107
#, no-c-format
msgid "mouse"
msgstr "mouse"
#. Tag: entry
#: random-bits.xml:108
#, no-c-format
msgid "Symbolic link to the mouse device file"
msgstr "指向鼠标设备文件的符号链接"
#. Tag: filename
#: random-bits.xml:114
#, no-c-format
msgid "null"
msgstr "null"
#. Tag: entry
#: random-bits.xml:115
#, no-c-format
msgid "Anything written to this device will disappear"
msgstr "所有写入设备的东西都会消失"
#. Tag: filename
#: random-bits.xml:117
#, no-c-format
msgid "zero"
msgstr "zero"
#. Tag: entry
#: random-bits.xml:118
#, no-c-format
msgid "One can endlessly read zeros out of this device"
msgstr "可以从该设备永无休止地读出零"
#. Tag: title
#: random-bits.xml:125
#, no-c-format
msgid "Setting Up Your Mouse"
msgstr "设定您的鼠标"
#. Tag: para
#: random-bits.xml:127
#, no-c-format
msgid ""
"The mouse can be used in both the Linux console (with gpm) and the X window "
"environment. The two uses can be made compatible if the gpm repeater is used "
"to allow the signal to flow to the X server as shown: "
"<informalexample><screen>\n"
"mouse => /dev/psaux => gpm => /dev/gpmdata -> /dev/mouse => "
"X\n"
" /dev/ttyS0 (repeater) (symlink)\n"
" /dev/ttyS1\n"
"</screen></informalexample> Set the repeater protocol to be raw (in "
"<filename>/etc/gpm.conf</filename>) while setting X to the original mouse "
"protocol in <filename>/etc/X11/XF86Config</filename> or <filename>/etc/X11/"
"XF86Config-4</filename>."
msgstr ""
"无论在 Linux 的控制台(console)里(通过 gpm),还是在 X 窗口环境之中,您都可以使"
"用鼠标。这两种用法是可以兼容的,只要设置 gpm 转发器,令其让信号流往 X 服务"
"器: <informalexample><screen>\n"
"mouse => /dev/psaux => gpm => /dev/gpmdata -> /dev/mouse => "
"X\n"
" /dev/ttyS0 (repeater) (symlink)\n"
" /dev/ttyS1\n"
"</screen></informalexample> 把转发器的协议设为直接(raw)模式(在 <filename>/"
"etc/gpm.conf</filename> 里),同时在 <filename>/etc/X11/XF86Config</filename> "
"或者 <filename>/etc/X11/XF86Config-4</filename> 里设置一下,让 X 使用原始的鼠"
"标协议。"
#. Tag: para
#: random-bits.xml:139
#, no-c-format
msgid ""
"This approach to use gpm even in X has advantages when the mouse is "
"unplugged inadvertently. Simply restarting gpm with "
"<informalexample><screen>\n"
"# /etc/init.d/gpm restart\n"
"</screen></informalexample> will re-connect the mouse in software without "
"restarting X."
msgstr ""
"用这种方法使用 gpm 的话,就算在 X 里也有其优势。如果不小心把鼠标拔下来后,只"
"要像这样重新启动 gpm 就可以了: <informalexample><screen>\n"
"# /etc/init.d/gpm restart\n"
"</screen></informalexample> 如此就可以在软件层面上重新连接鼠标,而不用重启 X "
"了。"
#. Tag: para
#: random-bits.xml:148
#, no-c-format
msgid ""
"If gpm is disabled or not installed for some reason, make sure to set X to "
"read directly from a mouse device such as /dev/psaux. For details, refer to "
"the 3-Button Mouse mini-Howto at <filename>/usr/share/doc/HOWTO/en-txt/"
"mini/3-Button-Mouse.gz</filename>, <userinput>man gpm</userinput>, "
"<filename>/usr/share/doc/gpm/FAQ.gz</filename>, and <ulink url=\"&url-xorg;"
"current/doc/html/mouse.html\">README.mouse</ulink>."
msgstr ""
"如果禁用了 gpm,或者因为某些原因没有安装,请确保设置 X 从鼠标设备,比如 /dev/"
"psaux 上直接读取数据。详情情况,请参阅三键鼠标的 mini-Howto <filename>/usr/"
"share/doc/HOWTO/en-txt/mini/3-Button-Mouse.gz</filename>、<userinput>man "
"gpm</userinput>、<filename>/usr/share/doc/gpm/FAQ.gz</filename> 以及 <ulink "
"url=\"&url-xorg;current/doc/html/mouse.html\">README.mouse</ulink>。"
#. Tag: para
#: random-bits.xml:158
#, no-c-format
msgid ""
"For PowerPC, in <filename>/etc/X11/XF86Config</filename> or <filename>/etc/"
"X11/XF86Config-4</filename>, set the mouse device to <userinput>\"/dev/input/"
"mice\"</userinput>."
msgstr ""
"对 PowerPC 来说,需要在<filename>/etc/X11/XF86Config</filename>或者 "
"<filename>/etc/X11/XF86Config-4</filename> 设置鼠标设备里或者 <userinput>\"/"
"dev/input/mice\"</userinput>。"
#. Tag: para
#: random-bits.xml:164
#, no-c-format
msgid ""
"Modern kernels give you the capability to emulate a three-button mouse when "
"your mouse only has one button. Just add the following lines to <filename>/"
"etc/sysctl.conf</filename> file."
msgstr ""
"当您的鼠标只有一个按键的时候,流行的内核具有模拟三健鼠标的能力。只需将下面行"
"加入 <filename>/etc/sysctl.conf</filename> 文件。"
#. Tag: screen
#: random-bits.xml:170
#, no-c-format
msgid ""
"# 3-button mouse emulation\n"
"# turn on emulation\n"
"/dev/mac_hid/mouse_button_emulation = 1\n"
"# Send middle mouse button signal with the F11 key\n"
"/dev/mac_hid/mouse_button2_keycode = 87\n"
"# Send right mouse button signal with the F12 key\n"
"/dev/mac_hid/mouse_button3_keycode = 88\n"
"# For different keys, use showkey to tell you what the code is."
msgstr ""
"# 3-button mouse emulation\n"
"# turn on emulation\n"
"/dev/mac_hid/mouse_button_emulation = 1\n"
"# Send middle mouse button signal with the F11 key\n"
"/dev/mac_hid/mouse_button2_keycode = 87\n"
"# Send right mouse button signal with the F12 key\n"
"/dev/mac_hid/mouse_button3_keycode = 88\n"
"# For different keys, use showkey to tell you what the code is."
#. Tag: title
#: random-bits.xml:177
#, no-c-format
msgid "Disk Space Needed for Tasks"
msgstr "各软件集所需的磁盘空间"
#. Tag: para
#: random-bits.xml:189
#, no-c-format
msgid ""
"The base installation for i386 using the default 2.4 kernel, including all "
"standard packages, requires 573MB of disk space."
msgstr ""
"在 i386 架构上,基本的安装默认使用 2.4 内核,需要 573MB 的磁盘空间,这里面包"
"含了所有的标准软件包。"
#. Tag: para
#: random-bits.xml:194
#, no-c-format
msgid ""
"The following table lists sizes reported by aptitude for the tasks listed in "
"tasksel. Note that some tasks have overlapping constituents, so the total "
"installed size for two tasks together may be less than the total obtained by "
"adding up the numbers."
msgstr ""
"下面的表格一一列出了 tasksel 中每个软件集所需的磁盘空间大小。该报表是使用 "
"aptitude 生成的。请注意,有些软件集之间会有相重叠的部分,所以两个软件集一同安"
"装后所占的空间,可能会小于这两个软件集分别安装所占的空间。"
#. Tag: para
#: random-bits.xml:201
#, no-c-format
msgid ""
"Note that you will need to add the sizes listed in the table to the size of "
"the base installation when determining the size of partitions. Most of the "
"size listed as <quote>Installed size</quote> will end up in <filename>/usr</"
"filename>; the size listed as <quote>Download size</quote> is (temporarily) "
"required in <filename>/var</filename>."
msgstr ""
"注意您需要将表格中列出的尺寸加上基本安装尺寸以决定分区的大小。多数列出的尺寸"
"如<quote>安装尺寸</quote>将用在 <filename>/usr</filename>;列在<quote>下载尺"
"寸</quote>是(临时地)用在 <filename>/var</filename>。"
#. Tag: entry
#: random-bits.xml:214
#, no-c-format
msgid "Task"
msgstr "任务"
#. Tag: entry
#: random-bits.xml:215
#, no-c-format
msgid "Installed size (MB)"
msgstr "安装尺寸 (MB)"
#. Tag: entry
#: random-bits.xml:216
#, no-c-format
msgid "Download size (MB)"
msgstr "下载尺寸 (MB)"
#. Tag: entry
#: random-bits.xml:217
#, no-c-format
msgid "Space needed to install (MB)"
msgstr "用于安装所需空间 (MB)"
#. Tag: entry
#: random-bits.xml:223
#, no-c-format
msgid "Desktop"
msgstr "桌面"
#. Tag: entry
#: random-bits.xml:224
#, no-c-format
msgid "1392"
msgstr "1392"
#. Tag: entry
#: random-bits.xml:225
#, no-c-format
msgid "<entry>460</entry>"
msgstr "<entry>460</entry>"
#. Tag: entry
#: random-bits.xml:226
#, no-c-format
msgid "1852"
msgstr "1852"
#. Tag: entry
#: random-bits.xml:230
#, no-c-format
msgid "Web server"
msgstr "Web 服务器"
#. Tag: entry
#: random-bits.xml:231
#, no-c-format
msgid "<entry>36</entry>"
msgstr "<entry>36</entry>"
#. Tag: entry
#: random-bits.xml:232
#, no-c-format
msgid "<entry>12</entry>"
msgstr "<entry>12</entry>"
#. Tag: entry
#: random-bits.xml:233
#, no-c-format
msgid "<entry>48</entry>"
msgstr "<entry>48</entry>"
#. Tag: entry
#: random-bits.xml:237
#, no-c-format
msgid "Print server"
msgstr "打印服务器"
#. Tag: entry
#: random-bits.xml:238
#, no-c-format
msgid "<entry>168</entry>"
msgstr "<entry>168</entry>"
#. Tag: entry
#: random-bits.xml:239
#, no-c-format
msgid "<entry>58</entry>"
msgstr "<entry>58</entry>"
#. Tag: entry
#: random-bits.xml:240
#, no-c-format
msgid "<entry>226</entry>"
msgstr "<entry>226</entry>"
#. Tag: entry
#: random-bits.xml:244
#, no-c-format
msgid "DNS server"
msgstr "DNS 服务器"
#. Tag: entry
#: random-bits.xml:245
#, no-c-format
msgid "<entry>2</entry>"
msgstr "<entry>2</entry>"
#. Tag: entry
#: random-bits.xml:246
#, no-c-format
msgid "<entry>1</entry>"
msgstr "<entry>1</entry>"
#. Tag: entry
#: random-bits.xml:247 random-bits.xml:260
#, no-c-format
msgid "<entry>3</entry>"
msgstr "<entry>3</entry>"
#. Tag: entry
#: random-bits.xml:251
#, no-c-format
msgid "File server"
msgstr "文件服务器"
#. Tag: entry
#: random-bits.xml:252
#, no-c-format
msgid "<entry>47</entry>"
msgstr "<entry>47</entry>"
#. Tag: entry
#: random-bits.xml:253
#, no-c-format
msgid "<entry>24</entry>"
msgstr "<entry>24</entry>"
#. Tag: entry
#: random-bits.xml:254
#, no-c-format
msgid "<entry>71</entry>"
msgstr "<entry>71</entry>"
#. Tag: entry
#: random-bits.xml:258
#, no-c-format
msgid "Mail server"
msgstr "邮件服务器"
#. Tag: entry
#: random-bits.xml:259
#, no-c-format
msgid "<entry>10</entry>"
msgstr "<entry>10</entry>"
#. Tag: entry
#: random-bits.xml:261
#, no-c-format
msgid "<entry>13</entry>"
msgstr "<entry>13</entry>"
#. Tag: entry
#: random-bits.xml:265
#, no-c-format
msgid "SQL database"
msgstr "SQL 数据库"
#. Tag: entry
#: random-bits.xml:266
#, no-c-format
msgid "<entry>66</entry>"
msgstr "<entry>66</entry>"
#. Tag: entry
#: random-bits.xml:267
#, no-c-format
msgid "<entry>21</entry>"
msgstr "<entry>21</entry>"
#. Tag: entry
#: random-bits.xml:268
#, no-c-format
msgid "<entry>87</entry>"
msgstr "<entry>87</entry>"
#. Tag: para
#: random-bits.xml:274
#, no-c-format
msgid ""
"The <emphasis>Desktop</emphasis> task will install both the GNOME and KDE "
"desktop environments."
msgstr "<emphasis>桌面</emphasis> 任务将同时安装 GNOME 和 KDE 桌面环境。"
#. Tag: para
#: random-bits.xml:281
#, no-c-format
msgid ""
"If you install in a language other than English, <command>tasksel</command> "
"may automatically install a <firstterm>localization task</firstterm>, if one "
"is available for your language. Space requirements differ per language; you "
"should allow up to 200MB in total for download and installation."
msgstr ""
"如果安装英文之外的其他语言,<command>tasksel</command> 在语言有对应 locale "
"时,可以自动安装 <firstterm>localization task</firstterm>。每种语言需要的空间"
"不同;您应该给 200MB 以上的空间用于下载和安装。"
#. Tag: title
#: random-bits.xml:296
#, no-c-format
msgid "Installing &debian; from a Unix/Linux System"
msgstr "通过 Unix/Linux 系统来安装 &debian;"
#. Tag: para
#: random-bits.xml:298
#, no-c-format
msgid ""
"This section explains how to install &debian; from an existing Unix or Linux "
"system, without using the menu-driven installer as explained in the rest of "
"the manual. This <quote>cross-install</quote> HOWTO has been requested by "
"users switching to &debian; from Red Hat, Mandrake, and SUSE. In this "
"section some familiarity with entering *nix commands and navigating the file "
"system is assumed. In this section, <prompt>$</prompt> symbolizes a command "
"to be entered in the user's current system, while <prompt>#</prompt> refers "
"to a command entered in the Debian chroot."
msgstr ""
"本节说明了如何通过现有的 Unix 或 Linux 系统来安装 &debian;,而非使用本手册后"
"面要谈到的由菜单驱动的安装软件。这篇<quote>交叉安装(cross-install)</quote> "
"HOWTO 是应用户的要求而撰写的。他们原来是 Redhat、Mandrake 和 SUSE 的用户,现"
"转而使用 &debian;。在本节中,我们假设您对于输入 *nix 命令以及在文件系统中穿梭"
"移动并不生疏。同时,在本节中,<prompt>$</prompt> 标志着这个命令是在用户当前使"
"用的系统中输入的,而 <prompt>#</prompt> 则表示这个命令是在 Debian chroot 环境"
"中输入的。"
#. Tag: para
#: random-bits.xml:310
#, no-c-format
msgid ""
"Once you've got the new Debian system configured to your preference, you can "
"migrate your existing user data (if any) to it, and keep on rolling. This is "
"therefore a <quote>zero downtime</quote> &debian; install. It's also a "
"clever way for dealing with hardware that otherwise doesn't play friendly "
"with various boot or installation media."
msgstr ""
"您一旦根据自己的要求配置好了新的 Debian 系统,就可以将您的原来系统中的用户数"
"据(如果有的话)悉数迁移到 Debian 里去。然后就能继续爽了。一言以蔽之,这是一次"
"<quote>不停机</quote>的 &debian; 安装。同时,这也是处理那些因为硬件原因不能通"
"过任何引导或者安装介质完成安装的权宜之计。"
#. Tag: title
#: random-bits.xml:322
#, no-c-format
msgid "Getting Started"
msgstr "准备运动"
#. Tag: para
#: random-bits.xml:323
#, no-c-format
msgid ""
"With your current *nix partitioning tools, repartition the hard drive as "
"needed, creating at least one filesystem plus swap. You need at least 150MB "
"of space available for a console only install, or at least 300MB if you plan "
"to install X."
msgstr ""
"根据需要,用已经安装的 *nix 的分区工具重新分区,要划分出至少一个文件系统外加"
"交换分区。您如果只用控制台(console)的话,至少要准备 150MB 空间,倘若想要装 "
"X,就需要至少 300MB 的空间了。"
#. Tag: para
#: random-bits.xml:330
#, no-c-format
msgid ""
"Create file systems on your partitions. For example, to create an ext3 file "
"system on partition <filename>/dev/hda6</filename> (that's our example root "
"partition): <informalexample><screen>\n"
"# mke2fs -j /dev/hda6\n"
"</screen></informalexample> To create an ext2 file system instead, omit "
"<userinput>-j</userinput>."
msgstr ""
"在分区上创建文件系统。举例来说,要在 <filename>/dev/hda6</filename> 分区(以后"
"的例子中,将把它作为 root 分区)建立一个 ext3 格式的文件系统: "
"<informalexample><screen>\n"
"# mke2fs -j /dev/hda6\n"
"</screen></informalexample> 要建立 ext2 格式的文件系统,去掉 <userinput>-j</"
"userinput>。"
#. Tag: para
#: random-bits.xml:340
#, no-c-format
msgid ""
"Initialize and activate swap (substitute the partition number for your "
"intended Debian swap partition): <informalexample><screen>\n"
"# mkswap /dev/hda5\n"
"# sync; sync; sync\n"
"# swapon /dev/hda5\n"
"</screen></informalexample> Mount one partition as <filename>/mnt/debinst</"
"filename> (the installation point, to be the root (<filename>/</filename>) "
"filesystem on your new system). The mount point name is strictly arbitrary, "
"it is referenced later below."
msgstr ""
"初始化并激活交换分区(请把分区编号替换成您希望用作交换分区的分区编号): "
"<informalexample><screen>\n"
"# mkswap /dev/hda5\n"
"# sync; sync; sync\n"
"# swapon /dev/hda5\n"
"</screen></informalexample> 把一个分区挂载(mount)到 <filename>/mnt/debinst</"
"filename>(这是安装的位置,将来作为您新系统的根(<filename>/</filename>)文件系"
"统)。挂载点的名称是任意的,后面的步骤将会用到它。"
#. Tag: screen
#: random-bits.xml:352
#, no-c-format
msgid ""
"# mkdir /mnt/debinst\n"
"# mount /dev/hda6 /mnt/debinst"
msgstr ""
"# mkdir /mnt/debinst\n"
"# mount /dev/hda6 /mnt/debinst"
#. Tag: para
#: random-bits.xml:355
#, no-c-format
msgid ""
"If you want to have parts of the filesystem (e.g. /usr) mounted on separate "
"partitions, you will need to create and mount these directories manually "
"before proceding with the next stage."
msgstr ""
"如果您打算将部分文件系统(例如,/usr)放到独立的分区,在进入下一阶段之前,需要"
"手动创建和加载这些目录。"
#. Tag: title
#: random-bits.xml:365
#, no-c-format
msgid "Install <command>debootstrap</command>"
msgstr "安装 <command>debootstrap</command>"
#. Tag: para
#: random-bits.xml:366
#, no-c-format
msgid ""
"The utility used by the Debian installer, and recognized as the official way "
"to install a Debian base system, is <command>debootstrap</command>. It uses "
"<command>wget</command> and <command>ar</command>, but otherwise depends "
"only on <classname>/bin/sh</classname> and basic Unix/Linux tools<footnote> "
"<para> These include the GNU core utilities and commands like <command>sed</"
"command>, <command>grep</command>, <command>tar</command> and <command>gzip</"
"command>. </para> </footnote>. Install <command>wget</command> and "
"<command>ar</command> if they aren't already on your current system, then "
"download and install <command>debootstrap</command>."
msgstr ""
"Debian 安装程序使用的工具,同时也为安装 Debian 基本系统的官方方法采用,是 "
"<command>debootstrap</command>。它调用了 <command>wget</command> 和 "
"<command>ar</command>,而其他的仅依赖 <classname>/bin/sh</classname> 和基本"
"的 Unix/Linux 工具<footnote> <para> 它们包括 GNU core 工具和命令,像 "
"<command>sed</command>、<command>grep</command>、<command>tar</command> 和 "
"<command>gzip</command>。</para> </footnote>。如果您的系统里还没有 "
"<command>wget</command> 和 <command>ar</command>,先安装它们,然后下载并安装 "
"<command>debootstrap</command>。"
#. Tag: para
#: random-bits.xml:396
#, no-c-format
msgid ""
"Or, you can use the following procedure to install it manually. Make a work "
"folder for extracting the .deb into: <informalexample><screen>\n"
"# mkdir work\n"
"# cd work\n"
"</screen></informalexample> The <command>debootstrap</command> binary is "
"located in the Debian archive (be sure to select the proper file for your "
"architecture). Download the <command>debootstrap</command> .deb from the "
"<ulink url=\"http://ftp.debian.org/debian/pool/main/d/debootstrap/\"> pool</"
"ulink>, copy the package to the work folder, and extract the files from it. "
"You will need to have root privileges to install the files."
msgstr ""
"或者您也可以通过下面的步骤手动安装它。先新建一个工作目录,用于解压后的 .deb 文件: <informalexample><screen>\n"
"# mkdir work\n"
"# cd work\n"
"</screen></informalexample> <command>debootstrap</command> 的二进制文件位于 Debian archive (请确保选择了与您架构相对应的文件)。下载 <command>debootstrap</command> .deb,它位于 <ulink url=\"http://ftp.debian.org/debian/pool/main/d/debootstrap/\"> pool</ulink>,把软件包拷贝到工作目录,并解压获得该文件。把二进制文件安装到系统中,您必须要拥有 root 的权限。"
#. Tag: screen
#: random-bits.xml:411
#, no-c-format
msgid ""
"# ar -x debootstrap_0.X.X_all.deb\n"
"# cd /\n"
"# zcat /full-path-to-work/work/data.tar.gz | tar xv"
msgstr ""
"# ar -x debootstrap_0.X.X_all.deb\n"
"# cd /\n"
"# zcat /full-path-to-work/work/data.tar.gz | tar xv"
#. Tag: title
#: random-bits.xml:417
#, no-c-format
msgid "Run <command>debootstrap</command>"
msgstr "运行 <command>debootstrap</command>"
#. Tag: para
#: random-bits.xml:418
#, no-c-format
msgid ""
"<command>debootstrap</command> can download the needed files directly from "
"the archive when you run it. You can substitute any Debian archive mirror "
"for <userinput>http.us.debian.org/debian</userinput> in the command example "
"below, preferably a mirror close to you network-wise. Mirrors are listed at "
"<ulink url=\"http://www.debian.org/misc/README.mirrors\"></ulink>."
msgstr ""
"<command>debootstrap</command> 执行后,它会自己从归档文件库直接下载所需的文"
"件。您可以把下面的命令行例子中的 <userinput>http.us.debian.org/debian</"
"userinput> 替换成任何一个 Debian 归档文件库的镜像。选择镜像时,可以根据您的网"
"络情况选择较近的一个。镜像的列表在 <ulink url=\"http://www.debian.org/misc/"
"README.mirrors\"></ulink>。"
#. Tag: para
#: random-bits.xml:427
#, no-c-format
msgid ""
"If you have a &releasename; &debian; CD mounted at <filename>/cdrom</"
"filename>, you could substitute a file URL instead of the http URL: "
"<userinput>file:/cdrom/debian/</userinput>"
msgstr ""
"如果您已经把一张 &releasename; 版本的 &debian; CD 挂载在了 <filename>/cdrom</"
"filename> 那么也可以把 http URL 替换成 file URL,即:<userinput>file:/cdrom/"
"debian/</userinput>"
#. Tag: para
#: random-bits.xml:433
#, no-c-format
msgid ""
"Substitute one of the following for <replaceable>ARCH</replaceable> in the "
"<command>debootstrap</command> command: <userinput>alpha</userinput>, "
"<userinput>arm</userinput>, <userinput>hppa</userinput>, <userinput>i386</"
"userinput>, <userinput>ia64</userinput>, <userinput>m68k</userinput>, "
"<userinput>mips</userinput>, <userinput>mipsel</userinput>, "
"<userinput>powerpc</userinput>, <userinput>s390</userinput>, or "
"<userinput>sparc</userinput>."
msgstr ""
"请将下列架构中的一个替换 <replaceable>ARCH</replaceable> 于 "
"<command>debootstrap</command> 命令中: <userinput>alpha</userinput>, "
"<userinput>arm</userinput>, <userinput>hppa</userinput>, <userinput>i386</"
"userinput>, <userinput>ia64</userinput>, <userinput>m68k</userinput>, "
"<userinput>mips</userinput>, <userinput>mipsel</userinput>, "
"<userinput>powerpc</userinput>, <userinput>s390</userinput>,或 "
"<userinput>sparc</userinput>。"
#. Tag: screen
#: random-bits.xml:450
#, no-c-format
msgid ""
"# /usr/sbin/debootstrap --arch ARCH &releasename; \\\n"
" /mnt/debinst http://http.us.debian.org/debian"
msgstr ""
"# /usr/sbin/debootstrap --arch ARCH &releasename; \\\\n /mnt/debinst "
"http://http.us.debian.org/debian"
#. Tag: title
#: random-bits.xml:456
#, no-c-format
msgid "Configure The Base System"
msgstr "基系统的配置"
#. Tag: para
#: random-bits.xml:457
#, no-c-format
msgid ""
"Now you've got a real Debian system, though rather lean, on disk. "
"<command>Chroot</command> into it:"
msgstr ""
"现在您在硬盘上已经装上了一套真正的 Debian 操作系统,尽管它还很瘦小。"
"<command>Chroot</command> 用来进入该系统:"
#. Tag: screen
#: random-bits.xml:462
#, no-c-format
msgid "# LANG= chroot /mnt/debinst /bin/bash"
msgstr "# LANG= chroot /mnt/debinst /bin/bash"
#. Tag: title
#: random-bits.xml:467
#, no-c-format
msgid "Mount Partitions"
msgstr "分区的挂载"
#. Tag: para
#: random-bits.xml:468
#, no-c-format
msgid ""
"You need to create <filename>/etc/fstab</filename>. "
"<informalexample><screen>\n"
"# editor /etc/fstab\n"
"</screen></informalexample> Here is a sample you can modify to suit: "
"<informalexample><screen>\n"
"# /etc/fstab: static file system information.\n"
"#\n"
"# file system mount point type options dump pass\n"
"/dev/XXX / ext3 defaults 0 1\n"
"/dev/XXX /boot ext3 ro,nosuid,nodev 0 2\n"
"\n"
"/dev/XXX none swap sw 0 0\n"
"proc /proc proc defaults 0 0\n"
"\n"
"/dev/fd0 /mnt/floppy auto noauto,rw,sync,user,exec 0 0\n"
"/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user,exec 0 0\n"
"\n"
"/dev/XXX /tmp ext3 rw,nosuid,nodev 0 2\n"
"/dev/XXX /var ext3 rw,nosuid,nodev 0 2\n"
"/dev/XXX /usr ext3 rw,nodev 0 2\n"
"/dev/XXX /home ext3 rw,nosuid,nodev 0 2\n"
"</screen></informalexample> Use <userinput>mount -a</userinput> to mount all "
"the file systems you have specified in your <filename>/etc/fstab</filename>, "
"or to mount file systems individually use: <informalexample><screen>\n"
"# mount /path # e.g.: mount /usr\n"
"</screen></informalexample> You can mount the proc file system multiple "
"times and to arbitrary locations, though <filename>/proc</filename> is "
"customary. If you didn't use <userinput>mount -a</userinput>, be sure to "
"mount proc before continuing:"
msgstr ""
"您需要新建 <filename>/etc/fstab</filename>。<informalexample><screen>\n"
"# editor /etc/fstab\n"
"</screen></informalexample> 这里有个样板,您不妨根据自己的情况来修改它: "
"<informalexample><screen>\n"
"# /etc/fstab: static file system information.\n"
"#\n"
"# file system mount point type options dump pass\n"
"/dev/XXX / ext3 defaults 0 1\n"
"/dev/XXX /boot ext3 ro,nosuid,nodev 0 2\n"
"\n"
"/dev/XXX none swap sw 0 0\n"
"proc /proc proc defaults 0 0\n"
"\n"
"/dev/fd0 /mnt/floppy auto noauto,rw,sync,user,exec 0 0\n"
"/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user,exec 0 0\n"
"\n"
"/dev/XXX /tmp ext3 rw,nosuid,nodev 0 2\n"
"/dev/XXX /var ext3 rw,nosuid,nodev 0 2\n"
"/dev/XXX /usr ext3 rw,nodev 0 2\n"
"/dev/XXX /home ext3 rw,nosuid,nodev 0 2\n"
"</screen></informalexample> 您可以通过 <userinput>mount -a</userinput> 来挂载"
"您的 <filename>/etc/fstab</filename> 中所标明的所有文件系统,您也可以一个一个"
"地分别挂载这些文件系统,像: <informalexample><screen>\n"
"# mount /path # e.g.: mount /usr\n"
"</screen></informalexample> 您可以多次挂载 proc 文件系统。尽管通常把它挂载"
"到 /proc,但是它还是可以被挂载到任意的地方。如果您没有用 <userinput>mount -"
"a</userinput>,那么请一定要再接着做之前先把 proc 挂载好:"
#. Tag: screen
#: random-bits.xml:488
#, no-c-format
msgid "# mount -t proc proc /proc"
msgstr "# mount -t proc proc /proc"
#. Tag: para
#: random-bits.xml:490
#, no-c-format
msgid ""
"The command <userinput>ls /proc</userinput> should now show a non-empty "
"directory. Should this fail, you may be able to mount proc from outside the "
"chroot:"
msgstr ""
"<userinput>ls /proc</userinput> 命令现在应该列出非空目录。如果失败,您应该从 "
"chroot: 以为加载 proc。"
#. Tag: screen
#: random-bits.xml:496
#, no-c-format
msgid "# mount -t proc proc /mnt/debinst/proc"
msgstr "# mount -t proc proc /mnt/debinst/proc"
#. Tag: title
#: random-bits.xml:502
#, no-c-format
msgid "Configure Keyboard"
msgstr "键盘的配置"
#. Tag: para
#: random-bits.xml:503
#, no-c-format
msgid "To configure your keyboard:"
msgstr "若要配置您的键盘,请:"
#. Tag: screen
#: random-bits.xml:507
#, no-c-format
msgid "# dpkg-reconfigure console-data"
msgstr "# dpkg-reconfigure console-data"
#. Tag: para
#: random-bits.xml:509
#, no-c-format
msgid ""
"Note that the keyboard cannot be set while in the chroot, but will be "
"configured for the next reboot."
msgstr "注意,在 chroot 里面不能设置键盘,但重新启动以后可以。"
#. Tag: title
#: random-bits.xml:518
#, no-c-format
msgid "Configure Networking"
msgstr "网络的配置"
#. Tag: para
#: random-bits.xml:519
#, no-c-format
msgid ""
"To configure networking, edit <filename>/etc/network/interfaces</filename>, "
"<filename>/etc/resolv.conf</filename>, <filename>/etc/hostname</filename> "
"and <filename>/etc/hosts</filename>. <informalexample><screen>\n"
"# editor /etc/network/interfaces\n"
"</screen></informalexample> Here are some simple examples from <filename>/"
"usr/share/doc/ifupdown/examples</filename>: <informalexample><screen>\n"
"######################################################################\n"
"# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)\n"
"# See the interfaces(5) manpage for information on what options are\n"
"# available.\n"
"######################################################################\n"
"\n"
"# We always want the loopback interface.\n"
"#\n"
"auto lo\n"
"iface lo inet loopback\n"
"\n"
"# To use dhcp:\n"
"#\n"
"# auto eth0\n"
"# iface eth0 inet dhcp\n"
"\n"
"# An example static IP setup: (broadcast and gateway are optional)\n"
"#\n"
"# auto eth0\n"
"# iface eth0 inet static\n"
"# address 192.168.0.42\n"
"# network 192.168.0.0\n"
"# netmask 255.255.255.0\n"
"# broadcast 192.168.0.255\n"
"# gateway 192.168.0.1\n"
"</screen></informalexample> Enter your nameserver(s) and search directives "
"in <filename>/etc/resolv.conf</filename>: <informalexample><screen>\n"
"# editor /etc/resolv.conf\n"
"</screen></informalexample> A simple <filename>/etc/resolv.conf</filename>: "
"<informalexample><screen>\n"
"search hqdom.local\\000\n"
"nameserver 10.1.1.36\n"
"nameserver 192.168.9.100\n"
"</screen></informalexample> Enter your system's host name (2 to 63 "
"characters): <informalexample><screen>\n"
"# echo DebianHostName > /etc/hostname\n"
"</screen></informalexample> If you have multiple network cards, you should "
"arrange the names of driver modules in the <filename>/etc/modules</filename> "
"file into the desired order. Then during boot, each card will be associated "
"with the interface name (eth0, eth1, etc.) that you expect."
msgstr ""
"要配置网络,请修改 <filename>/etc/network/interfaces</filename>, <filename>/"
"etc/resolv.conf</filename>, <filename>/etc/hostname</filename> 和 <filename>/"
"etc/hosts</filename>。<informalexample><screen>\n"
"# editor /etc/network/interfaces\n"
"</screen></informalexample> 这里有些简单的例子,来自 <filename>/usr/share/"
"doc/ifupdown/examples</filename>: <informalexample><screen>\n"
"######################################################################\n"
"# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)\n"
"# See the interfaces(5) manpage for information on what options are\n"
"# available.\n"
"######################################################################\n"
"\n"
"# We always want the loopback interface.\n"
"#\n"
"auto lo\n"
"iface lo inet loopback\n"
"\n"
"# To use dhcp:\n"
"#\n"
"# auto eth0\n"
"# iface eth0 inet dhcp\n"
"\n"
"# An example static IP setup: (broadcast and gateway are optional)\n"
"#\n"
"# auto eth0\n"
"# iface eth0 inet static\n"
"# address 192.168.0.42\n"
"# network 192.168.0.0\n"
"# netmask 255.255.255.0\n"
"# broadcast 192.168.0.255\n"
"# gateway 192.168.0.1\n"
"</screen></informalexample> 填入您的域名服务器和搜索指令到 <filename>/etc/"
"resolv.conf</filename>: <informalexample><screen>\n"
"# editor /etc/resolv.conf\n"
"</screen></informalexample> 这里有个简单的 <filename>/etc/resolv.conf</"
"filename>: <informalexample><screen>\n"
"search hqdom.local\\000\n"
"nameserver 10.1.1.36\n"
"nameserver 192.168.9.100\n"
"</screen></informalexample> 输入您的系统的主机名 (2 到 63 个字符):"
"<informalexample><screen>\n"
"# echo DebianHostName > /etc/hostname\n"
"</screen></informalexample> 如果您有多块网卡,在您修改 <filename>/etc/"
"modules</filename> 文件时,一定要按照期望的顺序排列驱动模块的名字。这样,在系"
"统启动时,每块网卡就能获得您所预期的 interface 名称了 (eth0、eth1 等等)。"
#. Tag: title
#: random-bits.xml:556
#, no-c-format
msgid "Configure Locales"
msgstr "locales 的设置"
#. Tag: para
#: random-bits.xml:557
#, no-c-format
msgid ""
"To configure your locale settings to use a language other than English, "
"install the <classname>locales</classname> support package and configure it: "
"<informalexample><screen>\n"
"# aptitude install locales\n"
"# dpkg-reconfigure locales\n"
"</screen></informalexample> NOTE: <classname>apt</classname> must be "
"configured beforehand by creating a sources.list and running "
"<command>aptitude update</command>. Before using locales with character sets "
"other than ASCII or latin1, please consult the appropriate localization "
"HOWTO."
msgstr ""
"要设置您的 locale 设定,以便使用英语以外的其它语言,就需要安装提供 "
"<classname>locales</classname> 支持软件包,然后配置: "
"<informalexample><screen>\n"
"# aptitude install locales\n"
"# dpkg-reconfigure locales\n"
"</screen></informalexample> 注意:在此之前必须配置好 apt,创建 source.list 并"
"执行 <command>aptitude update</command>。在使用非 ASCII 或 latin1 的字符集的 "
"locale 之前,请先参阅相应的本地化指南(localization HOWTO)。"
#. Tag: title
#: random-bits.xml:575
#, no-c-format
msgid "Install a Kernel"
msgstr "内核的安装"
#. Tag: para
#: random-bits.xml:576
#, no-c-format
msgid ""
"If you intend to boot this system, you probably want a Linux kernel and a "
"boot loader. Identify available pre-packaged kernels with "
"<informalexample><screen>\n"
"# apt-cache search linux-image\n"
"</screen></informalexample> Then install your choice using its package name."
msgstr ""
"若想启动这个系统,您很可能还需要一个 Linux 内核和一个 boot loader。可以用下面"
"指令找到那些预先打包的内核 <informalexample><screen>\n"
"# apt-cache search linux-image\n"
"</screen></informalexample> 接下来使用所选包名来安装。"
#. Tag: screen
#: random-bits.xml:585
#, no-c-format
msgid ""
"# aptitude install linux-image-<replaceable>&kernelversion;-arch-etc</"
"replaceable>"
msgstr ""
"# aptitude install linux-image-<replaceable>&kernelversion;-arch-etc</"
"replaceable>"
#. Tag: title
#: random-bits.xml:591
#, no-c-format
msgid "Set up the Boot Loader"
msgstr "Boot Loader 的设置"
#. Tag: para
#: random-bits.xml:592
#, no-c-format
msgid ""
"To make your &debian; system bootable, set up your boot loader to load the "
"installed kernel with your new root partition. Note that "
"<command>debootstrap</command> does not install a boot loader, though you "
"can use <command>aptitude</command> inside your Debian chroot to do so."
msgstr ""
"要让您的 &debian; 系统能够启动,还要创建您的 boot loader,好让它能加载已安装"
"的内核并用上新的根分区。注意 <command>debootstrap</command> 不会安装 boot "
"loader,因此您要在 Debian 的 chroot 中使用 <command>aptitude</command> 完成。"
#. Tag: para
#: random-bits.xml:599
#, no-c-format
msgid ""
"Check <userinput>info grub</userinput> or <userinput>man lilo.conf</"
"userinput> for instructions on setting up the bootloader. If you are keeping "
"the system you used to install Debian, just add an entry for the Debian "
"install to your existing grub <filename>menu.lst</filename> or "
"<filename>lilo.conf</filename>. For <filename>lilo.conf</filename>, you "
"could also copy it to the new system and edit it there. After you are done "
"editing, call lilo (remember it will use <filename>lilo.conf</filename> "
"relative to the system you call it from)."
msgstr ""
"通过查阅 <userinput>info grub</userinput> 或 <userinput>man lilo.conf</"
"userinput> 可以得到一些有关设置 bootloader 的提示。如果您希望保留用来安装 "
"Debian 的那个系统,那么就在现有的 grub <filename>menu.lst</filename> 或 "
"<filename>lilo.conf</filename> 里为 Debian 系统的安装添加一条配置就可以了。对"
"于 <filename>lilo.conf</filename>您也可以把这个文件拷贝到新的系统里,然后在新"
"的系统里编辑它。当您修改好配置,运行 lilo (请记住,您在哪个系统里运行 lilo,"
"它就会用哪个系统里的 <filename>lilo.conf</filename> )。"
#. Tag: para
#: random-bits.xml:610
#, no-c-format
msgid "Here is a basic <filename>/etc/lilo.conf</filename> as an example:"
msgstr "下面有一个简单的<filename>/etc/lilo.conf</filename> 作为例子:"
#. Tag: screen
#: random-bits.xml:614
#, no-c-format
msgid ""
"boot=/dev/hda6\n"
"root=/dev/hda6\n"
"install=menu\n"
"delay=20\n"
"lba32\n"
"image=/vmlinuz\n"
"label=Debian"
msgstr ""
"boot=/dev/hda6\n"
"root=/dev/hda6\n"
"install=menu\n"
"delay=20\n"
"lba32\n"
"image=/vmlinuz\n"
"label=Debian"
#. Tag: para
#: random-bits.xml:616
#, no-c-format
msgid ""
"Check <userinput>man yaboot.conf</userinput> for instructions on setting up "
"the bootloader. If you are keeping the system you used to install Debian, "
"just add an entry for the Debian install to your existing <filename>yaboot."
"conf</filename>. You could also copy it to the new system and edit it there. "
"After you are done editing, call ybin (remember it will use <filename>yaboot."
"conf</filename> relative to the system you call it from)."
msgstr ""
"通过查阅 <userinput>man yaboot.conf</userinput> 可以得到一些有关设置 "
"bootloader 的提示。如果您希望继续保留用来安装 Debian 的那个系统,那么在 "
"<filename>yaboot.conf</filename> 里为 Debian 系统的安装添加一条配置就可以了。"
"您也可以把这个文件拷贝到新的系统里,然后在新的系统里编辑它。当您修改完毕配"
"置,运行 ybin (请记住,您在哪个系统里运行 <filename>yaboot.conf</"
"filename> )。"
#. Tag: para
#: random-bits.xml:626
#, no-c-format
msgid ""
"Here is a basic <filename>/etc/yaboot.conf</filename> as an example: "
"<informalexample><screen>\n"
"boot=/dev/hda2\n"
"device=hd:\n"
"partition=6\n"
"root=/dev/hda6\n"
"magicboot=/usr/lib/yaboot/ofboot\n"
"timeout=50\n"
"image=/vmlinux\n"
"label=Debian\n"
"</screen></informalexample> On some machines, you may need to use "
"<userinput>ide0:</userinput> instead of <userinput>hd:</userinput>."
msgstr ""
"下面有一个简单的<filename>/etc/yaboot.conf</filename> 作为例子: "
"<informalexample><screen>\n"
"boot=/dev/hda2\n"
"device=hd:\n"
"partition=6\n"
"root=/dev/hda6\n"
"magicboot=/usr/lib/yaboot/ofboot\n"
"timeout=50\n"
"image=/vmlinux\n"
"label=Debian\n"
"</screen></informalexample> 在有的电脑上,您或许应该把 <userinput>ide0:</"
"userinput> 换成 <userinput>hd:</userinput>。"
#. Tag: title
#: random-bits.xml:644
#, no-c-format
msgid "Installing &debian; over Parallel Line IP (PLIP)"
msgstr "通过 Parallel Line IP (PLIP) 来安装 &debian;"
#. Tag: para
#: random-bits.xml:646
#, no-c-format
msgid ""
"This section explains how to install &debian; on a computer without an "
"Ethernet card, but with just a remote gateway computer attached via a Null-"
"Modem cable (also called Null-Printer cable). The gateway computer should be "
"connected to a network that has a Debian mirror on it (e.g. to the Internet)."
msgstr ""
"本节将说明在没有以太网卡的情况下,如何通过一条 Null-Modem 线(也称为 Null-"
"Printer 线),连接到远端网关计算机来安装 &debian;。充当网关的计算机应该连接到"
"具有 Debian 镜像的网络(例如,互联网)。"
#. Tag: para
#: random-bits.xml:654
#, no-c-format
msgid ""
"In the example in this appendix we will set up a PLIP connection using a "
"gateway connected to the Internet over a dial-up connection (ppp0). We will "
"use IP addresses 192.168.0.1 and 192.168.0.2 for the PLIP interfaces on the "
"target system and the source system respectively (these addresses should be "
"unused within your network address space)."
msgstr ""
"本附录里面的例子中,我们将建立一个 PLIP 连接,使用的网关通过拨号连接(ppp0)到"
"互联网。我们还分别为目标和源系统的 PLIP 接口使用 192.168.0.1 和 192.168.0.2 "
"IP 地址(这些地址在您的网络地址空间里面未被占用)。"
#. Tag: para
#: random-bits.xml:662
#, no-c-format
msgid ""
"The PLIP connection set up during the installation will also be available "
"after the reboot into the installed system (see <xref linkend=\"boot-new\"/"
">)."
msgstr ""
"在安装时建立的 PLIP 连接,重新启动后在新安装的系统里面仍然可用(参阅 <xref "
"linkend=\"boot-new\"/>)。"
#. Tag: para
#: random-bits.xml:667
#, no-c-format
msgid ""
"Before you start, you will need to check the BIOS configuration (IO base "
"address and IRQ) for the parallel ports of both the source and target "
"systems. The most common values are <literal>io=0x378</literal>, "
"<literal>irq=7</literal>."
msgstr ""
"开始前,您需要检查一下源与目标系统并口的 BIOS 设置(IO 基地址和 IRQ)。常用的值"
"为 <literal>io=0x378</literal>,<literal>irq=7</literal>。"
#. Tag: title
#: random-bits.xml:677
#, no-c-format
msgid "Requirements"
msgstr "需求"
#. Tag: para
#: random-bits.xml:680
#, no-c-format
msgid ""
"A target computer, called <emphasis>target</emphasis>, where Debian will be "
"installed."
msgstr "目标计算机,称为 <emphasis>target</emphasis>,将安装 Debian 在上面。"
#. Tag: para
#: random-bits.xml:686
#, no-c-format
msgid "System installation media; see <xref linkend=\"installation-media\"/>."
msgstr "系统安装介质;参阅 <xref linkend=\"installation-media\"/>。"
#. Tag: para
#: random-bits.xml:691
#, no-c-format
msgid ""
"Another computer connected to the Internet, called <emphasis>source</"
"emphasis>, that will function as the gateway."
msgstr ""
"另外一台连接到互联网的计算机,称为 <emphasis>source</emphasis>,功能是网关。"
#. Tag: para
#: random-bits.xml:697
#, no-c-format
msgid ""
"A DB-25 Null-Modem cable. See the <ulink url=\"&url-plip-install-howto;"
"\">PLIP-Install-HOWTO</ulink> for more information on this cable and "
"instructions how to make your own."
msgstr ""
"一条 DB-25 Null-Modem 线。参阅 <ulink url=\"&url-plip-install-howto;\">PLIP-"
"Install-HOWTO</ulink> 了解这种线的更多信息,以及如何自己制作。"
#. Tag: title
#: random-bits.xml:709
#, no-c-format
msgid "Setting up source"
msgstr "建立源"
#. Tag: para
#: random-bits.xml:710
#, no-c-format
msgid ""
"The following shell script is a simple example of how to configure the "
"source computer as a gateway to the Internet using ppp0."
msgstr ""
"下面的脚本是一个简单例子,说明如何配置使用 ppp0 连接到互联网的充当网关的源计"
"算机。"
#. Tag: screen
#: random-bits.xml:715
#, no-c-format
msgid ""
"#!/bin/sh\n"
"\n"
"# We remove running modules from kernel to avoid conflicts and to\n"
"# reconfigure them manually.\n"
"modprobe -r lp parport_pc\n"
"modprobe parport_pc io=<replaceable>0x378</replaceable> irq=<replaceable>7</"
"replaceable>\n"
"modprobe plip\n"
"\n"
"# Configure the plip interface (plip0 for me, see dmesg | grep plip)\n"
"ifconfig <replaceable>plip0 192.168.0.2</replaceable> pointopoint "
"<replaceable>192.168.0.1</replaceable> netmask 255.255.255.255 up\n"
"\n"
"# Configure gateway\n"
"modprobe iptable_nat\n"
"iptables -t nat -A POSTROUTING -o <replaceable>ppp0</replaceable> -j "
"MASQUERADE\n"
"echo 1 > /proc/sys/net/ipv4/ip_forward"
msgstr ""
"#!/bin/sh\n"
"\n"
"# We remove running modules from kernel to avoid conflicts and to\n"
"# reconfigure them manually.\n"
"modprobe -r lp parport_pc\n"
"modprobe parport_pc io=<replaceable>0x378</replaceable> irq=<replaceable>7</"
"replaceable>\n"
"modprobe plip\n"
"\n"
"# Configure the plip interface (plip0 for me, see dmesg | grep plip)\n"
"ifconfig <replaceable>plip0 192.168.0.2</replaceable> pointopoint "
"<replaceable>192.168.0.1</replaceable> netmask 255.255.255.255 up\n"
"\n"
"# Configure gateway\n"
"modprobe iptable_nat\n"
"iptables -t nat -A POSTROUTING -o <replaceable>ppp0</replaceable> -j "
"MASQUERADE\n"
"echo 1 > /proc/sys/net/ipv4/ip_forward"
#. Tag: title
#: random-bits.xml:721
#, no-c-format
msgid "Installing target"
msgstr "安装目标"
#. Tag: para
#: random-bits.xml:722
#, no-c-format
msgid ""
"Boot the installation media. The installation needs to be run in expert "
"mode; enter <userinput>expert</userinput> at the boot prompt. If you need to "
"set parameters for kernel modules, you also need to do this at the boot "
"prompt. For example, to boot the installer and set values for the <quote>io</"
"quote> and <quote>irq</quote> options for the parport_pc module, enter the "
"following at the boot prompt: <informalexample><screen>\n"
"expert parport_pc.io=<replaceable>0x378</replaceable> parport_pc."
"irq=<replaceable>7</replaceable>\n"
"</screen></informalexample> Below are the answers that should be given "
"during various stages of the installation."
msgstr ""
"启动安装介质。安装需要运行在 expert 模式; 在启动提示符下输入 "
"<userinput>expert</userinput>。如果您需要为内核模块设置参数,同样要在启动提示"
"符下输入。例如,要启动安装程序,并为 parport_pc 模块的 <quote>io</quote> 和 "
"<quote>irq</quote> 选项设置值,在启动提示符后面输入:"
"<informalexample><screen>\n"
"expert parport_pc.io=<replaceable>0x378</replaceable> parport_pc."
"irq=<replaceable>7</replaceable>\n"
"</screen></informalexample> 下面是安装过程中各阶段所要提供的答案。"
#. Tag: guimenuitem
#: random-bits.xml:741
#, no-c-format
msgid "Load installer components from CD"
msgstr "从光盘加载安装组件"
#. Tag: para
#: random-bits.xml:743
#, no-c-format
msgid ""
"Select the <userinput>plip-modules</userinput> option from the list; this "
"will make the PLIP drivers available to the installation system."
msgstr ""
"从列表里面选择 <userinput>plip-modules</userinput> 选项; 它使安装系统可以使"
"用 PLIP 驱动。"
#. Tag: guimenuitem
#: random-bits.xml:751
#, no-c-format
msgid "Detect network hardware"
msgstr "侦测网络硬件"
#. Tag: para
#: random-bits.xml:756
#, no-c-format
msgid ""
"If target <emphasis>does</emphasis> have a network card, a list of driver "
"modules for detected cards will be shown. If you want to force &d-i; to use "
"plip instead, you have to deselect all listed driver modules. Obviously, if "
"target doesn't have a network card, the installer will not show this list."
msgstr ""
"如果目标系统<emphasis>具有</emphasis>网卡,将显示侦测到的网卡的驱动模块列表。"
"如果您希望强制 &d-i; 使用 plip,您应该排斥所有列出的驱动模块。显然,如果目标"
"系统没有网卡,安装程序不会显示该列表。"
#. Tag: para
#: random-bits.xml:765
#, no-c-format
msgid ""
"Because no network card was detected/selected earlier, the installer will "
"ask you to select a network driver module from a list. Select the "
"<userinput>plip</userinput> module."
msgstr ""
"因为前面没有网卡侦测/选择,安装程序将要求您从列表中选择网络驱动模块。选择 "
"<userinput>plip</userinput> 模块。"
#. Tag: guimenuitem
#: random-bits.xml:777
#, no-c-format
msgid "Configure the network"
msgstr "配置网络"
#. Tag: para
#: random-bits.xml:780
#, no-c-format
msgid "Auto-configure network with DHCP: No"
msgstr "Auto-configure network with DHCP: No"
#. Tag: para
#: random-bits.xml:785
#, no-c-format
msgid ""
"IP address: <userinput><replaceable>192.168.0.1</replaceable></userinput>"
msgstr ""
"IP address: <userinput><replaceable>192.168.0.1</replaceable></userinput>"
#. Tag: para
#: random-bits.xml:790
#, no-c-format
msgid ""
"Point-to-point address: <userinput><replaceable>192.168.0.2</replaceable></"
"userinput>"
msgstr ""
"Point-to-point address: <userinput><replaceable>192.168.0.2</replaceable></"
"userinput>"
#. Tag: para
#: random-bits.xml:796
#, no-c-format
msgid ""
"Name server addresses: you can enter the same addresses used on source (see "
"<filename>/etc/resolv.conf</filename>)"
msgstr ""
"Name server addresses: 您可以使用与源计算机相同的地址 (参阅 <filename>/etc/"
"resolv.conf</filename>)"
|