~ubuntu-core-doc/ubuntu-docs/ubuntu-jaunty

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
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
# Estonian translation for ubuntu-docs
# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006
# This file is distributed under the same license as the ubuntu-docs package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2006.
#
msgid ""
msgstr ""
"Project-Id-Version: ubuntu-docs\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-04-03 23:05+0100\n"
"PO-Revision-Date: 2009-04-01 18:09+0000\n"
"Last-Translator: Launchpad Translations Administrators "
"<rosetta@launchpad.net>\n"
"Language-Team: Estonian <et@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-04-09 18:29+0000\n"
"X-Generator: Launchpad (build Unknown)\n"

#: serverguide/C/serverguide-C.omf:6(creator) serverguide/C/serverguide-C.omf:7(maintainer)
msgid "ubuntu-doc@lists.ubuntu.com (Ubuntu Documentation Project)"
msgstr ""

#: serverguide/C/serverguide-C.omf:8(title) serverguide/C/serverguide-C.omf:11(description) serverguide/C/serverguide.xml:14(title) serverguide/C/bookinfo.xml:13(title)
msgid "Ubuntu Server Guide"
msgstr ""

#: serverguide/C/serverguide-C.omf:9(date)
msgid "2007-09-30"
msgstr ""

#: serverguide/C/windows-networking.xml:13(title)
msgid "Windows Networking"
msgstr ""

#: serverguide/C/windows-networking.xml:15(para)
msgid ""
"Computer networks are often comprised of diverse systems, and while "
"operating a network made up entirely of Ubuntu desktop and server computers "
"would certainly be fun, some network environments must consist of both "
"Ubuntu and <trademark class=\"registered\">Microsoft</trademark><trademark "
"class=\"registered\">Windows</trademark> systems working together in "
"harmony. This section of the <phrase>Ubuntu</phrase> Server Guide introduces "
"principles and tools used in configuring your Ubuntu Server for sharing "
"network resources with Windows computers."
msgstr ""

#: serverguide/C/windows-networking.xml:25(title) serverguide/C/virtualization.xml:397(title) serverguide/C/security.xml:412(title) serverguide/C/remote-administration.xml:22(title) serverguide/C/package-management.xml:20(title) serverguide/C/jeos.xml:16(title) serverguide/C/introduction.xml:13(title)
msgid "Introduction"
msgstr "Sissejuhatus"

#: serverguide/C/windows-networking.xml:27(para)
msgid ""
"Successfully networking your Ubuntu system with Windows clients involves "
"providing and integrating with services common to Windows environments. Such "
"services assist the sharing of data and information about the computers and "
"users involved in the network, and may be classified under three major "
"categories of functionality:"
msgstr ""

#: serverguide/C/windows-networking.xml:35(para)
msgid ""
"<emphasis role=\"bold\">File and Printer Sharing Services</emphasis>. Using "
"the Server Message Block (SMB) protocol to facilitate the sharing of files, "
"folders, volumes, and the sharing of printers throughout the network."
msgstr ""

#: serverguide/C/windows-networking.xml:41(para)
msgid ""
"<emphasis role=\"bold\">Directory Services</emphasis>. Sharing vital "
"information about the computers and users of the network with such "
"technologies as the Lightweight Directory Access Protocol (LDAP) and "
"Microsoft <trademark class=\"registered\">Active Directory</trademark>."
msgstr ""

#: serverguide/C/windows-networking.xml:48(para)
msgid ""
"<emphasis role=\"bold\">Authentication and Access</emphasis>. Establishing "
"the identity of a computer or user of the network and determining the "
"information the computer or user is authorized to access using such "
"principles and technologies as file permissions, group policies, and the "
"Kerberos authentication service."
msgstr ""

#: serverguide/C/windows-networking.xml:56(para)
msgid ""
"Fortunately, your Ubuntu system may provide all such facilities to Windows "
"clients and share network resources among them. One of the principal pieces "
"of software your Ubuntu system includes for Windows networking is the Samba "
"suite of SMB server applications and tools."
msgstr ""

#: serverguide/C/windows-networking.xml:62(para)
msgid ""
"This section of the <phrase>Ubuntu</phrase> Server Guide will introduce some "
"of the common Samba use cases, and how to install and configure the "
"necessary packages. Additional detailed documentation and information on "
"Samba can be found on the <ulink url=\"http://www.samba.org\">Samba "
"website</ulink>."
msgstr ""

#: serverguide/C/windows-networking.xml:70(title)
msgid "Samba File Server"
msgstr ""

#: serverguide/C/windows-networking.xml:72(para)
msgid ""
"One of the most common ways to network Ubuntu and Windows computers is to "
"configure Samba as a File Server. This section covers setting up a "
"<application>Samba</application> server to share files with Windows clients."
msgstr ""

#: serverguide/C/windows-networking.xml:77(para)
msgid ""
"The server will be configured to share files with any client on the network "
"without prompting for a password. If your environment requires stricter "
"Access Controls see <xref linkend=\"samba-fileprint-security\"/>"
msgstr ""

#: serverguide/C/windows-networking.xml:83(title) serverguide/C/windows-networking.xml:282(title) serverguide/C/windows-networking.xml:1279(title) serverguide/C/web-servers.xml:41(title) serverguide/C/web-servers.xml:669(title) serverguide/C/web-servers.xml:804(title) serverguide/C/web-servers.xml:925(title) serverguide/C/virtualization.xml:62(title) serverguide/C/virtualization.xml:1341(title) serverguide/C/vcs.xml:28(title) serverguide/C/vcs.xml:86(title) serverguide/C/vcs.xml:400(title) serverguide/C/remote-administration.xml:52(title) serverguide/C/remote-administration.xml:220(title) serverguide/C/network-config.xml:625(title) serverguide/C/network-auth.xml:52(title) serverguide/C/network-auth.xml:1230(title) serverguide/C/network-auth.xml:1736(title) serverguide/C/network-auth.xml:2127(title) serverguide/C/mail.xml:33(title) serverguide/C/mail.xml:297(title) serverguide/C/mail.xml:470(title) serverguide/C/mail.xml:614(title) serverguide/C/mail.xml:1094(title) serverguide/C/lamp-applications.xml:108(title) serverguide/C/lamp-applications.xml:275(title) serverguide/C/lamp-applications.xml:359(title) serverguide/C/installation.xml:13(title) serverguide/C/installation.xml:907(title) serverguide/C/file-server.xml:342(title) serverguide/C/file-server.xml:454(title) serverguide/C/dns.xml:23(title) serverguide/C/databases.xml:40(title) serverguide/C/databases.xml:159(title) serverguide/C/backups.xml:593(title)
msgid "Installation"
msgstr ""

#: serverguide/C/windows-networking.xml:85(para)
msgid ""
"The first step is to install the <application>samba</application> package. "
"From a terminal prompt enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:90(command) serverguide/C/windows-networking.xml:294(command)
msgid "sudo apt-get install samba"
msgstr ""

#: serverguide/C/windows-networking.xml:93(para)
msgid ""
"That's all there is to it; you are now ready to configure Samba to share "
"files."
msgstr ""

#: serverguide/C/windows-networking.xml:99(title) serverguide/C/windows-networking.xml:299(title) serverguide/C/web-servers.xml:61(title) serverguide/C/web-servers.xml:720(title) serverguide/C/web-servers.xml:815(title) serverguide/C/web-servers.xml:952(title) serverguide/C/web-servers.xml:1046(title) serverguide/C/virtualization.xml:1226(title) serverguide/C/virtualization.xml:1415(title) serverguide/C/vcs.xml:39(title) serverguide/C/vcs.xml:418(title) serverguide/C/remote-administration.xml:74(title) serverguide/C/remote-administration.xml:245(title) serverguide/C/package-management.xml:365(title) serverguide/C/network-config.xml:647(title) serverguide/C/network-auth.xml:88(title) serverguide/C/network-auth.xml:1775(title) serverguide/C/network-auth.xml:2148(title) serverguide/C/mail.xml:306(title) serverguide/C/mail.xml:480(title) serverguide/C/mail.xml:699(title) serverguide/C/mail.xml:1119(title) serverguide/C/lamp-applications.xml:128(title) serverguide/C/lamp-applications.xml:302(title) serverguide/C/lamp-applications.xml:389(title) serverguide/C/file-server.xml:355(title) serverguide/C/file-server.xml:480(title) serverguide/C/dns.xml:39(title) serverguide/C/databases.xml:84(title) serverguide/C/databases.xml:178(title) serverguide/C/clustering.xml:39(title) serverguide/C/backups.xml:616(title)
msgid "Configuration"
msgstr ""

#: serverguide/C/windows-networking.xml:101(para)
msgid ""
"The main Samba configuration file is located in "
"<filename>/etc/samba/smb.conf</filename>. The default configuration file has "
"a significant amount of comments in order to document various configuration "
"directives."
msgstr ""

#: serverguide/C/windows-networking.xml:106(para)
msgid ""
"Not all the available options are included in the default configuration "
"file. See the <filename>smb.conf</filename><application>man</application> "
"page or the <ulink url=\"http://samba.org/samba/docs/man/Samba-HOWTO-"
"Collection/\">Samba HOWTO Collection</ulink> for more details."
msgstr ""

#: serverguide/C/windows-networking.xml:116(para)
msgid ""
"First, edit the following key/value pairs in the "
"<emphasis>[global]</emphasis> section of "
"<filename>/etc/samba/smb.conf</filename>:"
msgstr ""

#: serverguide/C/windows-networking.xml:121(programlisting) serverguide/C/windows-networking.xml:306(programlisting) serverguide/C/windows-networking.xml:975(programlisting)
#, no-wrap
msgid ""
"\n"
"   workgroup = EXAMPLE\n"
"   ...\n"
"   security = user\n"
msgstr ""

#: serverguide/C/windows-networking.xml:127(para)
msgid ""
"The <emphasis>security</emphasis> parameter is farther down in the [global] "
"section, and is commented by default. Also, change "
"<emphasis>EXAMPLE</emphasis> to better match your environment."
msgstr ""

#: serverguide/C/windows-networking.xml:135(para)
msgid ""
"Create a new section at the bottom of the file, or uncomment one of the "
"examples, for the directory to be shared:"
msgstr ""

#: serverguide/C/windows-networking.xml:139(programlisting)
#, no-wrap
msgid ""
"\n"
"[share]\n"
"    comment = Ubuntu File Server Share\n"
"    path = /srv/samba/share\n"
"    browsable = yes\n"
"    guest ok = yes\n"
"    read only = no\n"
"    create mask = 0755\n"
msgstr ""

#: serverguide/C/windows-networking.xml:151(para)
msgid ""
"<emphasis>comment:</emphasis> a short description of the share. Adjust to "
"fit your needs."
msgstr ""

#: serverguide/C/windows-networking.xml:156(para)
msgid "<emphasis>path:</emphasis> the path to the directory to share."
msgstr ""

#: serverguide/C/windows-networking.xml:159(para)
msgid ""
"This example uses <filename>/srv/samba/sharename</filename> because, "
"according to the <emphasis>Filesystem Hierarchy Standard (FHS)</emphasis>, "
"<ulink url=\"http://www.pathname.com/fhs/pub/fhs-"
"2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM\">/srv</ulink> is where site-"
"specific data should be served. Technically Samba shares can be placed "
"anywhere on the filesystem as long as the permissions are correct, but "
"adhering to standards is recommended."
msgstr ""

#: serverguide/C/windows-networking.xml:168(para)
msgid ""
"<emphasis>browsable:</emphasis> enables Windows clients to browse the shared "
"directory using <application>Windows Explorer</application>."
msgstr ""

#: serverguide/C/windows-networking.xml:174(para)
msgid ""
"<emphasis>guest ok:</emphasis> allows clients to connect to the share "
"without supplying a password."
msgstr ""

#: serverguide/C/windows-networking.xml:179(para)
msgid ""
"<emphasis>read only:</emphasis> gives write access to the shared directory."
msgstr ""

#: serverguide/C/windows-networking.xml:184(para)
msgid ""
"<emphasis>create mask:</emphasis> determines the permissions new files will "
"have when created."
msgstr ""

#: serverguide/C/windows-networking.xml:193(para)
msgid ""
"Now that <application>Samba</application> is configured, the directory needs "
"to be created and the permissions changed. From a terminal enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:199(command)
msgid "sudo mkdir -p /srv/samba/share"
msgstr ""

#: serverguide/C/windows-networking.xml:200(command)
msgid "sudo chown nobody.nogroup /srv/samba/share/"
msgstr ""

#: serverguide/C/windows-networking.xml:204(para)
msgid ""
"The <emphasis>-p</emphasis> switch tells mkdir to create the entire "
"directory tree if it doesn't exist. Change the share name to fit your "
"environment."
msgstr ""

#: serverguide/C/windows-networking.xml:213(para)
msgid ""
"Finally, restart the <application>samba</application> services to enable the "
"new configuration:"
msgstr ""

#: serverguide/C/windows-networking.xml:218(command) serverguide/C/windows-networking.xml:326(command) serverguide/C/windows-networking.xml:458(command) serverguide/C/windows-networking.xml:557(command) serverguide/C/windows-networking.xml:922(command) serverguide/C/windows-networking.xml:1032(command) serverguide/C/windows-networking.xml:1142(command) serverguide/C/network-auth.xml:1510(command)
msgid "sudo /etc/init.d/samba restart"
msgstr ""

#: serverguide/C/windows-networking.xml:225(para)
msgid ""
"Once again, the above configuration gives all access to any client on the "
"local network. For a more secure configuration see <xref linkend=\"samba-"
"fileprint-security\"/>."
msgstr ""

#: serverguide/C/windows-networking.xml:231(para)
msgid ""
"From a Windows client you should now be able to browse to the Ubuntu file "
"server and see the shared directory. To check that everything is working try "
"creating a directory from Windows."
msgstr ""

#: serverguide/C/windows-networking.xml:236(para)
msgid ""
"To create additional shares simply create new <emphasis>[dir]</emphasis> "
"sections in <filename>/etc/samba/smb.conf</filename>, and restart "
"<emphasis>Samba</emphasis>. Just make sure that the directory you want to "
"share actually exists and the permissions are correct."
msgstr ""

#: serverguide/C/windows-networking.xml:243(title) serverguide/C/windows-networking.xml:336(title) serverguide/C/windows-networking.xml:686(title) serverguide/C/windows-networking.xml:1051(title) serverguide/C/windows-networking.xml:1253(title) serverguide/C/virtualization.xml:366(title) serverguide/C/virtualization.xml:1163(title) serverguide/C/remote-administration.xml:478(title) serverguide/C/network-config.xml:269(title) serverguide/C/network-config.xml:512(title) serverguide/C/network-auth.xml:1186(title) serverguide/C/network-auth.xml:1625(title) serverguide/C/network-auth.xml:2223(title) serverguide/C/network-auth.xml:2727(title) serverguide/C/jeos.xml:782(title) serverguide/C/installation.xml:847(title) serverguide/C/installation.xml:1123(title) serverguide/C/databases.xml:122(title) serverguide/C/databases.xml:268(title) serverguide/C/backups.xml:855(title)
msgid "Resources"
msgstr ""

#: serverguide/C/windows-networking.xml:247(para) serverguide/C/windows-networking.xml:340(para) serverguide/C/windows-networking.xml:690(para) serverguide/C/windows-networking.xml:1055(para)
msgid ""
"For in depth Samba configurations see the <ulink "
"url=\"http://samba.org/samba/docs/man/Samba-HOWTO-Collection/\">Samba HOWTO "
"Collection</ulink>"
msgstr ""

#: serverguide/C/windows-networking.xml:253(para) serverguide/C/windows-networking.xml:346(para) serverguide/C/windows-networking.xml:696(para) serverguide/C/windows-networking.xml:1061(para)
msgid ""
"The guide is also available in <ulink "
"url=\"http://www.amazon.com/exec/obidos/tg/detail/-/0131882228\">printed "
"format</ulink>."
msgstr ""

#: serverguide/C/windows-networking.xml:259(para) serverguide/C/windows-networking.xml:352(para)
msgid ""
"O'Reilly's <ulink "
"url=\"http://www.oreilly.com/catalog/9780596007690/\">Using Samba</ulink> is "
"another good reference."
msgstr ""

#: serverguide/C/windows-networking.xml:269(title)
msgid "Samba Print Server"
msgstr ""

#: serverguide/C/windows-networking.xml:271(para)
msgid ""
"Another common use of Samba is to configure it to share printers installed, "
"either locally or over the network, on an Ubuntu server. Similar to <xref "
"linkend=\"samba-fileserver\"/> this section will configure Samba to allow "
"any client on the local network to use the installed printers without "
"prompting for a username and password."
msgstr ""

#: serverguide/C/windows-networking.xml:277(para)
msgid ""
"For a more secure configuration see <xref linkend=\"samba-fileprint-"
"security\"/>."
msgstr ""

#: serverguide/C/windows-networking.xml:284(para)
msgid ""
"Before installing and configuring Samba it is best to already have a working "
"<application>CUPS</application> installation. See <xref linkend=\"cups\"/> "
"for details."
msgstr ""

#: serverguide/C/windows-networking.xml:289(para)
msgid ""
"To install the <application>samba</application> package, from a terminal "
"enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:300(para)
msgid ""
"After installing samba edit <filename>/etc/samba/smb.conf</filename>. Change "
"the <emphasis>workgroup</emphasis> attribute to what is appropriate for your "
"network, and change <emphasis>security</emphasis> to <emphasis "
"role=\"italic\">share</emphasis>:"
msgstr ""

#: serverguide/C/windows-networking.xml:312(para)
msgid ""
"In the <emphasis>[printers]</emphasis> section change the <emphasis>guest "
"ok</emphasis> option to <emphasis role=\"italic\">yes</emphasis>:"
msgstr ""

#: serverguide/C/windows-networking.xml:316(programlisting)
#, no-wrap
msgid ""
"\n"
"   browsable = yes\n"
"   guest ok = yes\n"
msgstr ""

#: serverguide/C/windows-networking.xml:321(para)
msgid "After editing <filename>smb.conf</filename> restart Samba:"
msgstr ""

#: serverguide/C/windows-networking.xml:329(para)
msgid ""
"The default Samba configuration will automatically share any printers "
"installed. Simply install the printer locally on your Windows clients."
msgstr ""

#: serverguide/C/windows-networking.xml:358(para)
msgid ""
"Also, see the <ulink url=\"http://www.cups.org/\">CUPS Website</ulink> for "
"more information on configuring CUPS."
msgstr ""

#: serverguide/C/windows-networking.xml:367(title)
msgid "Securing a Samba File and Print Server"
msgstr ""

#: serverguide/C/windows-networking.xml:370(title)
msgid "Samba Security Modes"
msgstr ""

#: serverguide/C/windows-networking.xml:372(para)
msgid ""
"There are two security levels available to the Common Internet Filesystem "
"(CIFS) network protocol <emphasis>user-level</emphasis> and <emphasis>share-"
"level</emphasis>. Samba's <emphasis>security mode</emphasis> implementation "
"allows more flexibility, providing four ways of implementing user-level "
"security and one way to implement share-level:"
msgstr ""

#: serverguide/C/windows-networking.xml:381(para)
msgid ""
"<emphasis>security = user:</emphasis> requires clients to supply a username "
"and password to connect to shares. Samba user accounts are separate from "
"system accounts, but the <application>libpam-smbpass</application> package "
"will sync system users and passwords with the Samba user database."
msgstr ""

#: serverguide/C/windows-networking.xml:388(para)
msgid ""
"<emphasis>security = domain:</emphasis> this mode allows the Samba server to "
"appear to Windows clients as a Primary Domain Controller (PDC), Backup "
"Domain Controller (BDC), or a Domain Member Server (DMS). See <xref "
"linkend=\"samba-dc\"/> for further information."
msgstr ""

#: serverguide/C/windows-networking.xml:395(para)
msgid ""
"<emphasis>security = ADS:</emphasis> allows the Samba server to join an "
"Active Directory domain as a native member. See <xref linkend=\"samba-ad-"
"integration\"/> for details."
msgstr ""

#: serverguide/C/windows-networking.xml:401(para)
msgid ""
"<emphasis>security = server:</emphasis> this mode is left over from before "
"Samba could become a member server, and due to some security issues should "
"not be used. See the <ulink url=\"http://samba.org/samba/docs/man/Samba-"
"HOWTO-Collection/ServerType.html#id349531\">Server Security</ulink> section "
"of the Samba guide for more details."
msgstr ""

#: serverguide/C/windows-networking.xml:409(para)
msgid ""
"<emphasis>security = share:</emphasis> allows clients to connect to shares "
"without supplying a username and password."
msgstr ""

#: serverguide/C/windows-networking.xml:416(para)
msgid ""
"The security mode you choose will depend on your environment and what you "
"need the Samba server to accomplish."
msgstr ""

#: serverguide/C/windows-networking.xml:422(title)
msgid "Security = User"
msgstr ""

#: serverguide/C/windows-networking.xml:424(para)
msgid ""
"This section will reconfigure the Samba file and print server, from <xref "
"linkend=\"samba-fileserver\"/> and <xref linkend=\"samba-printserver\"/>, to "
"require authentication."
msgstr ""

#: serverguide/C/windows-networking.xml:429(para)
msgid ""
"First, install the <application>libpam-smbpass</application> package which "
"will sync the system users to the Samba user database:"
msgstr ""

#: serverguide/C/windows-networking.xml:435(command)
msgid "sudo apt-get install libpam-smbpass"
msgstr ""

#: serverguide/C/windows-networking.xml:439(para)
msgid ""
"If you chose the <emphasis>Samba Server</emphasis> task during installation "
"<application>libpam-smbpass</application> is already installed."
msgstr ""

#: serverguide/C/windows-networking.xml:445(para)
msgid ""
"Edit <filename>/etc/samba/smb.conf</filename>, and in the "
"<emphasis>[share]</emphasis> section change:"
msgstr ""

#: serverguide/C/windows-networking.xml:449(programlisting)
#, no-wrap
msgid ""
"\n"
"    guest ok = no\n"
msgstr ""

#: serverguide/C/windows-networking.xml:453(para)
msgid "Finally, restart Samba for the new settings to take effect:"
msgstr ""

#: serverguide/C/windows-networking.xml:461(para)
msgid ""
"Now when connecting to the shared directories or printers you should be "
"prompted for a username and password."
msgstr ""

#: serverguide/C/windows-networking.xml:466(para)
msgid ""
"If you choose to map a network drive to the share you can check the "
"<quote>Reconnect at Logon</quote> check box, which will require you to only "
"enter the username and password once, at least until the password changes."
msgstr ""

#: serverguide/C/windows-networking.xml:474(title)
msgid "Share Security"
msgstr ""

#: serverguide/C/windows-networking.xml:476(para)
msgid ""
"There are several options available to increase the security for each "
"individual shared directory. Using the <emphasis>[share]</emphasis> example, "
"this section will cover some common options."
msgstr ""

#: serverguide/C/windows-networking.xml:482(title)
msgid "Groups"
msgstr ""

#: serverguide/C/windows-networking.xml:484(para)
msgid ""
"Groups define a collection of computers or users which have a common level "
"of access to particular network resources and offer a level of granularity "
"in controlling access to such resources. For example, if a group <emphasis "
"role=\"italic\">qa</emphasis> is defined and contains the users <emphasis "
"role=\"italic\">freda</emphasis>, <emphasis "
"role=\"italic\">danika</emphasis>, and <emphasis "
"role=\"italic\">rob</emphasis> and a second group <emphasis "
"role=\"italic\">support</emphasis> is defined and consists of users "
"<emphasis role=\"italic\">danika</emphasis>, <emphasis "
"role=\"italic\">jeremy</emphasis>, and <emphasis "
"role=\"italic\">vincent</emphasis> then certain network resources configured "
"to allow access by the <emphasis role=\"italic\">qa</emphasis> group will "
"subsequently enable access by freda, danika, and rob, but not jeremy or "
"vincent. Since the user <emphasis role=\"italic\">danika</emphasis> belongs "
"to both the <emphasis role=\"italic\">qa</emphasis> and <emphasis "
"role=\"italic\">support</emphasis> groups, she will be able to access "
"resources configured for access by both groups, whereas all other users will "
"have only access to resources explicitly allowing the group they are part of."
msgstr ""

#: serverguide/C/windows-networking.xml:498(para)
msgid ""
"By default Samba looks for the local system groups defined in "
"<filename>/etc/group</filename> to determine which users belong to which "
"groups. For more information on adding and removing users from groups see "
"<xref linkend=\"adding-deleting-users\"/>."
msgstr ""

#: serverguide/C/windows-networking.xml:504(para)
msgid ""
"When defining groups in the Samba configuration file, "
"<filename>/etc/samba/smb.conf</filename>, the recognized syntax is to "
"preface the group name with an \"@\" symbol. For example, if you wished to "
"define a group named <emphasis role=\"italic\">sysadmin</emphasis> in a "
"certain section of the <filename>/etc/samba/smb.conf</filename>, you would "
"do so by entering the group name as <emphasis "
"role=\"bold\">@sysadmin</emphasis>."
msgstr ""

#: serverguide/C/windows-networking.xml:513(title)
msgid "File Permissions"
msgstr ""

#: serverguide/C/windows-networking.xml:515(para)
msgid ""
"File Permissions define the explicit rights a computer or user has to a "
"particular directory, file, or set of files. Such permissions may be defined "
"by editing the <filename>/etc/samba/smb.conf</filename> file and specifying "
"the explicit permissions of a defined file share."
msgstr ""

#: serverguide/C/windows-networking.xml:521(para)
msgid ""
"For example, if you have defined a Samba share called "
"<emphasis>share</emphasis> and wish to give <emphasis role=\"italic\">read-"
"only</emphasis> permissions to the group of users known as <emphasis "
"role=\"italic\">qa</emphasis>, but wanted to allow writing to the share by "
"the group called <emphasis role=\"italic\">sysadmin</emphasis> and the user "
"named <emphasis role=\"italic\">vincent</emphasis>, then you could edit the "
"<filename>/etc/samba/smb.conf</filename> file, and add the following entries "
"under the <emphasis>[share]</emphasis> entry:"
msgstr ""

#: serverguide/C/windows-networking.xml:530(programlisting)
#, no-wrap
msgid ""
"\n"
"    read list = @qa\n"
"    write list = @sysadmin, vincent\n"
msgstr ""

#: serverguide/C/windows-networking.xml:535(para)
msgid ""
"Another possible Samba permission is to declare "
"<emphasis>administrative</emphasis> permissions to a particular shared "
"resource. Users having administrative permissions may read, write, or modify "
"any information contained in the resource the user has been given explicit "
"administrative permissions to."
msgstr ""

#: serverguide/C/windows-networking.xml:541(para)
msgid ""
"For example, if you wanted to give the user <emphasis "
"role=\"italic\">melissa</emphasis> administrative permissions to the "
"<emphasis role=\"italic\">share</emphasis> example, you would edit the "
"<filename>/etc/samba/smb.conf</filename> file, and add the following line "
"under the <emphasis>[share]</emphasis> entry:"
msgstr ""

#: serverguide/C/windows-networking.xml:548(programlisting)
#, no-wrap
msgid ""
"\n"
"    admin users = melissa\n"
msgstr ""

#: serverguide/C/windows-networking.xml:552(para)
msgid ""
"After editing <filename>/etc/samba/smb.conf</filename>, restart Samba for "
"the changes to take effect:"
msgstr ""

#: serverguide/C/windows-networking.xml:561(para)
msgid ""
"For the <emphasis>read list</emphasis> and <emphasis>write list</emphasis> "
"to work the Samba security mode must <emphasis>not</emphasis> be set to "
"<emphasis role=\"italic\">security = share</emphasis>"
msgstr ""

#: serverguide/C/windows-networking.xml:567(para)
msgid ""
"Now that Samba has been configured to limit which groups have access to the "
"shared directory, the filesystem permissions need to be updated."
msgstr ""

#: serverguide/C/windows-networking.xml:572(para)
msgid ""
"Traditional Linux file permissions do not map well to Windows NT Access "
"Control Lists (ACLs). Fortunately POSIX ACLs are available on Ubuntu servers "
"providing more fine grained control. For example, to enable ACLs on "
"<filename>/srv</filename> an EXT3 filesystem, edit "
"<filename>/etc/fstab</filename> adding the <emphasis>acl</emphasis> option:"
msgstr ""

#: serverguide/C/windows-networking.xml:579(programlisting)
#, no-wrap
msgid ""
"\n"
"UUID=66bcdd2e-8861-4fb0-b7e4-e61c569fe17d /srv  ext3    noatime,relatime,acl "
"0       1\n"
msgstr ""

#: serverguide/C/windows-networking.xml:583(para)
msgid "Then remount the partition:"
msgstr ""

#: serverguide/C/windows-networking.xml:588(command)
msgid "sudo mount -v -o remount /srv"
msgstr ""

#: serverguide/C/windows-networking.xml:592(para)
msgid ""
"The above example assumes <filename>/srv</filename> on a separate partition. "
"If <filename>/srv</filename>, or wherever you have configured your share "
"path, is part of the <filename>/</filename> partition a reboot may be "
"required."
msgstr ""

#: serverguide/C/windows-networking.xml:599(para)
msgid ""
"To match the Samba configuration above the <emphasis>sysadmin</emphasis> "
"group will be given read, write, and execute permissions to "
"<filename>/srv/samba/share</filename>, the <emphasis>qa</emphasis> group "
"will be given read and execute permissions, and the files will be owned by "
"the username <emphasis>melissa</emphasis>. Enter the following in a terminal:"
msgstr ""

#: serverguide/C/windows-networking.xml:607(command)
msgid "sudo chown -R melissa /srv/samba/share/"
msgstr ""

#: serverguide/C/windows-networking.xml:608(command)
msgid "sudo chgrp -R sysadmin /srv/samba/share/"
msgstr ""

#: serverguide/C/windows-networking.xml:609(command)
msgid "sudo setfacl -R -m g:qa:rx /srv/samba/share/"
msgstr ""

#: serverguide/C/windows-networking.xml:613(para)
msgid ""
"The <application>setfacl</application> command above gives "
"<emphasis>execute</emphasis> permissions to all files in the "
"<filename>/srv/samba/share</filename> directory, which you may or may not "
"want."
msgstr ""

#: serverguide/C/windows-networking.xml:619(para)
msgid ""
"Now from a Windows client you should notice the new file permissions are "
"implemented. See the <application>acl</application> and "
"<application>setfacl</application> man pages for more information on POSIX "
"ACLs."
msgstr ""

#: serverguide/C/windows-networking.xml:627(title)
msgid "Samba AppArmor Profile"
msgstr ""

#: serverguide/C/windows-networking.xml:629(para)
msgid ""
"Ubuntu comes with the <application>AppArmor</application> security module, "
"which provides mandatory access controls. The default AppArmor profile for "
"Samba will need to be adapted to your configuration. For more details on "
"using AppArmor see <xref linkend=\"apparmor\"/>."
msgstr ""

#: serverguide/C/windows-networking.xml:635(para)
msgid ""
"There are default AppArmor profiles for <filename>/usr/sbin/smbd</filename> "
"and <filename>/usr/sbin/nmbd</filename>, the Samba daemon binaries, as part "
"of the <application>apparmor-profiles</application> packages. To install the "
"package, from a terminal prompt enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:642(command) serverguide/C/security.xml:978(command)
msgid "sudo apt-get install apparmor-profiles"
msgstr ""

#: serverguide/C/windows-networking.xml:646(para)
msgid "This package contains profiles for several other binaries."
msgstr ""

#: serverguide/C/windows-networking.xml:651(para)
msgid ""
"By default the profiles for <application>smbd</application> and "
"<application>nmbd</application> are in <emphasis>complain</emphasis> mode "
"allowing Samba to work without modifying the profile, and only logging "
"errors. To place the <application>smbd</application> profile into "
"<emphasis>enforce</emphasis> mode, and have Samba work as expected, the "
"profile will need to be modified to reflect any directories that are shared."
msgstr ""

#: serverguide/C/windows-networking.xml:658(para)
msgid ""
"Edit <filename>/etc/apparmor.d/usr.sbin.smbd</filename> adding information "
"for <emphasis>[share]</emphasis> from the file server example:"
msgstr ""

#: serverguide/C/windows-networking.xml:663(programlisting)
#, no-wrap
msgid ""
"\n"
"  /srv/samba/share/ r,\n"
"  /srv/samba/share/** rwkix,\n"
msgstr ""

#: serverguide/C/windows-networking.xml:668(para)
msgid ""
"Now place the profile into <emphasis>enforce</emphasis> and reload it:"
msgstr ""

#: serverguide/C/windows-networking.xml:673(command)
msgid "sudo aa-enforce /usr/sbin/smbd"
msgstr ""

#: serverguide/C/windows-networking.xml:674(command)
msgid "cat /etc/apparmor.d/usr.sbin.smbd | sudo apparmor_parser -r"
msgstr ""

#: serverguide/C/windows-networking.xml:677(para)
msgid ""
"You should now be able to read, write, and execute files in the shared "
"directory as normal, and the <application>smbd</application> binary will "
"have access to only the configured files and direcotories. Be sure to add "
"entries for each directory you configure Samba to share. Also, any errors "
"will be logged to <filename>/var/log/syslog</filename>."
msgstr ""

#: serverguide/C/windows-networking.xml:702(para) serverguide/C/windows-networking.xml:1067(para)
msgid ""
"O'Reilly's <ulink "
"url=\"http://www.oreilly.com/catalog/9780596007690/\">Using Samba</ulink> is "
"also a good reference."
msgstr ""

#: serverguide/C/windows-networking.xml:708(para)
msgid ""
"<ulink url=\"http://samba.org/samba/docs/man/Samba-HOWTO-Collection/securing-"
"samba.html\">Chapter 18</ulink> of the Samba HOWTO Collection is devoted to "
"security."
msgstr ""

#: serverguide/C/windows-networking.xml:714(para)
msgid ""
"For more information on Samba and ACLs see the <ulink "
"url=\"http://samba.org/samba/docs/man/Samba-HOWTO-"
"Collection/AccessControls.html#id397568\">Samba ACLs page </ulink>."
msgstr ""

#: serverguide/C/windows-networking.xml:725(title)
msgid "Samba as a Domain Controller"
msgstr ""

#: serverguide/C/windows-networking.xml:727(para)
msgid ""
"Although it cannot act as an Active Directory Primary Domain Controller "
"(PDC), a Samba server can be configured to appear as a Windows NT4-style "
"domain controller. A major advantage of this configuration is the ability to "
"centralize user and machine credentials. Samba can also use multiple "
"backends to store the user information."
msgstr ""

#: serverguide/C/windows-networking.xml:734(title)
msgid "Primary Domain Controller"
msgstr ""

#: serverguide/C/windows-networking.xml:736(para)
msgid ""
"This section covers configuring Samba as a Primary Domain Controller (PDC) "
"using the default smbpasswd backend."
msgstr ""

#: serverguide/C/windows-networking.xml:743(para)
msgid ""
"First, install Samba, and <application>libpam-smbpass</application> to sync "
"the user accounts, by entering the following in a terminal prompt:"
msgstr ""

#: serverguide/C/windows-networking.xml:749(command) serverguide/C/windows-networking.xml:965(command)
msgid "sudo apt-get install samba libpam-smbpass"
msgstr ""

#: serverguide/C/windows-networking.xml:755(para)
msgid ""
"Next, configure Samba by editing <filename>/etc/samba/smb.conf</filename>. "
"The <emphasis>security</emphasis> mode should be set to <emphasis "
"role=\"italic\">user</emphasis>, and the <emphasis>workgroup</emphasis> "
"should relate to your organization:"
msgstr ""

#: serverguide/C/windows-networking.xml:761(programlisting)
#, no-wrap
msgid ""
"\n"
"   workgroup = EXAMPLE\n"
"   ...\n"
"   security = domain\n"
msgstr ""

#: serverguide/C/windows-networking.xml:770(para)
msgid ""
"In the commented <quote>Domains</quote> section add or uncomment the "
"following:"
msgstr ""

#: serverguide/C/windows-networking.xml:774(programlisting)
#, no-wrap
msgid ""
"\n"
"   domain logons = yes\n"
"   logon path = \\\\%N\\%U\\profile\n"
"   logon drive = H:\n"
"   logon home = \\\\%N\\%U\n"
"   logon script = logon.cmd\n"
"   add machine script = sudo /usr/sbin/useradd -n -g machines -c Machine -d "
"/var/lib/samba -s /bin/false %u\n"
msgstr ""

#: serverguide/C/windows-networking.xml:785(para)
msgid ""
"<emphasis>domain logons:</emphasis> provides the netlogon service causing "
"Samba to act as a domain controller."
msgstr ""

#: serverguide/C/windows-networking.xml:790(para)
msgid ""
"<emphasis>logon path:</emphasis> places the user's Windows profile into "
"their home directory. It is also possible to configure a "
"<emphasis>[profiles]</emphasis> share placing all profiles under a single "
"directory."
msgstr ""

#: serverguide/C/windows-networking.xml:796(para)
msgid ""
"<emphasis>logon drive:</emphasis> specifies the home directory local path."
msgstr ""

#: serverguide/C/windows-networking.xml:801(para)
msgid ""
"<emphasis>logon home:</emphasis> specifies the home directory location."
msgstr ""

#: serverguide/C/windows-networking.xml:806(para)
msgid ""
"<emphasis>logon script:</emphasis> determines the script to be run locally "
"once a user has logged in. The script needs to be placed in the "
"<emphasis>[netlogon]</emphasis> share."
msgstr ""

#: serverguide/C/windows-networking.xml:812(para)
msgid ""
"<emphasis>add machine script:</emphasis> a script that will automatically "
"create the <emphasis>Machine Trust Account</emphasis> needed for a "
"workstation to join the domain."
msgstr ""

#: serverguide/C/windows-networking.xml:816(para)
msgid ""
"In this example the <emphasis>machines</emphasis> group will need to be "
"created using the <application>addgroup</application> utility see <xref "
"linkend=\"adding-deleting-users\"/> for details."
msgstr ""

#: serverguide/C/windows-networking.xml:824(para)
msgid ""
"If you wish to not use <emphasis>Roaming Profiles</emphasis> leave the "
"<emphasis>logon home</emphasis> and <emphasis>logon path</emphasis> options "
"commented."
msgstr ""

#: serverguide/C/windows-networking.xml:833(para)
msgid ""
"Uncomment the <emphasis>[homes]</emphasis> share to allow the <emphasis "
"role=\"italic\">logon home</emphasis> to be mapped:"
msgstr ""

#: serverguide/C/windows-networking.xml:838(programlisting)
#, no-wrap
msgid ""
"\n"
"[homes]\n"
"   comment = Home Directories\n"
"   browseable = no\n"
"   read only = no\n"
"   create mask = 0700\n"
"   directory mask = 0700\n"
"   valid users = %S\n"
msgstr ""

#: serverguide/C/windows-networking.xml:851(para)
msgid ""
"When configured as a domain controller a <emphasis>[netlogon]</emphasis> "
"share needs to be configured. To enable the share, uncomment:"
msgstr ""

#: serverguide/C/windows-networking.xml:856(programlisting)
#, no-wrap
msgid ""
"\n"
"[netlogon]\n"
"   comment = Network Logon Service\n"
"   path = /srv/samba/netlogon\n"
"   guest ok = yes\n"
"   read only = yes\n"
"   share modes = no\n"
msgstr ""

#: serverguide/C/windows-networking.xml:866(para)
msgid ""
"The original <emphasis>netlogon</emphasis> share path is "
"<filename>/home/samba/netlogon</filename>, but according to the Filesystem "
"Hierarchy Standard (FHS), <ulink url=\"http://www.pathname.com/fhs/pub/fhs-"
"2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM\">/srv</ulink> is the correct "
"location for site-specific data provided by the system."
msgstr ""

#: serverguide/C/windows-networking.xml:877(para)
msgid ""
"Now create the <filename role=\"directory\">netlogon</filename> directory, "
"and an empty (for now) <filename>logon.cmd</filename> script file:"
msgstr ""

#: serverguide/C/windows-networking.xml:883(command)
msgid "sudo mkdir -p /srv/samba/netlogon"
msgstr ""

#: serverguide/C/windows-networking.xml:884(command)
msgid "sudo touch /srv/samba/netlogon/logon.cmd"
msgstr ""

#: serverguide/C/windows-networking.xml:887(para)
msgid ""
"You can enter any normal Windows logon script commands in "
"<filename>logon.cmd</filename> to customize the client's environment."
msgstr ""

#: serverguide/C/windows-networking.xml:895(para)
msgid ""
"With <emphasis>root</emphasis> being disabled by default, in order to join a "
"workstation to the domain, a system group needs to be mapped to the Windows "
"<emphasis>Domain Admins</emphasis> group. Using the "
"<application>net</application> utility, from a terminal enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:902(command)
msgid ""
"sudo net groupmap add ntgroup=\"Domain Admins\" unixgroup=sysadmin rid=512 "
"type=d"
msgstr ""

#: serverguide/C/windows-networking.xml:906(para)
msgid ""
"Change <emphasis role=\"italic\">sysadmin</emphasis> to whichever group you "
"prefer. Also, the user used to join the domain needs to be a member of the "
"<emphasis>sysadmin</emphasis> group, as well as a member of the system "
"<emphasis>admin</emphasis> group. The <emphasis>admin</emphasis> group "
"allows <application>sudo</application> use."
msgstr ""

#: serverguide/C/windows-networking.xml:917(para)
msgid "Finally, restart Samba to enable the new domain controller:"
msgstr ""

#: serverguide/C/windows-networking.xml:928(para)
msgid ""
"You should now be able to join Windows clients to the Domain in the same "
"manner as joining them to an NT4 domain running on a Windows server."
msgstr ""

#: serverguide/C/windows-networking.xml:938(title)
msgid "Backup Domain Controller"
msgstr ""

#: serverguide/C/windows-networking.xml:940(para)
msgid ""
"With a Primary Domain Controller (PDC) on the network it is best to have a "
"Backup Domain Controller (BDC) as well. This will allow clients to "
"authenticate in case the PDC becomes unavailable."
msgstr ""

#: serverguide/C/windows-networking.xml:945(para)
msgid ""
"When configuring Samba as a BDC you need a way to sync account information "
"with the PDC. There are multiple ways of accomplishing this "
"<application>scp</application>, <application>rsync</application>, or by "
"using <application>LDAP</application> as the <emphasis>passdb "
"backend</emphasis>."
msgstr ""

#: serverguide/C/windows-networking.xml:951(para)
msgid ""
"Using LDAP is the most robust way to sync account information, because both "
"domain controllers can use the same information in real time. However, "
"setting up a LDAP server may be overly complicated for a small number of "
"user and computer accounts. See <xref linkend=\"samba-ldap\"/> for details."
msgstr ""

#: serverguide/C/windows-networking.xml:960(para)
msgid ""
"First, install <application>samba</application> and <application>libpam-"
"smbpass</application>. From a terminal enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:971(para)
msgid ""
"Now, edit <filename>/etc/samba/smb.conf</filename> and uncomment the "
"following in the <emphasis>[global]</emphasis>:"
msgstr ""

#: serverguide/C/windows-networking.xml:984(para)
msgid "In the commented <emphasis>Domains</emphasis> uncomment or add:"
msgstr ""

#: serverguide/C/windows-networking.xml:988(programlisting)
#, no-wrap
msgid ""
"\n"
"   domain logons = yes\n"
"   domain master = no\n"
msgstr ""

#: serverguide/C/windows-networking.xml:996(para)
msgid ""
"Make sure a user has rights to read the files in "
"<filename>/var/lib/samba</filename>. For example, to allow users in the "
"<emphasis>admin</emphasis> group to <application>scp</application> the "
"files, enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:1002(command)
msgid "sudo chgrp -R admin /var/lib/samba"
msgstr ""

#: serverguide/C/windows-networking.xml:1008(para)
msgid ""
"Next, sync the user accounts, using <application>scp</application> to copy "
"the <filename>/var/lib/samba</filename> directory from the PDC:"
msgstr ""

#: serverguide/C/windows-networking.xml:1014(command)
msgid "sudo scp -r username@pdc:/var/lib/samba /var/lib"
msgstr ""

#: serverguide/C/windows-networking.xml:1018(para)
msgid ""
"Replace <emphasis>username</emphasis> with a valid username and "
"<emphasis>pdc</emphasis> with the hostname or IP Address of your actual PDC."
msgstr ""

#: serverguide/C/windows-networking.xml:1027(para)
msgid "Finally, restart <application>samba</application>:"
msgstr ""

#: serverguide/C/windows-networking.xml:1038(para)
msgid ""
"You can test that your Backup Domain controller is working by stopping the "
"Samba daemon on the PDC, then trying to login to a Windows client joined to "
"the domain."
msgstr ""

#: serverguide/C/windows-networking.xml:1043(para)
msgid ""
"Another thing to keep in mind is if you have configured the <emphasis>logon "
"home</emphasis> option as a directory on the PDC, and the PDC becomes "
"unavailable, access to the user's <emphasis>Home</emphasis> drive will also "
"be unavailable. For this reason it is best to configure the <emphasis>logon "
"home</emphasis> to reside on a separate file server from the PDC and BDC."
msgstr ""

#: serverguide/C/windows-networking.xml:1073(para)
msgid ""
"<ulink url=\"http://samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-"
"pdc.html\">Chapter 4</ulink> of the Samba HOWTO Collection explains setting "
"up a Primary Domain Controller."
msgstr ""

#: serverguide/C/windows-networking.xml:1079(para)
msgid ""
"<ulink url=\"http://us3.samba.org/samba/docs/man/Samba-HOWTO-"
"Collection/samba-bdc.html\">Chapter 5</ulink> of the Samba HOWTO Collection "
"explains setting up a Backup Domain Controller."
msgstr ""

#: serverguide/C/windows-networking.xml:1089(title)
msgid "Samba Active Directory Integration"
msgstr ""

#: serverguide/C/windows-networking.xml:1092(title)
msgid "Accessing a Samba Share"
msgstr ""

#: serverguide/C/windows-networking.xml:1094(para)
msgid ""
"Another, use for Samba is to integrate into an existing Windows network. "
"Once part of an Active Directory domain, Samba can provide file and print "
"services to AD users."
msgstr ""

#: serverguide/C/windows-networking.xml:1099(para)
msgid ""
"The simplest way to join an AD domain is to use <application>Likewise-"
"open</application>. For detailed instructions see <xref linkend=\"likewise-"
"open\"/>."
msgstr ""

#: serverguide/C/windows-networking.xml:1104(para)
msgid "Once part of the domain, install the following packages:"
msgstr ""

#: serverguide/C/windows-networking.xml:1109(command)
msgid "sudo apt-get install samba smbfs smbclient"
msgstr ""

#: serverguide/C/windows-networking.xml:1112(para)
msgid ""
"Since the <application>likewise-open</application> and "
"<application>samba</application> packages use separate "
"<filename>secrets.tdb</filename> files, a symlink will need to be created in "
"<filename role=\"directory\">/var/lib/samba</filename>:"
msgstr ""

#: serverguide/C/windows-networking.xml:1118(command)
msgid "sudo mv /var/lib/samba/secrets.tdb /var/lib/samba/secrets.tdb.orig"
msgstr ""

#: serverguide/C/windows-networking.xml:1119(command)
msgid "sudo ln -s /etc/samba/secrets.tdb /var/lib/samba"
msgstr ""

#: serverguide/C/windows-networking.xml:1122(para)
msgid "Next, edit <filename>/etc/samba/smb.conf</filename> changing:"
msgstr ""

#: serverguide/C/windows-networking.xml:1126(programlisting)
#, no-wrap
msgid ""
"\n"
"   workgroup = EXAMPLE\n"
"   ...\n"
"   security = ads\n"
"   realm = EXAMPLE.COM\n"
"   ...\n"
"   idmap backend = lwopen\n"
"   idmap uid = 50-9999999999\n"
"   idmap gid = 50-9999999999\n"
msgstr ""

#: serverguide/C/windows-networking.xml:1137(para)
msgid ""
"Restart <application>samba</application> for the new settings to take effect:"
msgstr ""

#: serverguide/C/windows-networking.xml:1145(para)
msgid ""
"You should now be able to access any <application>Samba</application> shares "
"from a Windows client. However, be sure to give the appropriate AD users or "
"groups access to the share directory. See <xref linkend=\"samba-fileprint-"
"security\"/> for more details."
msgstr ""

#: serverguide/C/windows-networking.xml:1153(title)
msgid "Accessing a Windows Share"
msgstr ""

#: serverguide/C/windows-networking.xml:1155(para)
msgid ""
"Now that the Samba server is part of the Active Directory domain you can "
"access any Windows server shares:"
msgstr ""

#: serverguide/C/windows-networking.xml:1162(para)
msgid ""
"To mount a Windows file share enter the following in a terminal prompt:"
msgstr ""

#: serverguide/C/windows-networking.xml:1166(command)
msgid "mount.cifs //fs01.example.com/share mount_point"
msgstr ""

#: serverguide/C/windows-networking.xml:1169(para)
msgid ""
"It is also possible to access shares on computers not part of an AD domain, "
"but a username and password will need to be provided."
msgstr ""

#: serverguide/C/windows-networking.xml:1177(para)
msgid ""
"To mount the share during boot place an entry in "
"<filename>/etc/fstab</filename>, for example:"
msgstr ""

#: serverguide/C/windows-networking.xml:1181(programlisting)
#, no-wrap
msgid ""
"\n"
"//192.168.0.5/share /mnt/windows cifs auto,username=steve,password=secret,rw "
"0        0\n"
msgstr ""

#: serverguide/C/windows-networking.xml:1188(para)
msgid ""
"Another way to copy files from a Windows server is to use the "
"<application>smbclient</application> utility. To list the files in a Windows "
"share:"
msgstr ""

#: serverguide/C/windows-networking.xml:1194(command)
msgid "smbclient //fs01.example.com/share -k -c \"ls\""
msgstr ""

#: serverguide/C/windows-networking.xml:1200(para)
msgid "To copy a file from the share, enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:1205(command)
msgid "smbclient //fs01.example.com/share -k -c \"get file.txt\""
msgstr ""

#: serverguide/C/windows-networking.xml:1208(para)
msgid ""
"This will copy the <filename>file.txt</filename> into the current directory."
msgstr ""

#: serverguide/C/windows-networking.xml:1215(para)
msgid "And to copy a file to the share:"
msgstr ""

#: serverguide/C/windows-networking.xml:1220(command)
msgid "smbclient //fs01.example.com/share -k -c \"put /etc/hosts hosts\""
msgstr ""

#: serverguide/C/windows-networking.xml:1223(para)
msgid ""
"This will copy the the <filename>/etc/hosts</filename> to "
"<filename>//fs01.example.com/share/hosts</filename>."
msgstr ""

#: serverguide/C/windows-networking.xml:1230(para)
msgid ""
"The <emphasis>-c</emphasis> option used above allows you to execute the "
"<application>smbclient</application> command all at once. This is useful for "
"scripting and minor file operations. To enter the <emphasis>smb: \\"
"&gt;</emphasis> prompt, a FTP like prompt where you can execute normal file "
"and directory commands, simply execute:"
msgstr ""

#: serverguide/C/windows-networking.xml:1237(command)
msgid "smbclient //fs01.example.com/share -k"
msgstr ""

#: serverguide/C/windows-networking.xml:1244(para)
msgid ""
"Replace all instances of <emphasis>fs01.example.com/share</emphasis>, "
"<emphasis>//192.168.0.5/share</emphasis>, "
"<emphasis>username=steve,password=secret</emphasis>, and "
"<emphasis>file.txt</emphasis> with your server's IP, hostname, share name, "
"file name, and an actual username and password with rights to the share."
msgstr ""

#: serverguide/C/windows-networking.xml:1255(para)
msgid ""
"For more <application>smbclient</application> options see the man page: "
"<command>man smbclient</command>, also available <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man1/smbclient.1.html\">o"
"nline</ulink>."
msgstr ""

#: serverguide/C/windows-networking.xml:1260(para)
msgid ""
"The <application>mount.cifs</application><ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man8/mount.cifs.8.html\">"
"man page</ulink> is also useful for more detailed information."
msgstr ""

#: serverguide/C/windows-networking.xml:1270(title)
msgid "Likewise Open"
msgstr ""

#: serverguide/C/windows-networking.xml:1272(para)
msgid ""
"<application>Likewise Open</application> simplifies the necessary "
"configuration needed to authenticate a Linux machine to an Active Directory "
"domain. Based on <application>winbind</application>, the "
"<application>likewise-open</application> package takes the pain out of "
"integrating Ubuntu authentication into an existing Windows network."
msgstr ""

#: serverguide/C/windows-networking.xml:1281(para)
msgid ""
"There are two ways to use Likewise Open, <application>likewise-"
"open</application> the command line utility and <application>likewise-open-"
"gui</application>. This section focuses on the command line utility."
msgstr ""

#: serverguide/C/windows-networking.xml:1286(para)
msgid ""
"To install the <application>likewise-open</application> package, open a "
"terminal prompt and enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:1291(command)
msgid "sudo apt-get install likewise-open"
msgstr ""

#: serverguide/C/windows-networking.xml:1294(para)
msgid ""
"With Ubuntu 9.04 <application>Likewise Open 5.0</application> is available "
"in the <emphasis>Universe</emphasis> repository. However, since upgrading "
"from <application>Likewise Open 4.1</application> currently requires the "
"system to leave the domain and re-join, a separate package for version five "
"was created."
msgstr ""

#: serverguide/C/windows-networking.xml:1300(para)
msgid "To install <application>Likewise Open 5.0</application> enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:1305(command)
msgid "sudo apt-get install likewise-open5"
msgstr ""

#: serverguide/C/windows-networking.xml:1309(para)
msgid ""
"Installing likewise-open5 over an existing likewise-open (4.1) installation "
"will replace it. You will have to rejoin the domain after install."
msgstr ""

#: serverguide/C/windows-networking.xml:1316(para)
msgid ""
"The command line tools, and GUI interface, for likewise-open5 are the same "
"as version four."
msgstr ""

#: serverguide/C/windows-networking.xml:1324(title)
msgid "Joining a Domain"
msgstr ""

#: serverguide/C/windows-networking.xml:1326(para)
msgid ""
"The main executable file of the <application>likewise-open</application> "
"package is <filename>/usr/bin/domainjoin-cli</filename>, which is used to "
"join your computer to the domain. Before you join a domain you will need to "
"make sure you have:"
msgstr ""

#: serverguide/C/windows-networking.xml:1334(para)
msgid ""
"Access to an Active Directory user with appropriate rights to join the "
"domain."
msgstr ""

#: serverguide/C/windows-networking.xml:1339(para)
msgid ""
"The <emphasis>Fully Qualified Domain Name</emphasis> (FQDN) of the domain "
"you want to join. If your AD domain does not match a valid domain such as "
"<emphasis role=\"italic\">example.com</emphasis>, it is likely that it has "
"the form of <emphasis>domainname.local</emphasis>."
msgstr ""

#: serverguide/C/windows-networking.xml:1346(para)
msgid ""
"DNS for the domain setup properly. In a production AD environment this "
"should be the case. Proper Microsoft DNS is needed so that client "
"workstations can determine the Active Directory domain is available."
msgstr ""

#: serverguide/C/windows-networking.xml:1350(para)
msgid ""
"If you don't have a Windows DNS server on your network, see <xref "
"linkend=\"likewise-open-ms-dns\"/> for details."
msgstr ""

#: serverguide/C/windows-networking.xml:1357(para)
msgid "To join a domain, from a terminal prompt enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:1362(command)
msgid "sudo domainjoin-cli join example.com Administrator"
msgstr ""

#: serverguide/C/windows-networking.xml:1366(para)
msgid ""
"Replace <emphasis>example.com</emphasis> with your domain name, and "
"<emphasis>Administrator</emphasis> with the appropriate user name."
msgstr ""

#: serverguide/C/windows-networking.xml:1372(para)
msgid ""
"You will then be prompted for the user's password. If all goes well a "
"<emphasis>SUCCESS</emphasis> message should be printed to the console."
msgstr ""

#: serverguide/C/windows-networking.xml:1377(para)
msgid ""
"After successfully joining an Ubuntu machine to an Active Directory domain "
"you can authenticate using any valid AD user. To login you will need to "
"enter the user name as 'domain\\username'. For example to ssh to a server "
"joined to the domain enter:"
msgstr ""

#: serverguide/C/windows-networking.xml:1384(command)
msgid "ssh 'example\\steve'@hostname"
msgstr ""

#: serverguide/C/windows-networking.xml:1388(para)
msgid ""
"If configuring a Desktop the user name will need to be prefixed with "
"<emphasis role=\"italic\">domain\\</emphasis> in the graphical logon as well."
msgstr ""

#: serverguide/C/windows-networking.xml:1394(para)
msgid ""
"To make likewise-open use a default domain, you can add the following "
"statement to <filename>/etc/samba/lwiauthd.conf</filename>:"
msgstr ""

#: serverguide/C/windows-networking.xml:1398(programlisting)
#, no-wrap
msgid ""
"\n"
"winbind use default domain = yes\n"
msgstr ""

#: serverguide/C/windows-networking.xml:1402(para)
msgid "Then restart the <application>likewise-open</application> daemons:"
msgstr ""

#: serverguide/C/windows-networking.xml:1407(command)
msgid "sudo /etc/init.d/likewise-open restart"
msgstr ""

#: serverguide/C/windows-networking.xml:1411(para)
msgid ""
"Once configured for a <emphasis>default domain</emphasis> the <emphasis "
"role=\"italic\">'domain\\'</emphasis> is no longer required, users can login "
"using only their username."
msgstr ""

#: serverguide/C/windows-networking.xml:1417(para)
msgid ""
"The <application>domainjoin-cli</application> utility can also be used to "
"leave the domain. From a terminal:"
msgstr ""

#: serverguide/C/windows-networking.xml:1422(command)
msgid "sudo domainjoin-cli leave"
msgstr ""

#: serverguide/C/windows-networking.xml:1427(title) serverguide/C/security.xml:1830(title)
msgid "Other Utilities"
msgstr ""

#: serverguide/C/windows-networking.xml:1429(para)
msgid ""
"The <application>likewise-open</application> package comes with a few other "
"utilities that may be useful for gathering information about the Active "
"Directory environment. These utilities are used to join the machine to the "
"domain, and are the same as those available in the <application>samba-"
"common</application> and <application>winbind</application> packages:"
msgstr ""

#: serverguide/C/windows-networking.xml:1438(para)
msgid ""
"<application>lwinet</application>: Returns information about the network and "
"the domain."
msgstr ""

#: serverguide/C/windows-networking.xml:1443(para)
msgid ""
"<application>lwimsg</application>: Allows interaction with the "
"<application>likewise-winbindd</application> daemon."
msgstr ""

#: serverguide/C/windows-networking.xml:1448(para)
msgid ""
"<application>lwiinfo</application>: Displays information about various parts "
"of the Domain."
msgstr ""

#: serverguide/C/windows-networking.xml:1454(para)
msgid "Please refer to each utility's man page specific for details."
msgstr ""

#: serverguide/C/windows-networking.xml:1460(title) serverguide/C/mail.xml:155(title) serverguide/C/mail.xml:1361(title) serverguide/C/dns.xml:338(title)
msgid "Troubleshooting"
msgstr ""

#: serverguide/C/windows-networking.xml:1464(para)
msgid ""
"If the client has trouble joining the domain, double check that the "
"Microsoft DNS is listed first in <filename>/etc/resolv.conf</filename>. For "
"example:"
msgstr ""

#: serverguide/C/windows-networking.xml:1469(programlisting)
#, no-wrap
msgid ""
"\n"
"nameserver 192.168.0.1\n"
msgstr ""

#: serverguide/C/windows-networking.xml:1474(para)
msgid ""
"For more information when joining a domain, use the <emphasis>--loglevel "
"verbose</emphasis> or <emphasis>--advanced</emphasis> option of the "
"<application>domainjoin-cli</application> utility:"
msgstr ""

#: serverguide/C/windows-networking.xml:1480(command)
msgid "sudo domainjoin-cli --loglevel verbose join example.com Administrator"
msgstr ""

#: serverguide/C/windows-networking.xml:1484(para)
msgid ""
"If an Active Directory user has trouble logging in, check the "
"<filename>/var/log/auth.log</filename> for details."
msgstr ""

#: serverguide/C/windows-networking.xml:1489(para)
msgid ""
"When joining an Ubuntu Desktop workstation to a domain, you may need to edit "
"<filename>/etc/nsswitch.conf</filename> if your AD domain uses the <emphasis "
"role=\"italic\">.local</emphasis> syntax. In order to join the domain the "
"<emphasis>\"mdns4\"</emphasis> entry from the <emphasis>hosts</emphasis> "
"option. For example:"
msgstr ""

#: serverguide/C/windows-networking.xml:1495(programlisting)
#, no-wrap
msgid ""
"\n"
"hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4\n"
msgstr ""

#: serverguide/C/windows-networking.xml:1499(para)
msgid "Change the above to:"
msgstr ""

#: serverguide/C/windows-networking.xml:1503(programlisting)
#, no-wrap
msgid ""
"\n"
"hosts: files dns [NOTFOUND=return]\n"
msgstr ""

#: serverguide/C/windows-networking.xml:1507(para)
msgid "Then restart networking by entering:"
msgstr ""

#: serverguide/C/windows-networking.xml:1512(command) serverguide/C/network-config.xml:237(command)
msgid "sudo /etc/init.d/networking restart"
msgstr ""

#: serverguide/C/windows-networking.xml:1515(para)
msgid "You should now be able to join the Active Directory domain."
msgstr ""

#: serverguide/C/windows-networking.xml:1523(title)
msgid "Microsoft DNS"
msgstr ""

#: serverguide/C/windows-networking.xml:1525(para)
msgid ""
"The following are instructions for installing DNS on an Active Directory "
"domain controller running Windows Server 2003, but the instructions should "
"be similar for other versions:"
msgstr ""

#: serverguide/C/windows-networking.xml:1532(para)
msgid ""
"Click "
"<menuchoice><guimenuitem>Start</guimenuitem><guimenuitem>Administrative Tools"
"</guimenuitem><guimenuitem>Manager Your Server</guimenuitem></menuchoice>. "
"This will open the <application>Server Role Mangement</application> utility."
msgstr ""

#: serverguide/C/windows-networking.xml:1540(para)
msgid "Click Add or remove a role"
msgstr ""

#: serverguide/C/windows-networking.xml:1541(para) serverguide/C/windows-networking.xml:1543(para) serverguide/C/windows-networking.xml:1546(para)
msgid "Click Next"
msgstr ""

#: serverguide/C/windows-networking.xml:1542(para)
msgid "Select \"DNS Server\""
msgstr ""

#: serverguide/C/windows-networking.xml:1544(para)
msgid "Next"
msgstr ""

#: serverguide/C/windows-networking.xml:1545(para)
msgid "Select \"Create a forward lookup zone\" if it is not selected."
msgstr ""

#: serverguide/C/windows-networking.xml:1547(para)
msgid ""
"Make sure \"This server maintains the zone\" is selected and click Next."
msgstr ""

#: serverguide/C/windows-networking.xml:1548(para)
msgid "Enter your domain name and click Next"
msgstr ""

#: serverguide/C/windows-networking.xml:1549(para) serverguide/C/windows-networking.xml:1550(para)
msgid "Click Next to \"Allow only secure dynamic updates\""
msgstr ""

#: serverguide/C/windows-networking.xml:1552(para)
msgid ""
"Enter the IP for DNS servers to forward queries to, or Select \"No, it "
"should not forward queries\" and click Next."
msgstr ""

#: serverguide/C/windows-networking.xml:1556(para) serverguide/C/windows-networking.xml:1557(para)
msgid "Click Finish"
msgstr ""

#: serverguide/C/windows-networking.xml:1559(para)
msgid ""
"DNS is now installed and can be further configured using the "
"<application>Microsoft Management Console</application> DNS snap-in."
msgstr ""

#: serverguide/C/windows-networking.xml:1567(para)
msgid "Click Start"
msgstr ""

#: serverguide/C/windows-networking.xml:1568(para)
msgid "Control Panel"
msgstr ""

#: serverguide/C/windows-networking.xml:1569(para)
msgid "Network Connections"
msgstr ""

#: serverguide/C/windows-networking.xml:1570(para)
msgid "Right Click \"Local Area Connection\""
msgstr ""

#: serverguide/C/windows-networking.xml:1571(para)
msgid "Click Properties"
msgstr ""

#: serverguide/C/windows-networking.xml:1572(para)
msgid "Double click \"Internet Protocol (TCP/IP)\""
msgstr ""

#: serverguide/C/windows-networking.xml:1573(para)
msgid "Enter the Server's IP Address as the \"Preferred DNS server\""
msgstr ""

#: serverguide/C/windows-networking.xml:1574(para)
msgid "Click Ok"
msgstr ""

#: serverguide/C/windows-networking.xml:1575(para)
msgid "Click Ok again to save the settings"
msgstr ""

#: serverguide/C/windows-networking.xml:1564(para)
msgid ""
"Next, configure the Server to use itself for DNS queries: <placeholder-1/>"
msgstr ""

#: serverguide/C/windows-networking.xml:1582(title) serverguide/C/web-servers.xml:624(title) serverguide/C/web-servers.xml:766(title) serverguide/C/web-servers.xml:910(title) serverguide/C/web-servers.xml:1002(title) serverguide/C/web-servers.xml:1218(title) serverguide/C/virtualization.xml:1303(title) serverguide/C/virtualization.xml:1492(title) serverguide/C/vcs.xml:534(title) serverguide/C/security.xml:935(title) serverguide/C/security.xml:1264(title) serverguide/C/security.xml:1679(title) serverguide/C/security.xml:1870(title) serverguide/C/remote-administration.xml:203(title) serverguide/C/package-management.xml:432(title) serverguide/C/other-apps.xml:379(title) serverguide/C/network-config.xml:694(title) serverguide/C/mail.xml:263(title) serverguide/C/mail.xml:444(title) serverguide/C/mail.xml:591(title) serverguide/C/mail.xml:999(title) serverguide/C/mail.xml:1409(title) serverguide/C/lamp-applications.xml:252(title) serverguide/C/lamp-applications.xml:330(title) serverguide/C/lamp-applications.xml:432(title) serverguide/C/file-server.xml:284(title) serverguide/C/file-server.xml:431(title) serverguide/C/file-server.xml:592(title) serverguide/C/dns.xml:572(title) serverguide/C/clustering.xml:227(title) serverguide/C/backups.xml:297(title)
msgid "References"
msgstr ""

#: serverguide/C/windows-networking.xml:1584(para)
msgid ""
"Please refer to the <ulink "
"url=\"http://www.likewisesoftware.com/\">Likewise</ulink> home page for "
"further information."
msgstr ""

#: serverguide/C/windows-networking.xml:1588(para)
msgid ""
"For more <application>domainjoin-cli</application> options see the man page: "
"<command>man domainjoin-cli</command>."
msgstr ""

#: serverguide/C/web-servers.xml:13(title)
msgid "Web Servers"
msgstr ""

#: serverguide/C/web-servers.xml:14(para)
msgid ""
"A Web server is a software responsible for accepting HTTP requests from "
"clients, which are known as Web browsers, and serving them HTTP responses "
"along with optional data contents, which usually are Web pages such as HTML "
"documents and linked objects (images, etc.)."
msgstr ""

#: serverguide/C/web-servers.xml:19(title)
msgid "HTTPD - Apache2 Web Server"
msgstr ""

#: serverguide/C/web-servers.xml:20(para)
msgid ""
"Apache is the most commonly used Web Server on Linux systems. Web Servers "
"are used to serve Web Pages requested by client computers. Clients typically "
"request and view Web Pages using Web Browser applications such as "
"<application>Firefox</application>, <application>Opera</application>, or "
"<application>Mozilla</application>."
msgstr ""

#: serverguide/C/web-servers.xml:24(para)
msgid ""
"Users enter a Uniform Resource Locator (URL) to point to a Web server by "
"means of its Fully Qualified Domain Name (FQDN) and a path to the required "
"resource. For example, to view the home page of the <ulink "
"url=\"http://www.ubuntu.com\">Ubuntu Web site</ulink> a user will enter only "
"the FQDN. To request specific information about <ulink "
"url=\"http://www.ubuntu.com/support/paid\">paid support</ulink>, a user will "
"enter the FQDN followed by a path."
msgstr ""

#: serverguide/C/web-servers.xml:29(para)
msgid ""
"The most common protocol used to transfer Web pages is the Hyper Text "
"Transfer Protocol (HTTP). Protocols such as Hyper Text Transfer Protocol "
"over Secure Sockets Layer (HTTPS), and File Transfer Protocol (FTP), a "
"protocol for uploading and downloading files, are also supported."
msgstr ""

#: serverguide/C/web-servers.xml:33(para)
msgid ""
"Apache Web Servers are often used in combination with the "
"<application>MySQL</application> database engine, the HyperText Preprocessor "
"(<application>PHP</application>) scripting language, and other popular "
"scripting languages such as <application>Python</application> and "
"<application>Perl</application>. This configuration is termed LAMP (Linux, "
"Apache, MySQL and Perl/Python/PHP) and forms a powerful and robust platform "
"for the development and deployment of Web-based applications."
msgstr ""

#: serverguide/C/web-servers.xml:42(para)
msgid ""
"The Apache2 web server is available in Ubuntu Linux. To install Apache2:"
msgstr ""

#: serverguide/C/web-servers.xml:48(para)
msgid "At a terminal prompt enter the following command:"
msgstr ""

#: serverguide/C/web-servers.xml:53(command)
msgid "sudo apt-get install apache2"
msgstr ""

#: serverguide/C/web-servers.xml:63(para)
msgid ""
"Apache2 is configured by placing <emphasis>directives</emphasis> in plain "
"text configuration files. The configuration files are separated between the "
"following files and directories:"
msgstr ""

#: serverguide/C/web-servers.xml:71(para)
msgid ""
"<emphasis>apache2.conf:</emphasis> the main Apache2 configuration file. "
"Contains settings that are <emphasis>global</emphasis> to Apache2."
msgstr ""

#: serverguide/C/web-servers.xml:77(para)
msgid ""
"<emphasis>conf.d:</emphasis> contains configuration files which apply "
"<emphasis>globally</emphasis> to Apache. Other packages that use Apache2 to "
"serve content may add files, or symlinks, to this directory."
msgstr ""

#: serverguide/C/web-servers.xml:83(para)
msgid ""
"<emphasis>envvars:</emphasis> file where Apache2 "
"<emphasis>environment</emphasis> variables are set."
msgstr ""

#: serverguide/C/web-servers.xml:88(para)
msgid ""
"<emphasis>httpd.conf:</emphasis> historically the main Apache2 configuration "
"file, named after the <application>httpd</application> daemon. The file can "
"be used for <emphasis>user specific</emphasis> configuration options that "
"globally effect Apache2."
msgstr ""

#: serverguide/C/web-servers.xml:95(para)
msgid ""
"<emphasis>mods-available:</emphasis> this directory contains configuration "
"files to both load <emphasis>modules</emphasis> and configure them. Not all "
"modules will have specific configuration files, however."
msgstr ""

#: serverguide/C/web-servers.xml:101(para)
msgid ""
"<emphasis>mods-enabled:</emphasis> holds <emphasis>symlinks</emphasis> to "
"the files in <filename>/etc/apache2/mods-available</filename>. When a module "
"configuration file is symlinked it will be enabled the next time "
"<application>apache2</application> is restarted."
msgstr ""

#: serverguide/C/web-servers.xml:108(para)
msgid ""
"<emphasis>ports.conf:</emphasis> houses the directives that determine which "
"TCP ports Apache2 is listening on."
msgstr ""

#: serverguide/C/web-servers.xml:113(para)
msgid ""
"<emphasis>sites-available:</emphasis> this directory has configuration files "
"for Apache <emphasis>Virtual Hosts</emphasis>. Virtual Hosts allow Apache2 "
"to be configured for multiple sites that have separate configurations."
msgstr ""

#: serverguide/C/web-servers.xml:119(para)
msgid ""
"<emphasis>sites-enabled:</emphasis> like mods-enabled, <filename "
"role=\"directory\">sites-enabled</filename> contains symlinks to the "
"<filename>/etc/apache2/sites-available</filename> directory. Similarly when "
"a configuration file in sites-available is symlinked it will be active once "
"Apache is restarted."
msgstr ""

#: serverguide/C/web-servers.xml:127(para)
msgid ""
"In addition, other configuration files may be added using the "
"<emphasis>Include</emphasis> directive, and wildcards can be used to include "
"many configuration files. Any directive may be placed in any of these "
"configuration files. Changes to the main configuration files are only "
"recognized by Apache2 when it is started or restarted."
msgstr ""

#: serverguide/C/web-servers.xml:136(para)
msgid ""
"The server also reads a file containing mime document types; the filename is "
"set by the <emphasis>TypesConfig</emphasis> directive, and is "
"<filename>/etc/mime.types</filename> by default."
msgstr ""

#: serverguide/C/web-servers.xml:141(title)
msgid "Basic Settings"
msgstr ""

#: serverguide/C/web-servers.xml:142(para)
msgid ""
"This section explains Apache2 server essential configuration parameters. "
"Refer to the <ulink url=\"http://httpd.apache.org/docs/2.2/\">Apache2 "
"Documentation</ulink> for more details."
msgstr ""

#: serverguide/C/web-servers.xml:150(para)
msgid ""
"Apache2 ships with a virtual-host-friendly default configuration. That is, "
"it is configured with a single default virtual host (using the "
"<emphasis>VirtualHost</emphasis> directive) which can modified or used as-is "
"if you have a single site, or used as a template for additional virtual "
"hosts if you have multiple sites. If left alone, the default virtual host "
"will serve as your default site, or the site users will see if the URL they "
"enter does not match the <emphasis>ServerName</emphasis> directive of any of "
"your custom sites. To modify the default virtual host, edit the file "
"<filename>/etc/apache2/sites-available/default</filename>."
msgstr ""

#: serverguide/C/web-servers.xml:163(para)
msgid ""
"The directives set for a virtual host only apply to that particular virtual "
"host. If a directive is set server-wide and not defined within the virtual "
"host settings, the default setting is used. For example, you can define a "
"Webmaster email address and not define individual email addresses for each "
"virtual host."
msgstr ""

#: serverguide/C/web-servers.xml:171(para)
msgid ""
"If you wish to configure a new virtual host or site, copy that file into the "
"same directory with a name you choose. For example:"
msgstr ""

#: serverguide/C/web-servers.xml:177(command)
msgid ""
"sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-"
"available/mynewsite"
msgstr ""

#: serverguide/C/web-servers.xml:180(para)
msgid ""
"Edit the new file to configure the new site using some of the directives "
"described below."
msgstr ""

#: serverguide/C/web-servers.xml:187(para)
msgid ""
"The <emphasis>ServerAdmin</emphasis> directive specifies the email address "
"to be advertised for the server's administrator. The default value is "
"webmaster@localhost. This should be changed to an email address that is "
"delivered to you (if you are the server's administrator). If your website "
"has a problem, Apache2 will display an error message containing this email "
"address to report the problem to. Find this directive in your site's "
"configuration file in /etc/apache2/sites-available."
msgstr ""

#: serverguide/C/web-servers.xml:198(para)
msgid ""
"The <emphasis>Listen</emphasis> directive specifies the port, and optionally "
"the IP address, Apache2 should listen on. If the IP address is not "
"specified, Apache2 will listen on all IP addresses assigned to the machine "
"it runs on. The default value for the Listen directive is 80. Change this to "
"127.0.0.1:80 to cause Apache2 to listen only on your loopback interface so "
"that it will not be available to the Internet, to (for example) 81 to change "
"the port that it listens on, or leave it as is for normal operation. This "
"directive can be found and changed in its own file, "
"<filename>/etc/apache2/ports.conf</filename>"
msgstr ""

#: serverguide/C/web-servers.xml:211(para)
msgid ""
"The <emphasis>ServerName</emphasis> directive is optional and specifies what "
"FQDN your site should answer to. The default virtual host has no ServerName "
"directive specified, so it will respond to all requests that do not match a "
"ServerName directive in another virtual host. If you have just acquired the "
"domain name ubunturocks.com and wish to host it on your Ubuntu server, the "
"value of the ServerName directive in your virtual host configuration file "
"should be ubunturocks.com. Add this directive to the new virtual host file "
"you created earlier (<filename>/etc/apache2/sites-"
"available/mynewsite</filename>)."
msgstr ""

#: serverguide/C/web-servers.xml:223(para)
msgid ""
"You may also want your site to respond to www.ubunturocks.com, since many "
"users will assume the www prefix is appropriate. Use the "
"<emphasis>ServerAlias</emphasis> directive for this. You may also use "
"wildcards in the ServerAlias directive."
msgstr ""

#: serverguide/C/web-servers.xml:230(para)
msgid ""
"For example, the following configuration will cause your site to respond to "
"any domain request ending in <emphasis>.ubunturocks.com</emphasis>."
msgstr ""

#: serverguide/C/web-servers.xml:236(programlisting)
#, no-wrap
msgid ""
"\n"
"ServerAlias *.ubunturocks.com\n"
msgstr ""

#: serverguide/C/web-servers.xml:242(para)
msgid ""
"The <emphasis>DocumentRoot</emphasis> directive specifies where Apache "
"should look for the files that make up the site. The default value is "
"/var/www. No site is configured there, but if you uncomment the "
"<emphasis>RedirectMatch</emphasis> directive in "
"<filename>/etc/apache2/apache2.conf</filename> requests will be redirected "
"to /var/www/apache2-default where the default Apache2 site awaits. Change "
"this value in your site's virtual host file, and remember to create that "
"directory if necessary!"
msgstr ""

#: serverguide/C/web-servers.xml:254(para)
msgid ""
"The /etc/apache2/sites-available directory is <emphasis role=\"bold\"> "
"not</emphasis> parsed by Apache2. Symbolic links in /etc/apache2/sites-"
"enabled point to \"available\" sites."
msgstr ""

#: serverguide/C/web-servers.xml:260(para)
msgid ""
"Enable the new <emphasis>VirtualHost</emphasis> using the "
"<application>a2ensite</application> utility and restart Apache:"
msgstr ""

#: serverguide/C/web-servers.xml:266(command)
msgid "sudo a2ensite mynewsite"
msgstr ""

#: serverguide/C/web-servers.xml:267(command) serverguide/C/web-servers.xml:285(command) serverguide/C/web-servers.xml:538(command) serverguide/C/web-servers.xml:547(command) serverguide/C/web-servers.xml:606(command) serverguide/C/mail.xml:723(command) serverguide/C/lamp-applications.xml:221(command)
msgid "sudo /etc/init.d/apache2 restart"
msgstr ""

#: serverguide/C/web-servers.xml:271(para)
msgid ""
"Be sure to replace <emphasis>mynewsite</emphasis> with a more descriptive "
"name for the VirtualHost. One method is to name the file after the "
"<emphasis>ServerName</emphasis> directive of the VirtualHost."
msgstr ""

#: serverguide/C/web-servers.xml:278(para)
msgid ""
"Similarly, use the <application>a2dissite</application> utility to disable "
"sites. This is can be useful when troubleshooting configuration problems "
"with multiple VirtualHosts:"
msgstr ""

#: serverguide/C/web-servers.xml:284(command)
msgid "sudo a2dissite mynewsite"
msgstr ""

#: serverguide/C/web-servers.xml:290(title)
msgid "Default Settings"
msgstr ""

#: serverguide/C/web-servers.xml:292(para)
msgid ""
"This section explains configuration of the Apache2 server default settings. "
"For example, if you add a virtual host, the settings you configure for the "
"virtual host take precedence for that virtual host. For a directive not "
"defined within the virtual host settings, the default value is used."
msgstr ""

#: serverguide/C/web-servers.xml:304(para)
msgid ""
"The <emphasis>DirectoryIndex</emphasis> is the default page served by the "
"server when a user requests an index of a directory by specifying a forward "
"slash (/) at the end of the directory name."
msgstr ""

#: serverguide/C/web-servers.xml:311(para)
msgid ""
"For example, when a user requests the page "
"http://www.example.com/this_directory/, he or she will get either the "
"DirectoryIndex page if it exists, a server-generated directory list if it "
"does not and the Indexes option is specified, or a Permission Denied page if "
"neither is true. The server will try to find one of the files listed in the "
"DirectoryIndex directive and will return the first one it finds. If it does "
"not find any of these files and if Options Indexes is set for that "
"directory, the server will generate and return a list, in HTML format, of "
"the subdirectories and files in the directory. The default value, found in "
"<filename>/etc/apache2/apache2.conf</filename> is \" index.html index.cgi "
"index.pl index.php index.xhtml\". Thus, if Apache2 finds a file in a "
"requested directory matching any of these names, the first will be displayed."
msgstr ""

#: serverguide/C/web-servers.xml:332(para)
msgid ""
"The <emphasis>ErrorDocument</emphasis> directive allows you to specify a "
"file for Apache to use for specific error events. For example, if a user "
"requests a resource that does not exist, a 404 error will occur, and per "
"Apache2's default configuration, the file "
"<filename>/usr/share/apache2/error/HTTP_NOT_FOUND.html.var </filename> will "
"be displayed. That file is not in the server's DocumentRoot, but there is an "
"Alias directive in <filename>/etc/apache2/apache2.conf</filename> that "
"redirects requests to the /error directory to "
"<filename>/usr/share/apache2/error/</filename>."
msgstr ""

#: serverguide/C/web-servers.xml:344(para)
msgid ""
"To see a list of the default ErrorDocument directives, use this command:"
msgstr ""

#: serverguide/C/web-servers.xml:350(command)
msgid "grep ErrorDocument /etc/apache2/apache2.conf"
msgstr ""

#: serverguide/C/web-servers.xml:355(para)
msgid ""
"By default, the server writes the transfer log to the file "
"<filename>/var/log/apache2/access.log</filename>. You can change this on a "
"per-site basis in your virtual host configuration files with the "
"<emphasis>CustomLog</emphasis> directive, or omit it to accept the default, "
"specified in <filename> /etc/apache2/apache2.conf</filename>. You may also "
"specify the file to which errors are logged, via the "
"<emphasis>ErrorLog</emphasis> directive, whose default is "
"<filename>/var/log/apache2/error.log</filename>. These are kept separate "
"from the transfer logs to aid in troubleshooting problems with your Apache2 "
"server. You may also specify the <emphasis>LogLevel</emphasis> (the default "
"value is \"warn\") and the <emphasis>LogFormat</emphasis> (see <filename> "
"/etc/apache2/apache2.conf</filename> for the default value)."
msgstr ""

#: serverguide/C/web-servers.xml:370(para)
msgid ""
"Some options are specified on a per-directory basis rather than per-server. "
"<emphasis>Options</emphasis> is one of these directives. A Directory stanza "
"is enclosed in XML-like tags, like so:"
msgstr ""

#: serverguide/C/web-servers.xml:376(programlisting)
#, no-wrap
msgid ""
"\n"
"&lt;Directory /var/www/mynewsite&gt;\n"
"...\n"
"&lt;/Directory&gt;\n"
msgstr ""

#: serverguide/C/web-servers.xml:382(para)
msgid ""
"The <emphasis>Options</emphasis> directive within a Directory stanza accepts "
"one or more of the following values (among others), separated by spaces:"
msgstr ""

#: serverguide/C/web-servers.xml:394(para)
msgid ""
"Most files should not be executed as CGI scripts. This would be very "
"dangerous. CGI scripts should kept in a directory separate from and outside "
"your DocumentRoot, and only this directory should have the ExecCGI option "
"set. This is the default, and the default location for CGI scripts is "
"<filename>/usr/lib/cgi-bin</filename>."
msgstr ""

#: serverguide/C/web-servers.xml:389(para)
msgid ""
"<emphasis role=\"bold\">ExecCGI</emphasis> - Allow execution of CGI scripts. "
"CGI scripts are not executed if this option is not chosen. <placeholder-1/>"
msgstr ""

#: serverguide/C/web-servers.xml:405(para)
msgid ""
"<emphasis role=\"bold\">Includes</emphasis> - Allow server-side includes. "
"Server-side includes allow an HTML file to <emphasis> include</emphasis> "
"other files. This is not a common option. See <ulink "
"url=\"http://httpd.apache.org/docs/2.2/howto/ssi.html\">the Apache2 SSI "
"HOWTO</ulink> for more information."
msgstr ""

#: serverguide/C/web-servers.xml:414(para)
msgid ""
"<emphasis role=\"bold\">IncludesNOEXEC</emphasis> - Allow server-side "
"includes, but disable the <emphasis>#exec</emphasis> and "
"<emphasis>#include</emphasis> commands in CGI scripts."
msgstr ""

#: serverguide/C/web-servers.xml:426(para)
msgid ""
"For security reasons, this should usually not be set, and certainly should "
"not be set on your DocumentRoot directory. Enable this option carefully on a "
"per-directory basis only if you are certain you want users to see the entire "
"contents of the directory."
msgstr ""

#: serverguide/C/web-servers.xml:421(para)
msgid ""
"<emphasis role=\"bold\">Indexes</emphasis> - Display a formatted list of the "
"directory's contents, if no <emphasis>DirectoryIndex</emphasis> (such as "
"index.html) exists in the requested directory. <placeholder-1/>"
msgstr ""

#: serverguide/C/web-servers.xml:436(para)
msgid ""
"<emphasis role=\"bold\">Multiview</emphasis> - Support content-negotiated "
"multiviews; this option is disabled by default for security reasons. See the "
"<ulink "
"url=\"http://httpd.apache.org/docs/2.2/mod/mod_negotiation.html#multiviews\">"
"Apache2 documentation on this option</ulink>."
msgstr ""

#: serverguide/C/web-servers.xml:444(para)
msgid ""
"<emphasis role=\"bold\">SymLinksIfOwnerMatch</emphasis> - Only follow "
"symbolic links if the target file or directory has the same owner as the "
"link."
msgstr ""

#: serverguide/C/web-servers.xml:456(title)
msgid "httpd Settings"
msgstr ""

#: serverguide/C/web-servers.xml:458(para)
msgid ""
"This section explains some basic <application>httpd</application> daemon "
"configuration settings."
msgstr ""

#: serverguide/C/web-servers.xml:462(para)
msgid ""
"<emphasis role=\"bold\">LockFile</emphasis> - The LockFile directive sets "
"the path to the lockfile used when the server is compiled with either "
"USE_FCNTL_SERIALIZED_ACCEPT or USE_FLOCK_SERIALIZED_ACCEPT. It must be "
"stored on the local disk. It should be left to the default value unless the "
"logs directory is located on an NFS share. If this is the case, the default "
"value should be changed to a location on the local disk and to a directory "
"that is readable only by root."
msgstr ""

#: serverguide/C/web-servers.xml:471(para)
msgid ""
"<emphasis role=\"bold\">PidFile</emphasis> - The PidFile directive sets the "
"file in which the server records its process ID (pid). This file should only "
"be readable by root. In most cases, it should be left to the default value."
msgstr ""

#: serverguide/C/web-servers.xml:477(para)
msgid ""
"<emphasis role=\"bold\">User</emphasis> - The User directive sets the userid "
"used by the server to answer requests. This setting determines the server's "
"access. Any files inaccessible to this user will also be inaccessible to "
"your website's visitors. The default value for User is www-data."
msgstr ""

#: serverguide/C/web-servers.xml:484(para)
msgid ""
"Unless you know exactly what you are doing, do not set the User directive to "
"root. Using root as the User will create large security holes for your Web "
"server."
msgstr ""

#: serverguide/C/web-servers.xml:490(para)
msgid ""
"The Group directive is similar to the User directive. Group sets the group "
"under which the server will answer requests. The default group is also www-"
"data."
msgstr ""

#: serverguide/C/web-servers.xml:496(title)
msgid "Apache Modules"
msgstr ""

#: serverguide/C/web-servers.xml:498(para)
msgid ""
"Apache is a modular server. This implies that only the most basic "
"functionality is included in the core server. Extended features are "
"available through modules which can be loaded into Apache. By default, a "
"base set of modules is included in the server at compile-time. If the server "
"is compiled to use dynamically loaded modules, then modules can be compiled "
"separately, and added at any time using the LoadModule directive. Otherwise, "
"Apache must be recompiled to add or remove modules."
msgstr ""

#: serverguide/C/web-servers.xml:510(para)
msgid ""
"Ubuntu compiles Apache2 to allow the dynamic loading of modules. "
"Configuration directives may be conditionally included on the presence of a "
"particular module by enclosing them in an "
"<emphasis>&lt;IfModule&gt;</emphasis> block."
msgstr ""

#: serverguide/C/web-servers.xml:517(para)
msgid ""
"You can install additional Apache2 modules and use them with your Web "
"server. For example, run the following command from a terminal prompt to "
"install the <emphasis>MySQL Authentication</emphasis> module:"
msgstr ""

#: serverguide/C/web-servers.xml:524(command)
msgid "sudo apt-get install libapache2-mod-auth-mysql"
msgstr ""

#: serverguide/C/web-servers.xml:527(para)
msgid ""
"See the <filename>/etc/apache2/mods-available</filename> directory, for "
"additional modules."
msgstr ""

#: serverguide/C/web-servers.xml:531(para)
msgid ""
"Use the <application>a2enmod</application> utility to enable a module:"
msgstr ""

#: serverguide/C/web-servers.xml:537(command)
msgid "sudo a2enmod auth_mysql"
msgstr ""

#: serverguide/C/web-servers.xml:541(para)
msgid "Similarly, <application>a2dismod</application> will disable a module:"
msgstr ""

#: serverguide/C/web-servers.xml:546(command)
msgid "sudo a2dismod auth_mysql"
msgstr ""

#: serverguide/C/web-servers.xml:553(title)
msgid "HTTPS Configuration"
msgstr ""

#: serverguide/C/web-servers.xml:555(para)
msgid ""
"The <application>mod_ssl</application> module adds an important feature to "
"the Apache2 server - the ability to encrypt communications. Thus, when your "
"browser is communicating using SSL, the https:// prefix is used at the "
"beginning of the Uniform Resource Locator (URL) in the browser navigation "
"bar."
msgstr ""

#: serverguide/C/web-servers.xml:564(para)
msgid ""
"The <application>mod_ssl</application> module is available in "
"<application>apache2-common</application> package. Execute the following "
"command from a terminal prompt to enable the "
"<application>mod_ssl</application> module:"
msgstr ""

#: serverguide/C/web-servers.xml:571(command)
msgid "sudo a2enmod ssl"
msgstr ""

#: serverguide/C/web-servers.xml:574(para)
msgid ""
"There is a default HTTPS configuration file in <filename>/etc/apache2/sites-"
"available/default-ssl</filename>. In order for "
"<application>Apache</application> to provide HTTPS, a "
"<emphasis>certificate</emphasis> and <emphasis>key</emphasis> file are also "
"needed. The default HTTPS configuration will use a certificate and key "
"generated by the <application>ssl-cert</application> package. They are good "
"for testing, but the auto-generated certificate and key should be replaced "
"by a certificate specific to the site or server. For information on "
"generating a key and obtaining a certificate see <xref "
"linkend=\"certificates-and-security\"/>"
msgstr ""

#: serverguide/C/web-servers.xml:584(para)
msgid ""
"To configure <application>Apache</application> for HTTPS, enter the "
"following:"
msgstr ""

#: serverguide/C/web-servers.xml:589(command)
msgid "sudo a2ensite default-ssl"
msgstr ""

#: serverguide/C/web-servers.xml:593(para)
msgid ""
"The directories <filename>/etc/ssl/certs</filename> and "
"<filename>/etc/ssl/private</filename> are the default locations. If you "
"install the certificate and key in another directory make sure to change "
"<emphasis>SSLCertificateFile</emphasis> and "
"<emphasis>SSLCertificateKeyFile</emphasis> appropriately."
msgstr ""

#: serverguide/C/web-servers.xml:600(para)
msgid ""
"With Apache now configured for HTTPS, restart the service to enable the new "
"settings:"
msgstr ""

#: serverguide/C/web-servers.xml:611(para)
msgid ""
"Depending on how you obtained your certificate you may need to enter a "
"passphrase when <application>Apache</application> starts."
msgstr ""

#: serverguide/C/web-servers.xml:617(para)
msgid ""
"You can access the secure server pages by typing https://your_hostname/url/ "
"in your browser address bar."
msgstr ""

#: serverguide/C/web-servers.xml:628(para)
msgid ""
"<ulink url=\"http://httpd.apache.org/docs/2.2/\">Apache2 "
"Documentation</ulink> contains in depth information on Apache2 configuration "
"directives. Also, see the <application>apache2-doc</application> package for "
"the official Apache2 docs."
msgstr ""

#: serverguide/C/web-servers.xml:635(para)
msgid ""
"See the <ulink url=\"http://www.modssl.org/docs/\">Mod SSL "
"Documentation</ulink> site for more SSL related information."
msgstr ""

#: serverguide/C/web-servers.xml:641(para)
msgid ""
"O'Reilly's <ulink url=\"http://oreilly.com/catalog/9780596001919/\">Apache "
"Cookbook</ulink> is a good resource for accomplishing specific Apache2 "
"configurations."
msgstr ""

#: serverguide/C/web-servers.xml:647(para)
msgid ""
"For Ubuntu specific Apache2 questions, ask in the <emphasis>#ubuntu-"
"server</emphasis> IRC channel on <ulink "
"url=\"http://freenode.net/\">freenode.net</ulink>."
msgstr ""

#: serverguide/C/web-servers.xml:658(title)
msgid "PHP5 - Scripting Language"
msgstr ""

#: serverguide/C/web-servers.xml:659(para)
msgid ""
"PHP is a general-purpose scripting language suited for Web development. The "
"PHP script can be embedded into HTML. This section explains how to install "
"and configure PHP5 in Ubuntu System with Apache2 and MySQL."
msgstr ""

#: serverguide/C/web-servers.xml:663(para)
msgid ""
"This section assumes you have installed and configured Apache 2 Web Server "
"and MySQL Database Server. You can refer to Apache 2 section and MySQL "
"sections in this document to install and configure Apache 2 and MySQL "
"respectively."
msgstr ""

#: serverguide/C/web-servers.xml:670(para)
msgid "The PHP5 is available in Ubuntu Linux."
msgstr ""

#: serverguide/C/web-servers.xml:672(para)
msgid ""
"To install PHP5 you can enter the following command in the terminal prompt: "
"<screen>\n"
"<command>sudo apt-get install php5 libapache2-mod-php5</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/web-servers.xml:681(para)
msgid ""
"You can run PHP5 scripts from command line. To run PHP5 scripts from command "
"line you should install <application>php5-cli</application> package. To "
"install <application>php5-cli</application> you can enter the following "
"command in the terminal prompt: <screen>\n"
"<command>sudo apt-get install php5-cli</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/web-servers.xml:690(para)
msgid ""
"You can also execute PHP5 scripts without installing PHP5 Apache module. To "
"accomplish this, you should install <application>php5-cgi</application> "
"package. You can run the following command in a terminal prompt to install "
"<application>php5-cgi</application> package: <screen>\n"
"<command>sudo apt-get install php5-cgi</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/web-servers.xml:700(para)
msgid ""
"To use <application>MySQL</application> with PHP5 you should install "
"<application>php5-mysql</application> package. To install <application>php5-"
"mysql</application> you can enter the following command in the terminal "
"prompt: <screen>\n"
"<command>sudo apt-get install php5-mysql</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/web-servers.xml:708(para)
msgid ""
"Similarly, to use <application>PostgreSQL</application> with PHP5 you should "
"install <application>php5-pgsql</application> package. To install "
"<application>php5-pgsql</application> you can enter the following command in "
"the terminal prompt: <screen>\n"
"<command>sudo apt-get install php5-pgsql</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/web-servers.xml:721(para)
msgid ""
"Once you install PHP5, you can run PHP5 scripts from your web browser. If "
"you have installed <application>php5-cli</application> package, you can run "
"PHP5 scripts from your command prompt."
msgstr ""

#: serverguide/C/web-servers.xml:728(para)
msgid ""
"By default, the Apache 2 Web server is configured to run PHP5 scripts. In "
"other words, the PHP5 module is enabled in Apache2 Web server automatically "
"when you install the module. Please verify if the files "
"<filename>/etc/apache2/mods-enabled/php5.conf</filename> and "
"<filename>/etc/apache2/mods-enabled/php5.load</filename> exist. If they do "
"not exists, you can enable the module using <command>a2enmod</command> "
"command."
msgstr ""

#: serverguide/C/web-servers.xml:739(para)
msgid ""
"Once you install PHP5 related packages and enabled PHP5 Apache 2 module, you "
"should restart Apache2 Web server to run PHP5 scripts. You can run the "
"following command at a terminal prompt to restart your web server: "
"<screen><command>sudo /etc/init.d/apache2 restart</command> </screen>"
msgstr ""

#: serverguide/C/web-servers.xml:747(title) serverguide/C/mail.xml:124(title) serverguide/C/mail.xml:1332(title) serverguide/C/dns.xml:343(title) serverguide/C/clustering.xml:177(title)
msgid "Testing"
msgstr ""

#: serverguide/C/web-servers.xml:748(para)
msgid ""
"To verify your installation, you can run following PHP5 phpinfo script:"
msgstr ""

#: serverguide/C/web-servers.xml:751(programlisting)
#, no-wrap
msgid ""
"\n"
"&lt;?php\n"
"print_r (phpinfo());\n"
"?&gt;\n"
msgstr ""

#: serverguide/C/web-servers.xml:756(para)
msgid ""
"You can save the content in a file <filename>phpinfo.php</filename> and "
"place it under <command>DocumentRoot</command> directory of Apache2 Web "
"server. When point your browser to "
"<filename>http://hostname/phpinfo.php</filename>, it would display values of "
"various PHP5 configuration parameters."
msgstr ""

#: serverguide/C/web-servers.xml:770(para)
msgid ""
"For more in depth information see <ulink "
"url=\"http://www.php.net/docs.php\">php.net</ulink> documentation."
msgstr ""

#: serverguide/C/web-servers.xml:775(para)
msgid ""
"There are a plethora of books on PHP. Two good books from O'Reilly are "
"<ulink url=\"http://oreilly.com/catalog/9780596005603/\">Learning PHP "
"5</ulink> and the <ulink "
"url=\"http://oreilly.com/catalog/9781565926813/\">PHP Cook Book</ulink>."
msgstr ""

#: serverguide/C/web-servers.xml:787(title)
msgid "Squid - Proxy Server"
msgstr ""

#: serverguide/C/web-servers.xml:788(para)
msgid ""
"Squid is a full-featured web proxy cache server application which provides "
"proxy and cache services for Hyper Text Transport Protocol (HTTP), File "
"Transfer Protocol (FTP), and other popular network protocols. Squid can "
"implement caching and proxying of Secure Sockets Layer (SSL) requests and "
"caching of Domain Name Server (DNS) lookups, and perform transparent "
"caching. Squid also supports a wide variety of caching protocols, such as "
"Internet Cache Protocol, (ICP) the Hyper Text Caching Protocol, (HTCP) the "
"Cache Array Routing Protocol (CARP), and the Web Cache Coordination "
"Protocol. (WCCP)"
msgstr ""

#: serverguide/C/web-servers.xml:796(para)
msgid ""
"The Squid proxy cache server is an excellent solution to a variety of proxy "
"and caching server needs, and scales from the branch office to enterprise "
"level networks while providing extensive, granular access control mechanisms "
"and monitoring of critical parameters via the Simple Network Management "
"Protocol (SNMP). When selecting a computer system for use as a dedicated "
"Squid proxy, or caching servers, ensure your system is configured with a "
"large amount of physical memory, as Squid maintains an in-memory cache for "
"increased performance."
msgstr ""

#: serverguide/C/web-servers.xml:805(para)
msgid ""
"At a terminal prompt, enter the following command to install the Squid "
"server:"
msgstr ""

#: serverguide/C/web-servers.xml:810(command)
msgid "sudo apt-get install squid"
msgstr ""

#: serverguide/C/web-servers.xml:816(para)
msgid ""
"Squid is configured by editing the directives contained within the "
"<filename>/etc/squid/squid.conf</filename> configuration file. The following "
"examples illustrate some of the directives which may be modified to affect "
"the behavior of the Squid server. For more in-depth configuration of Squid, "
"see the References section."
msgstr ""

#: serverguide/C/web-servers.xml:822(para)
msgid ""
"Prior to editing the configuration file, you should make a copy of the "
"original file and protect it from writing so you will have the original "
"settings as a reference, and to re-use as necessary."
msgstr ""

#: serverguide/C/web-servers.xml:825(para)
msgid ""
"Copy the <filename>/etc/squid/squid.conf</filename> file and protect it from "
"writing with the following commands entered at a terminal prompt:"
msgstr ""

#: serverguide/C/web-servers.xml:830(command)
msgid "sudo cp /etc/squid/squid.conf /etc/squid/squid.conf.original"
msgstr ""

#: serverguide/C/web-servers.xml:831(command)
msgid "sudo chmod a-w /etc/squid/squid.conf.original"
msgstr ""

#: serverguide/C/web-servers.xml:837(para)
msgid ""
"To set your Squid server to listen on TCP port 8888 instead of the default "
"TCP port 3128, change the http_port directive as such:"
msgstr ""

#: serverguide/C/web-servers.xml:841(programlisting)
#, no-wrap
msgid ""
"\n"
"http_port 8888\n"
msgstr ""

#: serverguide/C/web-servers.xml:846(para)
msgid ""
"Change the visible_hostname directive in order to give the Squid server a "
"specific hostname. This hostname does not necessarily need to be the "
"computer's hostname. In this example it is set to <emphasis>weezie</emphasis>"
msgstr ""

#: serverguide/C/web-servers.xml:850(programlisting)
#, no-wrap
msgid ""
"\n"
"visible_hostname weezie\n"
msgstr ""

#: serverguide/C/web-servers.xml:855(para)
msgid ""
"Again, Using Squid's access control, you may configure use of Internet "
"services proxied by Squid to be available only users with certain Internet "
"Protocol (IP) addresses. For example, we will illustrate access by users of "
"the 192.168.42.0/24 subnetwork only:"
msgstr ""

#: serverguide/C/web-servers.xml:860(para) serverguide/C/web-servers.xml:880(para)
msgid ""
"Add the following to the <emphasis role=\"bold\">bottom</emphasis> of the "
"ACL section of your <filename>/etc/squid/squid.conf</filename> file:"
msgstr ""

#: serverguide/C/web-servers.xml:863(programlisting)
#, no-wrap
msgid ""
"\n"
"acl fortytwo_network src 192.168.42.0/24\n"
msgstr ""

#: serverguide/C/web-servers.xml:866(para) serverguide/C/web-servers.xml:887(para)
msgid ""
"Then, add the following to the <emphasis role=\"bold\">top</emphasis> of the "
"http_access section of your <filename>/etc/squid/squid.conf</filename> file:"
msgstr ""

#: serverguide/C/web-servers.xml:870(programlisting)
#, no-wrap
msgid ""
"\n"
"http_access allow fortytwo_network\n"
msgstr ""

#: serverguide/C/web-servers.xml:875(para)
msgid ""
"Using the excellent access control features of Squid, you may configure use "
"of Internet services proxied by Squid to be available only during normal "
"business hours. For example, we'll illustrate access by employees of a "
"business which is operating between 9:00AM and 5:00PM, Monday through "
"Friday, and which uses the 10.1.42.0/42 subnetwork:"
msgstr ""

#: serverguide/C/web-servers.xml:883(programlisting)
#, no-wrap
msgid ""
"\n"
"acl biz_network src 10.1.42.0/24\n"
"acl biz_hours time M T W T F 9:00-17:00\n"
msgstr ""

#: serverguide/C/web-servers.xml:891(programlisting)
#, no-wrap
msgid ""
"\n"
"http_access allow biz_network biz_hours\n"
msgstr ""

#: serverguide/C/web-servers.xml:898(para)
msgid ""
"After making changes to the <filename>/etc/squid/squid.conf</filename> file, "
"save the file and restart the <application>squid</application> server "
"application to effect the changes using the following command entered at a "
"terminal prompt:"
msgstr ""

#: serverguide/C/web-servers.xml:905(command)
msgid "sudo /etc/init.d/squid restart"
msgstr ""

#: serverguide/C/web-servers.xml:912(ulink)
msgid "Squid Website"
msgstr ""

#: serverguide/C/web-servers.xml:918(title)
msgid "Ruby on Rails"
msgstr ""

#: serverguide/C/web-servers.xml:919(para)
msgid ""
"Ruby on Rails is an open source web framework for developing database backed "
"web applications. It is optimized for sustainable productivity of the "
"programmer since it lets the programmer to write code by favouring "
"convention over configuration."
msgstr ""

#: serverguide/C/web-servers.xml:926(para)
msgid ""
"Before installing <application>Rails</application> you should install "
"<application>Apache</application> and <application>MySQL</application>. To "
"install the <application>Apache</application> package, please refer to <xref "
"linkend=\"httpd\"/>. For instructions on installing "
"<application>MySQL</application> refer to <xref linkend=\"mysql\"/>."
msgstr ""

#: serverguide/C/web-servers.xml:934(para)
msgid ""
"Once you have <application>Apache</application> and "
"<application>MySQL</application> packages installed, you are ready to "
"install <application>Ruby on Rails</application> package."
msgstr ""

#: serverguide/C/web-servers.xml:941(para)
msgid ""
"To install the <application>Ruby</application> base packages and "
"<application>Ruby on Rails</application>, you can enter the following "
"command in the terminal prompt:"
msgstr ""

#: serverguide/C/web-servers.xml:947(command)
msgid "sudo apt-get install rails"
msgstr ""

#: serverguide/C/web-servers.xml:953(para)
msgid ""
"Modify the <filename>/etc/apache2/sites-available/default</filename> "
"configuration file to setup your domains."
msgstr ""

#: serverguide/C/web-servers.xml:957(para)
msgid ""
"The first thing to change is the <emphasis>DocumentRoot</emphasis> directive:"
msgstr ""

#: serverguide/C/web-servers.xml:961(programlisting)
#, no-wrap
msgid ""
"\n"
"DocumentRoot /path/to/rails/application/public\n"
msgstr ""

#: serverguide/C/web-servers.xml:964(para)
msgid ""
"Next, change the &lt;Directory \"/path/to/rails/application/public\"&gt; "
"directive:"
msgstr ""

#: serverguide/C/web-servers.xml:968(programlisting)
#, no-wrap
msgid ""
"\n"
"&lt;Directory \"/path/to/rails/application/public\"&gt;\n"
"        Options Indexes FollowSymLinks MultiViews ExecCGI\n"
"        AllowOverride All\n"
"        Order allow,deny\n"
"        allow from all\n"
"        AddHandler cgi-script .cgi\n"
"&lt;/Directory&gt;\n"
msgstr ""

#: serverguide/C/web-servers.xml:978(para)
msgid ""
"You should also enable the <application>mod_rewrite</application> module for "
"Apache. To enable <application>mod_rewrite</application> module, please "
"enter the following command in a terminal prompt:"
msgstr ""

#: serverguide/C/web-servers.xml:984(command)
msgid "sudo a2enmod rewrite"
msgstr ""

#: serverguide/C/web-servers.xml:987(para)
msgid ""
"Finally you will need to change the ownership of the "
"<filename>/path/to/rails/application/public</filename> and "
"<filename>/path/to/rails/application/tmp</filename> directories to the user "
"used to run the <application>Apache</application> process:"
msgstr ""

#: serverguide/C/web-servers.xml:993(command)
msgid "sudo chown -R www-data:www-data /path/to/rails/application/public"
msgstr ""

#: serverguide/C/web-servers.xml:994(command)
msgid "sudo chown -R www-data:www-data /path/to/rails/application/tmp"
msgstr ""

#: serverguide/C/web-servers.xml:997(para)
msgid ""
"That's it! Now you have your Server ready for your <application>Ruby on "
"Rails</application> applications."
msgstr ""

#: serverguide/C/web-servers.xml:1006(para)
msgid ""
"See the <ulink url=\"http://rubyonrails.org/\">Ruby on Rails</ulink> website "
"for more information."
msgstr ""

#: serverguide/C/web-servers.xml:1011(para)
msgid ""
"Also <ulink url=\"http://pragprog.com/titles/rails3/agile-web-development-"
"with-rails-third-edition\">Agile Development with Rails</ulink> is a great "
"resource."
msgstr ""

#: serverguide/C/web-servers.xml:1022(title)
msgid "Apache Tomcat"
msgstr ""

#: serverguide/C/web-servers.xml:1023(para)
msgid ""
"Apache Tomcat is a web container that allows you to serve Java Servlets and "
"JSP (Java Server Pages) web applications."
msgstr ""

#: serverguide/C/web-servers.xml:1025(para)
msgid ""
"The <application>Tomcat 6.0</application> packages in Ubuntu support two "
"different ways of running Tomcat. You can install them as a classic unique "
"system-wide instance, that will be started at boot time and will run as the "
"tomcat6 unpriviledged user. But you can also deploy private instances that "
"will run with your own user rights, and that you should start and stop by "
"yourself. This second way is particularly useful in a development server "
"context where multiple users need to test on their own private Tomcat "
"instances."
msgstr ""

#: serverguide/C/web-servers.xml:1035(title)
msgid "System-wide installation"
msgstr ""

#: serverguide/C/web-servers.xml:1036(para)
msgid ""
"To install the <application>Tomcat</application> server, you can enter the "
"following command in the terminal prompt:"
msgstr ""

#: serverguide/C/web-servers.xml:1039(command)
msgid "sudo apt-get install tomcat6"
msgstr ""

#: serverguide/C/web-servers.xml:1041(para)
msgid ""
"This will install a Tomcat server with just a default ROOT webapp that "
"displays a minimal \"It works\" page by default."
msgstr ""

#: serverguide/C/web-servers.xml:1047(para)
msgid ""
"Tomcat configuration files can be found in "
"<filename>/etc/tomcat6</filename>. Only a few common configuration tweaks "
"will be described here, please see <ulink "
"url=\"http://tomcat.apache.org/tomcat-6.0-doc/index.html\">Tomcat 6.0 "
"documentation</ulink> for more."
msgstr ""

#: serverguide/C/web-servers.xml:1053(title)
msgid "Changing default ports"
msgstr ""

#: serverguide/C/web-servers.xml:1054(para)
msgid ""
"By default Tomcat 6.0 runs a HTTP connector on port 8080 and an AJP "
"connector on port 8009. You might want to change those default ports to "
"avoid conflict with another server on the system. This is done by changing "
"the following lines in <filename>/etc/tomcat6/server.xml</filename>:"
msgstr ""

#: serverguide/C/web-servers.xml:1059(programlisting)
#, no-wrap
msgid ""
"\n"
"&lt;Connector port=\"8080\" protocol=\"HTTP/1.1\" \n"
"               connectionTimeout=\"20000\" \n"
"               redirectPort=\"8443\" /&gt;\n"
"...\n"
"&lt;Connector port=\"8009\" protocol=\"AJP/1.3\" redirectPort=\"8443\" "
"/&gt;\n"
msgstr ""

#: serverguide/C/web-servers.xml:1068(title)
msgid "Changing JVM used"
msgstr ""

#: serverguide/C/web-servers.xml:1069(para)
msgid ""
"By default Tomcat will run preferably with OpenJDK-6, then try Sun's JVM, "
"then try some other JVMs. If you have various JVMs installed, you can set "
"which should be used by setting JAVA_HOME in "
"<filename>/etc/default/tomcat6</filename>:"
msgstr ""

#: serverguide/C/web-servers.xml:1073(programlisting)
#, no-wrap
msgid ""
"\n"
"JAVA_HOME=/usr/lib/jvm/java-6-sun\n"
msgstr ""

#: serverguide/C/web-servers.xml:1078(title)
msgid "Declaring users and roles"
msgstr ""

#: serverguide/C/web-servers.xml:1079(para)
msgid ""
"Usernames, passwords and roles (groups) can be defined centrally in a "
"Servlet container. In Tomcat 6.0 this is done in the "
"<filename>/etc/tomcat6/tomcat-users.xml</filename> file:"
msgstr ""

#: serverguide/C/web-servers.xml:1082(programlisting)
#, no-wrap
msgid ""
"\n"
"&lt;role rolename=\"admin\"/&gt;\n"
"&lt;user username=\"tomcat\" password=\"s3cret\" roles=\"admin\"/&gt;\n"
msgstr ""

#: serverguide/C/web-servers.xml:1090(title)
msgid "Using Tomcat standard webapps"
msgstr ""

#: serverguide/C/web-servers.xml:1091(para)
msgid ""
"Tomcat is shipped with webapps that you can install for documentation, "
"administration or demo purposes."
msgstr ""

#: serverguide/C/web-servers.xml:1094(title)
msgid "Tomcat documentation"
msgstr ""

#: serverguide/C/web-servers.xml:1095(para)
msgid ""
"The <application>tomcat6-docs</application> package contains Tomcat 6.0 "
"documentation, packaged as a webapp that you can access by default at "
"http://yourserver:8080/docs. You can install it by entering the following "
"command in the terminal prompt:"
msgstr ""

#: serverguide/C/web-servers.xml:1100(command)
msgid "sudo apt-get install tomcat6-docs"
msgstr ""

#: serverguide/C/web-servers.xml:1104(title)
msgid "Tomcat administration webapps"
msgstr ""

#: serverguide/C/web-servers.xml:1105(para)
msgid ""
"The <application>tomcat6-admin</application> package contains two webapps "
"that can be used to administer the Tomcat server using a web interface. You "
"can install them by entering the following command in the terminal prompt:"
msgstr ""

#: serverguide/C/web-servers.xml:1110(command)
msgid "sudo apt-get install tomcat6-admin"
msgstr ""

#: serverguide/C/web-servers.xml:1112(para)
msgid ""
"The first one is the <emphasis>manager</emphasis> webapp, which you can "
"access by default at http://yourserver:8080/manager/html. It is primarily "
"used to get server status and restart webapps."
msgstr ""

#: serverguide/C/web-servers.xml:1115(para)
msgid ""
"Access to the <emphasis>manager</emphasis> application is protected by "
"default: you need to define a user with the role \"manager\" in "
"<filename>/etc/tomcat6/tomcat-users.xml</filename> before you can access it."
msgstr ""

#: serverguide/C/web-servers.xml:1119(para)
msgid ""
"The second one is the <emphasis>host-manager</emphasis> webapp, which you "
"can access by default at http://yourserver:8080/host-manager/html. It can be "
"used to create virtual hosts dynamically."
msgstr ""

#: serverguide/C/web-servers.xml:1123(para)
msgid ""
"Access to the <emphasis>host-manager</emphasis> application is also "
"protected by default: you need to define a user with the role \"admin\" in "
"<filename>/etc/tomcat6/tomcat-users.xml</filename> before you can access it."
msgstr ""

#: serverguide/C/web-servers.xml:1128(para)
msgid ""
"For security reasons, the tomcat6 user cannot write to the "
"<filename>/etc/tomcat6</filename> directory by default. Some features in "
"these admin webapps (application deployment, virtual host creation) need "
"write access to that directory. If you want to use these features execute "
"the following, to give users in the tomcat6 group the necessary rights:"
msgstr ""

#: serverguide/C/web-servers.xml:1135(command)
msgid "sudo chgrp -R tomcat6 /etc/tomcat6"
msgstr ""

#: serverguide/C/web-servers.xml:1136(command)
msgid "sudo chmod -R g+w /etc/tomcat6"
msgstr ""

#: serverguide/C/web-servers.xml:1141(title)
msgid "Tomcat examples webapps"
msgstr ""

#: serverguide/C/web-servers.xml:1142(para)
msgid ""
"The <application>tomcat6-examples</application> package contains two webapps "
"that can be used to test or demonstrate Servlets and JSP features, which you "
"can access them by default at http://yourserver:8080/examples. You can "
"install them by entering the following command in the terminal prompt:"
msgstr ""

#: serverguide/C/web-servers.xml:1148(command)
msgid "sudo apt-get install tomcat6-examples"
msgstr ""

#: serverguide/C/web-servers.xml:1154(title)
msgid "Using private instances"
msgstr ""

#: serverguide/C/web-servers.xml:1155(para)
msgid ""
"Tomcat is heavily used in development and testing scenarios where using a "
"single system-wide instance doesn't meet the requirements of multiple users "
"on a single system. The Tomcat 6.0 packages in Ubuntu come with tools to "
"help deploy your own user-oriented instances, allowing every user on a "
"system to run (without root rights) separate private instances while still "
"using the system-installed libraries."
msgstr ""

#: serverguide/C/web-servers.xml:1162(para)
msgid ""
"It is possible to run the system-wide instance and the private instances in "
"parallel, as long as they do not use the same TCP ports."
msgstr ""

#: serverguide/C/web-servers.xml:1166(title)
msgid "Installing private instance support"
msgstr ""

#: serverguide/C/web-servers.xml:1167(para)
msgid ""
"You can install everything necessary to run private instances by entering "
"the following command in the terminal prompt:"
msgstr ""

#: serverguide/C/web-servers.xml:1170(command)
msgid "sudo apt-get install tomcat6-user"
msgstr ""

#: serverguide/C/web-servers.xml:1174(title)
msgid "Creating a private instance"
msgstr ""

#: serverguide/C/web-servers.xml:1175(para)
msgid ""
"You can create a private instance directory by entering the following "
"command in the terminal prompt:"
msgstr ""

#: serverguide/C/web-servers.xml:1178(command)
msgid "tomcat6-instance-create my-instance"
msgstr ""

#: serverguide/C/web-servers.xml:1180(para)
msgid ""
"This will create a new <filename>my-instance</filename> directory with all "
"the necessary subdirectories and scripts. You can for example install your "
"common libraries in the <filename>lib/</filename> subdirectory and deploy "
"your webapps in the <filename>webapps/</filename> subdirectory. No webapps "
"are deployed by default."
msgstr ""

#: serverguide/C/web-servers.xml:1188(title)
msgid "Configuring your private instance"
msgstr ""

#: serverguide/C/web-servers.xml:1189(para)
msgid ""
"You will find the classic Tomcat configuration files for your private "
"instance in the <filename>conf/</filename> subdirectory. You should for "
"example certainly edit the <filename>conf/server.xml</filename> file to "
"change the default ports used by your private Tomcat instance to avoid "
"conflict with other instances that might be running."
msgstr ""

#: serverguide/C/web-servers.xml:1197(title)
msgid "Starting/stopping your private instance"
msgstr ""

#: serverguide/C/web-servers.xml:1198(para)
msgid ""
"You can start your private instance by entering the following command in the "
"terminal prompt (supposing your instance is located in the <filename>my-"
"instance</filename> directory):"
msgstr ""

#: serverguide/C/web-servers.xml:1202(command)
msgid "my-instance/bin/startup.sh"
msgstr ""

#: serverguide/C/web-servers.xml:1204(para)
msgid ""
"You should check the <filename>logs/</filename> subdirectory for any error. "
"If you have a <emphasis>java.net.BindException: Address already in "
"use&lt;null&gt;:8080</emphasis> error, it means that the port you're using "
"is already taken and that you should change it."
msgstr ""

#: serverguide/C/web-servers.xml:1209(para)
msgid ""
"You can stop your instance by entering the following command in the terminal "
"prompt (supposing your instance is located in the <filename>my-"
"instance</filename> directory):"
msgstr ""

#: serverguide/C/web-servers.xml:1213(command)
msgid "my-instance/bin/shutdown.sh"
msgstr ""

#: serverguide/C/web-servers.xml:1222(para)
msgid ""
"See the <ulink url=\"http://tomcat.apache.org/\">Apache Tomcat</ulink> "
"website for more information."
msgstr ""

#: serverguide/C/web-servers.xml:1227(para)
msgid ""
"<ulink url=\"http://oreilly.com/catalog/9780596003180/\">Tomcat: The "
"Definitive Guide</ulink> is a good resource for building web applications "
"with Tomcat."
msgstr ""

#: serverguide/C/web-servers.xml:1233(para)
msgid ""
"For additional books see the <ulink "
"url=\"http://wiki.apache.org/tomcat/Tomcat/Books\">Tomcat Books</ulink> list "
"page."
msgstr ""

#: serverguide/C/virtualization.xml:13(title)
msgid "Virtualization"
msgstr ""

#: serverguide/C/virtualization.xml:14(para)
msgid ""
"Virtualization is being adopted in many different environments and "
"situations. If you are a developer, virtualization can provide you with a "
"contained environment where you can safely do almost any sort of development "
"safe from messing up your main working environment. If you are a systems "
"administrator, you can use virtualization to more easily separate your "
"services and move them around based on demand."
msgstr ""

#: serverguide/C/virtualization.xml:20(para)
msgid ""
"The default virtualization technology supported in Ubuntu is "
"<application>KVM</application>, a technology that takes advantage of "
"virtualization extensions built into Intel and AMD hardware. For hardware "
"without virtualization extensions <application>Xen</application> and "
"<application>Qemu</application> are popular solutions."
msgstr ""

#: serverguide/C/virtualization.xml:27(title)
msgid "libvirt"
msgstr ""

#: serverguide/C/virtualization.xml:28(para)
msgid ""
"The <application>libvirt</application> library is used to interface with "
"different virtualization technologies. Before getting started with "
"<application>libvirt</application> it is best to make sure your hardware "
"supports the necessary virtualization extensions for "
"<application>KVM</application>. Enter the following from a terminal prompt:"
msgstr ""

#: serverguide/C/virtualization.xml:34(command)
msgid "egrep '(vmx|svm)' /proc/cpuinfo"
msgstr ""

#: serverguide/C/virtualization.xml:36(para)
msgid ""
"If nothing is printed, it means that your cpu does <emphasis>not</emphasis> "
"support hardware virtualization."
msgstr ""

#: serverguide/C/virtualization.xml:40(para)
msgid ""
"On most computer whose processor supports virtualization, it is necessary to "
"activate an option in the bios to enable it. The method described above does "
"not show the status of it's activation."
msgstr ""

#: serverguide/C/virtualization.xml:47(title)
msgid "Virtual Networking"
msgstr ""

#: serverguide/C/virtualization.xml:49(para)
msgid ""
"There are a few different ways to allow a virtual machine access to the "
"external network. The default virtual network configuration is "
"<emphasis>usermode</emphasis> networking, which uses the SLIRP protocol and "
"traffic is NATed through the host interface to the outside network."
msgstr ""

#: serverguide/C/virtualization.xml:54(para)
msgid ""
"To enable external hosts to directly access services on virtual machines a "
"<emphasis>bridge</emphasis> needs to be configured. This allows the virtual "
"interfaces to connect to the outside network through the physical interface, "
"making them appear as normal hosts to the rest of the network. For "
"information on setting up a bridge see <xref linkend=\"bridging\"/>."
msgstr ""

#: serverguide/C/virtualization.xml:63(para)
msgid "To install the necessary packages, from a terminal prompt enter:"
msgstr ""

#: serverguide/C/virtualization.xml:67(command)
msgid "sudo apt-get install kvm libvirt-bin"
msgstr ""

#: serverguide/C/virtualization.xml:69(para)
msgid ""
"After installing <application>libvirt-bin</application>, the user used to "
"manage virtual machines will need to be added to the "
"<emphasis>libvirtd</emphasis> group. Doing so will grant the user access to "
"the advanced networking options."
msgstr ""

#: serverguide/C/virtualization.xml:73(para)
msgid "In a terminal enter:"
msgstr ""

#: serverguide/C/virtualization.xml:77(command)
msgid "sudo adduser $USER libvirtd"
msgstr ""

#: serverguide/C/virtualization.xml:80(para)
msgid ""
"If the user chosen is the current user, you will need to log out and back in "
"for the new group membership to take effect."
msgstr ""

#: serverguide/C/virtualization.xml:84(para)
msgid ""
"You are now ready to install a <emphasis>Guest</emphasis> operating system. "
"Installing a virtual machine follows the same process as installing the "
"operating system directly on the hardware. You either need a way to automate "
"the installation, or a keyboard and monitor will need to be attached to the "
"physical machine."
msgstr ""

#: serverguide/C/virtualization.xml:89(para)
msgid ""
"In the case of virtual machines a Graphical User Interface (GUI) is "
"analogous to using a physical keyboard and mouse. Instead of installing a "
"GUI the <application>virt-viewer</application> application can be used to "
"connect to a virtual machine's console using <application>VNC</application>. "
"See <xref linkend=\"libvirt-virt-viewer\"/> for more information."
msgstr ""

#: serverguide/C/virtualization.xml:94(para)
msgid ""
"There are several ways to automate the Ubuntu installation process, for "
"example using preseeds, kickstart, etc. Refer to the <ulink "
"url=\"https://help.ubuntu.com/9.04/installation-guide/\">Ubuntu Installation "
"Guide</ulink> for details."
msgstr ""

#: serverguide/C/virtualization.xml:98(para)
msgid ""
"Yet another way to install an Ubuntu virtual machine is to use "
"<application>ubuntu-vm-builder</application>. <application>ubuntu-vm-"
"builder</application> allows you to setup advanced partitions, execute "
"custom post-install scripts, etc. For details see <xref linkend=\"jeos-and-"
"vmbuilder\"/>"
msgstr ""

#: serverguide/C/virtualization.xml:104(title)
msgid "virt-install"
msgstr ""

#: serverguide/C/virtualization.xml:105(para)
msgid ""
"<application>virt-install</application> is part of the <application>python-"
"virtinst</application> package. To install it, from a terminal prompt enter:"
msgstr ""

#: serverguide/C/virtualization.xml:109(command)
msgid "sudo apt-get install python-virtinst"
msgstr ""

#: serverguide/C/virtualization.xml:111(para)
msgid ""
"There are several options available when using <application>virt-"
"install</application>. For example:"
msgstr ""

#: serverguide/C/virtualization.xml:115(command)
msgid ""
"sudo virt-install -n web_devel -r 256 -f web_devel.img \\ -s 4 -c jeos.iso --"
"accelerate \\ --connect=qemu:///system --vnc \\ --noautoconsole -v"
msgstr ""

#: serverguide/C/virtualization.xml:122(para)
msgid ""
"<emphasis>-n web_devel:</emphasis> the name of the new virtual machine will "
"be <emphasis>web_devel</emphasis> in this example."
msgstr ""

#: serverguide/C/virtualization.xml:127(para)
msgid ""
"<emphasis>-r 256:</emphasis> specifies the amount of memory the virtual "
"machine will use."
msgstr ""

#: serverguide/C/virtualization.xml:132(para)
msgid ""
"<emphasis>-f web_devel.img:</emphasis> indicates the path to the virtual "
"disk which can be a file, partition, or logical volume. In this example a "
"file named <filename>web_devel.img</filename>."
msgstr ""

#: serverguide/C/virtualization.xml:138(para)
msgid "<emphasis>-s 4:</emphasis> the size of the virtual disk."
msgstr ""

#: serverguide/C/virtualization.xml:143(para)
msgid ""
"<emphasis>-c jeos.iso:</emphasis> file to be used as a virtual CDROM. The "
"file can be either an ISO file or the path to the host's CDROM device."
msgstr ""

#: serverguide/C/virtualization.xml:149(para)
msgid ""
"<emphasis>--accelerate:</emphasis> enables the kernel's acceleration "
"technologies."
msgstr ""

#: serverguide/C/virtualization.xml:154(para)
msgid ""
"<emphasis>--vnc:</emphasis> exports the guest's virtual console using VNC."
msgstr ""

#: serverguide/C/virtualization.xml:159(para)
msgid ""
"<emphasis>--noautoconsole:</emphasis> will not automatically connect to the "
"virtual machine's console."
msgstr ""

#: serverguide/C/virtualization.xml:164(para)
msgid "<emphasis>-v:</emphasis> creates a fully virtualized guest."
msgstr ""

#: serverguide/C/virtualization.xml:169(para)
msgid ""
"After launching <application>virt-install</application> you can connect to "
"the virtual machine's console either locally using a GUI or with the "
"<application>virt-viewer</application> utility."
msgstr ""

#: serverguide/C/virtualization.xml:175(title)
msgid "virt-clone"
msgstr ""

#: serverguide/C/virtualization.xml:176(para)
msgid ""
"The <application>virt-clone</application> application can be used to copy "
"one virtual machine to another. For example:"
msgstr ""

#: serverguide/C/virtualization.xml:180(command)
msgid ""
"sudo virt-clone -o web_devel -n database_devel -f "
"/path/to/database_devel.img --connect=qemu:///system"
msgstr ""

#: serverguide/C/virtualization.xml:184(para)
msgid "<emphasis>-o:</emphasis> original virtual machine."
msgstr ""

#: serverguide/C/virtualization.xml:189(para)
msgid "<emphasis>-n:</emphasis> name of the new virtual machine."
msgstr ""

#: serverguide/C/virtualization.xml:194(para)
msgid ""
"<emphasis>-f:</emphasis> path to the file, logical volume, or partition to "
"be used by the new virtual machine."
msgstr ""

#: serverguide/C/virtualization.xml:199(para)
msgid ""
"<emphasis>--connect:</emphasis> specifies which hypervisor to connect to."
msgstr ""

#: serverguide/C/virtualization.xml:204(para)
msgid ""
"Also, use <emphasis>-d</emphasis> or <emphasis>--debug</emphasis> option to "
"help troubleshoot problems with <application>virt-clone</application>."
msgstr ""

#: serverguide/C/virtualization.xml:209(para)
msgid ""
"Replace <emphasis>web_devel</emphasis> and "
"<emphasis>database_devel</emphasis> with appropriate virtual machine names."
msgstr ""

#: serverguide/C/virtualization.xml:215(title)
msgid "Virtual Machine Management"
msgstr ""

#: serverguide/C/virtualization.xml:217(title)
msgid "virsh"
msgstr ""

#: serverguide/C/virtualization.xml:218(para)
msgid ""
"There are several utilities available to manage virtual machines and "
"<application>libvirt</application>. The <application>virsh</application> "
"utility can be used from the command line. Some examples:"
msgstr ""

#: serverguide/C/virtualization.xml:224(para)
msgid "To list running virtual machines:"
msgstr ""

#: serverguide/C/virtualization.xml:228(command)
msgid "virsh -c qemu:///system list"
msgstr ""

#: serverguide/C/virtualization.xml:232(para)
msgid "To start a virtual machine:"
msgstr ""

#: serverguide/C/virtualization.xml:236(command)
msgid "virsh -c qemu:///system start web_devel"
msgstr ""

#: serverguide/C/virtualization.xml:240(para)
msgid "Similarly, to start a virtual machine at boot:"
msgstr ""

#: serverguide/C/virtualization.xml:244(command)
msgid "virsh -c qemu:///system autostart web_devel"
msgstr ""

#: serverguide/C/virtualization.xml:248(para)
msgid "Reboot a virtual machine with:"
msgstr ""

#: serverguide/C/virtualization.xml:252(command)
msgid "virsh -c qemu:///system reboot web_devel"
msgstr ""

#: serverguide/C/virtualization.xml:256(para)
msgid ""
"The <emphasis>state</emphasis> of virtual machines can be saved to a file in "
"order to be restored later. The following will save the virtual machine "
"state into a file named according to the date:"
msgstr ""

#: serverguide/C/virtualization.xml:261(command)
msgid "virsh -c qemu:///system save web_devel web_devel-022708.state"
msgstr ""

#: serverguide/C/virtualization.xml:263(para)
msgid "Once saved the virtual machine will no longer be running."
msgstr ""

#: serverguide/C/virtualization.xml:268(para)
msgid "A saved virtual machine can be restored using:"
msgstr ""

#: serverguide/C/virtualization.xml:272(command)
msgid "virsh -c qemu:///system restore web_devel-022708.state"
msgstr ""

#: serverguide/C/virtualization.xml:276(para)
msgid "To shutdown a virtual machine do:"
msgstr ""

#: serverguide/C/virtualization.xml:280(command)
msgid "virsh -c qemu:///system shutdown web_devel"
msgstr ""

#: serverguide/C/virtualization.xml:284(para)
msgid "A CDROM device can be mounted in a virtual machine by entering:"
msgstr ""

#: serverguide/C/virtualization.xml:288(command)
msgid "virsh -c qemu:///system attach-disk web_devel /dev/cdrom /media/cdrom"
msgstr ""

#: serverguide/C/virtualization.xml:293(para)
msgid ""
"In the above examples replace <emphasis>web_devel</emphasis> with the "
"appropriate virtual machine name, and <filename>web_devel-"
"022708.state</filename> with a descriptive file name."
msgstr ""

#: serverguide/C/virtualization.xml:300(title)
msgid "Virtual Machine Manager"
msgstr ""

#: serverguide/C/virtualization.xml:301(para)
msgid ""
"The <application>virt-manager</application> package contains a graphical "
"utility to manage local and remote virtual machines. To install virt-manager "
"enter:"
msgstr ""

#: serverguide/C/virtualization.xml:306(command)
msgid "sudo apt-get install virt-manager"
msgstr ""

#: serverguide/C/virtualization.xml:308(para)
msgid ""
"Since <application>virt-manager</application> requires a Graphical User "
"Interface (GUI) environment it is recommended to be installed on a "
"workstation or test machine instead of a production server. To connect to "
"the local <application>libvirt</application> service enter:"
msgstr ""

#: serverguide/C/virtualization.xml:314(command)
msgid "virt-manager -c qemu:///system"
msgstr ""

#: serverguide/C/virtualization.xml:316(para)
msgid ""
"You can connect to the <application>libvirt</application> service running on "
"another host by entering the following in a terminal prompt:"
msgstr ""

#: serverguide/C/virtualization.xml:320(command)
msgid "virt-manager -c qemu+ssh://virtnode1.mydomain.com/system"
msgstr ""

#: serverguide/C/virtualization.xml:323(para)
msgid ""
"The above example assumes that <application>SSH</application> connectivity "
"between the management system and virtnode1.mydomain.com has already been "
"configured, and uses SSH keys for authentication. SSH "
"<emphasis>keys</emphasis> are needed because "
"<application>libvirt</application> sends the password prompt to another "
"process. For details on configuring <application>SSH</application> see <xref "
"linkend=\"openssh-server\"/>"
msgstr ""

#: serverguide/C/virtualization.xml:333(title)
msgid "Virtual Machine Viewer"
msgstr ""

#: serverguide/C/virtualization.xml:334(para)
msgid ""
"The <application>virt-viewer</application> application allows you to connect "
"to a virtual machine's console. <application>virt-viewer</application> does "
"require a Graphical User Interface (GUI) to interface with the virtual "
"machine."
msgstr ""

#: serverguide/C/virtualization.xml:338(para)
msgid ""
"To install <application>virt-viewer</application> from a terminal enter:"
msgstr ""

#: serverguide/C/virtualization.xml:342(command)
msgid "sudo apt-get install virt-viewer"
msgstr ""

#: serverguide/C/virtualization.xml:344(para)
msgid ""
"Once a virtual machine is installed and running you can connect to the "
"virtual machine's console by using:"
msgstr ""

#: serverguide/C/virtualization.xml:348(command)
msgid "virt-viewer -c qemu:///system web_devel"
msgstr ""

#: serverguide/C/virtualization.xml:350(para)
msgid ""
"Similar to <application>virt-manager</application>, <application>virt-"
"viewer</application> can connect to a remote host using "
"<emphasis>SSH</emphasis> with key authentication, as well:"
msgstr ""

#: serverguide/C/virtualization.xml:355(command)
msgid "virt-viewer -c qemu+ssh://virtnode1.mydomain.com/system web_devel"
msgstr ""

#: serverguide/C/virtualization.xml:357(para)
msgid ""
"Be sure to replace <emphasis role=\"italic\">web_devel</emphasis> with the "
"appropriate virtual machine name."
msgstr ""

#: serverguide/C/virtualization.xml:360(para)
msgid ""
"If configured to use a <emphasis>bridged</emphasis> network interface you "
"can also setup <application>SSH</application> access to the virtual machine. "
"See <xref linkend=\"openssh-server\"/> and <xref linkend=\"bridging\"/> for "
"more details."
msgstr ""

#: serverguide/C/virtualization.xml:369(para)
msgid ""
"See the <ulink url=\"http://kvm.qumranet.com/kvmwiki\">KVM</ulink> home page "
"for more details."
msgstr ""

#: serverguide/C/virtualization.xml:374(para)
msgid ""
"For more information on <application>libvirt</application> see the <ulink "
"url=\"http://libvirt.org/\">libvirt home page</ulink>"
msgstr ""

#: serverguide/C/virtualization.xml:379(para)
msgid ""
"The <ulink url=\"http://virt-manager.et.redhat.com/\">Virtual Machine "
"Manager</ulink> site has more information on <application>virt-"
"manager</application> development."
msgstr ""

#: serverguide/C/virtualization.xml:385(para)
msgid ""
"Also, stop by the <emphasis>#ubuntu-virt</emphasis> IRC channel on <ulink "
"url=\"http://freenode.net/\">freenode</ulink> to discuss virtualization "
"technology in Ubuntu."
msgstr ""

#: serverguide/C/virtualization.xml:394(title) serverguide/C/jeos.xml:13(title)
msgid "JeOS and vmbuilder"
msgstr ""

#: serverguide/C/virtualization.xml:400(title) serverguide/C/jeos.xml:19(title)
msgid "What is JeOS"
msgstr ""

#: serverguide/C/virtualization.xml:402(para) serverguide/C/jeos.xml:21(para)
msgid ""
"Ubuntu <emphasis>JeOS</emphasis> (pronounced \"Juice\") is an efficient "
"variant of the Ubuntu Server operating system, configured specifically for "
"virtual appliances. No longer available as a CD-ROM ISO for download, but "
"only as an option either:"
msgstr ""

#: serverguide/C/virtualization.xml:409(para)
msgid ""
"While installing from the Server Edition ISO (pressing "
"<emphasis>F4</emphasis> on the first screen will allow you to pick \"Minimal "
"installation\", which is the package selection equivalent to JeOS)."
msgstr ""

#: serverguide/C/virtualization.xml:415(para) serverguide/C/jeos.xml:34(para)
msgid "Or to be built using Ubuntu's vmbuilder, which is described here."
msgstr ""

#: serverguide/C/virtualization.xml:421(para) serverguide/C/jeos.xml:40(para)
msgid ""
"JeOS is a specialized installation of Ubuntu Server Edition with a tuned "
"kernel that only contains the base elements needed to run within a "
"virtualized environment."
msgstr ""

#: serverguide/C/virtualization.xml:426(para) serverguide/C/jeos.xml:45(para)
msgid ""
"Ubuntu JeOS has been tuned to take advantage of key performance technologies "
"in the latest virtualization products from VMware. This combination of "
"reduced size and optimized performance ensures that Ubuntu JeOS Edition "
"delivers a highly efficient use of server resources in large virtual "
"deployments."
msgstr ""

#: serverguide/C/virtualization.xml:432(para) serverguide/C/jeos.xml:51(para)
msgid ""
"Without unnecessary drivers, and only the minimal required packages, ISVs "
"can configure their supporting OS exactly as they require. They have the "
"peace of mind that updates, whether for security or enhancement reasons, "
"will be limited to the bare minimum of what is required in their specific "
"environment. In turn, users deploying virtual appliances built on top of "
"JeOS will have to go through fewer updates and therefore less maintenance "
"than they would have had to with a standard full installation of a server."
msgstr ""

#: serverguide/C/virtualization.xml:441(title) serverguide/C/jeos.xml:60(title)
msgid "What is vmbuilder"
msgstr ""

#: serverguide/C/virtualization.xml:443(para) serverguide/C/jeos.xml:62(para)
msgid ""
"With vmbuilder, there is no need to download a JeOS ISO anymore. vmbuilder "
"will fetch the various package and build a virtual machine tailored for our "
"need in about a minute for us. Vmbuilder is a Script that automates the "
"process of creating a ready to use Linux based VM. The currently supported "
"hypervisors are KVM and Xen."
msgstr ""

#: serverguide/C/virtualization.xml:449(para) serverguide/C/jeos.xml:68(para)
msgid ""
"You can pass command line options to add extra packages, remove packages, "
"choose which version of Ubuntu, which mirror etc. On recent hardware with "
"plenty of RAM, tmpdir in <filename>/dev/shm</filename> or using a tmpfs, and "
"a local mirror, you can bootstrap a VM in less than a minute."
msgstr ""

#: serverguide/C/virtualization.xml:455(para) serverguide/C/jeos.xml:74(para)
msgid ""
"First introduced as a shell script in Ubuntu 8.04LTS, <application>ubuntu-vm-"
"builder</application> started with little emphasis as a hack to help "
"developers test their new code in a virtual machine without having to "
"restart from scratch each time. As a few Ubuntu administrators started to "
"notice this script, a few of them went on improving it and adapting it for "
"so many use case that Soren Hansen (the author of the script and Ubuntu "
"virtualization specialist, not the golf player) decided to rewrite it from "
"scratch for Intrepid as a python script with a few new design goals:"
msgstr ""

#: serverguide/C/virtualization.xml:465(para) serverguide/C/jeos.xml:84(para)
msgid "Develop it so that it can be reused by other distributions."
msgstr ""

#: serverguide/C/virtualization.xml:470(para) serverguide/C/jeos.xml:89(para)
msgid ""
"Use a plugin mechanisms for all virtualization interactions so that others "
"can easily add logic for other virtualization environments."
msgstr ""

#: serverguide/C/virtualization.xml:475(para) serverguide/C/jeos.xml:94(para)
msgid ""
"Provide an easy to maintain web interface as an option to the command line "
"interface."
msgstr ""

#: serverguide/C/virtualization.xml:481(para) serverguide/C/jeos.xml:100(para)
msgid "But the general principles and commands remain the same."
msgstr ""

#: serverguide/C/virtualization.xml:488(title) serverguide/C/jeos.xml:107(title)
msgid "Initial Setup"
msgstr ""

#: serverguide/C/virtualization.xml:490(para) serverguide/C/jeos.xml:109(para)
msgid ""
"It is assumed that you have installed and configured "
"<application>libvirt</application> and <application>KVM</application> "
"locally on the machine you are using. For details on how to perform this, "
"please refer to:"
msgstr ""

#: serverguide/C/virtualization.xml:502(para) serverguide/C/jeos.xml:121(para)
msgid ""
"The <ulink url=\"https://help.ubuntu.com/community/KVM\">KVM</ulink> Wiki "
"page."
msgstr ""

#: serverguide/C/virtualization.xml:508(para) serverguide/C/jeos.xml:127(para)
msgid ""
"We also assume that you know how to use a text based text editor such as "
"nano or vi. If you have not used any of them before, you can get an overview "
"of the various text editors available by reading the <ulink "
"url=\"https://help.ubuntu.com/community/PowerUsersTextEditors\">PowerUsersTex"
"tEditors</ulink> page. This tutorial has been done on KVM, but the general "
"principle should remain on other virtualization technologies."
msgstr ""

#: serverguide/C/virtualization.xml:516(title) serverguide/C/jeos.xml:135(title)
msgid "Install vmbuilder"
msgstr ""

#: serverguide/C/virtualization.xml:518(para) serverguide/C/jeos.xml:137(para)
msgid ""
"The name of the package that we need to install is <application>python-vm-"
"builder</application>. In a terminal prompt enter:"
msgstr ""

#: serverguide/C/virtualization.xml:523(command) serverguide/C/jeos.xml:142(command)
msgid "sudo apt-get install python-vm-builder"
msgstr ""

#: serverguide/C/virtualization.xml:527(para) serverguide/C/jeos.xml:146(para)
msgid ""
"If you are running Hardy, you can still perform most of this using the older "
"version of the package named <application>ubuntu-vm-builder</application>, "
"there are only a few changes to the syntax of the tool."
msgstr ""

#: serverguide/C/virtualization.xml:536(title) serverguide/C/jeos.xml:155(title)
msgid "Defining Your Virtual Machine"
msgstr ""

#: serverguide/C/virtualization.xml:538(para) serverguide/C/jeos.xml:157(para)
msgid ""
"Defining a virtual machine with Ubuntu's vmbuilder is quite simple, but here "
"are a few thing to consider:"
msgstr ""

#: serverguide/C/virtualization.xml:544(para) serverguide/C/jeos.xml:163(para)
msgid ""
"If you plan on shipping a virtual appliance, do not assume that the end-user "
"will know how to extend disk size to fit their need, so either plan for a "
"large virtual disk to allow for your appliance to grow, or explain fairly "
"well in your documentation how to allocate more space. It might actually be "
"a good idea to store data on some separate external storage."
msgstr ""

#: serverguide/C/virtualization.xml:551(para) serverguide/C/jeos.xml:170(para)
msgid ""
"Given that RAM is much easier to allocate in a VM, RAM size should be set to "
"whatever you think is a safe minimum for your appliance."
msgstr ""

#: serverguide/C/virtualization.xml:557(para) serverguide/C/jeos.xml:176(para)
msgid ""
"The <application>vmbuilder</application> command has 2 main parameters: the "
"<emphasis>virtualization technology (hypervisor)</emphasis> and the targeted "
"<emphasis>distribution</emphasis>. Optional parameters are quite numerous "
"and can be found using the following command:"
msgstr ""

#: serverguide/C/virtualization.xml:563(command) serverguide/C/jeos.xml:182(command)
msgid "vmbuilder --help"
msgstr ""

#: serverguide/C/virtualization.xml:567(title) serverguide/C/jeos.xml:186(title)
msgid "Base Parameters"
msgstr ""

#: serverguide/C/virtualization.xml:569(para) serverguide/C/jeos.xml:188(para)
msgid ""
"As this example is based on <application>KVM</application> and Ubuntu 9.04 "
"(Jaunty Jackalope), and we are likely to rebuild the same virtual machine "
"multiple time, we'll invoke vmbuilder with the following first parameters:"
msgstr ""

#: serverguide/C/virtualization.xml:575(command) serverguide/C/jeos.xml:194(command)
msgid ""
"sudo vmbuilder kvm ubuntu --suite jaunty --flavour virtual --arch i386 -o --"
"libvirt qemu:///system"
msgstr ""

#: serverguide/C/virtualization.xml:578(para) serverguide/C/jeos.xml:197(para)
msgid ""
"The <emphasis>--suite</emphasis> defines the Ubuntu release, the <emphasis>--"
"flavour</emphasis> specifies that we want to use the virtual kernel (that's "
"the one used to build a JeOS image), the <emphasis>--arch</emphasis> tells "
"that we want to use a 32 bit machine, the <emphasis>-o</emphasis> tells "
"vmbuilder to overwrite the previous version of the VM and the <emphasis>--"
"libvirt</emphasis> tells to inform the local virtualization environment to "
"add the resulting VM to the list of available machines."
msgstr ""

#: serverguide/C/virtualization.xml:586(para) serverguide/C/jeos.xml:205(para)
msgid "Notes:"
msgstr ""

#: serverguide/C/virtualization.xml:592(para)
msgid ""
"Because of the nature of operations performed by vmbuilder, it needs to have "
"root privilege, hence the use of sudo."
msgstr ""

#: serverguide/C/virtualization.xml:597(para) serverguide/C/jeos.xml:216(para)
msgid ""
"If your virtual machine needs to use more than 3Gb of ram, you should build "
"a 64 bit machine (--arch amd64)."
msgstr ""

#: serverguide/C/virtualization.xml:602(para) serverguide/C/jeos.xml:221(para)
msgid ""
"Until Ubuntu 8.10, the virtual kernel was only built for 32 bit "
"architecture, so if you want to define an amd64 machine on Hardy, you should "
"use <emphasis>--flavour</emphasis> server instead."
msgstr ""

#: serverguide/C/virtualization.xml:610(title) serverguide/C/jeos.xml:229(title)
msgid "JeOS Installation Parameters"
msgstr ""

#: serverguide/C/virtualization.xml:613(title) serverguide/C/jeos.xml:232(title)
msgid "JeOS Networking"
msgstr ""

#: serverguide/C/virtualization.xml:616(title) serverguide/C/jeos.xml:235(title)
msgid "Assigning a fixed IP address"
msgstr ""

#: serverguide/C/virtualization.xml:618(para) serverguide/C/jeos.xml:237(para)
msgid ""
"As a virtual appliance that may be deployed on various very different "
"networks, it is very difficult to know what the actual network will look "
"like. In order to simplify configuration, it is a good idea to take an "
"approach similar to what network hardware vendors usually do, namely "
"assigning an initial fixed IP address to the appliance in a private class "
"network that you will provide in your documentation. An address in the range "
"192.168.0.0/255 is usually a good choice."
msgstr ""

#: serverguide/C/virtualization.xml:625(para) serverguide/C/jeos.xml:244(para)
msgid "To do this we'll use the following parameters:"
msgstr ""

#: serverguide/C/virtualization.xml:631(para) serverguide/C/jeos.xml:250(para)
msgid ""
"<emphasis>--ip ADDRESS</emphasis>: IP address in dotted form (defaults to "
"dhcp if not specified)"
msgstr ""

#: serverguide/C/virtualization.xml:636(para) serverguide/C/jeos.xml:255(para)
msgid ""
"<emphasis>--mask VALUE</emphasis>: IP mask in dotted form (default: "
"255.255.255.0)"
msgstr ""

#: serverguide/C/virtualization.xml:641(para) serverguide/C/jeos.xml:260(para)
msgid "<emphasis>--net VALUE</emphasis>: IP net address (default: X.X.X.0)"
msgstr ""

#: serverguide/C/virtualization.xml:646(para) serverguide/C/jeos.xml:265(para)
msgid "<emphasis>--bcast VALUE</emphasis>: IP broadcast (default: X.X.X.255)"
msgstr ""

#: serverguide/C/virtualization.xml:651(para) serverguide/C/jeos.xml:270(para)
msgid "<emphasis>--gw ADDRESS</emphasis>: Gateway address (default: X.X.X.1)"
msgstr ""

#: serverguide/C/virtualization.xml:656(para) serverguide/C/jeos.xml:275(para)
msgid ""
"<emphasis>--dns ADDRESS</emphasis>: Name server address (default: X.X.X.1)"
msgstr ""

#: serverguide/C/virtualization.xml:662(para) serverguide/C/jeos.xml:281(para)
msgid ""
"We assume for now that default values are good enough, so the resulting "
"invocation becomes:"
msgstr ""

#: serverguide/C/virtualization.xml:667(command) serverguide/C/jeos.xml:286(command)
msgid ""
"sudo vmbuilder kvm ubuntu --suite jaunty --flavour virtual --arch i386 -o --"
"libvirt qemu:///system --ip 192.168.0.100"
msgstr ""

#: serverguide/C/virtualization.xml:672(title) serverguide/C/jeos.xml:291(title)
msgid "Modifying the libvirt Template to use Bridging"
msgstr ""

#: serverguide/C/virtualization.xml:674(para) serverguide/C/jeos.xml:293(para)
msgid ""
"Because our appliance will be likely to need to be accessed by remote hosts, "
"we need to configure libvirt so that the appliance uses bridge networking. "
"To do this we use vmbuilder template mechanism to modify the default one."
msgstr ""

#: serverguide/C/virtualization.xml:679(para) serverguide/C/jeos.xml:298(para)
msgid ""
"In our working directory we create the template hierarchy and copy the "
"default template:"
msgstr ""

#: serverguide/C/virtualization.xml:684(command) serverguide/C/jeos.xml:303(command)
msgid "mkdir -p VMBuilder/plugins/libvirt/templates"
msgstr ""

#: serverguide/C/virtualization.xml:685(command) serverguide/C/jeos.xml:304(command)
msgid "cp /etc/vmbuilder/libvirt/* VMBuilder/plugins/libvirt/templates/"
msgstr ""

#: serverguide/C/virtualization.xml:688(para) serverguide/C/jeos.xml:307(para)
msgid ""
"We can then edit "
"<filename>VMBuilder/plugins/libvirt/templates/libvirtxml.tmpl</filename> to "
"change:"
msgstr ""

#: serverguide/C/virtualization.xml:692(programlisting) serverguide/C/jeos.xml:311(programlisting)
#, no-wrap
msgid ""
"\n"
"          &lt;interface type='network'&gt;\n"
"            &lt;source network='default'/&gt;\n"
"          &lt;/interface&gt;\n"
msgstr ""

#: serverguide/C/virtualization.xml:698(para) serverguide/C/jeos.xml:317(para)
msgid "To:"
msgstr ""

#: serverguide/C/virtualization.xml:702(programlisting)
#, no-wrap
msgid ""
"\n"
"          &lt;interface type='bridge'&gt;\n"
"            &lt;source bridge='br0'/&gt;\n"
"          &lt;/interface&gt;\n"
msgstr ""

#: serverguide/C/virtualization.xml:712(title) serverguide/C/jeos.xml:331(title) serverguide/C/installation.xml:406(title)
msgid "Partitioning"
msgstr ""

#: serverguide/C/virtualization.xml:714(para) serverguide/C/jeos.xml:333(para)
msgid ""
"Partitioning of the virtual appliance will have to take into consideration "
"what you are planning to do with is. Because most appliances want to have a "
"separate storage for data, having a separate <filename>/var</filename> would "
"make sense."
msgstr ""

#: serverguide/C/virtualization.xml:719(para) serverguide/C/jeos.xml:338(para)
msgid ""
"In order to do this vmbuilder provides us with <emphasis>--part</emphasis>:"
msgstr ""

#: serverguide/C/virtualization.xml:723(programlisting) serverguide/C/jeos.xml:342(programlisting)
#, no-wrap
msgid ""
"\n"
"--part PATH\n"
"  Allows to specify a partition table in partfile each  line  of  partfile  "
"should  specify\n"
"  (root first):\n"
"      mountpoint size\n"
"  where  size  is  in megabytes. You can have up to 4 virtual disks, a new "
"disk starts on a\n"
"  line with ’---’.  ie :\n"
"      root 1000\n"
"      /opt 1000\n"
"      swap 256\n"
"      ---\n"
"      /var 2000\n"
"      /log 1500\n"
msgstr ""

#: serverguide/C/virtualization.xml:738(para) serverguide/C/jeos.xml:357(para)
msgid ""
"In our case we will define a text file name "
"<filename>vmbuilder.partition</filename> which will contain the following:"
msgstr ""

#: serverguide/C/virtualization.xml:742(programlisting) serverguide/C/jeos.xml:361(programlisting)
#, no-wrap
msgid ""
"\n"
"root 8000\n"
"swap 4000\n"
"---\n"
"/var 20000\n"
msgstr ""

#: serverguide/C/virtualization.xml:750(para) serverguide/C/jeos.xml:369(para)
msgid ""
"Note that as we are using virtual disk images, the actual sizes that we put "
"here are maximum sizes for these volumes."
msgstr ""

#: serverguide/C/virtualization.xml:755(para) serverguide/C/jeos.xml:374(para)
msgid "Our command line now looks like:"
msgstr ""

#: serverguide/C/virtualization.xml:760(command) serverguide/C/jeos.xml:379(command)
msgid ""
"sudo vmbuilder kvm ubuntu --suite jaunty --flavour virtual --arch i386 \\ -o "
"--libvirt qemu:///system --ip 192.168.0.100 --part vmbuilder.partition"
msgstr ""

#: serverguide/C/virtualization.xml:765(para) serverguide/C/jeos.xml:384(para)
msgid ""
"Using a \"\\\" in a command will allow long command strings to wrap to the "
"next line."
msgstr ""

#: serverguide/C/virtualization.xml:772(title) serverguide/C/jeos.xml:391(title)
msgid "User and Password"
msgstr ""

#: serverguide/C/virtualization.xml:774(para) serverguide/C/jeos.xml:393(para)
msgid ""
"Again setting up a virtual appliance, you will need to provide a default "
"user and password that is generic so that you can include it in your "
"documentation. We will see later on in this tutorial how we will provide "
"some security by defining a script that will be run the first time a user "
"actually logs in the appliance, that will, among other things, ask him to "
"change his password. In this example I will use <emphasis>'user'</emphasis> "
"as my user name, and <emphasis>'default'</emphasis> as the password."
msgstr ""

#: serverguide/C/virtualization.xml:782(para) serverguide/C/jeos.xml:401(para)
msgid "To do this we use the following optional parameters:"
msgstr ""

#: serverguide/C/virtualization.xml:788(para) serverguide/C/jeos.xml:407(para)
msgid ""
"<emphasis>--user USERNAME:</emphasis> Sets the name of the user to be added. "
"Default: ubuntu."
msgstr ""

#: serverguide/C/virtualization.xml:793(para) serverguide/C/jeos.xml:412(para)
msgid ""
"<emphasis>--name FULLNAME:</emphasis> Sets the full name of the user to be "
"added. Default: Ubuntu."
msgstr ""

#: serverguide/C/virtualization.xml:798(para) serverguide/C/jeos.xml:417(para)
msgid ""
"<emphasis>--pass PASSWORD:</emphasis> Sets the password for the user. "
"Default: ubuntu."
msgstr ""

#: serverguide/C/virtualization.xml:804(para) serverguide/C/jeos.xml:423(para)
msgid "Our resulting command line becomes:"
msgstr ""

#: serverguide/C/virtualization.xml:809(command) serverguide/C/jeos.xml:428(command)
msgid ""
"sudo vmbuilder kvm ubuntu --suite intrepid --flavour virtual --arch i386 \\ -"
"o --libvirt qemu:///system --ip 192.168.0.100 --part vmbuilder.partition \\ -"
"-user user --name user --pass default"
msgstr ""

#: serverguide/C/virtualization.xml:817(title) serverguide/C/jeos.xml:436(title)
msgid "Installing Required Packages"
msgstr ""

#: serverguide/C/virtualization.xml:819(para) serverguide/C/jeos.xml:438(para)
msgid ""
"In this example we will be installing a package "
"<application>(Limesurvey)</application> that accesses a "
"<application>MySQL</application> database and has a web interface. We will "
"therefore require our OS to provide us with:"
msgstr ""

#: serverguide/C/virtualization.xml:826(para) serverguide/C/jeos.xml:445(para)
msgid "Apache"
msgstr ""

#: serverguide/C/virtualization.xml:827(para) serverguide/C/jeos.xml:446(para)
msgid "PHP"
msgstr ""

#: serverguide/C/virtualization.xml:828(para) serverguide/C/jeos.xml:447(para) serverguide/C/databases.xml:19(trademark) serverguide/C/databases.xml:31(title)
msgid "MySQL"
msgstr ""

#: serverguide/C/virtualization.xml:829(para) serverguide/C/remote-administration.xml:20(title) serverguide/C/jeos.xml:448(para)
msgid "OpenSSH Server"
msgstr ""

#: serverguide/C/virtualization.xml:830(para) serverguide/C/jeos.xml:449(para)
msgid "Limesurvey (as an example application that we have packaged)"
msgstr ""

#: serverguide/C/virtualization.xml:833(para) serverguide/C/jeos.xml:452(para)
msgid ""
"This is done using vmbuilder by specifying the --addpkg command multiple "
"times:"
msgstr ""

#: serverguide/C/virtualization.xml:837(programlisting) serverguide/C/jeos.xml:456(programlisting)
#, no-wrap
msgid ""
"\n"
"--addpkg PKG\n"
"  Install PKG into the guest (can be specfied multiple times)\n"
msgstr ""

#: serverguide/C/virtualization.xml:842(para) serverguide/C/jeos.xml:461(para)
msgid ""
"However, due to the way vmbuilder operates, packages that have to ask "
"questions to the user during the post install phase are not supported and "
"should instead be installed while interactivity can occur. This is the case "
"of Limesurvey, which we will have to install later, once the user logs in."
msgstr ""

#: serverguide/C/virtualization.xml:848(para) serverguide/C/jeos.xml:467(para)
msgid ""
"Other packages that ask simple debconf question, such as <application>mysql-"
"server</application> asking to set a password, the package can be installed "
"immediately, but we will have to reconfigure it the first time the user logs "
"in."
msgstr ""

#: serverguide/C/virtualization.xml:854(para) serverguide/C/jeos.xml:473(para)
msgid ""
"If some packages that we need to install are not in main, we need to enable "
"the additional repositories using --comp and --ppa:"
msgstr ""

#: serverguide/C/virtualization.xml:858(programlisting) serverguide/C/jeos.xml:477(programlisting)
#, no-wrap
msgid ""
"\n"
"--components COMP1,COMP2,...,COMPN\n"
"           A comma separated list of distro components to include (e.g. "
"main,universe). This defaults\n"
"           to \"main\"\n"
"--ppa=PPA  Add ppa belonging to PPA to the vm's sources.list.\n"
msgstr ""

#: serverguide/C/virtualization.xml:865(para) serverguide/C/jeos.xml:484(para)
msgid ""
"Limesurvey not being part of the archive at the moment, we'll specify it's "
"PPA (personal package archive) address so that it is added to the VM "
"<filename>/etc/apt/source.list</filename>, so we add the following options "
"to the command line:"
msgstr ""

#: serverguide/C/virtualization.xml:871(command) serverguide/C/jeos.xml:490(command)
msgid ""
"--addpkg apache2 --addpkg apache2-mpm-prefork --addpkg apache2-utils --"
"addpkg apache2.2-common \\ --addpkg dbconfig-common --addpkg libapache2-mod-"
"php5 --addpkg mysql-client --addpkg php5-cli \\ --addpkg php5-gd --addpkg "
"php5-ldap --addpkg php5-mysql --addpkg wwwconfig-common \\ --addpkg mysql-"
"server --ppa nijaba"
msgstr ""

#: serverguide/C/virtualization.xml:878(title) serverguide/C/jeos.xml:497(title)
msgid "OpenSSH"
msgstr ""

#: serverguide/C/virtualization.xml:880(para)
msgid ""
"Another convenient tool that we want to have on our appliance is OpenSSH, as "
"it will allow our admins to access the appliance remotely. However, pushing "
"in the wild an appliance with a pre-installed OpenSSH server is a big "
"security risk as all these server will share the same secret key, making it "
"very easy for hackers to target our appliance with all the tools they need "
"to crack it open in a breeze. As for the user password, we will instead rely "
"on a script that will install OpenSSH the first time a user logs in so that "
"the key generated will be different for each appliance. For this we'll use a "
"<emphasis>--firstboot</emphasis> script, as it does not need any user "
"interaction."
msgstr ""

#: serverguide/C/virtualization.xml:892(title) serverguide/C/jeos.xml:511(title)
msgid "Speed Considerations"
msgstr ""

#: serverguide/C/virtualization.xml:895(title) serverguide/C/jeos.xml:514(title)
msgid "Package Caching"
msgstr ""

#: serverguide/C/virtualization.xml:897(para) serverguide/C/jeos.xml:516(para)
msgid ""
"When vmbuilder creates builds your system, it has to go fetch each one of "
"the packages that composes it over the network to one of the official "
"repositories, which, depending on your internet connection speed and the "
"load of the mirror, can have a big impact on the actual build time. In order "
"to reduce this, it is recommended to either have a local repository (which "
"can be created using <application>apt-mirror</application>) or using a "
"caching proxy such as <application>apt-cache</application>. The later option "
"being much simpler to implement and requiring less disk space, it is the one "
"we will pick in this tutorial. To install it, simply type:"
msgstr ""

#: serverguide/C/virtualization.xml:907(command) serverguide/C/jeos.xml:526(command)
msgid "sudo apt-get install apt-proxy"
msgstr ""

#: serverguide/C/virtualization.xml:910(para) serverguide/C/jeos.xml:529(para)
msgid ""
"Once this is complete, your (empty) proxy is ready for use on "
"http://mirroraddress:9999 and will find ubuntu repository under /ubuntu. For "
"vmbuilder to use it, we'll have to use the <emphasis>--mirror</emphasis> "
"option:"
msgstr ""

#: serverguide/C/virtualization.xml:915(programlisting) serverguide/C/jeos.xml:534(programlisting)
#, no-wrap
msgid ""
"\n"
"--mirror=URL  Use Ubuntu mirror at URL instead of the default, which\n"
"              is http://archive.ubuntu.com/ubuntu for official\n"
"              arches and http://ports.ubuntu.com/ubuntu-ports\n"
"              otherwise\n"
msgstr ""

#: serverguide/C/virtualization.xml:922(para) serverguide/C/jeos.xml:541(para)
msgid "So we add to the command line:"
msgstr ""

#: serverguide/C/virtualization.xml:927(command) serverguide/C/jeos.xml:546(command)
msgid "--mirror http://mirroraddress:9999/ubuntu"
msgstr ""

#: serverguide/C/virtualization.xml:931(para) serverguide/C/jeos.xml:550(para)
msgid ""
"The mirror address specified here will also be used in the "
"<filename>/etc/apt/source.list</filename> of the newly created guest, so it "
"is usefull to specify here an address that can be resolved by the guest or "
"to plan on reseting this address later on, such as in a <emphasis>--"
"firstboot</emphasis> script."
msgstr ""

#: serverguide/C/virtualization.xml:940(title) serverguide/C/jeos.xml:559(title)
msgid "Install a Local Mirror"
msgstr ""

#: serverguide/C/virtualization.xml:942(para) serverguide/C/jeos.xml:561(para)
msgid ""
"If we are in a larger environment, it may make sense to setup a local mirror "
"of the Ubuntu repositories. The package apt-mirror provides you with a "
"script that will handle the mirroring for you. You should plan on having "
"about 20 gigabyte of free space per supported release and architecture."
msgstr ""

#: serverguide/C/virtualization.xml:948(para) serverguide/C/jeos.xml:567(para)
msgid ""
"By default, <application>apt-mirror</application> uses the configuration "
"file in <filename>/etc/apt/mirror.list</filename>. As it is set up, it will "
"replicate only the architecture of the local machine. If you would like to "
"support other architectures on your mirror, simply duplicate the lines "
"starting with “deb”, replacing the deb keyword by /deb-{arch} where arch can "
"be i386, amd64, etc... For example, on an amd64 machine, to have the i386 "
"archives as well, you will have:"
msgstr ""

#: serverguide/C/virtualization.xml:955(programlisting) serverguide/C/jeos.xml:574(programlisting)
#, no-wrap
msgid ""
"\n"
"deb  http://archive.ubuntu.com/ubuntu jaunty main restricted universe "
"multiverse \n"
"/deb-i386  http://archive.ubuntu.com/ubuntu jaunty main restricted universe "
"multiverse\n"
"\n"
"deb  http://archive.ubuntu.com/ubuntu jaunty-updates main restricted "
"universe multiverse \n"
"/deb-i386  http://archive.ubuntu.com/ubuntu jaunty-updates main restricted "
"universe multiverse \n"
"\n"
"deb http://archive.ubuntu.com/ubuntu/ jaunty-backports main restricted "
"universe multiverse \n"
"/deb-i386  http://archive.ubuntu.com/ubuntu jaunty-backports main restricted "
"universe multiverse \n"
"\n"
"deb http://security.ubuntu.com/ubuntu jaunty-security main restricted "
"universe multiverse \n"
"/deb-i386  http://security.ubuntu.com/ubuntu jaunty-security main restricted "
"universe multiverse \n"
"\n"
"deb http://archive.ubuntu.com/ubuntu jaunty main/debian-installer "
"restricted/debian-installer universe/debian-installer multiverse/debian-"
"installer \n"
"/deb-i386 http://archive.ubuntu.com/ubuntu jaunty main/debian-installer "
"restricted/debian-installer universe/debian-installer multiverse/debian-"
"installer \n"
msgstr ""

#: serverguide/C/virtualization.xml:972(para) serverguide/C/jeos.xml:591(para)
msgid ""
"Notice that the source packages are not mirrored as they are seldom used "
"compared to the binaries and they do take a lot more space, but they can be "
"easily added to the list."
msgstr ""

#: serverguide/C/virtualization.xml:977(para) serverguide/C/jeos.xml:596(para)
msgid ""
"Once the mirror has finished replicating (and this can be quite long), you "
"need to configure Apache so that your mirror files (in "
"<filename>/var/spool/apt-mirror</filename> if you did not change the "
"default), are published by your Apache server. For more information on "
"Apache see <xref linkend=\"httpd\"/>."
msgstr ""

#: serverguide/C/virtualization.xml:986(title) serverguide/C/jeos.xml:605(title)
msgid "Installing in a RAM Disk"
msgstr ""

#: serverguide/C/virtualization.xml:988(para) serverguide/C/jeos.xml:607(para)
msgid ""
"As you can easily imagine, writing to RAM is a <emphasis>LOT</emphasis> "
"faster than writing to disk. If you have some free memory, letting vmbuilder "
"perform its operation in a RAMdisk will help a lot and the option <emphasis>-"
"-tmpfs</emphasis> will help you do just that:"
msgstr ""

#: serverguide/C/virtualization.xml:994(programlisting) serverguide/C/jeos.xml:613(programlisting)
#, no-wrap
msgid ""
"\n"
"--tmpfs OPTS  Use a tmpfs as the working directory, specifying its\n"
"              size or \"-\" to use tmpfs default (suid,dev,size=1G).\n"
msgstr ""

#: serverguide/C/virtualization.xml:999(para) serverguide/C/jeos.xml:618(para)
msgid ""
"So adding <command>--tmpfs -</command> sounds like a very good idea if you "
"have 1G of free ram."
msgstr ""

#: serverguide/C/virtualization.xml:1006(title) serverguide/C/jeos.xml:625(title)
msgid "Package the Application"
msgstr ""

#: serverguide/C/virtualization.xml:1008(para) serverguide/C/jeos.xml:627(para)
msgid "Two option are available to us:"
msgstr ""

#: serverguide/C/virtualization.xml:1014(para) serverguide/C/jeos.xml:633(para)
msgid ""
"The recommended method to do so is to make a <emphasis>Debian</emphasis> "
"package. Since this is outside of the scope of this tutorial, we will not "
"perform this here and invite the reader to read the documentation on how to "
"do this in the <ulink url=\"https://wiki.ubuntu.com/PackagingGuide\">Ubuntu "
"Packaging Guide</ulink>. In this case it is also a good idea to setup a "
"repository for your package so that updates can be conveniently pulled from "
"it. See the <ulink url=\"http://www.debian-"
"administration.org/articles/286\">Debian Administration</ulink> article for "
"a tutorial on this."
msgstr ""

#: serverguide/C/virtualization.xml:1023(para) serverguide/C/jeos.xml:642(para)
msgid ""
"Manually install the application under <filename>/opt</filename> as "
"recommended by the <ulink url=\"http://www.pathname.com/fhs/\">FHS "
"guidelines</ulink>."
msgstr ""

#: serverguide/C/virtualization.xml:1030(para) serverguide/C/jeos.xml:649(para)
msgid ""
"In our case we'll use <application>Limesurvey</application> as example web "
"application for which we wish to provide a virtual appliance. As noted "
"before, we've made a version of the package available in a PPA (Personal "
"Package Archive)."
msgstr ""

#: serverguide/C/virtualization.xml:1037(title) serverguide/C/jeos.xml:656(title)
msgid "Finishing Install"
msgstr ""

#: serverguide/C/virtualization.xml:1040(title) serverguide/C/jeos.xml:659(title)
msgid "First Boot"
msgstr ""

#: serverguide/C/virtualization.xml:1042(para) serverguide/C/jeos.xml:661(para)
msgid ""
"As we mentioned earlier, the first time the machine boots we'll need to "
"install <application>openssh-server</application> so that the key generated "
"for it is unique for each machine. To do this, we'll write a script called "
"<filename>boot.sh</filename> as follows:"
msgstr ""

#: serverguide/C/virtualization.xml:1048(programlisting) serverguide/C/jeos.xml:667(programlisting)
#, no-wrap
msgid ""
"\n"
"# This script will run the first time the virtual machine boots\n"
"# It is ran as root.\n"
"\n"
"apt-get update\n"
"apt-get install -qqy --force-yes openssh-server\n"
msgstr ""

#: serverguide/C/virtualization.xml:1056(para) serverguide/C/jeos.xml:675(para)
msgid ""
"And we add the <command>--firstboot boot.sh</command> option to our command "
"line."
msgstr ""

#: serverguide/C/virtualization.xml:1062(title) serverguide/C/jeos.xml:681(title)
msgid "First Login"
msgstr ""

#: serverguide/C/virtualization.xml:1064(para) serverguide/C/jeos.xml:683(para)
msgid ""
"Mysql and Limesurvey needing some user interaction during their setup, we'll "
"set them up the first time a user logs in using a script named login.sh. "
"We'll also use this script to let the user specify:"
msgstr ""

#: serverguide/C/virtualization.xml:1070(para) serverguide/C/jeos.xml:689(para)
msgid "His own password"
msgstr ""

#: serverguide/C/virtualization.xml:1071(para) serverguide/C/jeos.xml:690(para)
msgid "Define the keyboard and other locale info he wants to use"
msgstr ""

#: serverguide/C/virtualization.xml:1074(para) serverguide/C/jeos.xml:693(para)
msgid "So we'll define <filename>login.sh</filename> as follows:"
msgstr ""

#: serverguide/C/virtualization.xml:1078(programlisting) serverguide/C/jeos.xml:697(programlisting)
#, no-wrap
msgid ""
"\n"
"# This script is ran the first time a user logs in\n"
"\n"
"echo \"Your appliance is about to be finished to be set up.\"\n"
"echo \"In order to do it, we'll need to ask you a few questions,\"\n"
"echo \"starting by changing your user password.\"\n"
"\n"
"passwd\n"
"\n"
"#give the opportunity to change the keyboard\n"
"sudo dpkg-reconfigure console-setup\n"
"\n"
"#configure the mysql server root password\n"
"sudo dpkg-reconfigure mysql-server-5.0\n"
"\n"
"#install limesurvey\n"
"sudo apt-get install -qqy --force-yes limesurvey\n"
"\n"
"echo \"Your appliance is now configured.  To use it point your\"\n"
"echo \"browser to http://serverip/limesurvey/admin\"\n"
msgstr ""

#: serverguide/C/virtualization.xml:1100(para) serverguide/C/jeos.xml:719(para)
msgid ""
"And we add the <command>--firstlogin login.sh</command> option to our "
"command line."
msgstr ""

#: serverguide/C/virtualization.xml:1107(title) serverguide/C/jeos.xml:726(title)
msgid "Useful Additions"
msgstr ""

#: serverguide/C/virtualization.xml:1110(title) serverguide/C/jeos.xml:729(title)
msgid "Configuring Automatic Updates"
msgstr ""

#: serverguide/C/virtualization.xml:1112(para) serverguide/C/jeos.xml:731(para)
msgid ""
"To have your system be configured to update itself on a regular basis, we "
"will just install <application>unattended-upgrades</application>, so we add "
"the following option to our command line:"
msgstr ""

#: serverguide/C/virtualization.xml:1118(command) serverguide/C/jeos.xml:737(command)
msgid "--addpkg unattended-upgrades"
msgstr ""

#: serverguide/C/virtualization.xml:1121(para) serverguide/C/jeos.xml:740(para)
msgid ""
"As we have put our application package in a PPA, the process will update not "
"only the system, but also the application each time we update the version in "
"the PPA."
msgstr ""

#: serverguide/C/virtualization.xml:1128(title) serverguide/C/jeos.xml:747(title)
msgid "ACPI Event Handling"
msgstr ""

#: serverguide/C/virtualization.xml:1130(para) serverguide/C/jeos.xml:749(para)
msgid ""
"For your virtual machine to be able to handle restart and shutdown events it "
"is being sent, it is a good idea to install the acpid package as well. To do "
"this we just add the following option:"
msgstr ""

#: serverguide/C/virtualization.xml:1136(command) serverguide/C/jeos.xml:755(command)
msgid "--addpkg acpid"
msgstr ""

#: serverguide/C/virtualization.xml:1142(title) serverguide/C/jeos.xml:761(title)
msgid "Final Command"
msgstr ""

#: serverguide/C/virtualization.xml:1144(para) serverguide/C/jeos.xml:763(para)
msgid "Here is what the command with all the options discussed above:"
msgstr ""

#: serverguide/C/virtualization.xml:1149(command) serverguide/C/jeos.xml:768(command)
msgid ""
"sudo vmbuilder kvm ubuntu --suite intrepid --flavour virtual --arch i386 -o "
"\\ --libvirt qemu:///system --ip 192.168.0.100 --part vmbuilder.partition --"
"user user \\ --name user --pass default --addpkg apache2 --addpkg apache2-"
"mpm-prefork \\ --addpkg apache2-utils --addpkg apache2.2-common --addpkg "
"dbconfig-common \\ --addpkg libapache2-mod-php5 --addpkg mysql-client --"
"addpkg php5-cli \\ --addpkg php5-gd --addpkg php5-ldap --addpkg php5-mysql --"
"addpkg wwwconfig-common \\ --addpkg mysql-server --addpkg unattended-"
"upgrades --addpkg acpid --ppa nijaba \\ --mirror "
"http://mirroraddress:9999/ubuntu --tmpfs - --firstboot boot.sh \\ --"
"firstlogin login.sh es"
msgstr ""

#: serverguide/C/virtualization.xml:1164(para) serverguide/C/jeos.xml:783(para)
msgid ""
"If you are interested in learning more, have questions or suggestions, "
"please contact the Ubuntu Server Team at:"
msgstr ""

#: serverguide/C/virtualization.xml:1169(para) serverguide/C/jeos.xml:788(para)
msgid "IRC: #ubuntu-server on freenode"
msgstr ""

#: serverguide/C/virtualization.xml:1174(para) serverguide/C/jeos.xml:793(para)
msgid ""
"Mailing list: <ulink url=\"https://lists.ubuntu.com/mailman/listinfo/ubuntu-"
"server\">ubuntu-server at lists.ubuntu.com</ulink>"
msgstr ""

#: serverguide/C/virtualization.xml:1182(title)
msgid "Eucalyptus"
msgstr ""

#: serverguide/C/virtualization.xml:1185(title) serverguide/C/network-auth.xml:1670(title) serverguide/C/lamp-applications.xml:17(title) serverguide/C/installation.xml:878(title) serverguide/C/dns.xml:64(title) serverguide/C/backups.xml:541(title)
msgid "Overview"
msgstr ""

#: serverguide/C/virtualization.xml:1187(para)
msgid ""
"<emphasis>Eucalyptus</emphasis> is an open-source software infrastructure "
"for implementing \"cloud computing\" on your own clusters. "
"<emphasis>Eucalyptus</emphasis> allows you to create your own cloud "
"computing environment in order to maximize computing resources and provide a "
"cloud computing environment to your users."
msgstr ""

#: serverguide/C/virtualization.xml:1193(para)
msgid ""
"This section will cover setting up a Cloud Computing environment using "
"<application>Eucalyptus</application> with <application>KVM</application>. "
"For more information on KVM see <xref linkend=\"libvirt\"/>."
msgstr ""

#: serverguide/C/virtualization.xml:1198(para)
msgid ""
"The Cloud Computing environment will consist of three components, typically "
"installed on at least two separate machines (termed the 'front-end' and "
"'node(s)' for the rest of this document):"
msgstr ""

#: serverguide/C/virtualization.xml:1205(para)
msgid ""
"<emphasis>One Front-End:</emphasis> hosts one Cloud Controller, a Java based "
"Web configuration interface, and a Cluster Controller, which determines "
"where virtual machines (VMs) will be housed and manages cluster level VM "
"networking."
msgstr ""

#: serverguide/C/virtualization.xml:1211(para)
msgid ""
"<emphasis>One or more Compute Nodes:</emphasis> runs the Node Controller "
"component of Eucalyptus, which allows the machine to be part of the cloud as "
"a host for VMs."
msgstr ""

#: serverguide/C/virtualization.xml:1218(para)
msgid ""
"The simple <emphasis>System</emphasis> networking option will be used by "
"default. This network method allows virtual machine instances, to obtain IP "
"addresses from the local LAN, assuming that a DHCP server is properly "
"configured on the LAN to hand out IPs dynamically to VMs that request them. "
"Each node will be configured for bridge networking. For more details see "
"<xref linkend=\"bridging\"/>."
msgstr ""

#: serverguide/C/virtualization.xml:1228(para)
msgid ""
"First, on the <emphasis>Front-End</emphasis> install the appropriate "
"packages. In a terminal prompt on the Front-End enter:"
msgstr ""

#: serverguide/C/virtualization.xml:1233(command)
msgid "sudo apt-get install eucalyptus-cloud eucalyptus-cc"
msgstr ""

#: serverguide/C/virtualization.xml:1236(para)
msgid ""
"Next, on the each <emphasis>Compute Node</emphasis> install the node "
"controller package. In a terminal prompt on each Compute Node enter:"
msgstr ""

#: serverguide/C/virtualization.xml:1241(command)
msgid "sudo apt-get install eucalyptus-nc"
msgstr ""

#: serverguide/C/virtualization.xml:1244(para)
msgid ""
"Once the installation is complete, and it may take a while, in a browser go "
"to <emphasis>https://front-end:8443</emphasis> and login to the "
"administration interface using the default username and password of "
"<emphasis>admin</emphasis>. You will then be prompted to change the "
"password, configure an email address for the admin user, and set the storage "
"URL."
msgstr ""

#: serverguide/C/virtualization.xml:1250(para)
msgid ""
"In the web interface's <emphasis>\"Configuration\"</emphasis> tab, add a "
"cluster under the <emphasis>\"Clusters\"</emphasis> heading (in this "
"configuration, the cluster controller is on the same system as the cloud "
"controller, so entering 'localhost' as the cluster hostname is correct). "
"Once the form is filled out click the <emphasis>\"Add Cluster\"</emphasis> "
"button."
msgstr ""

#: serverguide/C/virtualization.xml:1256(para)
msgid ""
"Now, back on the <emphasis>Front-End</emphasis>, add the nodes to the "
"cluster:"
msgstr ""

#: serverguide/C/virtualization.xml:1261(command)
msgid "sudo euca_conf -addnode hostname_of_node"
msgstr ""

#: serverguide/C/virtualization.xml:1264(para)
msgid ""
"You will then be prompted to log into your Node, install the "
"<application>eucalyptus-nc</application> package, and add the "
"<emphasis>eucalyptus</emphasis> user's ssh key to the node's "
"<filename>authorized_keys</filename> file, and confirm authenticity of the "
"host's OpenSSH RSA key fingerprint. Finally, the command will complete by "
"synchronizing the eucalyptus component keys and node registration is "
"complete."
msgstr ""

#: serverguide/C/virtualization.xml:1270(para)
msgid ""
"On the Node, the <filename>/etc/eucalyptus/eucalyptus.conf</filename> "
"configuration file will need editing to use your node's bridge interface "
"(assuming here that the interface is named <emphasis>'br0'</emphasis>):"
msgstr ""

#: serverguide/C/virtualization.xml:1275(programlisting)
#, no-wrap
msgid ""
"\n"
"VNET_INTERFACE=\"br0\"\n"
"...\n"
"VNET_BRIDGE=\"br0\"\n"
msgstr ""

#: serverguide/C/virtualization.xml:1281(para)
msgid "Finally, restart <application>eucalyptus-nc</application>:"
msgstr ""

#: serverguide/C/virtualization.xml:1286(command)
msgid "sudo /etc/init.d/eucalyptus-nc restart"
msgstr ""

#: serverguide/C/virtualization.xml:1291(para)
msgid ""
"Be sure to replace <emphasis>nodecontroller</emphasis>, "
"<emphasis>node01</emphasis>, and <emphasis>node02</emphasis> with actual "
"hostnames."
msgstr ""

#: serverguide/C/virtualization.xml:1297(para)
msgid ""
"<application>Eucalyptus</application> is now ready to host images on the "
"cloud."
msgstr ""

#: serverguide/C/virtualization.xml:1307(para)
msgid ""
"See the <ulink url=\"http://eucalyptus.cs.ucsb.edu/\">Eucalyptus "
"website</ulink> for more information."
msgstr ""

#: serverguide/C/virtualization.xml:1312(para)
msgid ""
"For information on loading instances see the <ulink "
"url=\"https://help.ubuntu.com/community/Eucalyptus\">Eucalyptus Wiki</ulink> "
"page."
msgstr ""

#: serverguide/C/virtualization.xml:1317(para)
msgid ""
"You can also find help in the <emphasis>#ubuntu-virt</emphasis>, "
"<emphasis>#eucalyptus</emphasis>, and <emphasis>#ubuntu-server</emphasis> "
"IRC channels on <ulink url=\"http://freenode.net\">Freenode</ulink>."
msgstr ""

#: serverguide/C/virtualization.xml:1327(title)
msgid "OpenNebula"
msgstr ""

#: serverguide/C/virtualization.xml:1329(para)
msgid ""
"<application>OpenNebula</application> allows virtual machines to be placed "
"and re-placed dynamically on a pool of physical resources. This allows a "
"virtual machine to be hosted from any location available."
msgstr ""

#: serverguide/C/virtualization.xml:1334(para)
msgid ""
"This section will detail configuring an OpenNebula cluster using three "
"machines: one <emphasis>Front-End</emphasis> host, and two <emphasis>Compute "
"Nodes</emphasis> used to run the virtual machines. The Compute Nodes will "
"also need a bridge configured to allow the virtual machines access to the "
"local network. For details see <xref linkend=\"bridging\"/>."
msgstr ""

#: serverguide/C/virtualization.xml:1343(para)
msgid "First, from a terminal on the Front-End enter:"
msgstr ""

#: serverguide/C/virtualization.xml:1348(command)
msgid "sudo apt-get install opennebula"
msgstr ""

#: serverguide/C/virtualization.xml:1351(para)
msgid "On each Compute Node install:"
msgstr ""

#: serverguide/C/virtualization.xml:1356(command)
msgid "sudo apt-get install opennebula-node"
msgstr ""

#: serverguide/C/virtualization.xml:1359(para)
msgid ""
"In order to copy SSH keys, the <emphasis>oneadmin</emphasis> user will need "
"to have a password. On each machine execute:"
msgstr ""

#: serverguide/C/virtualization.xml:1364(command)
msgid "sudo passwd oneadmin"
msgstr ""

#: serverguide/C/virtualization.xml:1367(para)
msgid ""
"Next, copy the <emphasis>oneadmin</emphasis> user's SSH key to the Compute "
"Nodes, and to the Front-End's <filename>authorized_keys</filename> file:"
msgstr ""

#: serverguide/C/virtualization.xml:1372(command)
msgid ""
"sudo scp /var/lib/one/.ssh/id_rsa.pub "
"oneadmin@node01:/var/lib/one/.ssh/authorized_keys"
msgstr ""

#: serverguide/C/virtualization.xml:1373(command)
msgid ""
"sudo scp /var/lib/one/.ssh/id_rsa.pub "
"oneadmin@node02:/var/lib/one/.ssh/authorized_keys"
msgstr ""

#: serverguide/C/virtualization.xml:1374(command)
msgid ""
"sudo sh -c \"cat /var/lib/one/.ssh/id_rsa.pub &gt;&gt; "
"/var/lib/one/.ssh/authorized_keys\""
msgstr ""

#: serverguide/C/virtualization.xml:1377(para)
msgid ""
"The SSH key for the Compute Nodes needs to be added to the "
"<filename>/etc/ssh/ssh_known_hosts</filename> file on the Front-End host. To "
"accomplish this <application>ssh</application> to each Compute Node as a "
"user other than <emphasis>oneadmin</emphasis>. Then exit from the SSH "
"session, and execute the following to copy the SSH key from "
"<filename>~/.ssh/known_hosts</filename> to "
"<filename>/etc/ssh/ssh_known_hosts</filename>:"
msgstr ""

#: serverguide/C/virtualization.xml:1384(command)
msgid ""
"sudo sh -c \"ssh-keygen -f .ssh/known_hosts -F node01 1&gt;&gt; "
"/etc/ssh/ssh_known_hosts\""
msgstr ""

#: serverguide/C/virtualization.xml:1385(command)
msgid ""
"sudo sh -c \"ssh-keygen -f .ssh/known_hosts -F node02 1&gt;&gt; "
"/etc/ssh/ssh_known_hosts\""
msgstr ""

#: serverguide/C/virtualization.xml:1389(para)
msgid ""
"Replace <emphasis>node01</emphasis> and <emphasis>node02</emphasis> with the "
"appropriate host names."
msgstr ""

#: serverguide/C/virtualization.xml:1394(para)
msgid ""
"This allows the <emphasis>oneadmin</emphasis> to use "
"<application>scp</application>, without a password or manual intervention, "
"to deploy an image to the Compute Nodes."
msgstr ""

#: serverguide/C/virtualization.xml:1399(para)
msgid ""
"On the Front-End create a directory to store the VM images, giving the "
"<emphasis>oneadmin</emphasis> user access to the directory:"
msgstr ""

#: serverguide/C/virtualization.xml:1404(command)
msgid "sudo mkdir /var/lib/one/images"
msgstr ""

#: serverguide/C/virtualization.xml:1405(command)
msgid "sudo chown oneadmin /var/lib/one/images/"
msgstr ""

#: serverguide/C/virtualization.xml:1408(para)
msgid ""
"Finally, copy a virtual machine disk file into "
"<filename>/var/lib/one/images</filename>. You can create an Ubuntu virtual "
"machine using <application>vmbuilder</application>, see <xref linkend=\"jeos-"
"and-vmbuilder\"/> for details."
msgstr ""

#: serverguide/C/virtualization.xml:1417(para)
msgid ""
"The <emphasis>OpenNebula Cluster</emphasis> is now ready to be configured, "
"and virtual machines added to the cluster."
msgstr ""

#: serverguide/C/virtualization.xml:1421(para)
msgid "From a terminal prompt enter:"
msgstr ""

#: serverguide/C/virtualization.xml:1426(command)
msgid "onehost create node01 im_kvm vmm_kvm tm_ssh"
msgstr ""

#: serverguide/C/virtualization.xml:1427(command)
msgid "onehost create node02 im_kvm vmm_kvm tm_ssh"
msgstr ""

#: serverguide/C/virtualization.xml:1430(para)
msgid ""
"Next, create a <emphasis>Virtual Network</emphasis> template file named "
"<filename>vnet01.template</filename>:"
msgstr ""

#: serverguide/C/virtualization.xml:1434(programlisting)
#, no-wrap
msgid ""
"\n"
"NAME            = \"LAN\"\n"
"TYPE            = RANGED\n"
"BRIDGE          = br0\n"
"NETWORK_SIZE    = C\n"
"NETWORK_ADDRESS = 192.168.0.0\n"
msgstr ""

#: serverguide/C/virtualization.xml:1443(para)
msgid ""
"Be sure to change <emphasis>192.168.0.0</emphasis> to your local network."
msgstr ""

#: serverguide/C/virtualization.xml:1448(para)
msgid ""
"Using the <application>onevnet</application> utility, add the virtual "
"network to OpenNebula:"
msgstr ""

#: serverguide/C/virtualization.xml:1453(command)
msgid "onevnet create vnet01.template"
msgstr ""

#: serverguide/C/virtualization.xml:1456(para)
msgid ""
"Now create a <emphasis>VM Template</emphasis> file named "
"<filename>vm01.template</filename>:"
msgstr ""

#: serverguide/C/virtualization.xml:1460(programlisting)
#, no-wrap
msgid ""
"\n"
"NAME   = vm01\n"
"CPU    = 0.5\n"
"MEMORY = 512\n"
"\n"
"OS      = [ BOOT   = hd ]\n"
"\n"
"DISK   = [\n"
"  source   = \"/var/lib/one/images/vm01.qcow2\",\n"
"  target   = \"hda\",\n"
"  readonly = \"no\" ]\n"
"\n"
"NIC    = [ NETWORK=\"LAN\" ]\n"
"\n"
"GRAPHICS = [type=\"vnc\",listen=\"127.0.0.1\",port=\"-1\"]\n"
msgstr ""

#: serverguide/C/virtualization.xml:1477(para)
msgid "Start the virtual machine using <application>onevm</application>:"
msgstr ""

#: serverguide/C/virtualization.xml:1482(command)
msgid "onevm submit vm01.template"
msgstr ""

#: serverguide/C/virtualization.xml:1485(para)
msgid ""
"Use the <application>onevm list</application> option to view information "
"about virtual machines. Also, the <application>onevm show vm01</application> "
"option will display more details about a specific virtual machine."
msgstr ""

#: serverguide/C/virtualization.xml:1496(para)
msgid ""
"See the <ulink "
"url=\"http://www.opennebula.org/doku.php?id=start\">OpenNebula website</ulink"
"> for more information."
msgstr ""

#: serverguide/C/virtualization.xml:1501(para)
msgid ""
"You can also find help in the <emphasis>#ubuntu-virt</emphasis> and "
"<emphasis>#ubuntu-server</emphasis> IRC channels on <ulink "
"url=\"http://freenode.net\">Freenode</ulink>."
msgstr ""

#: serverguide/C/vcs.xml:13(title)
msgid "Version Control System"
msgstr ""

#: serverguide/C/vcs.xml:14(para)
msgid ""
"Version control is the art of managing changes to information. It has long "
"been a critical tool for programmers, who typically spend their time making "
"small changes to software and then undoing those changes the next day. But "
"the usefulness of version control software extends far beyond the bounds of "
"the software development world. Anywhere you can find people using computers "
"to manage information that changes often, there is room for version control."
msgstr ""

#: serverguide/C/vcs.xml:17(title)
msgid "Bazaar"
msgstr ""

#: serverguide/C/vcs.xml:18(para)
msgid ""
"Bazaar is a new version control system sponsored by Canonical, the "
"commercial company behind Ubuntu. Unlike Subversion and CVS that only "
"support a central repository model, Bazaar also supports "
"<emphasis>distributed version control</emphasis>, giving people the ability "
"to collaborate more efficiently. In particular, Bazaar is designed to "
"maximize the level of community participation in open source projects."
msgstr ""

#: serverguide/C/vcs.xml:29(para)
msgid ""
"At a terminal prompt, enter the following command to install "
"<application>bzr</application>: <screen>\n"
"<command>sudo apt-get install bzr</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/vcs.xml:40(para)
msgid ""
"To introduce yourself to <application>bzr</application>, use the "
"<emphasis>whoami</emphasis> command like this: <screen>\n"
"<command>$ bzr whoami 'Joe Doe &lt;joe.doe@gmail.com&gt;'</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/vcs.xml:49(title)
msgid "Learning Bazaar"
msgstr ""

#: serverguide/C/vcs.xml:50(para)
msgid ""
"Bazaar comes with bundled documentation installed into "
"<application>/usr/share/doc/bzr/html</application> by default. The tutorial "
"is a good place to start. The <application>bzr</application> command also "
"comes with built-in help: <screen>\n"
"<command>$ bzr help</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/vcs.xml:60(para)
msgid ""
"To learn more about the <emphasis>foo</emphasis> command: <screen>\n"
"<command>$ bzr help foo</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/vcs.xml:68(title)
msgid "Launchpad Integration"
msgstr ""

#: serverguide/C/vcs.xml:69(para)
msgid ""
"While highly useful as a stand-alone system, Bazaar has good, optional "
"integration with <ulink url=\"https://launchpad.net/\">Launchpad</ulink>, "
"the collaborative development system used by Canonical and the broader open "
"source community to manage and extend Ubuntu itself. For information on how "
"Bazaar can be used with Launchpad to collaborate on open source projects, "
"see <ulink url=\"http://bazaar-vcs.org/LaunchpadIntegration/\"> "
"http://bazaar-vcs.org/LaunchpadIntegration</ulink>."
msgstr ""

#: serverguide/C/vcs.xml:81(title)
msgid "Subversion"
msgstr ""

#: serverguide/C/vcs.xml:82(para)
msgid ""
"Subversion is an open source version control system. Using Subversion, you "
"can record the history of source files and documents. It manages files and "
"directories over time. A tree of files is placed into a central repository. "
"The repository is much like an ordinary file server, except that it "
"remembers every change ever made to files and directories."
msgstr ""

#: serverguide/C/vcs.xml:87(para)
msgid ""
"To access Subversion repository using the HTTP protocol, you must install "
"and configure a web server. Apache2 is proven to work with Subversion. "
"Please refer to the HTTP subsection in the Apache2 section to install and "
"configure Apache2. To access the Subversion repository using the HTTPS "
"protocol, you must install and configure a digital certificate in your "
"Apache 2 web server. Please refer to the HTTPS subsection in the Apache2 "
"section to install and configure the digital certificate."
msgstr ""

#: serverguide/C/vcs.xml:96(para)
msgid ""
"To install Subversion, run the following command from a terminal prompt:"
msgstr ""

#: serverguide/C/vcs.xml:101(command)
msgid "sudo apt-get install subversion libapache2-svn"
msgstr ""

#: serverguide/C/vcs.xml:107(title)
msgid "Server Configuration"
msgstr ""

#: serverguide/C/vcs.xml:108(para)
msgid ""
"This step assumes you have installed above mentioned packages on your "
"system. This section explains how to create a Subversion repository and "
"access the project."
msgstr ""

#: serverguide/C/vcs.xml:111(title)
msgid "Create Subversion Repository"
msgstr ""

#: serverguide/C/vcs.xml:112(para)
msgid ""
"The Subversion repository can be created using the following command from a "
"terminal prompt:"
msgstr ""

#: serverguide/C/vcs.xml:116(command)
msgid "svnadmin create /path/to/repos/project"
msgstr ""

#: serverguide/C/vcs.xml:121(title)
msgid "Importing Files"
msgstr ""

#: serverguide/C/vcs.xml:122(para)
msgid ""
"Once you create the repository you can <emphasis>import</emphasis> files "
"into the repository. To import a directory, enter the following from a "
"terminal prompt: <screen>\n"
"<command>svn import /path/to/import/directory "
"file:///path/to/repos/project</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/vcs.xml:134(title) serverguide/C/vcs.xml:139(title)
msgid "Access Methods"
msgstr ""

#: serverguide/C/vcs.xml:135(para)
msgid ""
"Subversion repositories can be accessed (checked out) through many different "
"methods --on local disk, or through various network protocols. A repository "
"location, however, is always a URL. The table describes how different URL "
"schemes map to the available access methods."
msgstr ""

#: serverguide/C/vcs.xml:146(para)
msgid "Schema"
msgstr ""

#: serverguide/C/vcs.xml:147(para)
msgid "Access Method"
msgstr ""

#: serverguide/C/vcs.xml:152(para)
msgid "file://"
msgstr ""

#: serverguide/C/vcs.xml:153(para)
msgid "direct repository access (on local disk)"
msgstr ""

#: serverguide/C/vcs.xml:156(para)
msgid "http://"
msgstr ""

#: serverguide/C/vcs.xml:157(para)
msgid "Access via WebDAV protocol to Subversion-aware Apache2 web server"
msgstr ""

#: serverguide/C/vcs.xml:160(para)
msgid "https://"
msgstr ""

#: serverguide/C/vcs.xml:161(para)
msgid "Same as http://, but with SSL encryption"
msgstr ""

#: serverguide/C/vcs.xml:164(para)
msgid "svn://"
msgstr ""

#: serverguide/C/vcs.xml:165(para)
msgid "Access via custom protocol to an svnserve server"
msgstr ""

#: serverguide/C/vcs.xml:168(para)
msgid "svn+ssh://"
msgstr ""

#: serverguide/C/vcs.xml:169(para)
msgid "Same as svn://, but through an SSH tunnel"
msgstr ""

#: serverguide/C/vcs.xml:175(para)
msgid ""
"In this section, we will see how to configure Subversion for all these "
"access methods. Here, we cover the basics. For more advanced usage details, "
"refer to the <ulink url=\"http://svnbook.red-bean.com/\">svn book</ulink>."
msgstr ""

#: serverguide/C/vcs.xml:182(title)
msgid "Direct repository access (file://)"
msgstr ""

#: serverguide/C/vcs.xml:183(para)
msgid ""
"This is the simplest of all access methods. It does not require any "
"Subversion server process to be running. This access method is used to "
"access Subversion from the same machine. The syntax of the command, entered "
"at a terminal prompt, is as follows:"
msgstr ""

#: serverguide/C/vcs.xml:190(command)
msgid "svn co file:///path/to/repos/project"
msgstr ""

#: serverguide/C/vcs.xml:193(para)
msgid "or"
msgstr ""

#: serverguide/C/vcs.xml:196(command)
msgid "svn co file://localhost/path/to/repos/project"
msgstr ""

#: serverguide/C/vcs.xml:200(para)
msgid ""
"If you do not specify the hostname, there are three forward slashes (///) -- "
"two for the protocol (file, in this case) plus the leading slash in the "
"path. If you specify the hostname, you must use two forward slashes (//)."
msgstr ""

#: serverguide/C/vcs.xml:202(para)
msgid ""
"The repository permissions depend on filesystem permissions. If the user has "
"read/write permission, he can checkout from and commit to the repository."
msgstr ""

#: serverguide/C/vcs.xml:205(title)
msgid "Access via WebDAV protocol (http://)"
msgstr ""

#: serverguide/C/vcs.xml:206(para)
msgid ""
"To access the Subversion repository via WebDAV protocol, you must configure "
"your Apache 2 web server. You must add the following snippet in your "
"<filename>/etc/apache2/apache2.conf</filename> file:"
msgstr ""

#: serverguide/C/vcs.xml:208(programlisting)
#, no-wrap
msgid ""
" &lt;Location /svn&gt;\n"
"  DAV svn\n"
"  SVNParentPath /home/svn\n"
"  AuthType Basic\n"
"  AuthName \"Your repository name\"\n"
"  AuthUserFile /etc/subversion/passwd\n"
"  &lt;LimitExcept GET PROPFIND OPTIONS REPORT&gt;\n"
"  Require valid-user\n"
"  &lt;/LimitExcept&gt;\n"
"  &lt;/Location&gt; "
msgstr ""

#: serverguide/C/vcs.xml:219(para)
msgid ""
"The above configuration snippet assumes that Subversion repositories are "
"created under <filename>/home/svn/</filename> directory using "
"<command>svnadmin</command> command. They can be accessible using "
"<command>htpp://hostname/svn/repos_name</command> url."
msgstr ""

#: serverguide/C/vcs.xml:225(para)
msgid ""
"To import or commit files to your Subversion repository over HTTP, the "
"repository should be owned by the HTTP user. In Ubuntu systems, normally the "
"HTTP user is <command>www-data</command>. To change the ownership of the "
"repository files enter the following command from terminal prompt:"
msgstr ""

#: serverguide/C/vcs.xml:234(command)
msgid "sudo chown -R www-data:www-data /path/to/repos"
msgstr ""

#: serverguide/C/vcs.xml:237(para)
msgid ""
"By changing the ownership of repository as <command>www-data</command> you "
"will not be able to import or commit files into the repository by running "
"<command>svn import file:///</command> command as any user other than "
"<command>www-data</command>."
msgstr ""

#: serverguide/C/vcs.xml:246(para)
msgid ""
"Next, you must create the <filename>/etc/subversion/passwd</filename> file "
"that will contain user authentication details. To create a file issue the "
"following command at a command prompt (which will create the file and add "
"the first user):"
msgstr ""

#: serverguide/C/vcs.xml:252(command)
msgid "sudo htpasswd -c /etc/subversion/passwd user_name"
msgstr ""

#: serverguide/C/vcs.xml:255(para)
msgid ""
"To add additional users omit the <emphasis>\"-c\"</emphasis> option as this "
"option replaces the old file. Instead use this form:"
msgstr ""

#: serverguide/C/vcs.xml:260(command)
msgid "sudo htpasswd /etc/subversion/password user_name"
msgstr ""

#: serverguide/C/vcs.xml:264(para)
msgid ""
"This command will prompt you to enter the password. Once you enter the "
"password, the user is added. Now, to access the repository you can run the "
"following command:"
msgstr ""

#: serverguide/C/vcs.xml:265(command)
msgid "svn co http://servername/svn"
msgstr ""

#: serverguide/C/vcs.xml:267(para)
msgid ""
"The password is transmitted as plain text. If you are worried about password "
"snooping, you are advised to use SSL encryption. For details, please refer "
"next section."
msgstr ""

#: serverguide/C/vcs.xml:273(title)
msgid "Access via WebDAV protocol with SSL encryption (https://)"
msgstr ""

#: serverguide/C/vcs.xml:274(para)
msgid ""
"Accessing Subversion repository via WebDAV protocol with SSL encryption "
"(https://) is similar to http:// except that you must install and configure "
"the digital certificate in your Apache2 web server."
msgstr ""

#: serverguide/C/vcs.xml:281(para)
msgid ""
"You can install a digital certificate issued by a signing authority like "
"Verisign. Alternatively, you can install your own self-signed certificate."
msgstr ""

#: serverguide/C/vcs.xml:286(para)
msgid ""
"This step assumes you have installed and configured a digital certificate in "
"your Apache 2 web server. Now, to access the Subversion repository, please "
"refer to the above section! The access methods are exactly the same, except "
"the protocol. You must use https:// to access the Subversion repository."
msgstr ""

#: serverguide/C/vcs.xml:296(title)
msgid "Access via custom protocol (svn://)"
msgstr ""

#: serverguide/C/vcs.xml:297(para)
msgid ""
"Once the Subversion repository is created, you can configure the access "
"control. You can edit the <filename> "
"/path/to/repos/project/conf/svnserve.conf</filename> file to configure the "
"access control. For example, to set up authentication, you can uncomment the "
"following lines in the configuration file:"
msgstr ""

#: serverguide/C/vcs.xml:304(programlisting)
#, no-wrap
msgid ""
"# [general]\n"
"# password-db = passwd"
msgstr ""

#: serverguide/C/vcs.xml:307(para)
msgid ""
"After uncommenting the above lines, you can maintain the user list in the "
"passwd file. So, edit the file <filename>passwd </filename> in the same "
"directory and add the new user. The syntax is as follows:"
msgstr ""

#: serverguide/C/vcs.xml:313(programlisting)
#, no-wrap
msgid "username = password"
msgstr ""

#: serverguide/C/vcs.xml:314(para)
msgid "For more details, please refer to the file."
msgstr ""

#: serverguide/C/vcs.xml:318(para)
msgid ""
"Now, to access Subversion via the svn:// custom protocol, either from the "
"same machine or a different machine, you can run svnserver using svnserve "
"command. The syntax is as follows:"
msgstr ""

#: serverguide/C/vcs.xml:323(programlisting)
#, no-wrap
msgid ""
"$ svnserve -d --foreground -r /path/to/repos\n"
"# -d -- daemon mode\n"
"# --foreground -- run in foreground (useful for debugging)\n"
"# -r -- root of directory to serve\n"
"\n"
"For more usage details, please refer to:\n"
"$ svnserve --help"
msgstr ""

#: serverguide/C/vcs.xml:331(para)
msgid ""
"Once you run this command, Subversion starts listening on default port "
"(3690). To access the project repository, you must run the following command "
"from a terminal prompt:"
msgstr ""

#: serverguide/C/vcs.xml:334(command)
msgid "svn co svn://hostname/project project --username user_name"
msgstr ""

#: serverguide/C/vcs.xml:337(para)
msgid ""
"Based on server configuration, it prompts for password. Once you are "
"authenticated, it checks out the code from Subversion repository. To "
"synchronize the project repository with the local copy, you can run the "
"<command>update</command> sub-command. The syntax of the command, entered at "
"a terminal prompt, is as follows:"
msgstr ""

#: serverguide/C/vcs.xml:345(command)
msgid "cd project_dir ; svn update"
msgstr ""

#: serverguide/C/vcs.xml:348(para)
msgid ""
"For more details about using each Subversion sub-command, you can refer to "
"the manual. For example, to learn more about the co (checkout) command, "
"please run the following command from a terminal prompt:"
msgstr ""

#: serverguide/C/vcs.xml:352(command)
msgid "svn co help"
msgstr ""

#: serverguide/C/vcs.xml:356(title)
msgid "Access via custom protocol with SSL encryption (svn+ssh://)"
msgstr ""

#: serverguide/C/vcs.xml:357(para)
msgid ""
"The configuration and server process is same as in the svn:// method. For "
"details, please refer to the above section. This step assumes you have "
"followed the above step and started the Subversion server using "
"<application>svnserve</application> command."
msgstr ""

#: serverguide/C/vcs.xml:363(para)
msgid ""
"It is also assumed that the ssh server is running on that machine and that "
"it is allowing incoming connections. To confirm, please try to login to that "
"machine using ssh. If you can login, everything is perfect. If you cannot "
"login, please address it before continuing further."
msgstr ""

#: serverguide/C/vcs.xml:369(para)
msgid ""
"The svn+ssh:// protocol is used to access the Subversion repository using "
"SSL encryption. The data transfer is encrypted using this method. To access "
"the project repository (for example with a checkout), you must use the "
"following command syntax:"
msgstr ""

#: serverguide/C/vcs.xml:376(command)
msgid "svn co svn+ssh://hostname/var/svn/repos/project"
msgstr ""

#: serverguide/C/vcs.xml:380(para)
msgid ""
"You must use the full path (/path/to/repos/project) to access the Subversion "
"repository using this access method."
msgstr ""

#: serverguide/C/vcs.xml:383(para)
msgid ""
"Based on server configuration, it prompts for password. You must enter the "
"password you use to login via ssh. Once you are authenticated, it checks out "
"the code from the Subversion repository."
msgstr ""

#: serverguide/C/vcs.xml:394(title)
msgid "CVS Server"
msgstr ""

#: serverguide/C/vcs.xml:395(para)
msgid ""
"CVS is a version control system. You can use it to record the history of "
"source files."
msgstr ""

#: serverguide/C/vcs.xml:401(para)
msgid ""
"To install <application>CVS</application>, run the following command from a "
"terminal prompt: <screen>\n"
"<command>sudo apt-get install cvs</command>\n"
"</screen> After you install <application>cvs</application>, you should "
"install <application>xinetd</application> to start/stop the cvs server. At "
"the prompt, enter the following command to install "
"<application>xinetd</application>: <screen>\n"
"<command>sudo apt-get install xinetd</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/vcs.xml:434(programlisting)
#, no-wrap
msgid ""
"\n"
"service cvspserver\n"
"{\n"
"     port = 2401\n"
"     socket_type = stream\n"
"     protocol = tcp\n"
"     user = root\n"
"     wait = no\n"
"     type = UNLISTED\n"
"     server = /usr/bin/cvs\n"
"     server_args = -f --allow-root /var/lib/cvs pserver\n"
"     disable = no\n"
"}\n"
msgstr ""

#: serverguide/C/vcs.xml:450(para)
msgid ""
"Be sure to edit the repository if you have changed the default repository "
"(<application>/var/lib/cvs</application>) directory."
msgstr ""

#: serverguide/C/vcs.xml:419(para)
msgid ""
"Once you install cvs, the repository will be automatically initialized. By "
"default, the repository resides under the "
"<application>/var/lib/cvs</application> directory. You can change this path "
"by running following command: <screen>\n"
"<command>cvs -d /your/new/cvs/repo init</command>\n"
"</screen> Once the initial repository is set up, you can configure "
"<application>xinetd</application> to start the CVS server. You can copy the "
"following lines to the <filename> /etc/xinetd.d/cvspserver</filename> file. "
"<placeholder-1/><placeholder-2/> Once you have configured "
"<application>xinetd</application> you can start the cvs server by running "
"following command: <screen>\n"
"<command>sudo /etc/init.d/xinetd restart</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/vcs.xml:463(para)
msgid ""
"You can confirm that the CVS server is running by issuing the following "
"command:"
msgstr ""

#: serverguide/C/vcs.xml:470(command)
msgid "sudo netstat -tap | grep cvs"
msgstr ""

#: serverguide/C/vcs.xml:474(para) serverguide/C/databases.xml:65(para)
msgid ""
"When you run this command, you should see the following line or something "
"similar:"
msgstr ""

#: serverguide/C/vcs.xml:479(programlisting)
#, no-wrap
msgid ""
"\n"
"tcp        0      0 *:cvspserver            *:* LISTEN \n"
msgstr ""

#: serverguide/C/vcs.xml:483(para)
msgid ""
"From here you can continue to add users, add new projects, and manage the "
"CVS server."
msgstr ""

#: serverguide/C/vcs.xml:488(para)
msgid ""
"CVS allows the user to add users independently of the underlying OS "
"installation. Probably the easiest way is to use the Linux Users for CVS, "
"although it has potential security issues. Please refer to the CVS manual "
"for details."
msgstr ""

#: serverguide/C/vcs.xml:498(title)
msgid "Add Projects"
msgstr ""

#: serverguide/C/vcs.xml:510(para)
msgid ""
"You can use the CVSROOT environment variable to store the CVS root "
"directory. Once you export the CVSROOT environment variable, you can avoid "
"using -d option in the above cvs command."
msgstr ""

#: serverguide/C/vcs.xml:522(para)
msgid ""
"When you add a new project, the CVS user you use must have write access to "
"the CVS repository (<application>/var/lib/cvs</application>). By default, "
"the <application>src</application> group has write access to the CVS "
"repository. So, you can add the user to this group, and he can then add and "
"manage projects in the CVS repository."
msgstr ""

#: serverguide/C/vcs.xml:499(para)
msgid ""
"This section explains how to add new project to the CVS repository. Create "
"the directory and add necessary document and source files to the directory. "
"Now, run the following command to add this project to CVS repository: "
"<screen>\n"
"<command>cd your/project</command>\n"
"<command>cvs -d :pserver:username@hostname.com:/var/lib/cvs import -m "
"\"Importing my project to CVS repository\" . new_project start</command>\n"
"</screen><placeholder-1/> The string <emphasis>new_project</emphasis> is a "
"vendor tag, and <emphasis>start</emphasis> is a release tag. They serve no "
"purpose in this context, but since CVS requires them, they must be present. "
"<placeholder-2/>"
msgstr ""

#: serverguide/C/vcs.xml:535(ulink)
msgid "Bazaar Home Page"
msgstr ""

#: serverguide/C/vcs.xml:536(ulink)
msgid "Launchpad"
msgstr ""

#: serverguide/C/vcs.xml:537(ulink)
msgid "Subversion Home Page"
msgstr ""

#: serverguide/C/vcs.xml:538(ulink)
msgid "Subversion Book"
msgstr ""

#: serverguide/C/vcs.xml:540(ulink)
msgid "CVS Manual"
msgstr ""

#: serverguide/C/serverguide.xml:3(title) serverguide/C/bookinfo.xml:3(title)
msgid "Credits and License"
msgstr ""

#: serverguide/C/serverguide.xml:4(para) serverguide/C/bookinfo.xml:4(para)
msgid ""
"This document is maintained by the Ubuntu documentation team "
"(https://wiki.ubuntu.com/DocumentationTeam). For a list of contributors, see "
"the <ulink url=\"../../libs/C/contributors.xml\">contributors page</ulink>"
msgstr ""

#: serverguide/C/serverguide.xml:5(para) serverguide/C/bookinfo.xml:5(para)
msgid ""
"This document is made available under the Creative Commons ShareAlike 2.5 "
"License (CC-BY-SA)."
msgstr ""

#: serverguide/C/serverguide.xml:6(para) serverguide/C/bookinfo.xml:6(para)
msgid ""
"You are free to modify, extend, and improve the Ubuntu documentation source "
"code under the terms of this license. All derivative works must be released "
"under this license."
msgstr ""

#: serverguide/C/serverguide.xml:8(para) serverguide/C/bookinfo.xml:8(para)
msgid ""
"This documentation is distributed in the hope that it will be useful, but "
"WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY "
"or FITNESS FOR A PARTICULAR PURPOSE AS DESCRIBED IN THE DISCLAIMER."
msgstr ""

#: serverguide/C/serverguide.xml:11(para) serverguide/C/bookinfo.xml:11(para)
msgid ""
"A copy of the license is available here: <ulink url=\"/usr/share/ubuntu-"
"docs/libs/C/ccbysa.xml\">Creative Commons ShareAlike License</ulink>."
msgstr ""

#: serverguide/C/serverguide.xml:14(year) serverguide/C/bookinfo.xml:14(year)
msgid "2008"
msgstr ""

#: serverguide/C/serverguide.xml:15(ulink) serverguide/C/bookinfo.xml:15(ulink)
msgid "Ubuntu Documentation Project"
msgstr ""

#: serverguide/C/serverguide.xml:15(holder) serverguide/C/bookinfo.xml:15(holder)
msgid "Canonical Ltd. and members of the <placeholder-1/>"
msgstr ""

#: serverguide/C/serverguide.xml:18(publishername) serverguide/C/bookinfo.xml:18(publishername)
msgid "The Ubuntu Documentation Project"
msgstr ""

#: serverguide/C/serverguide.xml:17(para)
msgid ""
"Welcome to the <emphasis>Ubuntu Server Guide</emphasis>! It contains "
"information on how to install and configure various server applications on "
"your Ubuntu system to fit your needs. It is a step-by-step, task-oriented "
"guide for configuring and customizing your system."
msgstr ""

#: serverguide/C/security.xml:13(title)
msgid "Security"
msgstr ""

#: serverguide/C/security.xml:14(para)
msgid ""
"Security should always be considered when installing, deploying, and using "
"any type of computer system. Although a fresh installation of Ubuntu is "
"relatively safe for immediate use on the Internet, it is important to have a "
"balanced understanding of your systems security posture based on how it will "
"be used after deployment."
msgstr ""

#: serverguide/C/security.xml:17(para)
msgid ""
"This chapter provides an overview of security related topics as they pertain "
"to Ubuntu 9.04 Server Edition, and outlines simple measures you may use to "
"protect your server and network from any number of potential security "
"threats."
msgstr ""

#: serverguide/C/security.xml:21(title)
msgid "User Management"
msgstr ""

#: serverguide/C/security.xml:22(para)
msgid ""
"User management is a critical part of maintaining a secure system. "
"Ineffective user and privilege management often lead many systems into being "
"compromised. Therefore, it is important that you understand how you can "
"protect your server through simple and effective user account management "
"techniques."
msgstr ""

#: serverguide/C/security.xml:26(title)
msgid "Where is root?"
msgstr ""

#: serverguide/C/security.xml:27(para)
msgid ""
"Ubuntu developers made a conscientious decision to disable the "
"administrative root account by default in all Ubuntu installations. This "
"does not mean that the root account has been deleted or that it may not be "
"accessed. It merely has been given a password which matches no possible "
"encrypted value, therefore may not log in directly by itself."
msgstr ""

#: serverguide/C/security.xml:30(para)
msgid ""
"Instead, users are encouraged to make use of a tool by the name of "
"<application>sudo</application> to carry out system administrative duties. "
"<application>Sudo</application> allows an authorized user to temporarily "
"elevate their privileges using their own password instead of having to know "
"the password belonging to the root account. This simple yet effective "
"methodology provides accountability for all user actions, and gives the "
"administrator granular control over which actions a user can perform with "
"said privileges."
msgstr ""

#: serverguide/C/security.xml:35(para)
msgid ""
"If for some reason you wish to enable the root account, simply give it a "
"password:"
msgstr ""

#: serverguide/C/security.xml:39(command)
msgid "sudo passwd"
msgstr ""

#: serverguide/C/security.xml:41(para)
msgid ""
"Sudo will prompt you for your password, and then ask you to supply a new "
"password for root as shown below:"
msgstr ""

#: serverguide/C/security.xml:44(userinput)
#, no-wrap
msgid "(enter your own password)"
msgstr ""

#: serverguide/C/security.xml:45(userinput)
#, no-wrap
msgid "(enter a new password for root)"
msgstr ""

#: serverguide/C/security.xml:46(userinput)
#, no-wrap
msgid "(repeat new password for root)"
msgstr ""

#: serverguide/C/security.xml:44(computeroutput)
#, no-wrap
msgid ""
"[sudo] password for username: <placeholder-1/>\n"
"Enter new UNIX password: <placeholder-2/>\n"
"Retype new UNIX password: <placeholder-3/>\n"
"passwd: password updated successfully"
msgstr ""

#: serverguide/C/security.xml:51(para)
msgid "To disable the root account, use the following passwd syntax:"
msgstr ""

#: serverguide/C/security.xml:55(command)
msgid "sudo passwd -l root"
msgstr ""

#: serverguide/C/security.xml:59(para)
msgid ""
"You should read more on <application>Sudo</application> by checking out it's "
"man page:"
msgstr ""

#: serverguide/C/security.xml:63(command)
msgid "man sudo"
msgstr ""

#: serverguide/C/security.xml:67(para)
msgid ""
"By default, the initial user created by the Ubuntu installer is a member of "
"the group \"admin\" which is added to the file "
"<filename>/etc/sudoers</filename> as an authorized sudo user. If you wish to "
"give any other account full root access through "
"<application>sudo</application>, simply add them to the admin group."
msgstr ""

#: serverguide/C/security.xml:73(title)
msgid "Adding and Deleting Users"
msgstr ""

#: serverguide/C/security.xml:74(para)
msgid ""
"The process for managing local users and groups is straight forward and "
"differs very little from most other GNU/Linux operating systems. Ubuntu and "
"other Debian based distributions, encourage the use of the \"adduser\" "
"package for account management."
msgstr ""

#: serverguide/C/security.xml:79(para)
msgid ""
"To add a user account, use the following syntax, and follow the prompts to "
"give the account a password and identifiable characteristics such as a full "
"name, phone number, etc."
msgstr ""

#: serverguide/C/security.xml:83(command)
msgid "sudo adduser username"
msgstr ""

#: serverguide/C/security.xml:87(para)
msgid ""
"To delete a user account and its primary group, use the following syntax:"
msgstr ""

#: serverguide/C/security.xml:91(command)
msgid "sudo deluser username"
msgstr ""

#: serverguide/C/security.xml:93(para)
msgid ""
"Deleting an account does not remove their respective home folder. It is up "
"to you whether or not you wish to delete the folder manually or keep it "
"according to your desired retention policies."
msgstr ""

#: serverguide/C/security.xml:96(para)
msgid ""
"Remember, any user added later on with the same UID/GID as the previous "
"owner will now have access to this folder if you have not taken the "
"necessary precautions."
msgstr ""

#: serverguide/C/security.xml:99(para)
msgid ""
"You may want to change these UID/GID values to something more appropriate, "
"such as the root account, and perhaps even relocate the folder to avoid "
"future conflicts:"
msgstr ""

#: serverguide/C/security.xml:103(command)
msgid "sudo chown -R root:root /home/username/"
msgstr ""

#: serverguide/C/security.xml:104(command)
msgid "sudo mkdir /home/archived_users/"
msgstr ""

#: serverguide/C/security.xml:105(command)
msgid "sudo mv /home/username /home/archived_users/"
msgstr ""

#: serverguide/C/security.xml:109(para)
msgid ""
"To temporarily lock or unlock a user account, use the following syntax, "
"respectively:"
msgstr ""

#: serverguide/C/security.xml:113(command)
msgid "sudo passwd -l username"
msgstr ""

#: serverguide/C/security.xml:114(command)
msgid "sudo passwd -u username"
msgstr ""

#: serverguide/C/security.xml:118(para)
msgid ""
"To add or delete a personalized group, use the following syntax, "
"respectively:"
msgstr ""

#: serverguide/C/security.xml:122(command)
msgid "sudo addgroup groupname"
msgstr ""

#: serverguide/C/security.xml:123(command)
msgid "sudo delgroup groupname"
msgstr ""

#: serverguide/C/security.xml:127(para)
msgid "To add a user to a group, use the following syntax:"
msgstr ""

#: serverguide/C/security.xml:131(command)
msgid "sudo adduser username groupname"
msgstr ""

#: serverguide/C/security.xml:138(title)
msgid "User Profile Security"
msgstr ""

#: serverguide/C/security.xml:139(para)
msgid ""
"When a new user is created, the adduser utility creates a brand new home "
"directory named <filename class=\"directory\">/home/username</filename>, "
"respectively. The default profile is modeled after the contents found in the "
"directory of <filename class=\"directory\">/etc/skel</filename>, which "
"includes all profile basics."
msgstr ""

#: serverguide/C/security.xml:142(para)
msgid ""
"If your server will be home to multiple users, you should pay close "
"attention to the user home directory permissions to ensure confidentiality. "
"By default, user home directories in Ubuntu are created with world "
"read/execute permissions. This means that all users can browse and access "
"the contents of other users home directories. This may not be suitable for "
"your environment."
msgstr ""

#: serverguide/C/security.xml:147(para)
msgid ""
"To verify your current users home directory permissions, use the following "
"syntax:"
msgstr ""

#: serverguide/C/security.xml:151(command) serverguide/C/security.xml:183(command)
msgid "ls -ld /home/username"
msgstr ""

#: serverguide/C/security.xml:153(para)
msgid ""
"The following output shows that the directory <filename "
"class=\"directory\">/home/username</filename> has world readable permissions:"
msgstr ""

#: serverguide/C/security.xml:156(computeroutput)
#, no-wrap
msgid "drwxr-xr-x  2 username username    4096 2007-10-02 20:03 username"
msgstr ""

#: serverguide/C/security.xml:160(para)
msgid ""
"You can remove the world readable permissions using the following syntax:"
msgstr ""

#: serverguide/C/security.xml:164(command)
msgid "sudo chmod 0750 /home/username"
msgstr ""

#: serverguide/C/security.xml:167(para)
msgid ""
"Some people tend to use the recursive option (-R) indiscriminately which "
"modifies all child folders and files, but this is not necessary, and may "
"yield other undesirable results. The parent directory alone is sufficient "
"for preventing unauthorized access to anything below the parent."
msgstr ""

#: serverguide/C/security.xml:171(para)
msgid ""
"A much more efficient approach to the matter would be to modify the "
"<application>adduser</application> global default permissions when creating "
"user home folders. Simply edit the file "
"<filename>/etc/adduser.conf</filename> and modify the "
"<varname>DIR_MODE</varname> variable to something appropriate, so that all "
"new home directories will receive the correct permissions."
msgstr ""

#: serverguide/C/security.xml:174(programlisting)
#, no-wrap
msgid ""
"\n"
"DIR_MODE=0750\n"
msgstr ""

#: serverguide/C/security.xml:179(para)
msgid ""
"After correcting the directory permissions using any of the previously "
"mentioned techniques, verify the results using the following syntax:"
msgstr ""

#: serverguide/C/security.xml:185(para)
msgid ""
"The results below show that world readable permissions have been removed:"
msgstr ""

#: serverguide/C/security.xml:188(computeroutput)
#, no-wrap
msgid "drwxr-x---   2 username username    4096 2007-10-02 20:03 username"
msgstr ""

#: serverguide/C/security.xml:195(title)
msgid "Password Policy"
msgstr ""

#: serverguide/C/security.xml:196(para)
msgid ""
"A strong password policy is one of the most important aspects of your "
"security posture. Many successful security breaches involve simple brute "
"force and dictionary attacks against weak passwords. If you intend to offer "
"any form of remote access involving your local password system, make sure "
"you adequately address minimum password complexity requirements, maximum "
"password lifetimes, and frequent audits of your authentication systems."
msgstr ""

#: serverguide/C/security.xml:200(title)
msgid "Minimum Password Length"
msgstr ""

#: serverguide/C/security.xml:201(para)
msgid ""
"By default, Ubuntu requires a minimum password length of 4 characters, as "
"well as some basic entropy checks. These values are controlled in the file "
"<filename>/etc/pam.d/common-password</filename>, which is outlined below."
msgstr ""

#: serverguide/C/security.xml:204(programlisting)
#, no-wrap
msgid ""
"\n"
"password   required   pam_unix.so nullok obscure min=4 max=8 md5\n"
msgstr ""

#: serverguide/C/security.xml:207(para)
msgid ""
"If you would like to adjust the minimum length to 6 characters, change the "
"appropriate variable to min=6. The modification is outlined below."
msgstr ""

#: serverguide/C/security.xml:210(programlisting)
#, no-wrap
msgid ""
"\n"
"password   required   pam_unix.so nullok obscure min=6 max=8 md5\n"
msgstr ""

#: serverguide/C/security.xml:214(para)
msgid ""
"The <varname>max=8</varname> variable does not represent the maximum length "
"of a password. It only means that complexity requirements will not be "
"checked on passwords over 8 characters. You may want to look at the "
"<application>libpam-cracklib</application> package for additional password "
"entropy assistance."
msgstr ""

#: serverguide/C/security.xml:220(title)
msgid "Password Expiration"
msgstr ""

#: serverguide/C/security.xml:221(para)
msgid ""
"When creating user accounts, you should make it a policy to have a minimum "
"and maximum password age forcing users to change their passwords when they "
"expire."
msgstr ""

#: serverguide/C/security.xml:226(para)
msgid ""
"To easily view the current status of a user account, use the following "
"syntax:"
msgstr ""

#: serverguide/C/security.xml:230(command) serverguide/C/security.xml:263(command)
msgid "sudo chage -l username"
msgstr ""

#: serverguide/C/security.xml:232(para)
msgid ""
"The output below shows interesting facts about the user account, namely that "
"there are no policies applied:"
msgstr ""

#: serverguide/C/security.xml:235(computeroutput)
#, no-wrap
msgid ""
"Last password change                                    : Jan 20, 2008\n"
"Password expires                                        : never\n"
"Password inactive                                       : never\n"
"Account expires                                         : never\n"
"Minimum number of days between password change          : 0\n"
"Maximum number of days between password change          : 99999\n"
"Number of days of warning before password expires       : 7"
msgstr ""

#: serverguide/C/security.xml:245(para)
msgid ""
"To set any of these values, simply use the following syntax, and follow the "
"interactive prompts:"
msgstr ""

#: serverguide/C/security.xml:249(command)
msgid "sudo chage username"
msgstr ""

#: serverguide/C/security.xml:251(para)
msgid ""
"The following is also an example of how you can manually change the explicit "
"expiration date (-E) to 01/31/2008, minimum password age (-m) of 5 days, "
"maximum password age (-M) of 90 days, inactivity period (-I) of 5 days after "
"password expiration, and a warning time period (-W) of 14 days before "
"password expiration."
msgstr ""

#: serverguide/C/security.xml:255(command)
msgid "sudo chage -E 01/31/2008 -m 5 -M 90 -I 30 -W 14 username"
msgstr ""

#: serverguide/C/security.xml:259(para)
msgid "To verify changes, use the same syntax as mentioned previously:"
msgstr ""

#: serverguide/C/security.xml:265(para)
msgid ""
"The output below shows the new policies that have been established for the "
"account:"
msgstr ""

#: serverguide/C/security.xml:268(computeroutput)
#, no-wrap
msgid ""
"Last password change                                    : Jan 20, 2008\n"
"Password expires                                        : Apr 19, 2008\n"
"Password inactive                                       : May 19, 2008\n"
"Account expires                                         : Jan 31, 2008\n"
"Minimum number of days between password change          : 5\n"
"Maximum number of days between password change          : 90\n"
"Number of days of warning before password expires       : 14"
msgstr ""

#: serverguide/C/security.xml:284(title)
msgid "Other Security Considerations"
msgstr ""

#: serverguide/C/security.xml:285(para)
msgid ""
"Many applications use alternate authentication mechanisms that can be easily "
"overlooked by even experienced system administrators. Therefore, it is "
"important to understand and control how users authenticate and gain access "
"to services and applications on your server."
msgstr ""

#: serverguide/C/security.xml:290(title)
msgid "SSH Access by Disabled Users"
msgstr ""

#: serverguide/C/security.xml:291(para)
msgid ""
"Simply disabling/locking a user account will not prevent a user from logging "
"into your server remotely if they have previously set up RSA public key "
"authentication. They will still be able to gain shell access to the server, "
"without the need for any password. Remember to check the users home "
"directory for files that will allow for this type of authenticated SSH "
"access. e.g. <filename>/home/username/.ssh/authorized_keys</filename>."
msgstr ""

#: serverguide/C/security.xml:294(para)
msgid ""
"Remove or rename the directory <filename "
"class=\"directory\">.ssh/</filename> in the user's home folder to prevent "
"further SSH authentication capabilities."
msgstr ""

#: serverguide/C/security.xml:297(para)
msgid ""
"Be sure to check for any established SSH connections by the disabled user, "
"as it is possible they may have existing inbound or outbound connections. "
"Kill any that are found."
msgstr ""

#: serverguide/C/security.xml:300(para)
msgid ""
"Restrict SSH access to only user accounts that should have it. For example, "
"you may create a group called \"sshlogin\" and add the group name as the "
"value associated with the <varname>AllowGroups</varname> variable located in "
"the file <filename>/etc/ssh/sshd_config</filename>."
msgstr ""

#: serverguide/C/security.xml:303(programlisting)
#, no-wrap
msgid ""
"\n"
"AllowGroups sshlogin\n"
msgstr ""

#: serverguide/C/security.xml:306(para)
msgid ""
"Then add your permitted SSH users to the group \"sshlogin\", and restart the "
"SSH service."
msgstr ""

#: serverguide/C/security.xml:310(command)
msgid "sudo adduser username sshlogin"
msgstr ""

#: serverguide/C/security.xml:311(command) serverguide/C/remote-administration.xml:150(command)
msgid "sudo /etc/init.d/ssh restart"
msgstr ""

#: serverguide/C/security.xml:315(title)
msgid "External User Database Authentication"
msgstr ""

#: serverguide/C/security.xml:316(para)
msgid ""
"Most enterprise networks require centralized authentication and access "
"controls for all system resources. If you have configured your server to "
"authenticate users against external databases, be sure to disable the user "
"accounts both externally and locally, this way you ensure that local "
"fallback authentication is not possible."
msgstr ""

#: serverguide/C/security.xml:325(title)
msgid "Console Security"
msgstr ""

#: serverguide/C/security.xml:326(para)
msgid ""
"As with any other security barrier you put in place to protect your server, "
"it is pretty tough to defend against untold damage caused by someone with "
"physical access to your environment, for example, theft of hard drives, "
"power or service disruption and so on. Therefore, console security should be "
"addressed merely as one component of your overall physical security "
"strategy. A locked \"screen door\" may deter a casual criminal, or at the "
"very least slow down a determined one, so it is still advisable to perform "
"basic precautions with regard to console security."
msgstr ""

#: serverguide/C/security.xml:329(para)
msgid ""
"The following instructions will help defend your server against issues that "
"could otherwise yield very serious consequences."
msgstr ""

#: serverguide/C/security.xml:334(title)
msgid "Disable Ctrl+Alt+Delete"
msgstr ""

#: serverguide/C/security.xml:335(para)
msgid ""
"First and foremost, anyone that has physical access to the keyboard can "
"simply use the "
"<keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>Delete</keycap></k"
"eycombo> key combination to reboot the server without having to log on. "
"Sure, someone could simply unplug the power source, but you should still "
"prevent the use of this key combination on a production server. This forces "
"an attacker to take more drastic measures to reboot the server, and will "
"prevent accidental reboots at the same time."
msgstr ""

#: serverguide/C/security.xml:340(para)
msgid ""
"To disable the reboot action taken by pressing the "
"<keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>Delete</keycap></k"
"eycombo> key combination, comment out the following line in the file "
"<filename>/etc/event.d/control-alt-delete</filename>."
msgstr ""

#: serverguide/C/security.xml:343(programlisting)
#, no-wrap
msgid ""
"\n"
"#exec /sbin/shutdown -r now \"Control-Alt-Delete pressed\"\n"
msgstr ""

#: serverguide/C/security.xml:350(title)
msgid "GRUB Password Security"
msgstr ""

#: serverguide/C/security.xml:351(para)
msgid ""
"Ubuntu installs GNU GRUB as its default boot loader, which allows for great "
"flexibility and recovery options. For example, when you install additional "
"kernel images, these are automatically added as available boot options in "
"the <application>grub</application> menu. Also, by default, alternate boot "
"options are available for each kernel entry that may be used for system "
"recovery, aptly labeled (recovery mode). Recovery mode simply boots the "
"corresponding kernel image into single user mode (init 1), which lands the "
"administrator at a root prompt without the need for any password."
msgstr ""

#: serverguide/C/security.xml:354(para)
msgid ""
"Therefore, it is important to control who may edit the "
"<application>grub</application> menu items which, would otherwise allow for "
"someone to perform the following dangerous actions:"
msgstr ""

#: serverguide/C/security.xml:359(para)
msgid "Pass kernel options at boot up."
msgstr ""

#: serverguide/C/security.xml:364(para)
msgid "Boot the server into single user mode."
msgstr ""

#: serverguide/C/security.xml:369(para)
msgid ""
"You can prevent these actions by adding a password to GRUB's configuration "
"file of <filename>/boot/grub/menu.lst</filename>, which will be required to "
"unlock GRUB's more advanced features prior to use."
msgstr ""

#: serverguide/C/security.xml:374(para)
msgid ""
"To add a password for use with <application>grub</application>, first you "
"must generate an md5 password hash using the <application>grub-md5-"
"crypt</application> utility:"
msgstr ""

#: serverguide/C/security.xml:378(command)
msgid "grub-md5-crypt"
msgstr ""

#: serverguide/C/security.xml:380(para)
msgid ""
"The command will ask you to enter a password and offer a resulting hash "
"value as shown below:"
msgstr ""

#: serverguide/C/security.xml:383(userinput)
#, no-wrap
msgid "(enter new password)"
msgstr ""

#: serverguide/C/security.xml:384(userinput)
#, no-wrap
msgid "(repeat password)"
msgstr ""

#: serverguide/C/security.xml:383(computeroutput)
#, no-wrap
msgid ""
"Password: <placeholder-1/>\n"
"Retype password: <placeholder-2/>\n"
"$1$s3YiK$M3lxAbqA6JLm2FbDWnClQ0"
msgstr ""

#: serverguide/C/security.xml:389(para)
msgid ""
"Add the resulting hash value to the file "
"<filename>/boot/grub/menu.lst</filename> in the following format:"
msgstr ""

#: serverguide/C/security.xml:392(programlisting)
#, no-wrap
msgid "password --md5 $1$s3YiK$M3lxAbqA6JLm2FbDWnClQ0"
msgstr ""

#: serverguide/C/security.xml:395(para)
msgid ""
"To require use of the password for entering single user mode, change the "
"value of the <varname>lockalternative</varname> variable in the file "
"<filename>/boot/grub/menu.lst</filename> to <varname>true</varname>, as "
"shown in the following example."
msgstr ""

#: serverguide/C/security.xml:398(programlisting)
#, no-wrap
msgid "# lockalternative=true"
msgstr ""

#: serverguide/C/security.xml:402(para)
msgid ""
"This does not prevent someone from booting the server from alternate media. "
"A determined attacker would simply boot into an alternate environment, "
"overwrite your master boot record, mount or copy your physical volumes, "
"destroy your data, or anything else they can imagine. Please explore other "
"countermeasures that may help you with these types of attacks."
msgstr ""

#: serverguide/C/security.xml:410(title)
msgid "Firewall"
msgstr ""

#: serverguide/C/security.xml:413(para)
msgid ""
"The Linux kernel includes the <emphasis>Netfilter</emphasis> subsystem, "
"which is used to manipulate or decide the fate of network traffic headed "
"into or through your server. All modern Linux firewall solutions use this "
"system for packet filtering."
msgstr ""

#: serverguide/C/security.xml:418(para)
msgid ""
"The kernel's packet filtering system would be of little use to "
"administrators without a userspace interface to manage it. This is the "
"purpose of iptables. When a packet reaches your server, it will be handed "
"off to the Netfilter subsystem for acceptance, manipulation, or rejection "
"based on the rules supplied to it from userspace via iptables. Thus, "
"iptables is all you need to manage your firewall if you're familiar with it, "
"but many frontends are available to simplify the task."
msgstr ""

#: serverguide/C/security.xml:428(title)
msgid "ufw - Uncomplicated Firewall"
msgstr ""

#: serverguide/C/security.xml:429(para)
msgid ""
"The default firewall configuration tool for Ubuntu is "
"<application>ufw</application>. Developed to ease iptables firewall "
"configuration, <application>ufw</application> provides a user friendly way "
"to create an IPv4 or IPv6 host-based firewall."
msgstr ""

#: serverguide/C/security.xml:433(para)
msgid ""
"<application>ufw</application> by default is initially disabled. From the "
"<application>ufw</application> man page:"
msgstr ""

#: serverguide/C/security.xml:437(quote)
msgid ""
"ufw is not intended to provide complete firewall functionality via its "
"command interface, but instead provides an easy way to add or remove simple "
"rules. It is currently mainly used for host-based firewalls."
msgstr ""

#: serverguide/C/security.xml:441(para)
msgid ""
"The following are some examples of how to use <application>ufw</application>:"
msgstr ""

#: serverguide/C/security.xml:446(para)
msgid ""
"First, <application>ufw</application> needs to be enabled. From a terminal "
"prompt enter:"
msgstr ""

#: serverguide/C/security.xml:450(command)
msgid "sudo ufw enable"
msgstr ""

#: serverguide/C/security.xml:454(para)
msgid "To open a port (ssh in this example):"
msgstr ""

#: serverguide/C/security.xml:458(command)
msgid "sudo ufw allow 22"
msgstr ""

#: serverguide/C/security.xml:462(para)
msgid "Rules can also be added using a <emphasis>numbered</emphasis> format:"
msgstr ""

#: serverguide/C/security.xml:466(command)
msgid "sudo ufw insert 1 allow 80"
msgstr ""

#: serverguide/C/security.xml:470(para)
msgid "Similarly, to close an opened port:"
msgstr ""

#: serverguide/C/security.xml:474(command)
msgid "sudo ufw deny 22"
msgstr ""

#: serverguide/C/security.xml:478(para)
msgid "To remove a rule, use delete followed by the rule:"
msgstr ""

#: serverguide/C/security.xml:482(command)
msgid "sudo ufw delete deny 22"
msgstr ""

#: serverguide/C/security.xml:486(para)
msgid ""
"It is also possible to allow access from specific hosts or networks to a "
"port. The following example allows ssh access from host 192.168.0.2 to any "
"ip address on this host:"
msgstr ""

#: serverguide/C/security.xml:491(command)
msgid "sudo ufw allow proto tcp from 192.168.0.2 to any port 22"
msgstr ""

#: serverguide/C/security.xml:493(para)
msgid ""
"Replace 192.168.0.2 with 192.168.0.0/24 to allow ssh access from the entire "
"subnet."
msgstr ""

#: serverguide/C/security.xml:499(para)
msgid ""
"Adding the <emphasis>--dry-run</emphasis> option to a "
"<emphasis>ufw</emphasis> command will output the resulting rules, but not "
"apply them. For example, the following is what would be applied if opening "
"the HTTP port:"
msgstr ""

#: serverguide/C/security.xml:505(command)
msgid "sudo ufw --dry-run allow http"
msgstr ""

#: serverguide/C/security.xml:509(computeroutput)
#, no-wrap
msgid ""
"*filter\n"
":ufw-user-input - [0:0]\n"
":ufw-user-output - [0:0]\n"
":ufw-user-forward - [0:0]\n"
":ufw-user-limit - [0:0]\n"
":ufw-user-limit-accept - [0:0]\n"
"### RULES ###\n"
"\n"
"### tuple ### allow tcp 80 0.0.0.0/0 any 0.0.0.0/0\n"
"-A ufw-user-input -p tcp --dport 80 -j ACCEPT\n"
"\n"
"### END RULES ###\n"
"-A ufw-user-input -j RETURN\n"
"-A ufw-user-output -j RETURN\n"
"-A ufw-user-forward -j RETURN\n"
"-A ufw-user-limit -m limit --limit 3/minute -j LOG --log-prefix \"[UFW "
"LIMIT]: \"\n"
"-A ufw-user-limit -j REJECT\n"
"-A ufw-user-limit-accept -j ACCEPT\n"
"COMMIT\n"
"Rules updated"
msgstr ""

#: serverguide/C/security.xml:533(para)
msgid "<application>ufw</application> can be disabled by:"
msgstr ""

#: serverguide/C/security.xml:537(command)
msgid "sudo ufw disable"
msgstr ""

#: serverguide/C/security.xml:541(para)
msgid "To see the firewall status, enter:"
msgstr ""

#: serverguide/C/security.xml:545(command)
msgid "sudo ufw status"
msgstr ""

#: serverguide/C/security.xml:549(para)
msgid "And for more verbose status information use:"
msgstr ""

#: serverguide/C/security.xml:553(command)
msgid "sudo ufw status verbose"
msgstr ""

#: serverguide/C/security.xml:557(para)
msgid "To view the <emphasis>numbered</emphasis> format:"
msgstr ""

#: serverguide/C/security.xml:561(command)
msgid "sudo ufw status numbered"
msgstr ""

#: serverguide/C/security.xml:566(para)
msgid ""
"If the port you want to open or close is defined in "
"<filename>/etc/services</filename>, you can use the port name instead of the "
"number. In the above examples, replace <emphasis>22</emphasis> with "
"<emphasis>ssh</emphasis>."
msgstr ""

#: serverguide/C/security.xml:572(para)
msgid ""
"This is a quick introduction to using <application>ufw</application>. Please "
"refer to the <application>ufw</application> man page for more information."
msgstr ""

#: serverguide/C/security.xml:578(title)
msgid "ufw Application Integration"
msgstr ""

#: serverguide/C/security.xml:580(para)
msgid ""
"Applications that open ports can include an <application>ufw</application> "
"profile, which details the ports needed for the application to function "
"properly. The profiles are kept in <filename "
"role=\"directory\">/etc/ufw/applications.d</filename>, and can be edited if "
"the default ports have been changed."
msgstr ""

#: serverguide/C/security.xml:589(para)
msgid ""
"To view which applications have installed a profile, enter the following in "
"a terminal:"
msgstr ""

#: serverguide/C/security.xml:594(command)
msgid "sudo ufw app list"
msgstr ""

#: serverguide/C/security.xml:600(para)
msgid ""
"Similar to allowing traffic to a port, using an application profile is "
"accomplished by entering:"
msgstr ""

#: serverguide/C/security.xml:605(command)
msgid "sudo ufw allow Samba"
msgstr ""

#: serverguide/C/security.xml:611(para)
msgid "An extended syntax is available as well:"
msgstr ""

#: serverguide/C/security.xml:616(command)
msgid "ufw allow from 192.168.0.0/24 to any app Samba"
msgstr ""

#: serverguide/C/security.xml:619(para)
msgid ""
"Replace <emphasis>Samba</emphasis> and <emphasis>192.168.0.0/24</emphasis> "
"with the application profile you are using and the IP range for your network."
msgstr ""

#: serverguide/C/security.xml:625(para)
msgid ""
"There is no need to specify the <emphasis>protocol</emphasis> for the "
"application, because that information is detailed in the profile. Also, note "
"that the <emphasis>app</emphasis> name replaces the "
"<emphasis>port</emphasis> number."
msgstr ""

#: serverguide/C/security.xml:634(para)
msgid ""
"To view details about which ports, protocols, etc are defined for an "
"application, enter:"
msgstr ""

#: serverguide/C/security.xml:639(command)
msgid "sudo ufw app info Samba"
msgstr ""

#: serverguide/C/security.xml:645(para)
msgid ""
"Not all applications that require opening a network port come with "
"<application>ufw</application> profiles, but if you have profiled an "
"application and want the file to be included with the package, please file a "
"bug against the package in <ulink "
"url=\"https://launchpad.net/\">Launchpad</ulink>."
msgstr ""

#: serverguide/C/security.xml:654(title)
msgid "IP Masquerading"
msgstr ""

#: serverguide/C/security.xml:655(para)
msgid ""
"The purpose of IP Masquerading is to allow machines with private, non-"
"routable IP addresses on your network to access the Internet through the "
"machine doing the masquerading. Traffic from your private network destined "
"for the Internet must be manipulated for replies to be routable back to the "
"machine that made the request. To do this, the kernel must modify the "
"<emphasis>source</emphasis> IP address of each packet so that replies will "
"be routed back to it, rather than to the private IP address that made the "
"request, which is impossible over the Internet. Linux uses "
"<emphasis>Connection Tracking</emphasis> (conntrack) to keep track of which "
"connections belong to which machines and reroute each return packet "
"accordingly. Traffic leaving your private network is thus \"masqueraded\" as "
"having originated from your Ubuntu gateway machine. This process is referred "
"to in Microsoft documentation as Internet Connection Sharing."
msgstr ""

#: serverguide/C/security.xml:671(title)
msgid "ufw Masquerading"
msgstr ""

#: serverguide/C/security.xml:672(para)
msgid ""
"IP Masquerading can be achieved using custom <application>ufw</application> "
"rules. This is possible because the current back-end for "
"<application>ufw</application> is <application>iptables-"
"restore</application> with the rules files located in "
"<filename>/etc/ufw/*.rules</filename>. These files are a great place to add "
"legacy iptables rules used without <application>ufw</application>, and rules "
"that are more network gateway or bridge related."
msgstr ""

#: serverguide/C/security.xml:678(para)
msgid ""
"The rules are split into two different files, rules that should be executed "
"before <application>ufw</application> command line rules, and rules that are "
"executed after <application>ufw</application> command line rules."
msgstr ""

#: serverguide/C/security.xml:684(para)
msgid ""
"First, packet forwarding needs to be enabled in "
"<application>ufw</application>. Two configuration files will need to be "
"adjusted, in <filename>/etc/default/ufw</filename> change the "
"<emphasis>DEFAULT_FORWARD_POLICY</emphasis> to <quote>ACCEPT</quote>:"
msgstr ""

#: serverguide/C/security.xml:688(programlisting)
#, no-wrap
msgid ""
"\n"
"DEFAULT_FORWARD_POLICY=\"ACCEPT\"\n"
msgstr ""

#: serverguide/C/security.xml:691(para)
msgid "Then edit <filename>/etc/ufw/sysctl.conf</filename> and uncomment:"
msgstr ""

#: serverguide/C/security.xml:694(programlisting) serverguide/C/security.xml:772(programlisting)
#, no-wrap
msgid ""
"\n"
"net.ipv4.ip_forward=1\n"
msgstr ""

#: serverguide/C/security.xml:697(para)
msgid "Similarly, for IPv6 forwarding uncomment:"
msgstr ""

#: serverguide/C/security.xml:700(programlisting) serverguide/C/security.xml:778(programlisting)
#, no-wrap
msgid ""
"\n"
"net.ipv6.conf.default.forwarding=1\n"
msgstr ""

#: serverguide/C/security.xml:705(para)
msgid ""
"Now we will add rules to the <filename>/etc/ufw/before.rules</filename> "
"file. The default rules only configure the <emphasis>filter</emphasis> "
"table, and to enable masquerading the <emphasis>nat</emphasis> table will "
"need to be configured. Add the following to the top of the file just after "
"the header comments:"
msgstr ""

#: serverguide/C/security.xml:710(programlisting)
#, no-wrap
msgid ""
"\n"
"# nat Table rules\n"
"*nat\n"
":POSTROUTING ACCEPT [0:0]\n"
"\n"
"# Forward traffic from eth1 through eth0.\n"
"-A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE\n"
"\n"
"# don't delete the 'COMMIT' line or these nat table rules won't be "
"processed\n"
"COMMIT\n"
msgstr ""

#: serverguide/C/security.xml:721(para)
msgid ""
"The comments are not strictly necessary, but it is considered good practice "
"to document your configuration. Also, when modifying any of the "
"<emphasis>rules</emphasis> files in <filename "
"class=\"directory\">/etc/ufw</filename>, make sure these lines are the last "
"line for each table modified:"
msgstr ""

#: serverguide/C/security.xml:727(programlisting)
#, no-wrap
msgid ""
"\n"
"# don't delete the 'COMMIT' line or these rules won't be processed\n"
"COMMIT\n"
msgstr ""

#: serverguide/C/security.xml:732(para)
msgid ""
"For each <emphasis>Table</emphasis> a corresponding "
"<emphasis>COMMIT</emphasis> statement is required. In these examples only "
"the <emphasis>nat</emphasis> and <emphasis>filter</emphasis> tables are "
"shown, but you can also add rules for the <emphasis>raw</emphasis> and "
"<emphasis>mangle</emphasis> tables."
msgstr ""

#: serverguide/C/security.xml:739(para)
msgid ""
"In the above example replace <emphasis>eth0</emphasis>, "
"<emphasis>eth1</emphasis>, and <emphasis>192.168.0.0/24</emphasis> with the "
"appropriate interfaces and IP range for your network."
msgstr ""

#: serverguide/C/security.xml:747(para)
msgid ""
"Finally, disable and re-enable <application>ufw</application> to apply the "
"changes:"
msgstr ""

#: serverguide/C/security.xml:751(command)
msgid "sudo ufw disable &amp;&amp; sudo ufw enable"
msgstr ""

#: serverguide/C/security.xml:755(para)
msgid ""
"IP Masquerading should now be enabled. You can also add any additional "
"FORWARD rules to the <filename>/etc/ufw/before.rules</filename>. It is "
"recommended that these additional rules be added to the <emphasis>ufw-before-"
"forward</emphasis> chain."
msgstr ""

#: serverguide/C/security.xml:762(title)
msgid "iptables Masquerading"
msgstr ""

#: serverguide/C/security.xml:763(para)
msgid ""
"<application>iptables</application> can also be used to enable masquerading."
msgstr ""

#: serverguide/C/security.xml:768(para)
msgid ""
"Similar to <application>ufw</application>, the first step is to enable IPv4 "
"packet forwarding by editing <filename>/etc/sysctl.conf</filename> and "
"uncomment the following line"
msgstr ""

#: serverguide/C/security.xml:775(para)
msgid "If you wish to enable IPv6 forwarding also uncomment:"
msgstr ""

#: serverguide/C/security.xml:783(para)
msgid ""
"Next, execute the <application>sysctl</application> command to enable the "
"new settings in the configuration file:"
msgstr ""

#: serverguide/C/security.xml:787(command)
msgid "sudo sysctl -p"
msgstr ""

#: serverguide/C/security.xml:791(para)
msgid ""
"IP Masquerading can now be accomplished with a single iptables rule, which "
"may differ slightly based on your network configuration:"
msgstr ""

#: serverguide/C/security.xml:794(screen)
#, no-wrap
msgid ""
"\n"
"sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -o ppp0 -j MASQUERADE\n"
msgstr ""

#: serverguide/C/security.xml:797(para)
msgid ""
"The above command assumes that your private address space is 192.168.0.0/16 "
"and that your Internet-facing device is ppp0. The syntax is broken down as "
"follows:"
msgstr ""

#: serverguide/C/security.xml:802(para)
msgid "-t nat -- the rule is to go into the nat table"
msgstr ""

#: serverguide/C/security.xml:803(para)
msgid ""
"-A POSTROUTING -- the rule is to be appended (-A) to the POSTROUTING chain"
msgstr ""

#: serverguide/C/security.xml:804(para)
msgid ""
"-s 192.168.0.0/16 -- the rule applies to traffic originating from the "
"specified address space"
msgstr ""

#: serverguide/C/security.xml:805(para)
msgid ""
"-o ppp0 -- the rule applies to traffic scheduled to be routed through the "
"specified network device"
msgstr ""

#: serverguide/C/security.xml:807(para)
msgid ""
"-j MASQUERADE -- traffic matching this rule is to \"jump\" (-j) to the "
"MASQUERADE target to be manipulated as described above"
msgstr ""

#: serverguide/C/security.xml:815(para)
msgid ""
"Also, each chain in the filter table (the default table, and where most or "
"all packet filtering occurs) has a default <emphasis>policy</emphasis> of "
"ACCEPT, but if you are creating a firewall in addition to a gateway device, "
"you may have set the policies to DROP or REJECT, in which case your "
"masqueraded traffic needs to be allowed through the FORWARD chain for the "
"above rule to work:"
msgstr ""

#: serverguide/C/security.xml:822(screen)
#, no-wrap
msgid ""
"\n"
"sudo iptables -A FORWARD -s 192.168.0.0/16 -o ppp0 -j ACCEPT\n"
"sudo iptables -A FORWARD -d 192.168.0.0/16 -m state --state "
"ESTABLISHED,RELATED -i ppp0 -j ACCEPT\n"
msgstr ""

#: serverguide/C/security.xml:826(para)
msgid ""
"The above commands will allow all connections from your local network to the "
"Internet and all traffic related to those connections to return to the "
"machine that initiated them."
msgstr ""

#: serverguide/C/security.xml:833(para)
msgid ""
"If you want masquerading to be enabled on reboot, which you probably do, "
"edit <filename>/etc/rc.local</filename> and add any commands used above. For "
"example add the first command with no filtering:"
msgstr ""

#: serverguide/C/security.xml:837(screen)
#, no-wrap
msgid ""
"\n"
"iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -o ppp0 -j MASQUERADE\n"
msgstr ""

#: serverguide/C/security.xml:845(title)
msgid "Logs"
msgstr ""

#: serverguide/C/security.xml:846(para)
msgid ""
"Firewall logs are essential for recognizing attacks, troubleshooting your "
"firewall rules, and noticing unusual activity on your network. You must "
"include logging rules in your firewall for them to be generated, though, and "
"logging rules must come before any applicable terminating rule (a rule with "
"a target that decides the fate of the packet, such as ACCEPT, DROP, or "
"REJECT)."
msgstr ""

#: serverguide/C/security.xml:853(para)
msgid ""
"If you are using <application>ufw</application>, you can turn on logging by "
"entering the following in a terminal:"
msgstr ""

#: serverguide/C/security.xml:857(command)
msgid "sudo ufw logging on"
msgstr ""

#: serverguide/C/security.xml:859(para)
msgid ""
"To turn logging off in <application>ufw</application>, simply replace "
"<emphasis role=\"italic\">on</emphasis> with <emphasis "
"role=\"italic\">off</emphasis> in the above command."
msgstr ""

#: serverguide/C/security.xml:862(para)
msgid ""
"If using <application>iptables</application> instead of "
"<application>ufw</application>, enter:"
msgstr ""

#: serverguide/C/security.xml:865(screen)
#, no-wrap
msgid ""
"\n"
"sudo iptables -A INPUT -m state --state NEW -p tcp --dport 80 -j LOG --log-"
"prefix \"NEW_HTTP_CONN: \"\n"
msgstr ""

#: serverguide/C/security.xml:868(para)
msgid ""
"A request on port 80 from the local machine, then, would generate a log in "
"dmesg that looks like this:"
msgstr ""

#: serverguide/C/security.xml:873(programlisting)
#, no-wrap
msgid ""
"[4304885.870000] NEW_HTTP_CONN: IN=lo OUT= "
"MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 "
"LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=58288 DF PROTO=TCP SPT=53981 DPT=80 "
"WINDOW=32767 RES=0x00 SYN URGP=0"
msgstr ""

#: serverguide/C/security.xml:875(para)
msgid ""
"The above log will also appear in <filename>/var/log/messages</filename>, "
"<filename>/var/log/syslog</filename>, and "
"<filename>/var/log/kern.log</filename>. This behavior can be modified by "
"editing <filename>/etc/syslog.conf</filename> appropriately or by installing "
"and configuring <application>ulogd</application> and using the ULOG target "
"instead of LOG. The <application>ulogd</application> daemon is a userspace "
"server that listens for logging instructions from the kernel specifically "
"for firewalls, and can log to any file you like, or even to a "
"<application>PostgreSQL</application> or <application>MySQL</application> "
"database. Making sense of your firewall logs can be simplified by using a "
"log analyzing tool such as <application>fwanalog</application>, "
"<application> fwlogwatch</application>, or <application>lire</application>."
msgstr ""

#: serverguide/C/security.xml:890(title)
msgid "Other Tools"
msgstr ""

#: serverguide/C/security.xml:891(para)
msgid ""
"There are many tools available to help you construct a complete firewall "
"without intimate knowledge of iptables. For the GUI-inclined:"
msgstr ""

#: serverguide/C/security.xml:897(para)
msgid ""
"<ulink url=\"http://www.fs-security.com/\">Firestarter</ulink> is quite "
"popular and easy to use."
msgstr ""

#: serverguide/C/security.xml:902(para)
msgid ""
"<ulink url=\"http://www.fwbuilder.org/\">fwbuilder</ulink> is very powerful "
"and will look familiar to an administrator who has used a commercial "
"firewall utility such as <application>Checkpoint FireWall-1</application>."
msgstr ""

#: serverguide/C/security.xml:908(para)
msgid ""
"If you prefer a command-line tool with plain-text configuration files:"
msgstr ""

#: serverguide/C/security.xml:913(para)
msgid ""
"<ulink url=\"http://www.shorewall.net/\">Shorewall</ulink> is a very "
"powerful solution to help you configure an advanced firewall for any network."
msgstr ""

#: serverguide/C/security.xml:919(para)
msgid ""
"<ulink url=\"http://www.linuxkungfu.org/\">ipkungfu</ulink> should give you "
"a working firewall \"out of the box\" with zero configuration, and will "
"allow you to easily set up a more advanced firewall by editing simple, well-"
"documented configuration files."
msgstr ""

#: serverguide/C/security.xml:926(para)
msgid ""
"<ulink url=\"http://fireflier.sourceforge.net/\">fireflier</ulink> is "
"designed to be a desktop firewall application. It is made up of a server "
"(fireflier-server) and your choice of GUI clients (GTK or QT), and behaves "
"like many popular interactive firewall applications for Windows."
msgstr ""

#: serverguide/C/security.xml:938(para)
msgid ""
"The <ulink url=\"https://wiki.ubuntu.com/UbuntuFirewall\">Ubuntu "
"Firewall</ulink> wiki page contains information on the development of "
"<application>ufw</application>."
msgstr ""

#: serverguide/C/security.xml:944(para)
msgid ""
"Also, the <application>ufw</application> manual page contains some very "
"useful information: <command>man ufw</command>."
msgstr ""

#: serverguide/C/security.xml:949(para)
msgid ""
"See the <ulink url=\"http://www.netfilter.org/documentation/HOWTO/packet-"
"filtering-HOWTO.html\">packet-filtering-HOWTO</ulink> for more information "
"on using <application>iptables</application>."
msgstr ""

#: serverguide/C/security.xml:955(para)
msgid ""
"The <ulink url=\"http://www.netfilter.org/documentation/HOWTO/NAT-"
"HOWTO.html\">nat-HOWTO</ulink> contains further details on masquerading."
msgstr ""

#: serverguide/C/security.xml:964(title)
msgid "AppArmor"
msgstr ""

#: serverguide/C/security.xml:965(para)
msgid ""
"<application>AppArmor</application> is a Linux Security Module "
"implementation of name-based mandatory access controls. AppArmor confines "
"individual programs to a set of listed files and posix 1003.1e draft "
"capabilities."
msgstr ""

#: serverguide/C/security.xml:969(para)
msgid ""
"<application>AppArmor</application> is installed and loaded by default. It "
"uses <emphasis>profiles</emphasis> of an application to determine what files "
"and permissions the application requires. Some packages will install their "
"own profiles, and additional profiles can be found in the "
"<application>apparmor-profiles</application> package."
msgstr ""

#: serverguide/C/security.xml:974(para)
msgid ""
"To install the <application>apparmor-profiles</application> package from a "
"terminal prompt:"
msgstr ""

#: serverguide/C/security.xml:980(para)
msgid "AppArmor profiles have two modes of execution:"
msgstr ""

#: serverguide/C/security.xml:985(para)
msgid ""
"Complaining/Learning: profile violations are permitted and logged. Useful "
"for testing and developing new profiles."
msgstr ""

#: serverguide/C/security.xml:990(para)
msgid ""
"Enforced/Confined: enforces profile policy as well as logging the violation."
msgstr ""

#: serverguide/C/security.xml:996(title)
msgid "Using AppArmor"
msgstr ""

#: serverguide/C/security.xml:997(para)
msgid ""
"The <application>apparmor-utils</application> package contains command line "
"utilities that you can use to change the <application>AppArmor</application> "
"execution mode, find the status of a profile, create new profiles, etc."
msgstr ""

#: serverguide/C/security.xml:1003(para)
msgid ""
"<application>apparmor_status</application> is used to view the current "
"status of AppArmor profiles."
msgstr ""

#: serverguide/C/security.xml:1007(command)
msgid "sudo apparmor_status"
msgstr ""

#: serverguide/C/security.xml:1011(para)
msgid ""
"<application>aa-complain</application> places a profile into "
"<emphasis>complain</emphasis> mode."
msgstr ""

#: serverguide/C/security.xml:1015(command)
msgid "sudo aa-complain /path/to/bin"
msgstr ""

#: serverguide/C/security.xml:1019(para)
msgid ""
"<application>aa-enforce</application> places a profile into "
"<emphasis>enforce</emphasis> mode."
msgstr ""

#: serverguide/C/security.xml:1023(command)
msgid "sudo aa-enforce /path/to/bin"
msgstr ""

#: serverguide/C/security.xml:1027(para)
msgid ""
"The <filename>/etc/apparmor.d</filename> directory is where the AppArmor "
"profiles are located. It can be used to manipulate the "
"<emphasis>mode</emphasis> of all profiles."
msgstr ""

#: serverguide/C/security.xml:1031(para)
msgid "Enter the following to place all profiles into complain mode:"
msgstr ""

#: serverguide/C/security.xml:1035(command)
msgid "sudo aa-complain /etc/apparmor.d/*"
msgstr ""

#: serverguide/C/security.xml:1037(para)
msgid "To place all profiles in enforce mode:"
msgstr ""

#: serverguide/C/security.xml:1041(command)
msgid "sudo aa-enforce /etc/apparmor.d/*"
msgstr ""

#: serverguide/C/security.xml:1045(para)
msgid ""
"<application>apparmor_parser</application> is used to load a profile into "
"the kernel. It can also be used to reload a currently loaded profile using "
"the <emphasis>-r</emphasis> option. To load a profile:"
msgstr ""

#: serverguide/C/security.xml:1050(command) serverguide/C/security.xml:1082(command)
msgid "cat /etc/apparmor.d/profile.name | sudo apparmor_parser -a"
msgstr ""

#: serverguide/C/security.xml:1052(para)
msgid "To reload a profile:"
msgstr ""

#: serverguide/C/security.xml:1056(command)
msgid "cat /etc/apparmor.d/profile.name | sudo apparmor_parser -r"
msgstr ""

#: serverguide/C/security.xml:1060(para)
msgid ""
"<filename>/etc/init.d/apparmor</filename> can be used to "
"<emphasis>reload</emphasis> all profiles:"
msgstr ""

#: serverguide/C/security.xml:1064(command)
msgid "sudo /etc/init.d/apparmor reload"
msgstr ""

#: serverguide/C/security.xml:1068(para)
msgid ""
"The <filename>/etc/apparmor.d/disable</filename> directory can be used along "
"with the <application>apparmor_parser -R</application> option to "
"<emphasis>disable</emphasis> a profile."
msgstr ""

#: serverguide/C/security.xml:1073(command)
msgid "sudo ln -s /etc/apparmor.d/profile.name /etc/apparmor.d/disable/"
msgstr ""

#: serverguide/C/security.xml:1074(command)
msgid "sudo apparmor_parser -R /etc/apparmor.d/profile.name"
msgstr ""

#: serverguide/C/security.xml:1076(para)
msgid ""
"To <emphasis>re-enable</emphasis> a disabled profile remove the symbolic "
"link to the profile in <filename>/etc/apparmor.d/disable/</filename>. Then "
"load the profile using the <emphasis>-a</emphasis> option."
msgstr ""

#: serverguide/C/security.xml:1081(command)
msgid "sudo rm /etc/apparmor.d/disable/profile.name"
msgstr ""

#: serverguide/C/security.xml:1086(para)
msgid ""
"<application>AppArmor</application> can be disabled, and the kernel module "
"unloaded by entering the following:"
msgstr ""

#: serverguide/C/security.xml:1090(command)
msgid "sudo /etc/init.d/apparmor stop"
msgstr ""

#: serverguide/C/security.xml:1091(command)
msgid "sudo update-rc.d -f apparmor remove"
msgstr ""

#: serverguide/C/security.xml:1095(para)
msgid "To re-enable <application>AppArmor</application> enter:"
msgstr ""

#: serverguide/C/security.xml:1099(command)
msgid "sudo /etc/init.d/apparmor start"
msgstr ""

#: serverguide/C/security.xml:1100(command)
msgid "sudo update-rc.d apparmor defaults"
msgstr ""

#: serverguide/C/security.xml:1105(para)
msgid ""
"Replace <emphasis>profile.name</emphasis> with the name of the profile you "
"want to manipulate. Also, replace <filename>/path/to/bin/</filename> with "
"the actual executable file path. For example for the "
"<application>ping</application> command use <filename>/bin/ping</filename>"
msgstr ""

#: serverguide/C/security.xml:1113(title)
msgid "Profiles"
msgstr ""

#: serverguide/C/security.xml:1114(para)
msgid ""
"<application>AppArmor</application> profiles are simple text files located "
"in <filename>/etc/apparmor.d/</filename>. The files are named after the full "
"path to the executable they profile replacing the \"/\" with \".\". For "
"example <filename>/etc/apparmor.d/bin.ping</filename> is the AppArmor "
"profile for the <filename>/bin/ping</filename> command."
msgstr ""

#: serverguide/C/security.xml:1120(para)
msgid "There are two main type of rules used in profiles:"
msgstr ""

#: serverguide/C/security.xml:1125(para)
msgid ""
"<emphasis>Path entries:</emphasis> which detail which files an application "
"can access in the file system."
msgstr ""

#: serverguide/C/security.xml:1130(para)
msgid ""
"<emphasis>Capability entries:</emphasis> determine what privileges a "
"confined process is allowed to use."
msgstr ""

#: serverguide/C/security.xml:1135(para)
msgid ""
"As an example take a look at <filename>/etc/apparmor.d/bin.ping</filename>:"
msgstr ""

#: serverguide/C/security.xml:1138(programlisting)
#, no-wrap
msgid ""
"\n"
"#include &lt;tunables/global&gt;\n"
"/bin/ping flags=(complain) {\n"
"  #include &lt;abstractions/base&gt;\n"
"  #include &lt;abstractions/consoles&gt;\n"
"  #include &lt;abstractions/nameservice&gt;\n"
"\n"
"  capability net_raw,\n"
"  capability setuid,\n"
"  network inet raw,\n"
"  \n"
"  /bin/ping mixr,\n"
"  /etc/modules.conf r,\n"
"}\n"
msgstr ""

#: serverguide/C/security.xml:1155(para)
msgid ""
"<emphasis>#include &lt;tunables/global&gt;:</emphasis> include statements "
"from other files. This allows statements pertaining to multiple applications "
"to be placed in a common file."
msgstr ""

#: serverguide/C/security.xml:1161(para)
msgid ""
"<emphasis>/bin/ping flags=(complain):</emphasis> path to the profiled "
"program, also setting the mode to <emphasis>complain</emphasis>."
msgstr ""

#: serverguide/C/security.xml:1167(para)
msgid ""
"<emphasis>capability net_raw,:</emphasis> allows the application access to "
"the CAP_NET_RAW Posix.1e capability."
msgstr ""

#: serverguide/C/security.xml:1172(para)
msgid ""
"<emphasis>/bin/ping mixr,:</emphasis> allows the application read and "
"execute access to the file."
msgstr ""

#: serverguide/C/security.xml:1178(para)
msgid ""
"After editing a profile file the profile must be reloaded. See <xref "
"linkend=\"apparmor-usage\"/> for details."
msgstr ""

#: serverguide/C/security.xml:1183(title)
msgid "Creating a Profile"
msgstr ""

#: serverguide/C/security.xml:1186(para)
msgid ""
"<emphasis>Design a test plan:</emphasis> Try to think about how the "
"application should be exercised. The test plan should be divided into small "
"test cases. Each test case should have a small description and list the "
"steps to follow."
msgstr ""

#: serverguide/C/security.xml:1190(para)
msgid "Some standard test cases are:"
msgstr ""

#: serverguide/C/security.xml:1195(para)
msgid "Starting the program."
msgstr ""

#: serverguide/C/security.xml:1200(para)
msgid "Stopping the program."
msgstr ""

#: serverguide/C/security.xml:1205(para)
msgid "Reloading the program."
msgstr ""

#: serverguide/C/security.xml:1210(para)
msgid "Testing all the commands supported by the init script."
msgstr ""

#: serverguide/C/security.xml:1217(para)
msgid ""
"<emphasis>Generate the new profile:</emphasis> Use <application>aa-"
"genprof</application> to generate a new profile. From a terminal:"
msgstr ""

#: serverguide/C/security.xml:1222(command)
msgid "sudo aa-genprof executable"
msgstr ""

#: serverguide/C/security.xml:1224(para)
msgid "For example:"
msgstr ""

#: serverguide/C/security.xml:1228(command)
msgid "sudo aa-genprof slapd"
msgstr ""

#: serverguide/C/security.xml:1232(para)
msgid ""
"To get your new profile included in the <application>apparmor-"
"profiles</application> package, file a bug in <emphasis>Launchpad</emphasis> "
"against the <ulink "
"url=\"https://bugs.launchpad.net/ubuntu/+source/apparmor/+filebug\">AppArmor<"
"/ulink> package:"
msgstr ""

#: serverguide/C/security.xml:1239(para)
msgid "Include your test plan and test cases."
msgstr ""

#: serverguide/C/security.xml:1244(para)
msgid "Attach your new profile to the bug."
msgstr ""

#: serverguide/C/security.xml:1253(title)
msgid "Updating Profiles"
msgstr ""

#: serverguide/C/security.xml:1254(para)
msgid ""
"When the program is misbehaving, audit messages are sent to the log files. "
"The program <application>aa-logprof</application> can be used to scan log "
"files for <application>AppArmor</application> audit messages, review them "
"and update the profiles. From a terminal:"
msgstr ""

#: serverguide/C/security.xml:1259(command)
msgid "sudo aa-logprof"
msgstr ""

#: serverguide/C/security.xml:1267(para)
msgid ""
"See the <ulink "
"url=\"http://www.novell.com/documentation/apparmor/apparmor201_sp10_admin/ind"
"ex.html?page=/documentation/apparmor/apparmor201_sp10_admin/data/book_apparmo"
"r_admin.html\">AppArmor Administration Guide</ulink> for advanced "
"configuration options."
msgstr ""

#: serverguide/C/security.xml:1274(para)
msgid ""
"For details using AppArmor with other Ubuntu releases see the <ulink "
"url=\"https://help.ubuntu.com/community/AppArmor\"> AppArmor Community "
"Wiki</ulink> page."
msgstr ""

#: serverguide/C/security.xml:1282(para)
msgid ""
"The <ulink url=\"http://en.opensuse.org/AppArmor\">OpenSUSE AppArmor</ulink> "
"page is another introduction to AppArmor."
msgstr ""

#: serverguide/C/security.xml:1289(para)
msgid ""
"A great place to ask for <application>AppArmor</application> assistance, and "
"get involved with the Ubuntu Server community, is the <emphasis>#ubuntu-"
"server</emphasis> IRC channel on <ulink "
"url=\"http://freenode.net\">freenode</ulink>."
msgstr ""

#: serverguide/C/security.xml:1299(title)
msgid "Certificates"
msgstr ""

#: serverguide/C/security.xml:1300(para)
msgid ""
"One of the most common forms of cryptography today is <emphasis>public-"
"key</emphasis> cryptography. Public-key cryptography utilizes a "
"<emphasis>public key</emphasis> and a <emphasis>private key</emphasis>. The "
"system works by <emphasis>encrypting</emphasis> information using the public "
"key. The information can then only be <emphasis>decrypted</emphasis> using "
"the private key."
msgstr ""

#: serverguide/C/security.xml:1306(para)
msgid ""
"A common use for public-key cryptography is encrypting application traffic "
"using a Secure Socket Layer (SSL) or Transport Layer Security (TLS) "
"connection. For example, configuring Apache to provide "
"<emphasis>HTTPS</emphasis>, the HTTP protocol over SSL. This allows a way to "
"encrypt traffic using a protocol that does not itself provide encryption."
msgstr ""

#: serverguide/C/security.xml:1311(para)
msgid ""
"A <emphasis>Certificate</emphasis> is a method used to distribute a "
"<emphasis>public key</emphasis> and other information about a server and the "
"organization who is responsible for it. Certificates can be digitally signed "
"by a <emphasis>Certification Authority</emphasis> or CA. A CA is a trusted "
"third party that has confirmed that the information contained in the "
"certificate is accurate."
msgstr ""

#: serverguide/C/security.xml:1318(title)
msgid "Types of Certificates"
msgstr ""

#: serverguide/C/security.xml:1319(para)
msgid ""
"To set up a secure server using public-key cryptography, in most cases, you "
"send your certificate request (including your public key), proof of your "
"company's identity, and payment to a CA. The CA verifies the certificate "
"request and your identity, and then sends back a certificate for your secure "
"server. Alternatively, you can create your own <emphasis>self-"
"signed</emphasis> certificate."
msgstr ""

#: serverguide/C/security.xml:1329(para)
msgid ""
"Note, that self-signed certificates should not be used in most production "
"environments."
msgstr ""

#: serverguide/C/security.xml:1333(para)
msgid ""
"Continuing the HTTPS example, a CA-signed certificate provides two important "
"capabilities that a self-signed certificate does not:"
msgstr ""

#: serverguide/C/security.xml:1340(para)
msgid ""
"Browsers (usually) automatically recognize the certificate and allow a "
"secure connection to be made without prompting the user."
msgstr ""

#: serverguide/C/security.xml:1347(para)
msgid ""
"When a CA issues a signed certificate, it is guaranteeing the identity of "
"the organization that is providing the web pages to the browser."
msgstr ""

#: serverguide/C/security.xml:1355(para)
msgid ""
"Most Web browsers, and computers, that support SSL have a list of CAs whose "
"certificates they automatically accept. If a browser encounters a "
"certificate whose authorizing CA is not in the list, the browser asks the "
"user to either accept or decline the connection. Also, other applications "
"may generate an error message when using a self-singed certificate."
msgstr ""

#: serverguide/C/security.xml:1363(para)
msgid ""
"The process of getting a certificate from a CA is fairly easy. A quick "
"overview is as follows:"
msgstr ""

#: serverguide/C/security.xml:1370(para)
msgid "Create a private and public encryption key pair."
msgstr ""

#: serverguide/C/security.xml:1373(para)
msgid ""
"Create a certificate request based on the public key. The certificate "
"request contains information about your server and the company hosting it."
msgstr ""

#: serverguide/C/security.xml:1378(para)
msgid ""
"Send the certificate request, along with documents proving your identity, to "
"a CA. We cannot tell you which certificate authority to choose. Your "
"decision may be based on your past experiences, or on the experiences of "
"your friends or colleagues, or purely on monetary factors."
msgstr ""

#: serverguide/C/security.xml:1384(para)
msgid ""
"Once you have decided upon a CA, you need to follow the instructions they "
"provide on how to obtain a certificate from them."
msgstr ""

#: serverguide/C/security.xml:1389(para)
msgid ""
"When the CA is satisfied that you are indeed who you claim to be, they send "
"you a digital certificate."
msgstr ""

#: serverguide/C/security.xml:1393(para)
msgid ""
"Install this certificate on your secure server, and configure the "
"appropriate applications to use the certificate."
msgstr ""

#: serverguide/C/security.xml:1402(title)
msgid "Generating a Certificate Signing Request (CSR)"
msgstr ""

#: serverguide/C/security.xml:1404(para)
msgid ""
"Whether you are getting a certificate from a CA or generating your own self-"
"signed certificate, the first step is to generate a key."
msgstr ""

#: serverguide/C/security.xml:1409(para)
msgid ""
"If the certificate will be used by service daemons, such as Apache, Postfix, "
"Dovecot, etc, a key without a passphrase is often appropriate. Not having a "
"passphrase allows the services to start without manual intervention, usually "
"the preferred way to start a daemon."
msgstr ""

#: serverguide/C/security.xml:1415(para)
msgid ""
"This section will cover generating a key with a passphrase, and one without. "
"The non-passphrase key will then be used to generate a certificate that can "
"be used with various service daemons."
msgstr ""

#: serverguide/C/security.xml:1421(para)
msgid ""
"Running your secure service without a passphrase is convenient because you "
"will not need to enter the passphrase every time you start your secure "
"service. But it is insecure and a compromise of the key means a compromise "
"of the server as well."
msgstr ""

#: serverguide/C/security.xml:1428(para)
msgid ""
"To generate the <emphasis>keys</emphasis> for the Certificate Signing "
"Request (CSR) run the following command from a terminal prompt:"
msgstr ""

#: serverguide/C/security.xml:1434(command)
msgid "openssl genrsa -des3 -out server.key 1024"
msgstr ""

#: serverguide/C/security.xml:1437(programlisting)
#, no-wrap
msgid ""
"\n"
"Generating RSA private key, 1024 bit long modulus\n"
".....................++++++\n"
".................++++++\n"
"unable to write 'random state'\n"
"e is 65537 (0x10001)\n"
"Enter pass phrase for server.key:\n"
msgstr ""

#: serverguide/C/security.xml:1446(para)
msgid ""
"You can now enter your passphrase. For best security, it should at least "
"contain eight characters. The minimum length when specifying -des3 is four "
"characters. It should include numbers and/or punctuation and not be a word "
"in a dictionary. Also remember that your passphrase is case-sensitive."
msgstr ""

#: serverguide/C/security.xml:1454(para)
msgid ""
"Re-type the passphrase to verify. Once you have re-typed it correctly, the "
"server key is generated and stored in the <filename>server.key</filename> "
"file."
msgstr ""

#: serverguide/C/security.xml:1460(para)
msgid ""
"Now create the insecure key, the one without a passphrase, and shuffle the "
"key names:"
msgstr ""

#: serverguide/C/security.xml:1466(command)
msgid "openssl rsa -in server.key -out server.key.insecure"
msgstr ""

#: serverguide/C/security.xml:1467(command)
msgid "mv server.key server.key.secure"
msgstr ""

#: serverguide/C/security.xml:1468(command)
msgid "mv server.key.insecure server.key"
msgstr ""

#: serverguide/C/security.xml:1471(para)
msgid ""
"The insecure key is now named <filename>server.key</filename>, and you can "
"use this file to generate the CSR without passphrase."
msgstr ""

#: serverguide/C/security.xml:1476(para)
msgid "To create the CSR, run the following command at a terminal prompt:"
msgstr ""

#: serverguide/C/security.xml:1481(command)
msgid "openssl req -new -key server.key -out server.csr"
msgstr ""

#: serverguide/C/security.xml:1484(para)
msgid ""
"It will prompt you enter the passphrase. If you enter the correct "
"passphrase, it will prompt you to enter Company Name, Once you enter all "
"these details, your CSR will be created and it will be stored in the "
"<filename>server.csr</filename> file. Site Name, Email Id, etc."
msgstr ""

#: serverguide/C/security.xml:1492(para)
msgid ""
"You can now submit this CSR file to a CA for processing. The CA will use "
"this CSR file and issue the certificate. On the other hand, you can create "
"self-signed certificate using this CSR."
msgstr ""

#: serverguide/C/security.xml:1500(title)
msgid "Creating a Self-Signed Certificate"
msgstr ""

#: serverguide/C/security.xml:1501(para)
msgid ""
"To create the self-signed certificate, run the following command at a "
"terminal prompt:"
msgstr ""

#: serverguide/C/security.xml:1506(command)
msgid ""
"openssl x509 -req -days 365 -in server.csr -signkey server.key -out "
"server.crt"
msgstr ""

#: serverguide/C/security.xml:1509(para)
msgid ""
"The above command will prompt you to enter the passphrase. Once you enter "
"the correct passphrase, your certificate will be created and it will be "
"stored in the <filename>server.crt</filename> file."
msgstr ""

#: serverguide/C/security.xml:1514(para)
msgid ""
"If your secure server is to be used in a production environment, you "
"probably need a CA-signed certificate. It is not recommended to use self-"
"signed certificate."
msgstr ""

#: serverguide/C/security.xml:1522(title)
msgid "Installing the Certificate"
msgstr ""

#: serverguide/C/security.xml:1524(para)
msgid ""
"You can install the key file <filename>server.key</filename> and certificate "
"file <filename>server.crt</filename>, or the certificate file issued by your "
"CA, by running following commands at a terminal prompt:"
msgstr ""

#: serverguide/C/security.xml:1530(command)
msgid "sudo cp server.crt /etc/ssl/certs"
msgstr ""

#: serverguide/C/security.xml:1531(command)
msgid "sudo cp server.key /etc/ssl/private"
msgstr ""

#: serverguide/C/security.xml:1533(para)
msgid ""
"Now simply configure any applications, with the ability to use public-key "
"cryptography, to use the <emphasis>certificate</emphasis> and "
"<emphasis>key</emphasis> files. For example, "
"<application>Apache</application> can provide HTTPS, "
"<application>Dovecot</application> can provide IMAPS and POP3S, etc."
msgstr ""

#: serverguide/C/security.xml:1540(title)
msgid "Certification Authority"
msgstr ""

#: serverguide/C/security.xml:1542(para)
msgid ""
"If the services on your network require more than a few self-signed "
"certificates it may be worth the additional effort to setup your own "
"internal <emphasis>Certification Authority (CA)</emphasis>. Using "
"certificates signed by your own CA, allows the various services using the "
"certificates to easily trust other services using certificates issued from "
"the same CA."
msgstr ""

#: serverguide/C/security.xml:1552(para)
msgid ""
"First, create the directories to hold the CA certificate and related files:"
msgstr ""

#: serverguide/C/security.xml:1557(command)
msgid "sudo mkdir /etc/ssl/CA"
msgstr ""

#: serverguide/C/security.xml:1558(command)
msgid "sudo mkdir /etc/ssl/newcerts"
msgstr ""

#: serverguide/C/security.xml:1564(para)
msgid ""
"The CA needs a few additional files to operate, one to keep track of the "
"last serial number used by the CA, each certificate must have a unique "
"serial number, and another file to record which certificates have been "
"issued:"
msgstr ""

#: serverguide/C/security.xml:1571(command)
msgid "sudo sh -c \"echo '01' &gt; /etc/ssl/CA/serial\""
msgstr ""

#: serverguide/C/security.xml:1572(command)
msgid "sudo touch /etc/ssl/CA/index.txt"
msgstr ""

#: serverguide/C/security.xml:1578(para)
msgid ""
"The third file is a CA configuration file. Though not strictly necessary, it "
"is very convenient when issuing multiple certificates. Edit "
"<filename>/etc/ssl/openssl.cnf</filename>, and in the <emphasis>[ CA_default "
"]</emphasis> change:"
msgstr ""

#: serverguide/C/security.xml:1584(programlisting)
#, no-wrap
msgid ""
"\n"
"dir             = /etc/ssl/             # Where everything is kept\n"
"database        = $dir/CA/index.txt     # database index file.\n"
"certificate     = $dir/certs/cacert.pem # The CA certificate\n"
"serial          = $dir/CA/serial        # The current serial number\n"
"private_key     = $dir/private/cakey.pem# The private key\n"
msgstr ""

#: serverguide/C/security.xml:1595(para)
msgid "Next, create the self-singed root certificate:"
msgstr ""

#: serverguide/C/security.xml:1600(command)
msgid ""
"openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -"
"days 3650"
msgstr ""

#: serverguide/C/security.xml:1603(para)
msgid "You will then be asked to enter the details about the certificate."
msgstr ""

#: serverguide/C/security.xml:1610(para)
msgid "Now install the root certificate and key:"
msgstr ""

#: serverguide/C/security.xml:1615(command)
msgid "sudo mv cakey.pem /etc/ssl/private/"
msgstr ""

#: serverguide/C/security.xml:1616(command)
msgid "sudo mv cacert.pem /etc/ssl/certs/"
msgstr ""

#: serverguide/C/security.xml:1622(para)
msgid ""
"You are now ready to start signing certificates. The first item needed is a "
"Certificate Signing Request (CSR), see <xref linkend=\"generating-a-csr\"/> "
"for details. Once you have a CSR, enter the following to generate a "
"certificate signed by the CA:"
msgstr ""

#: serverguide/C/security.xml:1629(command)
msgid "sudo openssl ca -in server.csr -config /etc/ssl/openssl.cnf"
msgstr ""

#: serverguide/C/security.xml:1632(para)
msgid ""
"After entering the password for the CA key, you will be prompted to sign the "
"certificate, and again to commit the new certificate. You should then see a "
"somewhat large amount of output related to the certificate creation."
msgstr ""

#: serverguide/C/security.xml:1641(para)
msgid ""
"There should now be a new file, "
"<filename>/etc/ssl/newcerts/01.pem</filename>, containing the same output. "
"Copy and paste everything between the <emphasis>-----BEGIN CERTIFICATE-----"
"</emphasis> and <emphasis>----END CERTIFICATE-----</emphasis> lines to a "
"file named after the hostname of the server where the certificate will be "
"installed. For example <filename>mail.example.com.crt</filename>, is a nice "
"descriptive name."
msgstr ""

#: serverguide/C/security.xml:1649(para)
msgid ""
"Subsequent certificates will be named <filename>02.pem</filename>, "
"<filename>03.pem</filename>, etc."
msgstr ""

#: serverguide/C/security.xml:1654(para)
msgid ""
"Replace <emphasis>mail.example.com.crt</emphasis> with your own descriptive "
"name."
msgstr ""

#: serverguide/C/security.xml:1662(para)
msgid ""
"Finally, copy the new certificate to the host that needs it, and configure "
"the appropriate applications to use it. The default location to install "
"certificates is <filename role=\"directory\">/etc/ssl/certs</filename>. This "
"enables multiple services to use the same certificate without overly "
"complicated file permissions."
msgstr ""

#: serverguide/C/security.xml:1668(para)
msgid ""
"For applications that can be configured to use a CA certificate, you should "
"also copy the <filename>/etc/ssl/certs/cacert.pem</filename> file to the "
"<filename role=\"directory\">/etc/ssl/certs/</filename> directory on each "
"server."
msgstr ""

#: serverguide/C/security.xml:1682(para)
msgid ""
"For more detailed instructions on using cryptography see the <ulink "
"url=\"http://tldp.org/HOWTO/SSL-Certificates-HOWTO/index.html\">SSL "
"Certificates HOWTO</ulink> by tlpd.org"
msgstr ""

#: serverguide/C/security.xml:1688(para)
msgid ""
"<ulink url=\"http://www.pki-page.org/\">The PKI Page</ulink> contains a list "
"of Certificate Authorities."
msgstr ""

#: serverguide/C/security.xml:1693(para)
msgid ""
"The Wikipedia <ulink "
"url=\"http://en.wikipedia.org/wiki/Https\">HTTPS</ulink> page has more "
"information regarding HTTPS."
msgstr ""

#: serverguide/C/security.xml:1698(para)
msgid ""
"For more information on <emphasis>OpenSSL</emphasis> see the <ulink "
"url=\"http://www.openssl.org/\">OpenSSL Home Page</ulink>."
msgstr ""

#: serverguide/C/security.xml:1703(para)
msgid ""
"Also, O'Reilly's <ulink "
"url=\"http://oreilly.com/catalog/9780596002701/\">Network Security with "
"OpenSSL</ulink> is a good in depth reference."
msgstr ""

#: serverguide/C/security.xml:1712(title)
msgid "eCryptfs"
msgstr ""

#: serverguide/C/security.xml:1714(para)
msgid ""
"<emphasis>eCryptfs</emphasis> is a POSIX-compliant enterprise-class stacked "
"cryptographic filesystem for Linux.  Layering on top of the filesystem layer "
"<emphasis>eCryptfs</emphasis> protects files no matter the underlying "
"filesystem, partition type, etc."
msgstr ""

#: serverguide/C/security.xml:1720(para)
msgid ""
"During installation there is an option to encrypt the <filename "
"role=\"directory\">/home</filename> partition. This will automatically "
"configure everything needed to encrypt and mount the partition."
msgstr ""

#: serverguide/C/security.xml:1725(para)
msgid ""
"As an example, this section will cover configuring <filename "
"role=\"directory\">/srv</filename> to be encrypted using eCryptfs."
msgstr ""

#: serverguide/C/security.xml:1730(title)
msgid "Using eCryptfs"
msgstr ""

#: serverguide/C/security.xml:1732(para)
msgid "First, install the necessary packages. From a terminal prompt enter:"
msgstr ""

#: serverguide/C/security.xml:1737(command)
msgid "sudo apt-get install ecryptfs-utils"
msgstr ""

#: serverguide/C/security.xml:1740(para)
msgid "Now mount the partition to be encrypted:"
msgstr ""

#: serverguide/C/security.xml:1745(command)
msgid "sudo mount -t ecryptfs /srv /srv"
msgstr ""

#: serverguide/C/security.xml:1748(para)
msgid ""
"You will then be prompted for some details on how "
"<application>ecryptfs</application> should encrypt the data."
msgstr ""

#: serverguide/C/security.xml:1752(para)
msgid ""
"To test that files placed in <filename>/srv</filename> are indeed encrypted "
"copy the <filename>/etc/default</filename> folder to "
"<filename>/srv</filename>:"
msgstr ""

#: serverguide/C/security.xml:1758(command) serverguide/C/clustering.xml:185(command)
msgid "sudo cp -r /etc/default /srv"
msgstr ""

#: serverguide/C/security.xml:1761(para)
msgid "Now unmount <filename>/srv</filename>, and try to view a file:"
msgstr ""

#: serverguide/C/security.xml:1766(command) serverguide/C/installation.xml:1088(command) serverguide/C/clustering.xml:193(command)
msgid "sudo umount /srv"
msgstr ""

#: serverguide/C/security.xml:1767(command)
msgid "cat /srv/default/cron"
msgstr ""

#: serverguide/C/security.xml:1770(para)
msgid ""
"Remounting <filename>/srv</filename> using "
"<application>ecryptfs</application> will make the data viewable once again."
msgstr ""

#: serverguide/C/security.xml:1776(title)
msgid "Automatically Mounting Encrypted Partitions"
msgstr ""

#: serverguide/C/security.xml:1778(para)
msgid ""
"There are a couple of ways to automatically mount an "
"<application>ecryptfs</application> encrypted filesystem at boot. This "
"example will use a <filename>/root/.ecryptfsrc</filename> file containing "
"mount options, along with a passphrase file residing on a USB key."
msgstr ""

#: serverguide/C/security.xml:1784(para)
msgid "First, create <filename>/root/.ecryptfsrc</filename> containing:"
msgstr ""

#: serverguide/C/security.xml:1788(programlisting)
#, no-wrap
msgid ""
"\n"
"key=passphrase:passphrase_passwd_file=/mnt/usb/passwd_file.txt\n"
"ecryptfs_sig=5826dd62cf81c615\n"
"ecryptfs_cipher=aes\n"
"ecryptfs_key_bytes=16\n"
"ecryptfs_passthrough=n\n"
"ecryptfs_enable_filename_crypto=n\n"
msgstr ""

#: serverguide/C/security.xml:1798(para)
msgid ""
"Adjust the <emphasis>ecryptfs_sig</emphasis> to the signature in "
"<filename>/root/.ecryptfs/sig-cache.txt</filename>."
msgstr ""

#: serverguide/C/security.xml:1803(para)
msgid ""
"Next, create the <filename>/mnt/usb/passwd_file.txt</filename> passphrase "
"file:"
msgstr ""

#: serverguide/C/security.xml:1807(programlisting)
#, no-wrap
msgid ""
"\n"
"passphrase_passwd=[secrets]\n"
msgstr ""

#: serverguide/C/security.xml:1811(para)
msgid "Now add the necessary lines to <filename>/etc/fstab</filename>:"
msgstr ""

#: serverguide/C/security.xml:1815(programlisting)
#, no-wrap
msgid ""
"\n"
"/dev/sdb1       /mnt/usb        ext3    ro      0 0\n"
"/srv /srv ecryptfs defaults 0 0\n"
msgstr ""

#: serverguide/C/security.xml:1820(para)
msgid "Make sure the USB drive is mounted before the encrypted partition."
msgstr ""

#: serverguide/C/security.xml:1824(para)
msgid ""
"Finally, reboot and the <filename>/srv</filename> should be mounted using "
"ecryptfs."
msgstr ""

#: serverguide/C/security.xml:1832(para)
msgid ""
"The <application>ecryptfs-utils</application> package includes several other "
"useful utilities:"
msgstr ""

#: serverguide/C/security.xml:1838(para)
msgid ""
"<emphasis>ecryptfs-setup-private:</emphasis> creates a "
"<filename>~/Private</filename> directory to contain encrypted information. "
"This utility can be run by unprivileged users to keep data private from "
"other users on the system."
msgstr ""

#: serverguide/C/security.xml:1845(para)
msgid ""
"<emphasis>ecryptfs-mount-private and ecryptfs-umount-private:</emphasis> "
"will mount and unmount respectively, a users <filename>~/Private</filename> "
"directory."
msgstr ""

#: serverguide/C/security.xml:1851(para)
msgid ""
"<emphasis>ecryptfs-add-passphrase:</emphasis> adds a new passphrase to the "
"kernel keyring."
msgstr ""

#: serverguide/C/security.xml:1856(para)
msgid ""
"<emphasis>ecryptfs-manager:</emphasis> manages "
"<application>eCryptfs</application> objects such as keys."
msgstr ""

#: serverguide/C/security.xml:1861(para)
msgid ""
"<emphasis>ecryptfs-stat:</emphasis> allows you to view the "
"<application>ecryptfs</application> meta information for a file."
msgstr ""

#: serverguide/C/security.xml:1874(para)
msgid ""
"For more information on eCryptfs see the <ulink "
"url=\"https://launchpad.net/ecryptfs\">Launch Pad project page</ulink>"
msgstr ""

#: serverguide/C/security.xml:1879(para)
msgid ""
"There is also a <ulink "
"url=\"http://www.linuxjournal.com/article/9400\">Linux Journal</ulink> "
"article covering eCryptfs."
msgstr ""

#: serverguide/C/security.xml:1884(para)
msgid ""
"Also, for more <application>ecryptfs</application> options see the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man7/ecryptfs.7.html\">ec"
"ryptfs man page</ulink>."
msgstr ""

#: serverguide/C/remote-administration.xml:13(title)
msgid "Remote Administration"
msgstr ""

#: serverguide/C/remote-administration.xml:14(para)
msgid ""
"There are many ways to remotely administer a Linux server. This chapter will "
"cover one of the most popular <application>SSH</application> as well as "
"<application>eBox</application>, a web based administration framework."
msgstr ""

#: serverguide/C/remote-administration.xml:23(para)
msgid ""
"This section of the Ubuntu Server Guide introduces a powerful collection of "
"tools for the remote control of networked computers and transfer of data "
"between networked computers, called <emphasis>OpenSSH</emphasis>. You will "
"also learn about some of the configuration settings possible with the "
"OpenSSH server application and how to change them on your Ubuntu system."
msgstr ""

#: serverguide/C/remote-administration.xml:30(para)
msgid ""
"OpenSSH is a freely available version of the Secure Shell (SSH) protocol "
"family of tools for remotely controlling a computer or transferring files "
"between computers. Traditional tools used to accomplish these functions, "
"such as <application>telnet</application> or <application>rcp</application>, "
"are insecure and transmit the user's password in cleartext when used. "
"OpenSSH provides a server daemon and client tools to facilitate secure, "
"encrypted remote control and file transfer operations, effectively replacing "
"the legacy tools."
msgstr ""

#: serverguide/C/remote-administration.xml:39(para)
msgid ""
"The OpenSSH server component, <application>sshd</application>, listens "
"continuously for client connections from any of the client tools. When a "
"connection request occurs, <application>sshd</application> sets up the "
"correct connection depending on the type of client tool connecting. For "
"example, if the remote computer is connecting with the "
"<application>ssh</application> client application, the OpenSSH server sets "
"up a remote control session after authentication. If a remote user connects "
"to an OpenSSH server with <application>scp</application>, the OpenSSH server "
"daemon initiates a secure copy of files between the server and client after "
"authentication. OpenSSH can use many authentication methods, including plain "
"password, public key, and <application>Kerberos</application> tickets."
msgstr ""

#: serverguide/C/remote-administration.xml:53(para)
msgid ""
"Installation of the OpenSSH client and server applications is simple. To "
"install the OpenSSH client applications on your Ubuntu system, use this "
"command at a terminal prompt:"
msgstr ""

#: serverguide/C/remote-administration.xml:59(command)
msgid "sudo apt-get install openssh-client"
msgstr ""

#: serverguide/C/remote-administration.xml:61(para)
msgid ""
"To install the OpenSSH server application, and related support files, use "
"this command at a terminal prompt:"
msgstr ""

#: serverguide/C/remote-administration.xml:66(command)
msgid "sudo apt-get install openssh-server"
msgstr ""

#: serverguide/C/remote-administration.xml:68(para)
msgid ""
"The <application>openssh-server</application> package can also be selected "
"to install during the Server Edition installation process."
msgstr ""

#: serverguide/C/remote-administration.xml:75(para)
msgid ""
"You may configure the default behavior of the OpenSSH server application, "
"<application>sshd</application>, by editing the file "
"<filename>/etc/ssh/sshd_config</filename>. For information about the "
"configuration directives used in this file, you may view the appropriate "
"manual page with the following command, issued at a terminal prompt:"
msgstr ""

#: serverguide/C/remote-administration.xml:83(command)
msgid "man sshd_config"
msgstr ""

#: serverguide/C/remote-administration.xml:85(para)
msgid ""
"There are many directives in the <application>sshd</application> "
"configuration file controlling such things as communication settings and "
"authentication modes. The following are examples of configuration directives "
"that can be changed by editing the <filename>/etc/ssh/sshd_config</filename> "
"file."
msgstr ""

#: serverguide/C/remote-administration.xml:92(para)
msgid ""
"Prior to editing the configuration file, you should make a copy of the "
"original file and protect it from writing so you will have the original "
"settings as a reference and to reuse as necessary."
msgstr ""

#: serverguide/C/remote-administration.xml:96(para)
msgid ""
"Copy the <filename>/etc/ssh/sshd_config</filename> file and protect it from "
"writing with the following commands, issued at a terminal prompt:"
msgstr ""

#: serverguide/C/remote-administration.xml:101(command)
msgid "sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.original"
msgstr ""

#: serverguide/C/remote-administration.xml:102(command)
msgid "sudo chmod a-w /etc/ssh/sshd_config.original"
msgstr ""

#: serverguide/C/remote-administration.xml:104(para)
msgid ""
"The following are examples of configuration directives you may change:"
msgstr ""

#: serverguide/C/remote-administration.xml:109(para)
msgid ""
"To set your OpenSSH to listen on TCP port 2222 instead of the default TCP "
"port 22, change the Port directive as such:"
msgstr ""

#: serverguide/C/remote-administration.xml:113(para)
msgid "Port 2222"
msgstr ""

#: serverguide/C/remote-administration.xml:118(para)
msgid ""
"To have <application>sshd</application> allow public key-based login "
"credentials, simply add or modify the line:"
msgstr ""

#: serverguide/C/remote-administration.xml:122(para)
msgid "PubkeyAuthentication yes"
msgstr ""

#: serverguide/C/remote-administration.xml:125(para)
msgid ""
"In the <filename>/etc/ssh/sshd_config</filename> file, or if already "
"present, ensure the line is not commented out."
msgstr ""

#: serverguide/C/remote-administration.xml:131(para)
msgid ""
"To make your OpenSSH server display the contents of the "
"<filename>/etc/issue.net</filename> file as a pre-login banner, simply add "
"or modify the line:"
msgstr ""

#: serverguide/C/remote-administration.xml:136(para)
msgid "Banner /etc/issue.net"
msgstr ""

#: serverguide/C/remote-administration.xml:139(para)
msgid "In the <filename>/etc/ssh/sshd_config</filename> file."
msgstr ""

#: serverguide/C/remote-administration.xml:144(para)
msgid ""
"After making changes to the <filename>/etc/ssh/sshd_config</filename> file, "
"save the file, and restart the <application>sshd</application> server "
"application to effect the changes using the following command at a terminal "
"prompt:"
msgstr ""

#: serverguide/C/remote-administration.xml:153(para)
msgid ""
"Many other configuration directives for <application>sshd</application> are "
"available for changing the server application's behavior to fit your needs. "
"Be advised, however, if your only method of access to a server is "
"<application>ssh</application>, and you make a mistake in configuring "
"<application>sshd</application> via the "
"<filename>/etc/ssh/sshd_config</filename> file, you may find you are locked "
"out of the server upon restarting it, or that the "
"<application>sshd</application> server refuses to start due to an incorrect "
"configuration directive, so be extra careful when editing this file on a "
"remote server."
msgstr ""

#: serverguide/C/remote-administration.xml:168(title)
msgid "SSH Keys"
msgstr ""

#: serverguide/C/remote-administration.xml:169(para)
msgid ""
"SSH <emphasis>keys</emphasis> allow authentication between two hosts without "
"the need of a password. SSH key authentication uses two keys a "
"<emphasis>private</emphasis> key and a <emphasis>public</emphasis> key."
msgstr ""

#: serverguide/C/remote-administration.xml:173(para)
msgid "To generate the keys, from a terminal prompt enter:"
msgstr ""

#: serverguide/C/remote-administration.xml:177(command)
msgid "ssh-keygen -t dsa"
msgstr ""

#: serverguide/C/remote-administration.xml:179(para)
msgid ""
"This will generate the keys using a <emphasis>DSA</emphasis> authentication "
"identity of the user. During the process you will be prompted for a "
"password. Simply hit <emphasis>Enter</emphasis> when prompted to create the "
"key."
msgstr ""

#: serverguide/C/remote-administration.xml:183(para)
msgid ""
"By default the <emphasis>public</emphasis> key is saved in the file "
"<filename>~/.ssh/id_dsa.pub</filename>, while "
"<filename>~/.ssh/id_dsa</filename> is the <emphasis>private</emphasis> key. "
"Now copy the <filename>id_dsa.pub</filename> file to the remote host and "
"append it to <filename>~/.ssh/authorized_keys</filename> by entering:"
msgstr ""

#: serverguide/C/remote-administration.xml:189(command)
msgid "ssh-copy-id username@remotehost"
msgstr ""

#: serverguide/C/remote-administration.xml:191(para)
msgid ""
"Finally, double check the permissions on the "
"<filename>authorized_keys</filename> file, only the authenticated user "
"should have read and write permissions. If the permissions are not correct "
"change them by:"
msgstr ""

#: serverguide/C/remote-administration.xml:196(command)
msgid "chmod 644 .ssh/authorized_keys"
msgstr ""

#: serverguide/C/remote-administration.xml:198(para)
msgid ""
"You should now be able to SSH to the host without being prompted for a "
"password."
msgstr ""

#: serverguide/C/remote-administration.xml:205(ulink)
msgid "OpenSSH Website"
msgstr ""

#: serverguide/C/remote-administration.xml:208(ulink)
msgid "Advanced OpenSSH Wiki Page"
msgstr ""

#: serverguide/C/remote-administration.xml:213(title)
msgid "eBox"
msgstr ""

#: serverguide/C/remote-administration.xml:214(para)
msgid ""
"<application>eBox</application> is a web framework used to manage server "
"application configuration. The modular design of eBox allows you to pick and "
"choose which services you want to configure using eBox."
msgstr ""

#: serverguide/C/remote-administration.xml:221(para)
msgid ""
"The different <application>eBox</application> modules are split into "
"different packages, allowing you to only install those necessary. One way to "
"view the available packages is to enter the following from a terminal:"
msgstr ""

#: serverguide/C/remote-administration.xml:227(command)
msgid "apt-cache rdepends ebox | uniq"
msgstr ""

#: serverguide/C/remote-administration.xml:229(para)
msgid ""
"To install the <application>ebox</application> package, which contains the "
"default modules, enter the following:"
msgstr ""

#: serverguide/C/remote-administration.xml:234(command)
msgid "sudo apt-get install ebox"
msgstr ""

#: serverguide/C/remote-administration.xml:237(para)
msgid ""
"During the installation you will be asked to supply a password for the ebox "
"user. After installing eBox the web interface can be accessed from: "
"<emphasis>https://yourserver/ebox</emphasis>."
msgstr ""

#: serverguide/C/remote-administration.xml:246(para)
msgid ""
"An important thing to remember when using <application>eBox</application> is "
"that when configuring most modules there is a <emphasis>Change</emphasis> "
"button that implements the new configuration. After clicking the Change "
"button most, but not all, modules will then need to be "
"<emphasis>Saved</emphasis>. To save the new configuration click on the "
"<quote>Save changes</quote> link in the top right hand corner."
msgstr ""

#: serverguide/C/remote-administration.xml:254(para)
msgid ""
"Once you make a change that requires a Save, the link will change from green "
"to red."
msgstr ""

#: serverguide/C/remote-administration.xml:260(title)
msgid "eBox Modules"
msgstr ""

#: serverguide/C/remote-administration.xml:261(para)
msgid ""
"By default all eBox <emphasis>Modules</emphasis> are not enabled, and when a "
"new module is installed it will not be automatically enabled."
msgstr ""

#: serverguide/C/remote-administration.xml:265(para)
msgid ""
"To enable a disabled module click on the <emphasis>Module status</emphasis> "
"link in the left hand menu. Then <emphasis role=\"italic\">check</emphasis> "
"which modules you would like to enable and click the <quote>Save</quote> "
"link."
msgstr ""

#: serverguide/C/remote-administration.xml:271(title)
msgid "Default Modules"
msgstr ""

#: serverguide/C/remote-administration.xml:272(para)
msgid ""
"This section provides a quick summary of the default "
"<application>eBox</application> modules."
msgstr ""

#: serverguide/C/remote-administration.xml:278(para)
msgid ""
"<emphasis>System:</emphasis> contains options allowing configuration of "
"general eBox items."
msgstr ""

#: serverguide/C/remote-administration.xml:284(para)
msgid ""
"<emphasis>General:</emphasis> allows you to set the language, port number, "
"and contains a change password form."
msgstr ""

#: serverguide/C/remote-administration.xml:290(para)
msgid ""
"<emphasis>Disk Usage:</emphasis> displays a graph detailing information "
"about disk usage."
msgstr ""

#: serverguide/C/remote-administration.xml:296(para)
msgid ""
"<emphasis>Backup:</emphasis> is used to backup "
"<application>eBox</application> configuration information, and the "
"<emphasis>Full Backup</emphasis> option allows you to save all eBox "
"information not included in the <emphasis>Configuration</emphasis> option "
"such as log files."
msgstr ""

#: serverguide/C/remote-administration.xml:304(para)
msgid ""
"<emphasis>Halt/Reboot:</emphasis> will shutdown the system or reboot it."
msgstr ""

#: serverguide/C/remote-administration.xml:309(para)
msgid ""
"<emphasis>Bug Report:</emphasis> creates a file containing details helpful "
"when reporting bugs to the eBox developers."
msgstr ""

#: serverguide/C/remote-administration.xml:317(para)
msgid ""
"<emphasis>Logs:</emphasis> allows <application>eBox</application> logs to be "
"queried depending on the purge time configured."
msgstr ""

#: serverguide/C/remote-administration.xml:323(para)
msgid ""
"<emphasis>Events:</emphasis> this module has the ability to send alerts "
"through rss, jabber, and log file."
msgstr ""

#: serverguide/C/remote-administration.xml:330(emphasis)
msgid "Available Events:"
msgstr ""

#: serverguide/C/remote-administration.xml:334(para)
msgid ""
"<emphasis>Free Storage Space:</emphasis> will send alert if free disk space "
"drops below a configured percentage, 10% by default."
msgstr ""

#: serverguide/C/remote-administration.xml:340(para)
msgid ""
"<emphasis>Log Observer:</emphasis> unfortunately this event does not work "
"with the <application>eBox</application> version shipped with Ubuntu 7.10."
msgstr ""

#: serverguide/C/remote-administration.xml:346(para)
msgid ""
"<emphasis>RAID:</emphasis> will monitor the RAID system and send alerts if "
"any issues arise."
msgstr ""

#: serverguide/C/remote-administration.xml:352(para)
msgid ""
"<emphasis>Service:</emphasis> sends alerts if a service restarts multiple "
"times in a short time period."
msgstr ""

#: serverguide/C/remote-administration.xml:358(para)
msgid ""
"<emphasis>State:</emphasis> alerts on the state of "
"<application>eBox</application>, either up or down."
msgstr ""

#: serverguide/C/remote-administration.xml:367(emphasis)
msgid "Dispatchers:"
msgstr ""

#: serverguide/C/remote-administration.xml:371(para)
msgid ""
"<emphasis>Log:</emphasis> this dispatcher will send event messages to the "
"<application>eBox</application> log file "
"<filename>/var/log/ebox/ebox.log</filename>."
msgstr ""

#: serverguide/C/remote-administration.xml:378(para)
msgid ""
"<emphasis>Jabber:</emphasis> before enabling this dispatcher you must first "
"configure it by clicking on the <quote>Configure</quote> icon."
msgstr ""

#: serverguide/C/remote-administration.xml:384(para)
msgid ""
"<emphasis>RSS:</emphasis> once this dispatcher is configured you can "
"subscribe to the link in order to view event alerts."
msgstr ""

#: serverguide/C/remote-administration.xml:397(title)
msgid "Additional Modules"
msgstr ""

#: serverguide/C/remote-administration.xml:398(para)
msgid ""
"Here is a quick description of other available "
"<application>eBox</application> modules:"
msgstr ""

#: serverguide/C/remote-administration.xml:403(para)
msgid ""
"<emphasis>Network:</emphasis> allows configuration of the server's network "
"options through eBox."
msgstr ""

#: serverguide/C/remote-administration.xml:409(para)
msgid ""
"<emphasis>Firewall:</emphasis> configures firewall options for the eBox host."
msgstr ""

#: serverguide/C/remote-administration.xml:414(para)
msgid ""
"<emphasis>UsersandGroups:</emphasis> this module will manage users and "
"groups contained in an <application>OpenLDAP</application> LDAP directory."
msgstr ""

#: serverguide/C/remote-administration.xml:420(para)
msgid ""
"<emphasis>DHCP:</emphasis> provides an interface for configuring a DHCP "
"server."
msgstr ""

#: serverguide/C/remote-administration.xml:425(para)
msgid ""
"<emphasis>DNS:</emphasis> provides <application>BIND9</application> DNS "
"server configuration options."
msgstr ""

#: serverguide/C/remote-administration.xml:431(para)
msgid ""
"<emphasis>Objects:</emphasis> allow configuration of eBox <emphasis>Network "
"Objects</emphasis>, which allow you to assign a name to an IP address or "
"group of IPs."
msgstr ""

#: serverguide/C/remote-administration.xml:438(para)
msgid ""
"<emphasis>Services:</emphasis> displays configuration information for "
"services that are available to the network."
msgstr ""

#: serverguide/C/remote-administration.xml:444(para)
msgid ""
"<emphasis>Squid:</emphasis> configuration options for the "
"<application>Squid</application> proxy server."
msgstr ""

#: serverguide/C/remote-administration.xml:450(para)
msgid ""
"<emphasis>CA:</emphasis> configures a Certificate Authority for the server."
msgstr ""

#: serverguide/C/remote-administration.xml:455(para)
msgid "<emphasis>NTP:</emphasis> set Network Time Protocol options."
msgstr ""

#: serverguide/C/remote-administration.xml:460(para)
msgid "<emphasis>Printers:</emphasis> allows the configuration of printers."
msgstr ""

#: serverguide/C/remote-administration.xml:465(para)
msgid "<emphasis>Samba:</emphasis> configuration options for Samba."
msgstr ""

#: serverguide/C/remote-administration.xml:470(para)
msgid ""
"<emphasis>OpenVPN:</emphasis> setup options for OpenVPN Virtual Private "
"Network application."
msgstr ""

#: serverguide/C/remote-administration.xml:481(para)
msgid ""
"For more information see the <ulink url=\"http://ebox-platform.com/\">eBox "
"Home Page</ulink>."
msgstr ""

#: serverguide/C/package-management.xml:13(title)
msgid "Package Management"
msgstr ""

#: serverguide/C/package-management.xml:14(para)
msgid ""
"Ubuntu features a comprehensive package management system for the "
"installation, upgrade, configuration, and removal of software. In addition "
"to providing access to an organized base of over 24,000 software packages "
"for your Ubuntu computer, the package management facilities also feature "
"dependency resolution capabilities and software update checking."
msgstr ""

#: serverguide/C/package-management.xml:16(para)
msgid ""
"Several tools are available for interacting with Ubuntu's package management "
"system, from simple command-line utilities which may be easily automated by "
"system administrators, to a simple graphical interface which is easy to use "
"by those new to Ubuntu."
msgstr ""

#: serverguide/C/package-management.xml:21(para)
msgid ""
"Ubuntu's package management system is derived from the same system used by "
"the Debian GNU/Linux distribution. The package files contain all of the "
"necessary files, meta-data, and instructions to implement a particular "
"functionality or software application on your Ubuntu computer."
msgstr ""

#: serverguide/C/package-management.xml:24(para)
msgid ""
"Debian package files typically have the extension '.deb', and typically "
"exist in <emphasis role=\"italics\">repositories</emphasis> which are "
"collections of packages found on various media, such as CD-ROM discs, or "
"online. Packages are normally of the pre-compiled binary format; thus "
"installation is quick and requires no compiling of software."
msgstr ""

#: serverguide/C/package-management.xml:27(para)
msgid ""
"Many complex packages use the concept of <emphasis "
"role=\"italics\">dependencies</emphasis>. Dependencies are additional "
"packages required by the principal package in order to function properly. "
"For example, the speech synthesis package "
"<application>Festival</application> depends upon the package "
"<application>libasound2</application>, which is a package supplying the "
"<application>ALSA</application> sound library needed for audio playback. In "
"order for <application>Festival</application> to function, it and all of its "
"dependencies must be installed. The software management tools in Ubuntu will "
"do this automatically."
msgstr ""

#: serverguide/C/package-management.xml:32(title)
msgid "dpkg"
msgstr ""

#: serverguide/C/package-management.xml:34(para)
msgid ""
"<application>dpkg</application> is a package manager for "
"<emphasis>Debian</emphasis> based systems. It can install, remove, and build "
"packages, but unlike other package management system's it can not "
"automatically download and install packages and their dependencies. This "
"section covers using <application>dpkg</application> to manage locally "
"installed packages:"
msgstr ""

#: serverguide/C/package-management.xml:43(para)
msgid ""
"To list all packages installed on the system, from a terminal prompt enter:"
msgstr ""

#: serverguide/C/package-management.xml:48(command)
msgid "dpkg -l"
msgstr ""

#: serverguide/C/package-management.xml:54(para)
msgid ""
"Depending on the amount of packages on your system, this can generate a "
"large amount of output. Pipe the output through "
"<application>grep</application> to see if a specific package is installed:"
msgstr ""

#: serverguide/C/package-management.xml:60(command)
msgid "dpkg -l | grep apache2"
msgstr ""

#: serverguide/C/package-management.xml:63(para)
msgid ""
"Replace <emphasis>apache2</emphasis> with any package name, part of a "
"package name, or other regular expression."
msgstr ""

#: serverguide/C/package-management.xml:70(para)
msgid ""
"To list the files installed by a package, in this case the "
"<application>ufw</application> package, enter:"
msgstr ""

#: serverguide/C/package-management.xml:75(command)
msgid "dpkg -L ufw"
msgstr ""

#: serverguide/C/package-management.xml:81(para)
msgid ""
"If you are not sure which package installed a file, <application>dpkg -"
"S</application> may be able to tell you. For example:"
msgstr ""

#: serverguide/C/package-management.xml:87(command)
msgid "dpkg -S /etc/host.conf"
msgstr ""

#: serverguide/C/package-management.xml:88(computeroutput)
#, no-wrap
msgid "base-files: /etc/host.conf"
msgstr ""

#: serverguide/C/package-management.xml:91(para)
msgid ""
"The output shows that the <filename>/etc/host.conf</filename> belongs to the "
"<application>base-files</application> package."
msgstr ""

#: serverguide/C/package-management.xml:96(para)
msgid ""
"Many files are automatically generated during the package install process, "
"and even though they are on the filesystem <command>dpkg -S</command> may "
"not know which package they belong to."
msgstr ""

#: serverguide/C/package-management.xml:105(para)
msgid "You can install a local <emphasis>.deb</emphasis> file by entering:"
msgstr ""

#: serverguide/C/package-management.xml:110(command)
msgid "sudo dpkg -i zip_2.32-1_i386.deb"
msgstr ""

#: serverguide/C/package-management.xml:113(para)
msgid ""
"Change <filename>zip_2.32-1_i386.deb</filename> to the actual file name of "
"the local .deb file."
msgstr ""

#: serverguide/C/package-management.xml:120(para)
msgid "Uninstalling a package can be accomplished by:"
msgstr ""

#: serverguide/C/package-management.xml:125(command)
msgid "sudo dpkg -r zip"
msgstr ""

#: serverguide/C/package-management.xml:129(para)
msgid ""
"Uninstalling packages using <application>dpkg</application>, in most cases, "
"is <emphasis>NOT</emphasis> recommended. It is better to use a package "
"manager that handles dependencies, to ensure that the system is in a "
"consistent state. For example using <command>dpkg -r</command> you can "
"remove the <application>zip</application> package, but any packages that "
"depend on it will still be installed and may no longer function correctly."
msgstr ""

#: serverguide/C/package-management.xml:140(para)
msgid ""
"For more <application>dpkg</application> options see the man page: "
"<command>man dpkg</command>."
msgstr ""

#: serverguide/C/package-management.xml:146(title)
msgid "Apt-Get"
msgstr ""

#: serverguide/C/package-management.xml:147(para)
msgid ""
"The <application>apt-get</application> command is a powerful command-line "
"tool used to work with Ubuntu's <emphasis>Advanced Packaging Tool</emphasis> "
"(APT) performing such functions as installation of new software packages, "
"upgrade of existing software packages, updating of the package list index, "
"and even upgrading the entire Ubuntu system."
msgstr ""

#: serverguide/C/package-management.xml:150(para)
msgid ""
"Being a simple command-line tool, <application>apt-get</application> has "
"numerous advantages over other package management tools available in Ubuntu "
"for server administrators. Some of these advantages include ease of use over "
"simple terminal connections (SSH) and the ability to be used in system "
"administration scripts, which can in turn be automated by the "
"<application>cron</application> scheduling utility."
msgstr ""

#: serverguide/C/package-management.xml:157(para)
msgid ""
"<emphasis role=\"bold\">Install a Package</emphasis>: Installation of "
"packages using the <application>apt-get</application> tool is quite simple. "
"For example, to install the network scanner <emphasis "
"role=\"italics\">nmap</emphasis>, type the following: <screen>\n"
"<command>sudo apt-get install nmap</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/package-management.xml:165(para)
msgid ""
"<emphasis role=\"bold\">Remove a Package</emphasis>: Removal of a package or "
"packages is also a straightforward and simple process. To remove the nmap "
"package installed in the previous example, type the following: <screen>\n"
"<command>sudo apt-get remove nmap</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/package-management.xml:172(para)
msgid ""
"<emphasis role=\"bold\">Multiple Packages</emphasis>: You may specify "
"multiple packages to be installed or removed, separated by spaces."
msgstr ""

#: serverguide/C/package-management.xml:175(para)
msgid ""
"Also, adding the <emphasis>--purge</emphasis> options to <command>apt-get "
"remove</command> will remove the package configuration files as well. This "
"may or may not be the desired effect so use with caution."
msgstr ""

#: serverguide/C/package-management.xml:181(para)
msgid ""
"<emphasis role=\"bold\">Update the Package Index</emphasis>: The APT package "
"index is essentially a database of available packages from the repositories "
"defined in the <filename>/etc/apt/sources.list</filename> file. To update "
"the local package index with the latest changes made in repositories, type "
"the following: <screen>\n"
"<command>sudo apt-get update</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/package-management.xml:189(para)
msgid ""
"<emphasis role=\"bold\">Upgrade Packages</emphasis>: Over time, updated "
"versions of packages currently installed on your computer may become "
"available from the package repositories (for example security updates). To "
"upgrade your system, first update your package index as outlined above, and "
"then type: <screen>\n"
"<command>sudo apt-get upgrade</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/package-management.xml:195(para)
msgid ""
"For information on upgrading to a new Ubuntu release see <xref "
"linkend=\"installing-upgrading\"/>."
msgstr ""

#: serverguide/C/package-management.xml:153(para)
msgid ""
"Some examples of popular uses for the <application>apt-get</application> "
"utility: <placeholder-1/>"
msgstr ""

#: serverguide/C/package-management.xml:201(para)
msgid ""
"Actions of the <application>apt-get</application> command, such as "
"installation and removal of packages, are logged in the /var/log/dpkg.log "
"log file."
msgstr ""

#: serverguide/C/package-management.xml:204(para)
msgid ""
"For further information about the use of <application>APT</application>, "
"read the comprehensive <ulink url=\"http://www.debian.org/doc/user-"
"manuals#apt-howto\">Debian APT User Manual</ulink> or type: <screen>apt-get "
"help</screen>"
msgstr ""

#: serverguide/C/package-management.xml:208(title)
msgid "Aptitude"
msgstr ""

#: serverguide/C/package-management.xml:209(para)
msgid ""
"<application>Aptitude</application> is a menu-driven, text-based front-end "
"to the <emphasis>Advanced Packaging Tool</emphasis> (APT) system. Many of "
"the common package management functions, such as installation, removal, and "
"upgrade, are performed in <application>Aptitude</application> with single-"
"key commands, which are typically lowercase letters."
msgstr ""

#: serverguide/C/package-management.xml:212(para)
msgid ""
"<application>Aptitude</application> is best suited for use in a non-"
"graphical terminal environment to ensure proper functioning of the command "
"keys. You may start <application>Aptitude</application> as a normal user "
"with the following command at a terminal prompt: <screen>\n"
"<command>sudo aptitude</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/package-management.xml:219(para)
msgid ""
"When <application>Aptitude</application> starts, you will see a menu bar at "
"the top of the screen and two panes below the menu bar. The top pane "
"contains package categories, such as <emphasis role=\"italics\">New "
"Packages</emphasis> and <emphasis role=\"italics\">Not Installed "
"Packages</emphasis>. The bottom pane contains information related to the "
"packages and package categories."
msgstr ""

#: serverguide/C/package-management.xml:222(para)
msgid ""
"Using <application>Aptitude</application> for package management is "
"relatively straightforward, and the user interface makes common tasks simple "
"to perform. The following are examples of common package management "
"functions as performed in <application>Aptitude</application>:"
msgstr ""

#: serverguide/C/package-management.xml:226(para)
msgid ""
"<emphasis role=\"bold\">Install Packages</emphasis>: To install a package, "
"locate the package via the Not Installed Packages package category, for "
"example, by using the keyboard arrow keys and the <keycap>ENTER</keycap> "
"key, and highlight the package you wish to install. After highlighting the "
"package you wish to install, press the <keycap>+</keycap> key, and the "
"package entry should turn <emphasis role=\"italics\">green</emphasis>, "
"indicating it has been marked for installation. Now press <keycap>g</keycap> "
"to be presented with a summary of package actions. Press <keycap>g</keycap> "
"again, and you will be prompted to become root to complete the installation. "
"Press <keycap>ENTER</keycap> which will result in a Password: prompt. Enter "
"your user password to become root. Finally, press <keycap>g</keycap> once "
"more and you'll be prompted to download the package. Press "
"<keycap>ENTER</keycap> on the <emphasis role=\"italics\">Continue</emphasis> "
"prompt, and downloading and installation of the package will commence."
msgstr ""

#: serverguide/C/package-management.xml:230(para)
msgid ""
"<emphasis role=\"bold\">Remove Packages</emphasis>: To remove a package, "
"locate the package via the Installed Packages package category, for example, "
"by using the keyboard arrow keys and the <keycap>ENTER</keycap> key, and "
"highlight the package you wish to remove. After highlighting the package you "
"wish to install, press the <keycap>-</keycap> key, and the package entry "
"should turn <emphasis role=\"italics\">pink</emphasis>, indicating it has "
"been marked for removal. Now press <keycap>g</keycap> to be presented with a "
"summary of package actions. Press <keycap>g</keycap> again, and you will be "
"prompted to become root to complete the installation. Press "
"<keycap>ENTER</keycap> which will result in a Password: prompt. Enter your "
"user password to become root. Finally, press <keycap>g</keycap> once more, "
"and you'll be prompted to download the package. Press <keycap>ENTER</keycap> "
"on the <emphasis role=\"italics\">Continue</emphasis> prompt, and removal of "
"the package will commence."
msgstr ""

#: serverguide/C/package-management.xml:234(para)
msgid ""
"<emphasis role=\"bold\">Update Package Index</emphasis>: To update the "
"package index, simply press the <keycap>u</keycap> key and you will be "
"prompted to become root to complete the update. Press <keycap>ENTER</keycap> "
"which will result in a Password: prompt. Enter your user password to become "
"root. Updating of the package index will commence. Press "
"<keycap>ENTER</keycap> on the OK prompt when the download dialog is "
"presented to complete the process."
msgstr ""

#: serverguide/C/package-management.xml:238(para)
msgid ""
"<emphasis role=\"bold\">Upgrade Packages</emphasis>: To upgrade packages, "
"perform the update of the package index as detailed above, and then press "
"the <keycap>U</keycap> key to mark all packages with updates. Now press "
"<keycap>g</keycap> whereby you'll be presented with a summary of package "
"actions. Press <keycap>g</keycap> again, and you will be prompted to become "
"root to complete the installation. Press <keycap>ENTER</keycap> which will "
"result in a Password: prompt. Enter your user password to become root. "
"Finally, press <keycap>g</keycap> once more, and you'll be prompted to "
"download the packages. Press <keycap>ENTER</keycap> on the <emphasis "
"role=\"italics\">Continue</emphasis> prompt, and upgrade of the packages "
"will commence."
msgstr ""

#: serverguide/C/package-management.xml:245(para)
msgid "<emphasis role=\"bold\">i</emphasis>: Installed package"
msgstr ""

#: serverguide/C/package-management.xml:250(para)
msgid ""
"<emphasis role=\"bold\">c</emphasis>: Package not installed, but package "
"configuration remains on system"
msgstr ""

#: serverguide/C/package-management.xml:254(para)
msgid "<emphasis role=\"bold\">p</emphasis>: Purged from system"
msgstr ""

#: serverguide/C/package-management.xml:258(para)
msgid "<emphasis role=\"bold\">v</emphasis>: Virtual package"
msgstr ""

#: serverguide/C/package-management.xml:262(para)
msgid "<emphasis role=\"bold\">B</emphasis>: Broken package"
msgstr ""

#: serverguide/C/package-management.xml:266(para)
msgid ""
"<emphasis role=\"bold\">u</emphasis>: Unpacked files, but package not yet "
"configured"
msgstr ""

#: serverguide/C/package-management.xml:270(para)
msgid ""
"<emphasis role=\"bold\">C</emphasis>: Half-configured - Configuration failed "
"and requires fix"
msgstr ""

#: serverguide/C/package-management.xml:274(para)
msgid ""
"<emphasis role=\"bold\">H</emphasis>: Half-installed - Removal failed and "
"requires fix"
msgstr ""

#: serverguide/C/package-management.xml:242(para)
msgid ""
"The first column of information displayed in the package list in the top "
"pane, when actually viewing packages lists the current state of the package, "
"and uses the following key to describe the state of the package: "
"<placeholder-1/>"
msgstr ""

#: serverguide/C/package-management.xml:280(para)
msgid ""
"To exit Aptitude, simply press the <keycap>q</keycap> key and confirm you "
"wish to exit. Many other functions are available from the Aptitude menu by "
"pressing the <keycap>F10</keycap> key."
msgstr ""

#: serverguide/C/package-management.xml:285(title)
msgid "Automatic Updates"
msgstr ""

#: serverguide/C/package-management.xml:287(para)
msgid ""
"The <application>unattended-upgrades</application> package can be used to "
"automatically install updated packages, and can be configured to update all "
"packages or just install security updates. First, install the package by "
"entering the following in a terminal:"
msgstr ""

#: serverguide/C/package-management.xml:293(command)
msgid "sudo apt-get install unattended-upgrades"
msgstr ""

#: serverguide/C/package-management.xml:296(para)
msgid ""
"To configure <application>unattended-upgrades</application>, edit "
"<filename>/etc/apt/apt.conf.d/50unattended-upgrades</filename> and adjust "
"the following to fit your needs:"
msgstr ""

#: serverguide/C/package-management.xml:301(programlisting)
#, no-wrap
msgid ""
"\n"
"Unattended-Upgrade::Allowed-Origins {\n"
"        \"Ubuntu jaunty-security\";\n"
"//      \"Ubuntu jaunty-updates\";\n"
"};\n"
msgstr ""

#: serverguide/C/package-management.xml:308(para)
msgid ""
"Certain packages can also be <emphasis>blacklisted</emphasis> and therefore "
"will not be automatically updated. To blacklist a package, add it to the "
"list:"
msgstr ""

#: serverguide/C/package-management.xml:313(programlisting)
#, no-wrap
msgid ""
"\n"
"Unattended-Upgrade::Package-Blacklist {\n"
"//      \"vim\";\n"
"//      \"libc6\";\n"
"//      \"libc6-dev\";\n"
"//      \"libc6-i686\";\n"
"};\n"
msgstr ""

#: serverguide/C/package-management.xml:323(para)
msgid ""
"The double <emphasis><quote>//</quote></emphasis> serve as comments, so "
"whatever follows \"//\" will not be evaluated."
msgstr ""

#: serverguide/C/package-management.xml:328(para)
msgid ""
"The results of <application>unattended-upgrades</application> will be logged "
"to <filename>/var/log/unattended-upgrades</filename>."
msgstr ""

#: serverguide/C/package-management.xml:333(title)
msgid "Notifications"
msgstr ""

#: serverguide/C/package-management.xml:335(para)
msgid ""
"Configuring <emphasis>Unattended-Upgrade::Mail</emphasis> in "
"<filename>/etc/apt/apt.conf.d/50unattended-upgrades</filename> will enable "
"<application>unattended-upgrades</application> to email an administrator "
"detailing any packages that need upgrading or have problems."
msgstr ""

#: serverguide/C/package-management.xml:340(para)
msgid ""
"Another useful package is <application>apticron</application>. "
"<application>apticron</application> will configure a "
"<application>cron</application> job to email an administrator information "
"about any packages on the system that need updated as well as a summary of "
"changes in each package."
msgstr ""

#: serverguide/C/package-management.xml:346(para)
msgid ""
"To install the <application>apticron</application> package, in a terminal "
"enter:"
msgstr ""

#: serverguide/C/package-management.xml:351(command)
msgid "sudo apt-get install apticron"
msgstr ""

#: serverguide/C/package-management.xml:354(para)
msgid ""
"Once the package is installed edit "
"<filename>/etc/apticron/apticron.conf</filename>, to set the email address "
"and other options:"
msgstr ""

#: serverguide/C/package-management.xml:358(programlisting)
#, no-wrap
msgid ""
"\n"
"EMAIL=\"root@example.com\"\n"
msgstr ""

#: serverguide/C/package-management.xml:367(para)
msgid ""
"Configuration of the <emphasis>Advanced Packaging Tool</emphasis> (APT) "
"system repositories is stored in the /etc/apt/sources.list configuration "
"file. An example of this file is referenced here, along with information on "
"adding or removing repository references from the file."
msgstr ""

#: serverguide/C/package-management.xml:373(para)
msgid ""
"<ulink url=\"../sample/sources.list\">Here</ulink> is a simple example of a "
"typical <filename>/etc/apt/sources.list</filename> file."
msgstr ""

#: serverguide/C/package-management.xml:377(para)
msgid ""
"You may edit the file to enable repositories or disable them. For example, "
"to disable the requirement of inserting the Ubuntu CD-ROM whenever package "
"operations occur, simply comment out the appropriate line for the CD-ROM, "
"which appears at the top of the file:"
msgstr ""

#: serverguide/C/package-management.xml:382(screen)
#, no-wrap
msgid ""
"\n"
"# no more prompting for CD-ROM please\n"
"# deb cdrom:[Ubuntu 9.04_Jaunty_Jackalope - Release i386 (20070419.1)]/ "
"jaunty main restricted\n"
msgstr ""

#: serverguide/C/package-management.xml:388(title)
msgid "Extra Repositories"
msgstr ""

#: serverguide/C/package-management.xml:389(para)
msgid ""
"In addition to the officially supported package repositories available for "
"Ubuntu, there exist additional community-maintained repositories which add "
"thousands more potential packages for installation. Two of the most popular "
"are the <emphasis>Universe</emphasis> and <emphasis>Multiverse</emphasis> "
"repositories. These repositories are not officially supported by Ubuntu, but "
"because they are maintained by the community they generally provide packages "
"which are safe for use with your Ubuntu computer."
msgstr ""

#: serverguide/C/package-management.xml:392(para)
msgid ""
"Packages in the <emphasis>Multiverse</emphasis> repository often have "
"licensing issues that prevent them from being distributed with a free "
"operating system, and they may be illegal in your locality."
msgstr ""

#: serverguide/C/package-management.xml:394(para)
msgid ""
"Be advised that neither the <emphasis>Universe</emphasis> or "
"<emphasis>Multiverse</emphasis> repositories contain officially supported "
"packages. In particular, there may not be security updates for these "
"packages."
msgstr ""

#: serverguide/C/package-management.xml:398(para)
msgid ""
"Many other package sources are available, sometimes even offering only one "
"package, as in the case of package sources provided by the developer of a "
"single application. You should always be very careful and cautious when "
"using non-standard package sources, however. Research the source and "
"packages carefully before performing any installation, as some package "
"sources and their packages could render your system unstable or non-"
"functional in some respects."
msgstr ""

#: serverguide/C/package-management.xml:401(para)
msgid ""
"By default, the <emphasis>Universe</emphasis> and "
"<emphasis>Multiverse</emphasis> repositories are enabled but if you would "
"like to disable them edit <filename>/etc/apt/sources.list</filename> and "
"comment the following lines:"
msgstr ""

#: serverguide/C/package-management.xml:408(programlisting)
#, no-wrap
msgid ""
"\n"
"deb http://archive.ubuntu.com/ubuntu jaunty universe multiverse\n"
"deb-src http://archive.ubuntu.com/ubuntu jaunty universe multiverse\n"
"\n"
"deb http://us.archive.ubuntu.com/ubuntu/ jaunty universe\n"
"deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty universe\n"
"deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe\n"
"deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe\n"
"\n"
"deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse\n"
"deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse\n"
"deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse\n"
"deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse\n"
"\n"
"deb http://security.ubuntu.com/ubuntu jaunty-security universe\n"
"deb-src http://security.ubuntu.com/ubuntu jaunty-security universe\n"
"deb http://security.ubuntu.com/ubuntu jaunty-security multiverse\n"
"deb-src http://security.ubuntu.com/ubuntu jaunty-security multiverse\n"
msgstr ""

#: serverguide/C/package-management.xml:434(para)
msgid ""
"Most of the material covered in this chapter is available in "
"<application>man</application> pages, many of which are available online."
msgstr ""

#: serverguide/C/package-management.xml:441(para)
msgid ""
"For more <application>dpkg</application> details see the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man1/dpkg.1.html\">dpkg "
"man page</ulink>."
msgstr ""

#: serverguide/C/package-management.xml:447(para)
msgid ""
"The <ulink url=\"http://www.debian.org/doc/manuals/apt-howto/\">APT "
"HOWTO</ulink> and <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man8/apt-"
"get.8.html\">apt-get man page</ulink> contain useful information regarding "
"<application>apt-get</application> usage."
msgstr ""

#: serverguide/C/package-management.xml:454(para)
msgid ""
"See the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/man8/aptitude.8.html\">aptit"
"ude man page</ulink> for more <application>aptitude</application> options."
msgstr ""

#: serverguide/C/package-management.xml:460(para)
msgid ""
"The <ulink "
"url=\"https://help.ubuntu.com/community/Repositories/Ubuntu\">Adding "
"Repositories HOWTO (Ubuntu Wiki)</ulink> page contains more details on "
"adding repositories."
msgstr ""

#: serverguide/C/other-apps.xml:13(title)
msgid "Other Useful Applications"
msgstr ""

#: serverguide/C/other-apps.xml:15(para)
msgid ""
"There are many very useful applications developed by the Ubuntu Server Team, "
"and others that are well integrated with Ubuntu Server Edition, that might "
"not be well known. This chapter will showcase some useful applications that "
"can make administering an Ubuntu server, or many Ubuntu servers, that much "
"easier."
msgstr ""

#: serverguide/C/other-apps.xml:23(title)
msgid "Update MOTD"
msgstr ""

#: serverguide/C/other-apps.xml:25(para)
msgid ""
"When logging into an Ubuntu server you may have noticed the informative "
"Message Of The Day (MOTD). This information is obtained and displayed using "
"a couple of packages:"
msgstr ""

#: serverguide/C/other-apps.xml:32(para)
msgid ""
"<emphasis>landscape-common:</emphasis> provides the core libraries of "
"<application>landscape-client</application>, which can be used to manage "
"systems using the web based <emphasis>Landscape</emphasis> application. The "
"package includes the <application>/usr/bin/landscape-sysinfo</application> "
"utility which is used to gather the information displayed in the MOTD."
msgstr ""

#: serverguide/C/other-apps.xml:40(para)
msgid ""
"<emphasis>update-motd:</emphasis> is used to automatically update the MOTD "
"via <application>cron</application>."
msgstr ""

#: serverguide/C/other-apps.xml:46(para)
msgid ""
"The <application>update-motd</application> utility has several options to "
"further customize the MOTD:"
msgstr ""

#: serverguide/C/other-apps.xml:52(para)
msgid ""
"<emphasis>--disable:</emphasis> prevents automatic updates of the MOTD. "
"Using this option creates the <filename>/var/lib/update-"
"motd/disabled</filename> file, which if present stops <application>update-"
"motd</application> from modifying <filename>/etc/motd</filename>."
msgstr ""

#: serverguide/C/other-apps.xml:59(para)
msgid ""
"<emphasis>--enable:</emphasis> enables the automatic MOTD updates. If "
"<filename>/var/lib/update-motd</filename> is present it will be removed."
msgstr ""

#: serverguide/C/other-apps.xml:65(para)
msgid ""
"<emphasis>--force:</emphasis> does a one time update of "
"<filename>/etc/motd</filename>, overriding <application>update-"
"motd</application> if it has been disabled."
msgstr ""

#: serverguide/C/other-apps.xml:71(para)
msgid ""
"<emphasis>d, hourly, weekly, monthly:</emphasis> option will run the scripts "
"in <filename>/etc/update-motd.d/</filename> (default), <filename>/etc/update-"
"motd.d/hourly</filename>, <filename>/etc/update-motd.d/weekly</filename>, or "
"<filename>/etc/update-motd.d/monthly</filename> respectively."
msgstr ""

#: serverguide/C/other-apps.xml:79(para)
msgid ""
"<application>update-motd</application> executes the scripts in "
"<filename>/etc/update-motd.d</filename> in order based on the number "
"prepended to the script. Separate <application>cron</application> scripts "
"execute every ten minutes, hourly, weekly, and monthly running the "
"corresponding scripts in <filename>/etc/update-motd.d</filename>. The output "
"of the scripts is written to <filename>/var/run/update-motd/</filename>, "
"keeping the numerical order, then concatenated with "
"<filename>/etc/motd.tail</filename> and written to "
"<filename>/etc/motd</filename>."
msgstr ""

#: serverguide/C/other-apps.xml:87(para)
msgid ""
"You can add your own dynamic information to the MOTD. For example, to add "
"local weather information:"
msgstr ""

#: serverguide/C/other-apps.xml:93(para)
msgid "First, install the <application>weather-util</application> package:"
msgstr ""

#: serverguide/C/other-apps.xml:98(command)
msgid "sudo apt-get install weather-util"
msgstr ""

#: serverguide/C/other-apps.xml:103(para)
msgid ""
"The <application>weather</application> utility uses METAR data from the "
"National Oceanic and Atmospheric Administration and forecasts from the "
"National Weather Service. In order to find local information you will need "
"the 4-character ICAO location indicator. This can be determined by browsing "
"to the <ulink url=\"http://www.weather.gov/tg/siteloc.shtml\">National "
"Weather Service</ulink> site."
msgstr ""

#: serverguide/C/other-apps.xml:110(para)
msgid ""
"Although the National Weather Service is a United States government agency "
"there are weather stations available world wide. However, local weather "
"information for all locations outside the U.S. may not be available."
msgstr ""

#: serverguide/C/other-apps.xml:116(para)
msgid ""
"Create <filename>/usr/local/bin/local-weather</filename>, a simple shell "
"script to use <application>weather</application> with your local ICAO "
"indicator:"
msgstr ""

#: serverguide/C/other-apps.xml:121(programlisting)
#, no-wrap
msgid ""
"\n"
"#!/bin/sh\n"
"##########################################################################\n"
"#\n"
"# Prints the local weather to /var/run/update-motd/60-local-weather  \n"
"# for update-motd.\n"
"#\n"
"##########################################################################\n"
"\n"
"# Replace KINT with your local weather station.\n"
"# Local stations can be found here: http://www.weather.gov/tg/siteloc.shtml\n"
"\n"
"echo \"\" &gt; /var/run/update-motd/60-local-weather\n"
"weather -i KINT &gt;&gt; /var/run/update-motd/60-local-weather\n"
"\n"
msgstr ""

#: serverguide/C/other-apps.xml:139(para)
msgid "Make the script executable:"
msgstr ""

#: serverguide/C/other-apps.xml:144(command)
msgid "sudo chmod 755 /usr/local/bin/local-weather"
msgstr ""

#: serverguide/C/other-apps.xml:148(para)
msgid ""
"Next, create a symlink to <filename>/etc/update-motd.d/60-local-"
"weather</filename>:"
msgstr ""

#: serverguide/C/other-apps.xml:153(command)
msgid ""
"sudo ln -s /usr/local/bin/local-weather /etc/update-motd.d/60-local-weather"
msgstr ""

#: serverguide/C/other-apps.xml:157(para)
msgid "Finally, update the MOTD:"
msgstr ""

#: serverguide/C/other-apps.xml:162(command)
msgid "sudo update-motd"
msgstr ""

#: serverguide/C/other-apps.xml:167(para)
msgid ""
"You should now be greeted with some useful information, and some information "
"about the local weather that may not be quite so useful. Hopefully the "
"<application>local-weather</application> example demonstrates the "
"flexibility of <application>update-motd</application>."
msgstr ""

#: serverguide/C/other-apps.xml:175(title)
msgid "etckeeper"
msgstr ""

#: serverguide/C/other-apps.xml:177(para)
msgid ""
"<application>etckeeper</application> allows the contents of <filename "
"role=\"directory\">/etc</filename> be easily stored in Version Control "
"System (VCS) repository. It hooks into <application>apt</application> to "
"automatically commit changes to <filename>/etc</filename> when packages are "
"installed or upgraded. Placing <filename>/etc</filename> under version "
"control is considered an industry best practice, and the goal of "
"<application>etckeeper</application> is to make this process as painless as "
"possible."
msgstr ""

#: serverguide/C/other-apps.xml:185(para)
msgid ""
"Install <application>etckeeper</application> by entering the following in a "
"terminal:"
msgstr ""

#: serverguide/C/other-apps.xml:190(command)
msgid "sudo apt-get install etckeeper"
msgstr ""

#: serverguide/C/other-apps.xml:193(para)
msgid ""
"The main configuration file, "
"<filename>/etc/etckeeper/etckeeper.conf</filename>, is fairly simple. The "
"main options being which VCS and which package management system to use. By "
"default <application>etckeeper</application> is configured to use "
"<application>bzr</application> for version control, "
"<application>apt</application> for high level package mangement, and "
"<application>dpkg</application> for low level package management."
msgstr ""

#: serverguide/C/other-apps.xml:200(para)
msgid ""
"With the package installed, it is time to initialize the repository. In a "
"terminal enter:"
msgstr ""

#: serverguide/C/other-apps.xml:205(command)
msgid "sudo etckeeper init"
msgstr ""

#: serverguide/C/other-apps.xml:208(para)
msgid "Next, commit the files to the repository:"
msgstr ""

#: serverguide/C/other-apps.xml:213(command)
msgid "sudo etckeeper commit \"initial import\""
msgstr ""

#: serverguide/C/other-apps.xml:216(para)
msgid ""
"Using the VCS commands you can view log information about files in "
"<filename>/etc</filename>:"
msgstr ""

#: serverguide/C/other-apps.xml:221(command)
msgid "sudo bzr log /etc/passswd"
msgstr ""

#: serverguide/C/other-apps.xml:224(para)
msgid ""
"To demonstrate the integration with the package management system, install "
"<application>postfix</application>:"
msgstr ""

#: serverguide/C/other-apps.xml:229(command) serverguide/C/mail.xml:38(command)
msgid "sudo apt-get install postfix"
msgstr ""

#: serverguide/C/other-apps.xml:232(para)
msgid ""
"When the installation is finished, all the "
"<application>postfix</application> configuration files should be committed "
"to the repository:"
msgstr ""

#: serverguide/C/other-apps.xml:238(computeroutput)
#, no-wrap
msgid ""
"Committing to: /etc/\n"
"added aliases.db\n"
"modified group\n"
"modified group-\n"
"modified gshadow\n"
"modified gshadow-\n"
"modified passwd\n"
"modified passwd-\n"
"added postfix\n"
"added resolvconf\n"
"added rsyslog.d\n"
"modified shadow\n"
"modified shadow-\n"
"added init.d/postfix\n"
"added network/if-down.d/postfix\n"
"added network/if-up.d/postfix\n"
"added postfix/dynamicmaps.cf\n"
"added postfix/main.cf\n"
"added postfix/master.cf\n"
"added postfix/post-install\n"
"added postfix/postfix-files\n"
"added postfix/postfix-script\n"
"added postfix/sasl\n"
"added ppp/ip-down.d\n"
"added ppp/ip-down.d/postfix\n"
"added ppp/ip-up.d/postfix\n"
"added rc0.d/K20postfix\n"
"added rc1.d/K20postfix\n"
"added rc2.d/S20postfix\n"
"added rc3.d/S20postfix\n"
"added rc4.d/S20postfix\n"
"added rc5.d/S20postfix\n"
"added rc6.d/K20postfix\n"
"added resolvconf/update-libc.d\n"
"added resolvconf/update-libc.d/postfix\n"
"added rsyslog.d/postfix.conf\n"
"added ufw/applications.d/postfix\n"
"Committed revision 2."
msgstr ""

#: serverguide/C/other-apps.xml:278(para)
msgid ""
"For an example of how <application>etckeeper</application> tracks manual "
"changes, add new a host to <filename>/etc/hosts</filename>. Using "
"<application>bzr</application> you can see which files have been modified:"
msgstr ""

#: serverguide/C/other-apps.xml:284(command)
msgid "sudo bzr status /etc/"
msgstr ""

#: serverguide/C/other-apps.xml:285(computeroutput)
#, no-wrap
msgid ""
"modified:\n"
"  hosts"
msgstr ""

#: serverguide/C/other-apps.xml:289(para)
msgid "Now commit the changes:"
msgstr ""

#: serverguide/C/other-apps.xml:294(command)
msgid "sudo etckeeper commit \"new host\""
msgstr ""

#: serverguide/C/other-apps.xml:297(para)
msgid ""
"For more information on <application>bzr</application> see <xref "
"linkend=\"bazaar\"/>."
msgstr ""

#: serverguide/C/other-apps.xml:303(title)
msgid "Screen Profiles"
msgstr ""

#: serverguide/C/other-apps.xml:305(para)
msgid ""
"One of the most useful applications for any system administrator is "
"<application>screen</application>. It allows the execution of multiple "
"shells in one terminal. To make some of the advanced "
"<application>screen</application> features more user friendly, and provide "
"some useful information about the system, the <application>screen-"
"profiles</application> package was created."
msgstr ""

#: serverguide/C/other-apps.xml:312(para)
msgid ""
"When executing <application>screen</application> for the first time you will "
"be presented with the <application>screen-profiles-helper</application> "
"menu. This menu will allow you to:"
msgstr ""

#: serverguide/C/other-apps.xml:318(para)
msgid "View the Help menu"
msgstr ""

#: serverguide/C/other-apps.xml:319(para)
msgid "Change the key binding set"
msgstr ""

#: serverguide/C/other-apps.xml:320(para)
msgid "Change screen profiles"
msgstr ""

#: serverguide/C/other-apps.xml:321(para)
msgid "Change the escape sequence"
msgstr ""

#: serverguide/C/other-apps.xml:322(para)
msgid "Create new screen windows"
msgstr ""

#: serverguide/C/other-apps.xml:323(para)
msgid "Manage the default windows"
msgstr ""

#: serverguide/C/other-apps.xml:324(para)
msgid "Install screen by default at login"
msgstr ""

#: serverguide/C/other-apps.xml:327(para)
msgid ""
"The <emphasis>key bindings</emphasis> determine such things as the escape "
"sequence, new window, change window, etc. There are two key binding sets to "
"choose from <emphasis>common</emphasis> and <emphasis>none</emphasis>. If "
"you wish to use the original key bindings choose the "
"<emphasis>none</emphasis> set."
msgstr ""

#: serverguide/C/other-apps.xml:333(para)
msgid ""
"The Ubuntu <application>screen-profiles</application> provide a menu which "
"displays the Ubuntu release, processor information, memory information, and "
"the time and date. The effect is similar to a desktop menu. When a profile "
"is selected it will be symlinked to <filename>~/.screenrc</filename>. The "
"<application>select-screen-profile</application> utility can also be used to "
"change profiles, in a terminal enter:"
msgstr ""

#: serverguide/C/other-apps.xml:341(command)
msgid "select-screen-profile -s ubuntu-light"
msgstr ""

#: serverguide/C/other-apps.xml:344(para)
msgid ""
"The <emphasis>plain</emphasis> profile will change "
"<application>screen</application> back to the defaults, which does not "
"include the information menu at the bottom."
msgstr ""

#: serverguide/C/other-apps.xml:349(para)
msgid ""
"Using the <emphasis>\"Install screen by default at login\"</emphasis> option "
"will cause screen to be executed any time a terminal is opened. Changes made "
"to <application>screen</application> are on a per user basis, and will not "
"affect other users on the system."
msgstr ""

#: serverguide/C/other-apps.xml:354(para)
msgid ""
"One difference when using screen is the <emphasis>scrollback</emphasis> "
"mode. If you are using one of the Ubuntu profiles press the "
"<emphasis>F7</emphasis>, or <emphasis>Ctrl+a+[</emphasis> if not, to enter "
"scrollback mode. Scrollback mode allows you to navigate past output using "
"<emphasis>vi</emphasis> like commands. Here is a quick list of movement "
"commands:"
msgstr ""

#: serverguide/C/other-apps.xml:361(para)
msgid "<emphasis>h</emphasis> - Move the cursor left by one character"
msgstr ""

#: serverguide/C/other-apps.xml:362(para)
msgid "<emphasis>j</emphasis> - Move the cursor down by one line"
msgstr ""

#: serverguide/C/other-apps.xml:363(para)
msgid "<emphasis>k</emphasis> - Move the cursor up by one line"
msgstr ""

#: serverguide/C/other-apps.xml:364(para)
msgid "<emphasis>l</emphasis> - Move the cursor right by one character"
msgstr ""

#: serverguide/C/other-apps.xml:365(para)
msgid "<emphasis>0</emphasis> - Move to the beginning of the current line"
msgstr ""

#: serverguide/C/other-apps.xml:366(para)
msgid "<emphasis>$</emphasis> - Move to the end of the current line"
msgstr ""

#: serverguide/C/other-apps.xml:367(para)
msgid ""
"<emphasis>G</emphasis> - Moves to the specified line (defaults to the end of "
"the buffer)"
msgstr ""

#: serverguide/C/other-apps.xml:368(para)
msgid "<emphasis>C-u</emphasis> - Scrolls a half page up"
msgstr ""

#: serverguide/C/other-apps.xml:369(para)
msgid "<emphasis>C-b</emphasis> - Scrolls a full page up"
msgstr ""

#: serverguide/C/other-apps.xml:370(para)
msgid "<emphasis>C-d</emphasis> - Scrolls a half page down"
msgstr ""

#: serverguide/C/other-apps.xml:371(para)
msgid "<emphasis>C-f</emphasis> - Scrolls the full page down"
msgstr ""

#: serverguide/C/other-apps.xml:372(para)
msgid "<emphasis>/</emphasis> - Search forward"
msgstr ""

#: serverguide/C/other-apps.xml:373(para)
msgid "<emphasis>?</emphasis> - Search backward"
msgstr ""

#: serverguide/C/other-apps.xml:374(para)
msgid ""
"<emphasis>n</emphasis> - Moves to the next match, either forward or backword"
msgstr ""

#: serverguide/C/other-apps.xml:383(para)
msgid ""
"See the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man1/update-"
"motd.1.html\">update-motd man page</ulink> for more options available to "
"<application>update-motd</application>."
msgstr ""

#: serverguide/C/other-apps.xml:389(para)
msgid ""
"The Debian Package of the Day <ulink "
"url=\"http://debaday.debian.net/2007/10/04/weather-check-weather-conditions-"
"and-forecasts-on-the-command-line/\">weather</ulink> article has more "
"details about using the <application>weather</application>utility."
msgstr ""

#: serverguide/C/other-apps.xml:396(para)
msgid ""
"See the <ulink "
"url=\"http://kitenet.net/~joey/code/etckeeper/\">etckeeper</ulink> site for "
"more details on using <application>etckeeper</application>."
msgstr ""

#: serverguide/C/other-apps.xml:402(para)
msgid ""
"For the latest news and information about <application>bzr</application> see "
"the <ulink url=\"http://bazaar-vcs.org/\">bzr</ulink> web site."
msgstr ""

#: serverguide/C/other-apps.xml:407(para)
msgid ""
"For more information on <application>screen</application> see the <ulink "
"url=\"http://www.gnu.org/software/screen/\">screen web site</ulink>."
msgstr ""

#: serverguide/C/other-apps.xml:412(para)
msgid ""
"Also, see the <application>screen-profiles</application><ulink "
"url=\"https://launchpad.net/screen-profiles\">project page</ulink> for more "
"information."
msgstr ""

#: serverguide/C/network-config.xml:13(title)
msgid "Networking"
msgstr ""

#: serverguide/C/network-config.xml:14(para)
msgid ""
"Networks consist of two or more devices, such as computer systems, printers, "
"and related equipment which are connected by either physical cabling or "
"wireless links for the purpose of sharing and distributing information among "
"the connected devices."
msgstr ""

#: serverguide/C/network-config.xml:20(para)
msgid ""
"This section provides general and specific information pertaining to "
"networking, including an overview of network concepts and detailed "
"discussion of popular network protocols."
msgstr ""

#: serverguide/C/network-config.xml:26(title)
msgid "Network Configuration"
msgstr ""

#: serverguide/C/network-config.xml:27(para)
msgid ""
"Ubuntu ships with a number of graphical utilities to configure your network "
"devices. This document is geared toward server administrators and will focus "
"on managing your network on the command line."
msgstr ""

#: serverguide/C/network-config.xml:33(title)
msgid "Ethernet"
msgstr ""

#: serverguide/C/network-config.xml:34(para)
msgid ""
"Most Ethernet configuration is centralized in a single file, "
"<filename>/etc/network/interfaces</filename>. If you have no Ethernet "
"devices, only the loopback interface will appear in this file, and it will "
"look something like this:"
msgstr ""

#: serverguide/C/network-config.xml:40(programlisting)
#, no-wrap
msgid ""
"\n"
"# This file describes the network interfaces available on your system\n"
"# and how to activate them. For more information, see interfaces(5).\n"
"\n"
"# The loopback network interface\n"
"auto lo\n"
"iface lo inet loopback\n"
"address 127.0.0.1\n"
"netmask 255.0.0.0\n"
msgstr ""

#: serverguide/C/network-config.xml:50(para)
msgid ""
"If you have only one Ethernet device, eth0, and it gets its configuration "
"from a DHCP server, and it should come up automatically at boot, only two "
"additional lines are required:"
msgstr ""

#: serverguide/C/network-config.xml:55(programlisting)
#, no-wrap
msgid ""
"\n"
"auto eth0\n"
"iface eth0 inet dhcp\n"
msgstr ""

#: serverguide/C/network-config.xml:59(para)
msgid ""
"The first line specifies that the eth0 device should come up automatically "
"when you boot. The second line means that interface (<quote>iface</quote>) "
"eth0 should have an IPv4 address space (replace <quote>inet</quote> with "
"<quote>inet6</quote> for an IPv6 device) and that it should get its "
"configuration automatically from DHCP. Assuming your network and DHCP server "
"are properly configured, this machine's network should need no further "
"configuration to operate properly. The DHCP server will provide the default "
"gateway (implemented via the <application>route</application> command), the "
"device's IP address (implemented via the <application>ifconfig</application> "
"command), and DNS servers used on the network (implemented in the "
"<filename>/etc/resolv.conf</filename> file.)"
msgstr ""

#: serverguide/C/network-config.xml:72(para)
msgid ""
"To configure your Ethernet device with a static IP address and custom "
"configuration, some more information will be required. Suppose you want to "
"assign the IP address 192.168.0.2 to the device eth1, with the typical "
"netmask of 255.255.255.0. Your default gateway's IP address is 192.168.0.1. "
"You would enter something like this into "
"<filename>/etc/network/interfaces</filename>:"
msgstr ""

#: serverguide/C/network-config.xml:79(programlisting)
#, no-wrap
msgid ""
"\n"
"iface eth1 inet static\n"
"\taddress 192.168.0.2\n"
"\tnetmask 255.255.255.0\n"
"\tgateway 192.168.0.1\n"
msgstr ""

#: serverguide/C/network-config.xml:85(para)
msgid ""
"In this case, you will need to specify your DNS servers manually in "
"<filename>/etc/resolv.conf</filename>, which should look something like this:"
msgstr ""

#: serverguide/C/network-config.xml:89(programlisting)
#, no-wrap
msgid ""
"\n"
"search mydomain.example\n"
"nameserver 192.168.0.1\n"
"nameserver 4.2.2.2\n"
msgstr ""

#: serverguide/C/network-config.xml:94(para)
msgid ""
"The <emphasis role=\"italics\">search</emphasis> directive will append "
"mydomain.example to hostname queries in an attempt to resolve names to your "
"network. For example, if your network's domain is mydomain.example and you "
"try to ping the host <quote>mybox</quote>, the DNS query will be modified to "
"<quote>mybox.mydomain.example</quote> for resolution. The <emphasis "
"role=\"italics\">nameserver</emphasis> directives specify DNS servers to be "
"used to resolve hostnames to IP addresses. If you use your own nameserver, "
"enter it here. Otherwise, ask your Internet Service Provider for the primary "
"and secondary DNS servers to use, and enter them into "
"<filename>/etc/resolv.conf</filename> as shown above."
msgstr ""

#: serverguide/C/network-config.xml:106(para)
msgid ""
"Many more configurations are possible, including dialup PPP interfaces, IPv6 "
"networking, VPN devices, etc. Refer to <application>man 5 "
"interfaces</application> for more information and supported options. "
"Remember that <filename>/etc/network/interfaces</filename> is used by the "
"<application>ifup</application>/<application>ifdown</application> scripts as "
"a higher level configuration scheme than may be used in some other Linux "
"distributions, and that the traditional, lower level utilities such as "
"<application>ifconfig</application>, <application>route</application>, and "
"<application>dhclient</application> are still available to you for ad hoc "
"configurations."
msgstr ""

#: serverguide/C/network-config.xml:120(title)
msgid "Managing DNS Entries"
msgstr ""

#: serverguide/C/network-config.xml:121(para)
msgid ""
"This section explains how to configure which nameserver to use when "
"resolving IP addresses to hostnames and vice versa. It does not explain how "
"to configure the system as a name server."
msgstr ""

#: serverguide/C/network-config.xml:126(para)
msgid ""
"To manage DNS entries, you can add, edit, or remove DNS names from the "
"<filename>/etc/resolv.conf</filename> file. A sample file is given below:"
msgstr ""

#: serverguide/C/network-config.xml:130(programlisting)
#, no-wrap
msgid ""
"\n"
"search com\n"
"nameserver 204.11.126.131\n"
"nameserver 64.125.134.133\n"
"nameserver 64.125.134.132\n"
"nameserver 208.185.179.218\n"
msgstr ""

#: serverguide/C/network-config.xml:138(para)
msgid ""
"The <application>search</application> key specifies the string which will be "
"appended to an incomplete hostname. Here, we have configured it to "
"<application>com</application>. So, when we run: <command>ping "
"ubuntu</command> it would be interpreted as <command>ping "
"ubuntu.com</command>."
msgstr ""

#: serverguide/C/network-config.xml:146(para)
msgid ""
"The <application>nameserver</application> key specifies the nameserver IP "
"address. It will be used to resolve a given IP address or hostname. This "
"file can have multiple nameserver entries. The nameservers will be used by "
"the network query in the same order."
msgstr ""

#: serverguide/C/network-config.xml:155(para)
msgid ""
"If the DNS server names are retrieved dynamically from DHCP or PPPoE "
"(retrieved from your ISP), do not add nameserver entries in this file. It "
"will be overwritten."
msgstr ""

#: serverguide/C/network-config.xml:164(title)
msgid "Managing Hosts"
msgstr ""

#: serverguide/C/network-config.xml:165(para)
msgid ""
"To manage hosts, you can add, edit, or remove hosts from "
"<filename>/etc/hosts</filename> file. The file contains IP addresses and "
"their corresponding hostnames. When your system tries to resolve a hostname "
"to an IP address or determine the hostname for an IP address, it refers to "
"the <filename>/etc/hosts</filename> file before using the name servers. If "
"the IP address is listed in the <filename>/etc/hosts</filename> file, the "
"name servers are not used. This behavior can be modified by editing "
"<filename>/etc/nsswitch.conf</filename> at your peril."
msgstr ""

#: serverguide/C/network-config.xml:178(para)
msgid ""
"If your network contains computers whose IP addresses are not listed in DNS, "
"it is recommended that you add them to the <filename>/etc/hosts</filename> "
"file."
msgstr ""

#: serverguide/C/network-config.xml:186(title)
msgid "Bridging"
msgstr ""

#: serverguide/C/network-config.xml:188(para)
msgid ""
"Bridging multiple interfaces is a more advanced configuration, but is very "
"useful in multiple scenarios. One scenario is setting up a bridge with "
"multiple network interfaces, then using a firewall to filter traffic between "
"two network segments. Another scenario is using bridge on a system with one "
"interface to allow virtual machines direct access to the outside network. "
"The following example covers the latter scenario."
msgstr ""

#: serverguide/C/network-config.xml:195(para)
msgid ""
"Before configuring a bridge you will need to install the <application>bridge-"
"utils</application> package. To install the package, in a terminal enter:"
msgstr ""

#: serverguide/C/network-config.xml:201(command)
msgid "sudo apt-get install bridge-utils"
msgstr ""

#: serverguide/C/network-config.xml:204(para)
msgid ""
"Next, configure the bridge by editing "
"<filename>/etc/network/interfaces</filename>:"
msgstr ""

#: serverguide/C/network-config.xml:208(programlisting)
#, no-wrap
msgid ""
"\n"
"auto lo\n"
"iface lo inet loopback\n"
"\n"
"auto br0\n"
"iface br0 inet static\n"
"        address 192.168.0.10\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"
"        bridge_ports eth0\n"
"        bridge_fd 9\n"
"        bridge_hello 2\n"
"        bridge_maxage 12\n"
"        bridge_stp off\n"
msgstr ""

#: serverguide/C/network-config.xml:227(para)
msgid "Enter the appropriate values for your physical interface and network."
msgstr ""

#: serverguide/C/network-config.xml:232(para)
msgid "Now restart networking to enable the bridge interface:"
msgstr ""

#: serverguide/C/network-config.xml:240(para)
msgid ""
"If setting up a bridge interface using Ubuntu Desktop Edition, or if "
"<application>dhcdbd</application> is installed, the "
"<application>dhcdbd</application> daemon will need to be stopped and "
"disabled."
msgstr ""

#: serverguide/C/network-config.xml:245(para)
msgid ""
"After configuring the bridge in "
"<filename>/etc/network/interfaces</filename>, shutdown "
"<application>dhcdbd</application> by:"
msgstr ""

#: serverguide/C/network-config.xml:250(command)
msgid "sudo /etc/init.d/dhcdbd stop"
msgstr ""

#: serverguide/C/network-config.xml:253(para)
msgid "Now to disable it from starting on boot enter:"
msgstr ""

#: serverguide/C/network-config.xml:258(command)
msgid "sudo update-rc.d -f dhcdbd remove"
msgstr ""

#: serverguide/C/network-config.xml:261(para)
msgid ""
"The new bridge interface should now be up and running. The "
"<application>brctl</application> provides useful information about the state "
"of the bridge, controls which interfaces are part of the bridge, etc. See "
"<command>man brctl</command> for more information."
msgstr ""

#: serverguide/C/network-config.xml:277(para)
msgid ""
"The <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man5/interfaces.5.html\">"
"interafaces man page</ulink> has details on more options for "
"<filename>/etc/network/interfaces</filename>."
msgstr ""

#: serverguide/C/network-config.xml:283(para)
msgid ""
"For more information on DNS client configuration see the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man5/resolver.5.html\">re"
"solver man page</ulink>. Also, Chapter 6 of O'Reilly's <ulink "
"url=\"http://oreilly.com/catalog/linag2/book/ch06.html\">Linux Network "
"Administrator's Guide</ulink> is a good source of resolver and name service "
"configuration information."
msgstr ""

#: serverguide/C/network-config.xml:291(para)
msgid ""
"For more information on <emphasis>bridging</emphasis> see the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man8/brctl.8.html\">brctl"
" man page</ulink> and the Linux Foundation's <ulink "
"url=\"http://www.linuxfoundation.org/en/Net:Bridge\">Net:Bridge</ulink> page."
msgstr ""

#: serverguide/C/network-config.xml:302(title)
msgid "TCP/IP"
msgstr ""

#: serverguide/C/network-config.xml:303(para)
msgid ""
"The Transmission Control Protocol and Internet Protocol (TCP/IP) is a "
"standard set of protocols developed in the late 1970s by the Defense "
"Advanced Research Projects Agency (DARPA) as a means of communication "
"between different types of computers and computer networks. TCP/IP is the "
"driving force of the Internet, and thus it is the most popular set of "
"network protocols on Earth."
msgstr ""

#: serverguide/C/network-config.xml:311(title)
msgid "TCP/IP Introduction"
msgstr ""

#: serverguide/C/network-config.xml:312(para)
msgid ""
"The two protocol components of TCP/IP deal with different aspects of "
"computer networking. <emphasis>Internet Protocol</emphasis>, the \"IP\" of "
"TCP/IP is a connectionless protocol which deals only with network packet "
"routing using the <emphasis role=\"italics\">IP Datagram</emphasis> as the "
"basic unit of networking information. The IP Datagram consists of a header "
"followed by a message. The <emphasis> Transmission Control "
"Protocol</emphasis> is the \"TCP\" of TCP/IP and enables network hosts to "
"establish connections which may be used to exchange data streams. TCP also "
"guarantees that the data between connections is delivered and that it "
"arrives at one network host in the same order as sent from another network "
"host."
msgstr ""

#: serverguide/C/network-config.xml:325(title)
msgid "TCP/IP Configuration"
msgstr ""

#: serverguide/C/network-config.xml:326(para)
msgid ""
"The TCP/IP protocol configuration consists of several elements which must be "
"set by editing the appropriate configuration files, or deploying solutions "
"such as the Dynamic Host Configuration Protocol (DHCP) server which in turn, "
"can be configured to provide the proper TCP/IP configuration settings to "
"network clients automatically. These configuration values must be set "
"correctly in order to facilitate the proper network operation of your Ubuntu "
"system."
msgstr ""

#: serverguide/C/network-config.xml:338(para)
msgid ""
"<emphasis role=\"bold\">IP address</emphasis> The IP address is a unique "
"identifying string expressed as four decimal numbers ranging from zero (0) "
"to two-hundred and fifty-five (255), separated by periods, with each of the "
"four numbers representing eight (8) bits of the address for a total length "
"of thirty-two (32) bits for the whole address. This format is called "
"<emphasis>dotted quad notation</emphasis>."
msgstr ""

#: serverguide/C/network-config.xml:348(para)
msgid ""
"<emphasis role=\"bold\">Netmask</emphasis> The Subnet Mask (or simply, "
"<emphasis>netmask</emphasis>) is a local bit mask, or set of flags which "
"separate the portions of an IP address significant to the network from the "
"bits significant to the <emphasis>subnetwork</emphasis>. For example, in a "
"Class C network, the standard netmask is 255.255.255.0 which masks the first "
"three bytes of the IP address and allows the last byte of the IP address to "
"remain available for specifying hosts on the subnetwork."
msgstr ""

#: serverguide/C/network-config.xml:359(para)
msgid ""
"<emphasis role=\"bold\">Network Address</emphasis> The Network Address "
"represents the bytes comprising the network portion of an IP address. For "
"example, the host 12.128.1.2 in a Class A network would use 12.0.0.0 as the "
"network address, where twelve (12) represents the first byte of the IP "
"address, (the network part) and zeroes (0) in all of the remaining three "
"bytes to represent the potential host values. A network host using the "
"private IP address 192.168.1.100 would in turn use a Network Address of "
"192.168.1.0, which specifies the first three bytes of the Class C 192.168.1 "
"network and a zero (0) for all the possible hosts on the network."
msgstr ""

#: serverguide/C/network-config.xml:372(para)
msgid ""
"<emphasis role=\"bold\">Broadcast Address</emphasis> The Broadcast Address "
"is an IP address which allows network data to be sent simultaneously to all "
"hosts on a given subnetwork rather than specifying a particular host. The "
"standard general broadcast address for IP networks is 255.255.255.255, but "
"this broadcast address cannot be used to send a broadcast message to every "
"host on the Internet because routers block it. A more appropriate broadcast "
"address is set to match a specific subnetwork. For example, on the private "
"Class C IP network, 192.168.1.0, the broadcast address is 192.168.1.255. "
"Broadcast messages are typically produced by network protocols such as the "
"Address Resolution Protocol (ARP) and the Routing Information Protocol (RIP)."
msgstr ""

#: serverguide/C/network-config.xml:385(para)
msgid ""
"<emphasis role=\"bold\">Gateway Address</emphasis> A Gateway Address is the "
"IP address through which a particular network, or host on a network, may be "
"reached. If one network host wishes to communicate with another network "
"host, and that host is not located on the same network, then a "
"<emphasis>gateway</emphasis> must be used. In many cases, the Gateway "
"Address will be that of a router on the same network, which will in turn "
"pass traffic on to other networks or hosts, such as Internet hosts. The "
"value of the Gateway Address setting must be correct, or your system will "
"not be able to reach any hosts beyond those on the same network."
msgstr ""

#: serverguide/C/network-config.xml:396(para)
msgid ""
"<emphasis role=\"bold\">Nameserver Address</emphasis> Nameserver Addresses "
"represent the IP addresses of Domain Name Service (DNS) systems, which "
"resolve network hostnames into IP addresses. There are three levels of "
"Nameserver Addresses, which may be specified in order of precedence: The "
"<emphasis>Primary</emphasis> Nameserver, the <emphasis>Secondary</emphasis> "
"Nameserver, and the <emphasis>Tertiary</emphasis> Nameserver. In order for "
"your system to be able to resolve network hostnames into their corresponding "
"IP addresses, you must specify valid Nameserver Addresses which you are "
"authorized to use in your system's TCP/IP configuration. In many cases these "
"addresses can and will be provided by your network service provider, but "
"many free and publicly accessible nameservers are available for use, such as "
"the Level3 (Verizon) servers with IP addresses from 4.2.2.1 to 4.2.2.6."
msgstr ""

#: serverguide/C/network-config.xml:410(para)
msgid ""
"The IP address, Netmask, Network Address, Broadcast Address, and Gateway "
"Address are typically specified via the appropriate directives in the file "
"<filename>/etc/network/interfaces</filename>. The Nameserver Addresses are "
"typically specified via <emphasis>nameserver</emphasis> directives in the "
"file <filename>/etc/resolv.conf</filename>. For more information, view the "
"system manual page for <filename>interfaces</filename> or "
"<filename>resolv.conf</filename> respectively, with the following commands "
"typed at a terminal prompt:"
msgstr ""

#: serverguide/C/network-config.xml:417(para)
msgid ""
"Access the system manual page for <filename>interfaces</filename> with the "
"following command:"
msgstr ""

#: serverguide/C/network-config.xml:422(command)
msgid "man interfaces"
msgstr ""

#: serverguide/C/network-config.xml:425(para)
msgid ""
"Access the system manual page for <filename>resolv.conf</filename> with the "
"following command:"
msgstr ""

#: serverguide/C/network-config.xml:429(command)
msgid "man resolv.conf"
msgstr ""

#: serverguide/C/network-config.xml:334(para)
msgid ""
"The common configuration elements of TCP/IP and their purposes are as "
"follows: <placeholder-1/>"
msgstr ""

#: serverguide/C/network-config.xml:436(title)
msgid "IP Routing"
msgstr ""

#: serverguide/C/network-config.xml:437(para)
msgid ""
"IP routing is a means of specifying and discovering paths in a TCP/IP "
"network along which network data may be sent. Routing uses a set of "
"<emphasis>routing tables</emphasis> to direct the forwarding of network data "
"packets from their source to the destination, often via many intermediary "
"network nodes known as <emphasis>routers</emphasis>. There are two primary "
"forms of IP routing: <emphasis>Static Routing</emphasis> and "
"<emphasis>Dynamic Routing.</emphasis>"
msgstr ""

#: serverguide/C/network-config.xml:446(para)
msgid ""
"Static routing involves manually adding IP routes to the system's routing "
"table, and this is usually done by manipulating the routing table with the "
"<application>route</application> command. Static routing enjoys many "
"advantages over dynamic routing, such as simplicity of implementation on "
"smaller networks, predictability (the routing table is always computed in "
"advance, and thus the route is precisely the same each time it is used), and "
"low overhead on other routers and network links due to the lack of a dynamic "
"routing protocol. However, static routing does present some disadvantages as "
"well. For example, static routing is limited to small networks and does not "
"scale well. Static routing also fails completely to adapt to network outages "
"and failures along the route due to the fixed nature of the route."
msgstr ""

#: serverguide/C/network-config.xml:456(para)
msgid ""
"Dynamic routing depends on large networks with multiple possible IP routes "
"from a source to a destination and makes use of special routing protocols, "
"such as the Router Information Protocol (RIP), which handle the automatic "
"adjustments in routing tables that make dynamic routing possible. Dynamic "
"routing has several advantages over static routing, such as superior "
"scalability and the ability to adapt to failures and outages along network "
"routes. Additionally, there is less manual configuration of the routing "
"tables, since routers learn from one another about their existence and "
"available routes. This trait also eliminates the possibility of introducing "
"mistakes in the routing tables via human error. Dynamic routing is not "
"perfect, however, and presents disadvantages such as heightened complexity "
"and additional network overhead from router communications, which does not "
"immediately benefit the end users, but still consumes network bandwidth."
msgstr ""

#: serverguide/C/network-config.xml:470(title)
msgid "TCP and UDP"
msgstr ""

#: serverguide/C/network-config.xml:471(para)
msgid ""
"TCP is a connection-based protocol, offering error correction and guaranteed "
"delivery of data via what is known as <emphasis>flow control</emphasis>. "
"Flow control determines when the flow of a data stream needs to be stopped, "
"and previously sent data packets should to be re-sent due to problems such "
"as <emphasis>collisions</emphasis>, for example, thus ensuring complete and "
"accurate delivery of the data. TCP is typically used in the exchange of "
"important information such as database transactions."
msgstr ""

#: serverguide/C/network-config.xml:479(para)
msgid ""
"The User Datagram Protocol (UDP), on the other hand, is a "
"<emphasis>connectionless</emphasis> protocol which seldom deals with the "
"transmission of important data because it lacks flow control or any other "
"method to ensure reliable delivery of the data. UDP is commonly used in such "
"applications as audio and video streaming, where it is considerably faster "
"than TCP due to the lack of error correction and flow control, and where the "
"loss of a few packets is not generally catastrophic."
msgstr ""

#: serverguide/C/network-config.xml:489(title)
msgid "ICMP"
msgstr ""

#: serverguide/C/network-config.xml:490(para)
msgid ""
"The Internet Control Messaging Protocol (ICMP) is an extension to the "
"Internet Protocol (IP) as defined in the Request For Comments (RFC) #792 and "
"supports network packets containing control, error, and informational "
"messages. ICMP is used by such network applications as the "
"<application>ping</application> utility, which can determine the "
"availability of a network host or device. Examples of some error messages "
"returned by ICMP which are useful to both network hosts and devices such as "
"routers, include <emphasis>Destination Unreachable</emphasis> and "
"<emphasis>Time Exceeded</emphasis>."
msgstr ""

#: serverguide/C/network-config.xml:500(title)
msgid "Daemons"
msgstr ""

#: serverguide/C/network-config.xml:501(para)
msgid ""
"Daemons are special system applications which typically execute continuously "
"in the background and await requests for the functions they provide from "
"other applications. Many daemons are network-centric; that is, a large "
"number of daemons executing in the background on an Ubuntu system may "
"provide network-related functionality. Some examples of such network daemons "
"include the <emphasis>Hyper Text Transport Protocol Daemon</emphasis> "
"(httpd), which provides web server functionality; the <emphasis>Secure SHell "
"Daemon</emphasis> (sshd), which provides secure remote login shell and file "
"transfer capabilities; and the <emphasis>Internet Message Access Protocol "
"Daemon</emphasis> (imapd), which provides E-Mail services."
msgstr ""

#: serverguide/C/network-config.xml:516(para)
msgid ""
"There are man pages for <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man7/tcp.7.html\">TCP</ul"
"ink> and <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/man7/ip.7.html\">IP</ulink> "
"that contain more useful information."
msgstr ""

#: serverguide/C/network-config.xml:522(para)
msgid ""
"Also, see the <ulink "
"url=\"http://www.redbooks.ibm.com/abstracts/gg243376.html\">TCP/IP Tutorial "
"and Technical Overview</ulink> IBM Redbook."
msgstr ""

#: serverguide/C/network-config.xml:528(para)
msgid ""
"Another resource is O'Reilly's <ulink "
"url=\"http://oreilly.com/catalog/9780596002978/\">TCP/IP Network "
"Administration</ulink>."
msgstr ""

#: serverguide/C/network-config.xml:537(title)
msgid "Dynamic Host Configuration Protocol (DHCP)"
msgstr ""

#: serverguide/C/network-config.xml:538(para)
msgid ""
"The Dynamic Host Configuration Protocol (DHCP) is a network service that "
"enables host computers to be automatically assigned settings from a server "
"as opposed to manually configuring each network host. Computers configured "
"to be DHCP clients have no control over the settings they receive from the "
"DHCP server, and the configuration is transparent to the computer's user."
msgstr ""

#: serverguide/C/network-config.xml:545(para)
msgid ""
"The most common settings provided by a DHCP server to DHCP clients include:"
msgstr ""

#: serverguide/C/network-config.xml:550(para)
msgid "IP-Address and Netmask"
msgstr ""

#: serverguide/C/network-config.xml:553(para)
msgid "DNS"
msgstr ""

#: serverguide/C/network-config.xml:556(para)
msgid "WINS"
msgstr ""

#: serverguide/C/network-config.xml:559(para)
msgid ""
"However, a DHCP server can also supply configuration properties such as:"
msgstr ""

#: serverguide/C/network-config.xml:564(para)
msgid "Host Name"
msgstr ""

#: serverguide/C/network-config.xml:567(para)
msgid "Domain Name"
msgstr ""

#: serverguide/C/network-config.xml:570(para)
msgid "Default Gateway"
msgstr ""

#: serverguide/C/network-config.xml:573(para)
msgid "Time Server"
msgstr ""

#: serverguide/C/network-config.xml:576(para)
msgid "Print Server"
msgstr ""

#: serverguide/C/network-config.xml:579(para)
msgid ""
"The advantage of using DHCP is that changes to the network, for example a "
"change in the address of the DNS server, need only be changed at the DHCP "
"server, and all network hosts will be reconfigured the next time their DHCP "
"clients poll the DHCP server. As an added advantage, it is also easier to "
"integrate new computers into the network, as there is no need to check for "
"the availability of an IP address. Conflicts in IP address allocation are "
"also reduced."
msgstr ""

#: serverguide/C/network-config.xml:587(para)
msgid "A DHCP server can provide configuration settings using two methods:"
msgstr ""

#: serverguide/C/network-config.xml:592(term)
msgid "MAC Address"
msgstr ""

#: serverguide/C/network-config.xml:594(para)
msgid ""
"This method entails using DHCP to identify the unique hardware address of "
"each network card connected to the network and then continually supplying a "
"constant configuration each time the DHCP client makes a request to the DHCP "
"server using that network device."
msgstr ""

#: serverguide/C/network-config.xml:603(term)
msgid "Address Pool"
msgstr ""

#: serverguide/C/network-config.xml:605(para)
msgid ""
"This method entails defining a pool (sometimes also called a range or scope) "
"of IP addresses from which DHCP clients are supplied their configuration "
"properties dynamically and on a \"first come, first served\" basis. When a "
"DHCP client is no longer on the network for a specified period, the "
"configuration is expired and released back to the address pool for use by "
"other DHCP Clients."
msgstr ""

#: serverguide/C/network-config.xml:616(para)
msgid ""
"Ubuntu is shipped with both DHCP server and client. The server is "
"<application>dhcpd</application> (dynamic host configuration protocol "
"daemon). The client provided with Ubuntu is "
"<application>dhclient</application> and should be installed on all computers "
"required to be automatically configured. Both programs are easy to install "
"and configure and will be automatically started at system boot."
msgstr ""

#: serverguide/C/network-config.xml:626(para)
msgid ""
"At a terminal prompt, enter the following command to install "
"<application>dhcpd</application>:"
msgstr ""

#: serverguide/C/network-config.xml:631(command)
msgid "sudo apt-get install dhcp3-server"
msgstr ""

#: serverguide/C/network-config.xml:633(para)
msgid ""
"You will probably need to change the default configuration by editing "
"/etc/dhcp3/dhcpd.conf to suit your needs and particular configuration."
msgstr ""

#: serverguide/C/network-config.xml:637(para)
msgid ""
"You also need to edit /etc/default/dhcp3-server to specify the interfaces "
"dhcpd should listen to. By default it listens to eth0."
msgstr ""

#: serverguide/C/network-config.xml:641(para)
msgid ""
"NOTE: dhcpd's messages are being sent to syslog. Look there for diagnostics "
"messages."
msgstr ""

#: serverguide/C/network-config.xml:648(para)
msgid ""
"The error message the installation ends with might be a little confusing, "
"but the following steps will help you configure the service:"
msgstr ""

#: serverguide/C/network-config.xml:652(para)
msgid ""
"Most commonly, what you want to do is assign an IP address randomly. This "
"can be done with settings as follows:"
msgstr ""

#: serverguide/C/network-config.xml:656(programlisting)
#, no-wrap
msgid ""
"\n"
"# Sample /etc/dhcpd.conf\n"
"# (add your comments here) \n"
"default-lease-time 600;\n"
"max-lease-time 7200;\n"
"option subnet-mask 255.255.255.0;\n"
"option broadcast-address 192.168.1.255;\n"
"option routers 192.168.1.254;\n"
"option domain-name-servers 192.168.1.1, 192.168.1.2;\n"
"option domain-name \"mydomain.example\";\n"
"\n"
"subnet 192.168.1.0 netmask 255.255.255.0 {\n"
"range 192.168.1.10 192.168.1.100;\n"
"range 192.168.1.150 192.168.1.200;\n"
"} \n"
msgstr ""

#: serverguide/C/network-config.xml:672(para)
msgid ""
"This will result in the DHCP server giving a client an IP address from the "
"range 192.168.1.10-192.168.1.100 or 192.168.1.150-192.168.1.200. It will "
"lease an IP address for 600 seconds if the client doesn't ask for a specific "
"time frame. Otherwise the maximum (allowed) lease will be 7200 seconds. The "
"server will also \"advise\" the client that it should use 255.255.255.0 as "
"its subnet mask, 192.168.1.255 as its broadcast address, 192.168.1.254 as "
"the router/gateway and 192.168.1.1 and 192.168.1.2 as its DNS servers."
msgstr ""

#: serverguide/C/network-config.xml:681(para)
msgid ""
"If you need to specify a WINS server for your Windows clients, you will need "
"to include the netbios-name-servers option, e.g."
msgstr ""

#: serverguide/C/network-config.xml:685(programlisting)
#, no-wrap
msgid ""
"\n"
"option netbios-name-servers 192.168.1.1; \n"
msgstr ""

#: serverguide/C/network-config.xml:688(para)
msgid ""
"Dhcpd configuration settings are taken from the DHCP mini-HOWTO, which can "
"be found <ulink "
"url=\"http://www.tldp.org/HOWTO/DHCP/index.html\">here</ulink>."
msgstr ""

#: serverguide/C/network-config.xml:698(para)
msgid ""
"For more <filename>/etc/dhcp3/dchpd.conf</filename> options see the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man5/dhcpd.conf.5.html\">"
"dhcpd.conf man page</ulink>."
msgstr ""

#: serverguide/C/network-config.xml:704(para)
msgid ""
"Also see the <ulink url=\"http://www.dhcp-handbook.com/dhcp_faq.html\">DHCP "
"FAQ</ulink>"
msgstr ""

#: serverguide/C/network-config.xml:714(title)
msgid "Time Synchronisation with NTP"
msgstr ""

#: serverguide/C/network-config.xml:715(para)
msgid ""
"This page describes methods for keeping your computer's time accurate. This "
"is useful for servers, but is not necessary (or desirable) for desktop "
"machines."
msgstr ""

#: serverguide/C/network-config.xml:718(para)
msgid ""
"NTP is a TCP/IP protocol for synchronising time over a network. Basically a "
"client requests the current time from a server, and uses it to set its own "
"clock."
msgstr ""

#: serverguide/C/network-config.xml:721(para)
msgid ""
"Behind this simple description, there is a lot of complexity - there are "
"tiers of NTP servers, with the tier one NTP servers connected to atomic "
"clocks (often via GPS), and tier two and three servers spreading the load of "
"actually handling requests across the Internet. Also the client software is "
"a lot more complex than you might think - it has to factor out communication "
"delays, and adjust the time in a way that does not upset all the other "
"processes that run on the server. But luckily all that complexity is hidden "
"from you!"
msgstr ""

#: serverguide/C/network-config.xml:724(para)
msgid ""
"Ubuntu has two ways of automatically setting your time: ntpdate and ntpd."
msgstr ""

#: serverguide/C/network-config.xml:729(title)
msgid "ntpdate"
msgstr ""

#: serverguide/C/network-config.xml:730(para)
msgid ""
"Ubuntu comes with ntpdate as standard, and will run it once at boot time to "
"set up your time according to Ubuntu's NTP server. However, a server's clock "
"is likely to drift considerably between reboots, so it makes sense to "
"correct the time occasionally. The easiest way to do this is to get cron to "
"run ntpdate every day. With your favourite editor, as root, create a file "
"<code>/etc/cron.daily/ntpdate</code> containing:"
msgstr ""

#: serverguide/C/network-config.xml:735(screen)
#, no-wrap
msgid "ntpdate ntp.ubuntu.com\n"
msgstr ""

#: serverguide/C/network-config.xml:737(para)
msgid ""
"The file <code>/etc/cron.daily/ntpdate</code> must also be executable."
msgstr ""

#: serverguide/C/network-config.xml:740(screen)
#, no-wrap
msgid "sudo chmod 755 /etc/cron.daily/ntpdate\n"
msgstr ""

#: serverguide/C/network-config.xml:744(title)
msgid "ntpd"
msgstr ""

#: serverguide/C/network-config.xml:745(para)
msgid ""
"ntpdate is a bit of a blunt instrument - it can only adjust the time once a "
"day, in one big correction. The ntp daemon ntpd is far more subtle. It "
"calculates the drift of your system clock and continuously adjusts it, so "
"there are no large corrections that could lead to inconsistent logs for "
"instance. The cost is a little processing power and memory, but for a modern "
"server this is negligible."
msgstr ""

#: serverguide/C/network-config.xml:748(para)
msgid "To set up ntpd:"
msgstr ""

#: serverguide/C/network-config.xml:749(screen)
#, no-wrap
msgid "sudo apt-get install ntp\n"
msgstr ""

#: serverguide/C/network-config.xml:754(title)
msgid "Changing Time Servers"
msgstr ""

#: serverguide/C/network-config.xml:755(para)
msgid ""
"In both cases above, your system will use Ubuntu's NTP server at "
"<code>ntp.ubuntu.com</code> by default. This is OK, but you might want to "
"use several servers to increase accuracy and resilience, and you may want to "
"use time servers that are geographically closer to you. to do this for "
"ntpdate, change the contents of <code>/etc/cron.daily/ntpdate</code> to:"
msgstr ""

#: serverguide/C/network-config.xml:762(screen)
#, no-wrap
msgid "ntpdate ntp.ubuntu.com pool.ntp.org \n"
msgstr ""

#: serverguide/C/network-config.xml:764(para)
msgid ""
"And for ntpd edit <code>/etc/ntp.conf</code> to include additional server "
"lines:"
msgstr ""

#: serverguide/C/network-config.xml:769(screen)
#, no-wrap
msgid ""
"server ntp.ubuntu.com\n"
"server pool.ntp.org\n"
msgstr ""

#: serverguide/C/network-config.xml:772(para)
msgid ""
"You may notice <code>pool.ntp.org</code> in the examples above. This is a "
"really good idea which uses round-robin DNS to return an NTP server from a "
"pool, spreading the load between several different servers. Even better, "
"they have pools for different regions - for instance, if you are in New "
"Zealand, so you could use <code>nz.pool.ntp.org</code> instead of "
"<code>pool.ntp.org</code> . Look at <ulink "
"url=\"http://www.pool.ntp.org/\">http://www.pool.ntp.org/</ulink> for more "
"details."
msgstr ""

#: serverguide/C/network-config.xml:783(para)
msgid ""
"You can also Google for NTP servers in your region, and add these to your "
"configuration. To test that a server works, just type <code>sudo ntpdate "
"ntp.server.name</code> and see what happens."
msgstr ""

#: serverguide/C/network-config.xml:791(title)
msgid "Related Pages"
msgstr ""

#: serverguide/C/network-config.xml:795(ulink)
msgid "NTP Support"
msgstr ""

#: serverguide/C/network-config.xml:800(ulink)
msgid "The NTP FAQ and HOWTO"
msgstr ""

#: serverguide/C/network-auth.xml:13(title)
msgid "Network Authentication"
msgstr ""

#: serverguide/C/network-auth.xml:15(para)
msgid "This section explains various Network Authentication protocols."
msgstr ""

#: serverguide/C/network-auth.xml:19(title)
msgid "OpenLDAP Server"
msgstr ""

#: serverguide/C/network-auth.xml:20(para)
msgid ""
"LDAP is an acronym for Lightweight Directory Access Protocol, it is a "
"simplified version of the X.500 protocol. The directory setup in this "
"section will be used for authentication. Nevertheless, LDAP can be used in "
"numerous ways: authentication, shared directory (for mail clients), address "
"book, etc."
msgstr ""

#: serverguide/C/network-auth.xml:28(para)
msgid ""
"To describe LDAP quickly, all information is stored in a tree structure. "
"With <application>OpenLDAP</application> you have freedom to determine the "
"directory arborescence (the Directory Information Tree: the DIT) yourself. "
"We will begin with a basic tree containing two nodes below the root:"
msgstr ""

#: serverguide/C/network-auth.xml:37(para)
msgid "\"People\" node where your users will be stored"
msgstr ""

#: serverguide/C/network-auth.xml:40(para)
msgid "\"Groups\" node where your groups will be stored"
msgstr ""

#: serverguide/C/network-auth.xml:44(para)
msgid ""
"Before beginning, you should determine what the root of your LDAP directory "
"will be. By default, your tree will be determined by your Fully Qualified "
"Domain Name (FQDN). If your domain is example.com (which we will use in this "
"example), your root node will be dc=example,dc=com."
msgstr ""

#: serverguide/C/network-auth.xml:54(para)
msgid ""
"First, install the <application>OpenLDAP</application> server daemon "
"<application>slapd</application> and <application>ldap-utils</application>, "
"a package containing LDAP management utilities:"
msgstr ""

#: serverguide/C/network-auth.xml:60(command)
msgid "sudo apt-get install slapd ldap-utils"
msgstr ""

#: serverguide/C/network-auth.xml:63(para)
msgid ""
"The installation process will prompt you for the LDAP directory admin "
"password and confirmation."
msgstr ""

#: serverguide/C/network-auth.xml:68(para)
msgid ""
"By default the directory suffix will match the domain name of the server. "
"For example, if the machine's Fully Qualified Domain Name (FQDN) is "
"ldap.example.com, the default suffix will be "
"<emphasis>dc=example,dc=com</emphasis>. If you require a different suffix, "
"the directory can be reconfigured using <application>dpkg-"
"reconfigure</application>. Enter the following in a terminal prompt:"
msgstr ""

#: serverguide/C/network-auth.xml:78(command)
msgid "sudo dpkg-reconfigure slapd"
msgstr ""

#: serverguide/C/network-auth.xml:81(para)
msgid ""
"You will then be taken through a menu based configuration dialog, allowing "
"you to configure various <application>slapd</application> options."
msgstr ""

#: serverguide/C/network-auth.xml:90(para)
msgid ""
"<application>OpenLDAP</application> uses a separate database which contains "
"the <emphasis>cn=config</emphasis> Directory Information Tree (DIT). The "
"<emphasis>cn=config</emphasis> DIT is used to dynamically configure the "
"<application>slapd</application> daemon, allowing the modification of schema "
"definitions, indexes, ACLs, etc without stopping the service."
msgstr ""

#: serverguide/C/network-auth.xml:98(para)
msgid ""
"The <emphasis>cn=config</emphasis> tree can be manipulated using the "
"utilities in the <application>ldap-utils</application> package. For example:"
msgstr ""

#: serverguide/C/network-auth.xml:106(para)
msgid ""
"Use <application>ldapsearch</application> to view the tree, entering the "
"admin password set during installation or reconfiguration:"
msgstr ""

#: serverguide/C/network-auth.xml:112(command)
msgid ""
"ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W olcDatabase={1}hdb"
msgstr ""

#: serverguide/C/network-auth.xml:116(computeroutput)
#, no-wrap
msgid ""
"Enter LDAP Password: \n"
"dn: olcDatabase={1}hdb,cn=config\n"
"objectClass: olcDatabaseConfig\n"
"objectClass: olcHdbConfig\n"
"olcDatabase: {1}hdb\n"
"olcDbDirectory: /var/lib/ldap\n"
"olcSuffix: dc=example,dc=com\n"
"olcAccess: {0}to attrs=userPassword,shadowLastChange by "
"dn=\"cn=admin,dc=exampl\n"
" e,dc=com\" write by anonymous auth by self write by * none\n"
"olcAccess: {1}to dn.base=\"\" by * read\n"
"olcAccess: {2}to * by dn=\"cn=admin,dc=example,dc=com\" write by * read\n"
"olcLastMod: TRUE\n"
"olcDbCheckpoint: 512 30\n"
"olcDbConfig: {0}set_cachesize 0 2097152 0\n"
"olcDbConfig: {1}set_lk_max_objects 1500\n"
"olcDbConfig: {2}set_lk_max_locks 1500\n"
"olcDbConfig: {3}set_lk_max_lockers 1500\n"
"olcDbIndex: objectClass eq\n"
msgstr ""

#: serverguide/C/network-auth.xml:137(para)
msgid ""
"The output above is the current configuration options for the "
"<emphasis>hdb</emphasis> backend database. Which in this case containes the "
"<emphasis>dc=example,dc=com</emphasis> suffix."
msgstr ""

#: serverguide/C/network-auth.xml:146(para)
msgid ""
"Refine the search by supplying a <emphasis "
"role=\"italic\">filter</emphasis>, in this case only show which attributes "
"are indexed:"
msgstr ""

#: serverguide/C/network-auth.xml:152(command)
msgid ""
"ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W olcDatabase={1}hdb "
"olcDbIndex"
msgstr ""

#: serverguide/C/network-auth.xml:156(computeroutput)
#, no-wrap
msgid ""
"Enter LDAP Password: \n"
"dn: olcDatabase={1}hdb,cn=config\n"
"olcDbIndex: objectClass eq\n"
msgstr ""

#: serverguide/C/network-auth.xml:165(para)
msgid ""
"As an example of modifying the <emphasis>cn=config</emphasis> tree, add "
"another attribute to the index list using "
"<application>ldapmodify</application>:"
msgstr ""

#: serverguide/C/network-auth.xml:171(command) serverguide/C/network-auth.xml:723(command) serverguide/C/network-auth.xml:825(command) serverguide/C/network-auth.xml:848(command) serverguide/C/network-auth.xml:2405(command) serverguide/C/network-auth.xml:2422(command)
msgid "ldapmodify -x -D cn=admin,cn=config -W"
msgstr ""

#: serverguide/C/network-auth.xml:175(userinput)
#, no-wrap
msgid ""
"\n"
"dn: olcDatabase={1}hdb,cn=config\n"
"add: olcDbIndex\n"
"olcDbIndex: entryUUID eq"
msgstr ""

#: serverguide/C/network-auth.xml:175(computeroutput)
#, no-wrap
msgid ""
"Enter LDAP Password:<placeholder-1/>\n"
"\n"
"modifying entry \"olcDatabase={1}hdb,cn=config\"\n"
msgstr ""

#: serverguide/C/network-auth.xml:184(para)
msgid ""
"Once the modification has completed, press <emphasis>Ctrl+D</emphasis> to "
"exit the utility."
msgstr ""

#: serverguide/C/network-auth.xml:191(para)
msgid ""
"<application>ldapmodify</application> can also read the changes from a file. "
"Copy and paste the following into a file named "
"<filename>uid_index.ldif</filename>:"
msgstr ""

#: serverguide/C/network-auth.xml:196(programlisting)
#, no-wrap
msgid ""
"\n"
"dn: olcDatabase={1}hdb,cn=config\n"
"add: olcDbIndex\n"
"olcDbIndex: uid eq,pres,sub\n"
msgstr ""

#: serverguide/C/network-auth.xml:202(para)
msgid "Then execute <application>ldapmodify</application>:"
msgstr ""

#: serverguide/C/network-auth.xml:207(command)
msgid "ldapmodify -x -D cn=admin,cn=config -W -f uid_index.ldif"
msgstr ""

#: serverguide/C/network-auth.xml:211(computeroutput)
#, no-wrap
msgid ""
"Enter LDAP Password: \n"
"modifying entry \"olcDatabase={1}hdb,cn=config\"\n"
msgstr ""

#: serverguide/C/network-auth.xml:216(para)
msgid "The file method is very useful for large changes."
msgstr ""

#: serverguide/C/network-auth.xml:223(para)
msgid ""
"Adding additional <emphasis>schemas</emphasis> to "
"<application>slapd</application> requires the schema to be converted to LDIF "
"format. Fortunately, the <application>slapd</application> program can be "
"used to automate the conversion. The following example will add the "
"<emphasis>misc.schema</emphasis>:"
msgstr ""

#: serverguide/C/network-auth.xml:231(para)
msgid ""
"First, create a conversion <filename>schema_convert.conf</filename> file "
"containing the following lines:"
msgstr ""

#: serverguide/C/network-auth.xml:236(programlisting)
#, no-wrap
msgid ""
"\n"
"include /etc/ldap/schema/core.schema\n"
"include /etc/ldap/schema/collective.schema\n"
"include /etc/ldap/schema/corba.schema\n"
"include /etc/ldap/schema/cosine.schema\n"
"include /etc/ldap/schema/duaconf.schema\n"
"include /etc/ldap/schema/dyngroup.schema\n"
"include /etc/ldap/schema/inetorgperson.schema\n"
"include /etc/ldap/schema/java.schema\n"
"include /etc/ldap/schema/misc.schema\n"
"include /etc/ldap/schema/nis.schema\n"
"include /etc/ldap/schema/openldap.schema\n"
"include /etc/ldap/schema/ppolicy.schema\n"
msgstr ""

#: serverguide/C/network-auth.xml:254(para) serverguide/C/network-auth.xml:1304(para)
msgid "Next, create a temporary directory to hold the output:"
msgstr ""

#: serverguide/C/network-auth.xml:259(command) serverguide/C/network-auth.xml:1309(command) serverguide/C/network-auth.xml:2334(command)
msgid "mkdir /tmp/ldif_output"
msgstr ""

#: serverguide/C/network-auth.xml:265(para)
msgid ""
"Now using <application>slaptest</application> convert the schema files to "
"LDIF:"
msgstr ""

#: serverguide/C/network-auth.xml:270(command) serverguide/C/network-auth.xml:1320(command) serverguide/C/network-auth.xml:2345(command)
msgid "slaptest -f schema_convert.conf -F /tmp/ldif_output"
msgstr ""

#: serverguide/C/network-auth.xml:273(para)
msgid ""
"Adjust the configuration file name and temporary directory names if yours "
"are different. Also, it may be worthwhile to keep the "
"<filename>ldif_output</filename> directory around in case you want to add "
"additional schemas in the future."
msgstr ""

#: serverguide/C/network-auth.xml:282(para)
msgid ""
"Edit the "
"<filename>/tmp/ldif_output/cn=config/cn=schema/cn={8}misc.ldif</filename> "
"file, changing the following attributes:"
msgstr ""

#: serverguide/C/network-auth.xml:287(programlisting)
#, no-wrap
msgid ""
"\n"
"dn: cn=misc,cn=schema,cn=config\n"
"...\n"
"cn: misc\n"
msgstr ""

#: serverguide/C/network-auth.xml:293(para) serverguide/C/network-auth.xml:1341(para)
msgid "And remove the following lines from the bottom of the file:"
msgstr ""

#: serverguide/C/network-auth.xml:297(programlisting)
#, no-wrap
msgid ""
"\n"
"structuralObjectClass: olcSchemaConfig\n"
"entryUUID: 10dae0ea-0760-102d-80d3-f9366b7f7757\n"
"creatorsName: cn=config\n"
"createTimestamp: 20080826021140Z\n"
"entryCSN: 20080826021140.791425Z#000000#000#000000\n"
"modifiersName: cn=config\n"
"modifyTimestamp: 20080826021140Z\n"
msgstr ""

#: serverguide/C/network-auth.xml:308(para) serverguide/C/network-auth.xml:1356(para) serverguide/C/network-auth.xml:2381(para)
msgid ""
"The attribute values will vary, just be sure the attributes are removed."
msgstr ""

#: serverguide/C/network-auth.xml:316(para) serverguide/C/network-auth.xml:1364(para)
msgid ""
"Finally, using the <application>ldapadd</application> utility, add the new "
"schema to the directory:"
msgstr ""

#: serverguide/C/network-auth.xml:322(command)
msgid ""
"ldapadd -x -D cn=admin,cn=config -W -f /tmp/ldif_output/cn\\=config/cn\\"
"=schema/cn\\=\\{8\\}misc.ldif"
msgstr ""

#: serverguide/C/network-auth.xml:328(para)
msgid ""
"There should now be a <emphasis>dn: "
"cn={4}misc,cn=schema,cn=config</emphasis> entry in the cn=config tree."
msgstr ""

#: serverguide/C/network-auth.xml:337(title)
msgid "Populating LDAP"
msgstr ""

#: serverguide/C/network-auth.xml:339(para)
msgid ""
"The directory has been created during installation and reconfiguration, and "
"now it is time to populate it. It will be populated with a \"classical\" "
"scheme that will be compatible with address book applications and with Unix "
"Posix accounts. Posix accounts will allow authentication to various "
"applications, such as web applications, email Mail Transfer Agent (MTA) "
"applications, etc."
msgstr ""

#: serverguide/C/network-auth.xml:348(para)
msgid ""
"For external applications to authenticate using LDAP they will each need to "
"be specifically configured to do so. Refer to the individual application "
"documentation for details."
msgstr ""

#: serverguide/C/network-auth.xml:355(para)
msgid ""
"LDAP directories can be populated with LDIF (LDAP Directory Interchange "
"Format) files. Copy the following example LDIF file, naming it "
"<filename>example.com.ldif</filename>, somewhere on your system:"
msgstr ""

#: serverguide/C/network-auth.xml:361(programlisting)
#, no-wrap
msgid ""
"\n"
"dn: ou=people,dc=example,dc=com\n"
"objectClass: organizationalUnit\n"
"ou: people\n"
"\n"
"dn: ou=groups,dc=example,dc=com\n"
"objectClass: organizationalUnit\n"
"ou: groups\n"
"\n"
"dn: uid=john,ou=people,dc=example,dc=com\n"
"objectClass: inetOrgPerson\n"
"objectClass: posixAccount\n"
"objectClass: shadowAccount\n"
"uid: john\n"
"sn: Doe\n"
"givenName: John\n"
"cn: John Doe\n"
"displayName: John Doe\n"
"uidNumber: 1000\n"
"gidNumber: 10000\n"
"userPassword: password\n"
"gecos: John Doe\n"
"loginShell: /bin/bash\n"
"homeDirectory: /home/john\n"
"shadowExpire: -1\n"
"shadowFlag: 0\n"
"shadowWarning: 7\n"
"shadowMin: 8\n"
"shadowMax: 999999\n"
"shadowLastChange: 10877\n"
"mail: john.doe@example.com\n"
"postalCode: 31000\n"
"l: Toulouse\n"
"o: Example\n"
"mobile: +33 (0)6 xx xx xx xx\n"
"homePhone: +33 (0)5 xx xx xx xx\n"
"title: System Administrator\n"
"postalAddress: \n"
"initials: JD\n"
"\n"
"dn: cn=example,ou=groups,dc=example,dc=com\n"
"objectClass: posixGroup\n"
"cn: example\n"
"gidNumber: 10000\n"
msgstr ""

#: serverguide/C/network-auth.xml:407(para)
msgid ""
"In this example the directory structure, a user, and a group have been "
"setup. In other examples you might see the <emphasis>objectClass: "
"top</emphasis> added in every entry, but that is the default behaviour so "
"you do not have to add it explicitly."
msgstr ""

#: serverguide/C/network-auth.xml:414(para)
msgid ""
"To add the entries to the LDAP directory use the "
"<application>ldapadd</application> utility:"
msgstr ""

#: serverguide/C/network-auth.xml:420(command)
msgid "ldapadd -x -D cn=admin,dc=example,dc=com -W -f example.com.ldif"
msgstr ""

#: serverguide/C/network-auth.xml:423(para)
msgid ""
"We can check that the content has been correctly added with the tools from "
"the <application>ldap-utils</application> package. In order to execute a "
"search of the LDAP directory:"
msgstr ""

#: serverguide/C/network-auth.xml:430(command)
msgid "ldapsearch -xLLL -b \"dc=example,dc=com\" uid=john sn givenName cn"
msgstr ""

#: serverguide/C/network-auth.xml:431(computeroutput)
#, no-wrap
msgid ""
"\n"
"dn: uid=john,ou=people,dc=example,dc=com\n"
"cn: John Doe\n"
"sn: Doe\n"
"givenName: John\n"
msgstr ""

#: serverguide/C/network-auth.xml:439(para)
msgid "Just a quick explanation:"
msgstr ""

#: serverguide/C/network-auth.xml:445(para)
msgid ""
"<emphasis>-x:</emphasis> will not use SASL authentication method, which is "
"the default."
msgstr ""

#: serverguide/C/network-auth.xml:451(para)
msgid "<emphasis>-LLL:</emphasis> disable printing LDIF schema information."
msgstr ""

#: serverguide/C/network-auth.xml:460(title)
msgid "LDAP replication"
msgstr ""

#: serverguide/C/network-auth.xml:462(para)
msgid ""
"LDAP often quickly becomes a highly critical service to the network. "
"Multiple systems will come to depend on LDAP for authentication, "
"authorization, configuration, etc. It is a good idea to setup a redundant "
"system through replication."
msgstr ""

#: serverguide/C/network-auth.xml:468(para)
msgid ""
"Replication is achieved using the <emphasis>Syncrepl</emphasis> engine. "
"Syncrepl allows the directory to be synced using either a "
"<emphasis>push</emphasis> or <emphasis>pull</emphasis> based system. In a "
"push based configuration a <quote>primary</quote> server will push directory "
"updates to <quote>secondary</quote> servers, while a pull based approach "
"allows replication servers to sync on a time based interval."
msgstr ""

#: serverguide/C/network-auth.xml:476(para)
msgid ""
"The following is an example of a <emphasis>Multi-Master</emphasis> "
"configuration. In this configuration each OpenLDAP server is configured for "
"both <emphasis>push</emphasis> and <emphasis>pull</emphasis> replication."
msgstr ""

#: serverguide/C/network-auth.xml:484(para)
msgid ""
"First, configure the server to sync the <emphasis>cn=config</emphasis> "
"database. Copy the following to a file named <filename>syncrepl_cn-"
"config.ldif</filename>:"
msgstr ""

#: serverguide/C/network-auth.xml:489(programlisting)
#, no-wrap
msgid ""
"\n"
"dn: cn=module{0},cn=config\n"
"changetype: modify\n"
"add: olcModuleLoad\n"
"olcModuleLoad: syncprov\n"
"\n"
"dn: cn=config\n"
"changetype: modify\n"
"replace: olcServerID\n"
"olcServerID: 1 ldap://ldap01.example.com\n"
"olcServerID: 2 ldap://ldap02.example.com\n"
"\n"
"dn: olcOverlay=syncprov,olcDatabase={0}config,cn=config\n"
"changetype: add\n"
"objectClass: olcOverlayConfig\n"
"objectClass: olcSyncProvConfig\n"
"olcOverlay: syncprov\n"
"\n"
"dn: olcDatabase={0}config,cn=config\n"
"changetype: modify\n"
"add: olcSyncRepl\n"
"olcSyncRepl: rid=001 provider=ldap://ldap01.example.com "
"binddn=\"cn=admin,cn=config\" bindmethod=simple\n"
"  credentials=secret searchbase=\"cn=config\" type=refreshAndPersist\n"
"  retry=\"5 5 300 5\" timeout=1\n"
"olcSyncRepl: rid=002 provider=ldap://ldap02.example.com "
"binddn=\"cn=admin,cn=config\" bindmethod=simple\n"
"  credentials=secret searchbase=\"cn=config\" type=refreshAndPersist\n"
"  retry=\"5 5 300 5\" timeout=1\n"
"-\n"
"add: olcMirrorMode\n"
"olcMirrorMode: TRUE\n"
msgstr ""

#: serverguide/C/network-auth.xml:524(para)
msgid "Edit the file changing:"
msgstr ""

#: serverguide/C/network-auth.xml:530(para)
msgid ""
"<emphasis>ldap://ldap01.example.com</emphasis> and "
"<emphasis>ldap://ldap02.example.com</emphasis> to the hostnames of your LDAP "
"servers."
msgstr ""

#: serverguide/C/network-auth.xml:535(para)
msgid ""
"You can have more than two LDAP servers, and when a change is made to one of "
"them it will by synced to the rest. Be sure to increment the "
"<emphasis>olcServerID</emphasis> for each server, and the "
"<emphasis>rid</emphasis> for each <emphasis>olcSyncRepl</emphasis> entry."
msgstr ""

#: serverguide/C/network-auth.xml:543(para)
msgid ""
"And adjust <emphasis>credentials=secret</emphasis> to match your admin "
"password."
msgstr ""

#: serverguide/C/network-auth.xml:553(para)
msgid ""
"Next, add the LDIF file using the <application>ldapmodify</application> "
"utility:"
msgstr ""

#: serverguide/C/network-auth.xml:558(command)
msgid "ldapmodify -x -D cn=admin,cn=config -W -f syncrepl_cn-config.ldif"
msgstr ""

#: serverguide/C/network-auth.xml:564(para)
msgid ""
"Copy the <filename>syncrepl_cn-config.ldif</filename> file to the next LDAP "
"server and repeat the <application>ldapmodify</application> command above."
msgstr ""

#: serverguide/C/network-auth.xml:572(para)
msgid ""
"Because a new module has been added, the <application>slapd</application> "
"daemon, on all replicated servers, needs to be restarted:"
msgstr ""

#: serverguide/C/network-auth.xml:578(command) serverguide/C/network-auth.xml:778(command) serverguide/C/network-auth.xml:882(command)
msgid "sudo /etc/init.d/slapd restart"
msgstr ""

#: serverguide/C/network-auth.xml:584(para)
msgid ""
"Now that the configuration database is synced between servers, the "
"<emphasis>backend</emphasis> database needs to be synced as well. Copy and "
"paste the following into another LDIF file named "
"<filename>syncrepl_backend.ldif</filename>:"
msgstr ""

#: serverguide/C/network-auth.xml:590(programlisting)
#, no-wrap
msgid ""
"\n"
"dn: olcDatabase={1}hdb,cn=config\n"
"changetype: modify\n"
"add: olcRootDN\n"
"olcRootDN: cn=admin,dc=example,dc=com\n"
"-\n"
"add: olcSyncRepl\n"
"olcSyncRepl: rid=003 provider=ldap://ldap01.example.com "
"binddn=\"cn=admin,dc=example,dc=com\" \n"
" bindmethod=simple credentials=secret searchbase=\"dc=example,dc=com\" "
"type=refreshOnly \n"
" interval=00:00:00:10 retry=\"5 5 300 5\" timeout=1\n"
"olcSyncRepl: rid=004 provider=ldap://ldap02.example.com "
"binddn=\"cn=admin,dc=example,dc=com\" \n"
" bindmethod=simple credentials=secret searchbase=\"dc=example,dc=com\" "
"type=refreshOnly \n"
" interval=00:00:00:10 retry=\"5 5 300 5\" timeout=1\n"
"-\n"
"add: olcMirrorMode\n"
"olcMirrorMode: TRUE\n"
"\n"
"dn: olcOverlay=syncprov,olcDatabase={1}hdb,cn=config\n"
"changetype: add\n"
"objectClass: olcOverlayConfig\n"
"objectClass: olcSyncProvConfig\n"
"olcOverlay: syncprov\n"
msgstr ""

#: serverguide/C/network-auth.xml:617(para)
msgid "Like the previous LDIF file, edit this one changing:"
msgstr ""

#: serverguide/C/network-auth.xml:623(para)
msgid ""
"<emphasis>searchbase=\"dc=example,dc=com\"</emphasis> to your directory's "
"searchbase."
msgstr ""

#: serverguide/C/network-auth.xml:628(para)
msgid ""
"If you use a different admin user, change "
"<emphasis>binddn=\"cn=admin,dc=example,dc=com\"</emphasis>."
msgstr ""

#: serverguide/C/network-auth.xml:633(para)
msgid ""
"Also, replace <emphasis>credentials=secret</emphasis> with your admin "
"password."
msgstr ""

#: serverguide/C/network-auth.xml:642(para)
msgid "Add the LDIF file:"
msgstr ""

#: serverguide/C/network-auth.xml:647(command)
msgid "ldapmodify -x -D cn=admin,cn=config -W -f syncrepl_backend.ldif"
msgstr ""

#: serverguide/C/network-auth.xml:650(para)
msgid ""
"Because the servers' configuration is already synced there is no need to "
"copy this LDIF file to the other servers."
msgstr ""

#: serverguide/C/network-auth.xml:658(para)
msgid ""
"The configuration and backend databases should now sycnc to the other "
"servers. You can add additional servers using the "
"<application>ldapmodify</application> utility as the need arises. See <xref "
"linkend=\"openldap-configuration\"/> for details."
msgstr ""

#: serverguide/C/network-auth.xml:668(programlisting)
#, no-wrap
msgid "127.0.0.1\tldap01.example.com ldap01"
msgstr ""

#: serverguide/C/network-auth.xml:664(para)
msgid ""
"The <application>slapd</application> daemon will send log information to "
"<filename>/var/log/syslog</filename> by default. So if all does "
"<emphasis>not</emphasis> go well check there for errors and other "
"troubleshooting information. Also, be sure that each server knows it's Fully "
"Qualified Domain Name (FQDN). This is configured in "
"<filename>/etc/hosts</filename> with a line similar to: <placeholder-1/>."
msgstr ""

#: serverguide/C/network-auth.xml:675(title)
msgid "Setting up ACL"
msgstr ""

#: serverguide/C/network-auth.xml:677(para)
msgid ""
"Authentication requires access to the password field, that should be not "
"accessible by default. Also, in order for users to change their own "
"password, using <command>passwd</command> or other utilities, "
"<emphasis>shadowLastChange</emphasis> needs to be accessible once a user has "
"authenticated."
msgstr ""

#: serverguide/C/network-auth.xml:684(para)
msgid ""
"To view the Access Control List (ACL), use the "
"<application>ldapsearch</application> utility:"
msgstr ""

#: serverguide/C/network-auth.xml:689(command)
msgid ""
"ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W olcDatabase=hdb "
"olcAccess"
msgstr ""

#: serverguide/C/network-auth.xml:693(computeroutput)
#, no-wrap
msgid ""
"Enter LDAP Password: \n"
"dn: olcDatabase={1}hdb,cn=config\n"
"olcAccess: {0}to attrs=userPassword,shadowLastChange by "
"dn=\"cn=admin,dc=exampl\n"
" e,dc=com\" write by anonymous auth by self write by * none\n"
"olcAccess: {1}to dn.base=\"\" by * read\n"
"olcAccess: {2}to * by dn=\"cn=admin,dc=example,dc=com\" write by * read\n"
msgstr ""

#: serverguide/C/network-auth.xml:705(title)
msgid "TLS and SSL"
msgstr ""

#: serverguide/C/network-auth.xml:707(para)
msgid ""
"When authenticating to an OpenLDAP server it is best to do so using an "
"encrypted session. This can be accomplished using Transport Layer Security "
"(TLS) and/or Secure Sockets Layer (SSL)."
msgstr ""

#: serverguide/C/network-auth.xml:712(para)
msgid ""
"The first step in the process is to obtain or create a "
"<emphasis>certificate</emphasis>. See <xref linkend=\"certificates-and-"
"security\"/> and <xref linkend=\"certificate-authority\"/> for details."
msgstr ""

#: serverguide/C/network-auth.xml:717(para)
msgid ""
"Once you have a certificate, key, and CA cert installed, use "
"<application>ldapmodify</application> to add the new configuration options:"
msgstr ""

#: serverguide/C/network-auth.xml:728(userinput)
#, no-wrap
msgid ""
"dn: cn=config\n"
"add: olcTLSCACertificateFile\n"
"olcTLSCACertificateFile: /etc/ssl/certs/cacert.pem\n"
"-\n"
"add: olcTLSCertificateFile\n"
"olcTLSCertificateFile: /etc/ssl/certs/server.crt\n"
"-\n"
"add: olcTLSCertificateKeyFile\n"
"olcTLSCertificateKeyFile: /etc/ssl/private/server.key"
msgstr ""

#: serverguide/C/network-auth.xml:727(computeroutput)
#, no-wrap
msgid ""
"Enter LDAP Password:\n"
"<placeholder-1/>\n"
"\n"
"modifying entry \"cn=config\"\n"
msgstr ""

#: serverguide/C/network-auth.xml:743(para)
msgid ""
"Adjust the <filename>server.crt</filename>, <filename>server.key</filename>, "
"and <filename>cacert.pem</filename> names if yours are different."
msgstr ""

#: serverguide/C/network-auth.xml:749(para)
msgid ""
"Next, edit <filename>/etc/default/slapd</filename> uncomment the "
"<emphasis>SLAPD_SERVICES</emphasis> option:"
msgstr ""

#: serverguide/C/network-auth.xml:753(programlisting)
#, no-wrap
msgid ""
"\n"
"SLAPD_SERVICES=\"ldap:/// ldapi:/// ldaps:///\"\n"
msgstr ""

#: serverguide/C/network-auth.xml:757(para)
msgid ""
"Now the <emphasis>openldap</emphasis> user needs access to the certificate:"
msgstr ""

#: serverguide/C/network-auth.xml:762(command)
msgid "sudo adduser openldap ssl-cert"
msgstr ""

#: serverguide/C/network-auth.xml:763(command)
msgid "sudo chgrp ssl-cert /etc/ssl/private/server.key"
msgstr ""

#: serverguide/C/network-auth.xml:767(para)
msgid ""
"If the <filename role=\"directory\">/etc/ssl/private</filename> and "
"<filename>/etc/ssl/private/server.key</filename> have different permissions, "
"adjust the commands appropriately."
msgstr ""

#: serverguide/C/network-auth.xml:773(para)
msgid "Finally, restart <application>slapd</application>:"
msgstr ""

#: serverguide/C/network-auth.xml:781(para)
msgid ""
"The <application>slapd</application> daemon should now be listening for "
"LDAPS connections and be able to use STARTTLS during authentication."
msgstr ""

#: serverguide/C/network-auth.xml:787(title)
msgid "TLS Replication"
msgstr ""

#: serverguide/C/network-auth.xml:789(para)
msgid ""
"If you have setup <application>Syncrepl</application> between servers, it is "
"prudent to encrypt the replication traffic using <emphasis>Transport Layer "
"Security (TLS)</emphasis>. For details on setting up replication see <xref "
"linkend=\"openldap-server-replication\"/>."
msgstr ""

#: serverguide/C/network-auth.xml:795(para)
msgid ""
"After setting up replication, and following the instructions in <xref "
"linkend=\"openldap-tls\"/>, there are a couple of consequences that should "
"be kept in mind:"
msgstr ""

#: serverguide/C/network-auth.xml:802(para)
msgid ""
"The configuration only needs to be modified on <emphasis>one</emphasis> "
"server."
msgstr ""

#: serverguide/C/network-auth.xml:807(para)
msgid ""
"The path names for the <emphasis>certificate</emphasis> and "
"<emphasis>key</emphasis> must be the same on all servers."
msgstr ""

#: serverguide/C/network-auth.xml:814(para)
msgid ""
"So on each replicated server: install a certificate, edit "
"<filename>/etc/default/slapd</filename>, and restart "
"<application>slapd</application>."
msgstr ""

#: serverguide/C/network-auth.xml:819(para)
msgid ""
"Once <emphasis>TLS</emphasis> has been setup on each server, modify the "
"<emphasis>cn=config</emphasis> replication by entering the following in a "
"terminal:"
msgstr ""

#: serverguide/C/network-auth.xml:830(userinput)
#, no-wrap
msgid ""
"dn: olcDatabase={0}config,cn=config\n"
"replace: olcSyncrepl\n"
"olcSyncrepl: {0}rid=001 provider=ldap://ldap01.example.com "
"binddn=\"cn=admin,cn\n"
" =config\" bindmethod=simple credentials=secret searchbase=\"cn=config\" "
"type=refre\n"
" shAndPersist retry=\"5 5 300 5\" timeout=1 starttls=yes\n"
"olcSyncrepl: {1}rid=002 provider=ldap://ldap02.example.com "
"binddn=\"cn=admin,cn\n"
" =config\" bindmethod=simple credentials=secret searchbase=\"cn=config\" "
"type=refre\n"
" shAndPersist retry=\"5 5 300 5\" timeout=1 starttls=yes"
msgstr ""

#: serverguide/C/network-auth.xml:829(computeroutput)
#, no-wrap
msgid ""
"Enter LDAP Password: \n"
"<placeholder-1/>\n"
"\n"
"modifying entry \"olcDatabase={0}config,cn=config\"\n"
msgstr ""

#: serverguide/C/network-auth.xml:843(para)
msgid "Now adjust the <emphasis>backend</emphasis> database replication:"
msgstr ""

#: serverguide/C/network-auth.xml:853(userinput)
#, no-wrap
msgid ""
"dn: olcDatabase={1}hdb,cn=config\n"
"replace: olcSyncrepl\n"
"olcSyncrepl: {0}rid=003 provider=ldap://ldap01.example.com "
"binddn=\"cn=admin,dc=example,dc=\n"
" com\" bindmethod=simple credentials=secret searchbase=\"dc=example,dc=com\" "
"type=r\n"
" efreshOnly interval=00:00:00:10 retry=\"5 5 300 5\" timeout=1 starttls=yes\n"
"olcSyncrepl: {1}rid=004 provider=ldap://ldap02.example.com "
"binddn=\"cn=admin,dc=example,dc=\n"
" com\" bindmethod=simple credentials=secret searchbase=\"dc=example,dc=com\" "
"type=r\n"
" efreshOnly interval=00:00:00:10 retry=\"5 5 300 5\" timeout=1 starttls=yes"
msgstr ""

#: serverguide/C/network-auth.xml:852(computeroutput) serverguide/C/network-auth.xml:2406(computeroutput)
#, no-wrap
msgid ""
"Enter LDAP Password:\n"
"<placeholder-1/>\n"
"\n"
"modifying entry \"olcDatabase={1}hdb,cn=config\""
msgstr ""

#: serverguide/C/network-auth.xml:865(para)
msgid ""
"If the LDAP server hostname does not match the Fully Qualified Domain Name "
"(FQDN) in the certificate, you may have to edit "
"<filename>/etc/ldap/ldap.conf</filename> and add the following TLS options:"
msgstr ""

#: serverguide/C/network-auth.xml:870(programlisting)
#, no-wrap
msgid ""
"\n"
"TLS_CERT /etc/ssl/certs/server.crt\n"
"TLS_KEY /etc/ssl/private/server.key\n"
"TLS_CACERT /etc/ssl/certs/cacert.pem\n"
msgstr ""

#: serverguide/C/network-auth.xml:877(para)
msgid ""
"Finally, restart <application>slapd</application> on each of the servers:"
msgstr ""

#: serverguide/C/network-auth.xml:890(title)
msgid "LDAP Authentication"
msgstr ""

#: serverguide/C/network-auth.xml:892(para)
msgid ""
"Once you have a working LDAP server, the <application>auth-client-"
"config</application> and <application>libnss-ldap</application> packages "
"take the pain out of configuring an Ubuntu client to authenticate using "
"LDAP. To install the packages from, a terminal prompt enter:"
msgstr ""

#: serverguide/C/network-auth.xml:899(command)
msgid "sudo apt-get install libnss-ldap"
msgstr ""

#: serverguide/C/network-auth.xml:902(para)
msgid ""
"During the install a menu dialog will ask you connection details about your "
"LDAP server."
msgstr ""

#: serverguide/C/network-auth.xml:906(para)
msgid ""
"If you make a mistake when entering your information you can execute the "
"dialog again using:"
msgstr ""

#: serverguide/C/network-auth.xml:911(command)
msgid "sudo dpkg-reconfigure ldap-auth-config"
msgstr ""

#: serverguide/C/network-auth.xml:914(para)
msgid ""
"The results of the dialog can be seen in "
"<filename>/etc/ldap.conf</filename>. If your server requires options not "
"covered in the menu edit this file accordingly."
msgstr ""

#: serverguide/C/network-auth.xml:919(para)
msgid ""
"Now that <application>libnss-ldap</application> is configured enable the "
"<application>auth-client-config</application> LDAP profile by entering:"
msgstr ""

#: serverguide/C/network-auth.xml:925(command)
msgid "sudo auth-client-config -t nss -p lac_ldap"
msgstr ""

#: serverguide/C/network-auth.xml:930(para)
msgid ""
"<emphasis>-t:</emphasis> only modifies "
"<filename>/etc/nsswitch.conf</filename>."
msgstr ""

#: serverguide/C/network-auth.xml:935(para)
msgid "<emphasis>-p:</emphasis> name of the profile to enable, disable, etc."
msgstr ""

#: serverguide/C/network-auth.xml:940(para)
msgid ""
"<emphasis>lac_ldap:</emphasis> the <application>auth-client-"
"config</application> profile that is part of the <application>ldap-auth-"
"config</application> package."
msgstr ""

#: serverguide/C/network-auth.xml:947(para)
msgid ""
"Using the <application>pam-auth-update</application> utility, configure the "
"system to use LDAP for authentication:"
msgstr ""

#: serverguide/C/network-auth.xml:952(command)
msgid "sudo pam-auth-update"
msgstr ""

#: serverguide/C/network-auth.xml:955(para)
msgid ""
"From the <application>pam-auth-update</application> menu, choose LDAP and "
"any other authentication mechanisms you need."
msgstr ""

#: serverguide/C/network-auth.xml:959(para)
msgid ""
"You should now be able to login using user credentials stored in the LDAP "
"directory."
msgstr ""

#: serverguide/C/network-auth.xml:964(para)
msgid ""
"If you are going to use LDAP to store Samba users you will need to configure "
"the server to authenticate using LDAP. See <xref linkend=\"samba-ldap\"/> "
"for details."
msgstr ""

#: serverguide/C/network-auth.xml:972(title)
msgid "User and Group Management"
msgstr ""

#: serverguide/C/network-auth.xml:974(para)
msgid ""
"The <application>ldap-utils</application> package comes with multiple "
"utilities to manage the directory, but the long string of options needed, "
"can make them a burden to use. The <application>ldapscripts</application> "
"package contains configurable scripts to easily manage LDAP users and groups."
msgstr ""

#: serverguide/C/network-auth.xml:980(para)
msgid "To install the package, from a terminal enter:"
msgstr ""

#: serverguide/C/network-auth.xml:985(command)
msgid "sudo apt-get install ldapscripts"
msgstr ""

#: serverguide/C/network-auth.xml:988(para)
msgid ""
"Next, edit the config file "
"<filename>/etc/ldapscripts/ldapscripts.conf</filename> uncommenting and "
"changing the following to match your environment:"
msgstr ""

#: serverguide/C/network-auth.xml:993(programlisting)
#, no-wrap
msgid ""
"\n"
"SERVER=localhost\n"
"BINDDN='cn=admin,dc=example,dc=com'\n"
"BINDPWDFILE=\"/etc/ldapscripts/ldapscripts.passwd\"\n"
"SUFFIX='dc=example,dc=com'\n"
"GSUFFIX='ou=Groups'\n"
"USUFFIX='ou=People'\n"
"MSUFFIX='ou=Computers'\n"
"GIDSTART=10000\n"
"UIDSTART=10000\n"
"MIDSTART=10000\n"
msgstr ""

#: serverguide/C/network-auth.xml:1006(para)
msgid ""
"Now, create the <filename>ldapscripts.passwd</filename> file to allow "
"authenticated access to the directory:"
msgstr ""

#: serverguide/C/network-auth.xml:1011(command)
msgid ""
"sudo sh -c \"echo -n 'secret' &gt; /etc/ldapscripts/ldapscripts.passwd\""
msgstr ""

#: serverguide/C/network-auth.xml:1012(command)
msgid "sudo chmod 400 /etc/ldapscripts/ldapscripts.passwd"
msgstr ""

#: serverguide/C/network-auth.xml:1016(para)
msgid ""
"Replace <quote>secret</quote> with the actual password for your LDAP admin "
"user."
msgstr ""

#: serverguide/C/network-auth.xml:1021(para)
msgid ""
"The <application>ldapscripts</application> are now ready to help manage your "
"directory. The following are some examples of how to use the scripts:"
msgstr ""

#: serverguide/C/network-auth.xml:1028(para)
msgid "Create a new user:"
msgstr ""

#: serverguide/C/network-auth.xml:1032(command)
msgid "sudo ldapadduser george example"
msgstr ""

#: serverguide/C/network-auth.xml:1034(para)
msgid ""
"This will create a user with uid <emphasis role=\"italic\">george</emphasis> "
"and set the user's primary group (gid) to <emphasis "
"role=\"italic\">example</emphasis>"
msgstr ""

#: serverguide/C/network-auth.xml:1040(para)
msgid "Change a user's password:"
msgstr ""

#: serverguide/C/network-auth.xml:1044(command)
msgid "sudo ldapsetpasswd george"
msgstr ""

#: serverguide/C/network-auth.xml:1045(computeroutput)
#, no-wrap
msgid "Changing password for user uid=george,ou=People,dc=example,dc=com"
msgstr ""

#: serverguide/C/network-auth.xml:1046(userinput)
#, no-wrap
msgid "New Password: "
msgstr ""

#: serverguide/C/network-auth.xml:1047(userinput)
#, no-wrap
msgid "New Password (verify): "
msgstr ""

#: serverguide/C/network-auth.xml:1051(para)
msgid "Delete a user:"
msgstr ""

#: serverguide/C/network-auth.xml:1055(command)
msgid "sudo ldapdeleteuser george"
msgstr ""

#: serverguide/C/network-auth.xml:1060(para)
msgid "Add a group:"
msgstr ""

#: serverguide/C/network-auth.xml:1064(command)
msgid "sudo ldapaddgroup qa"
msgstr ""

#: serverguide/C/network-auth.xml:1068(para)
msgid "Delete a group:"
msgstr ""

#: serverguide/C/network-auth.xml:1072(command)
msgid "sudo ldapdeletegroup qa"
msgstr ""

#: serverguide/C/network-auth.xml:1076(para)
msgid "Add a user to a group:"
msgstr ""

#: serverguide/C/network-auth.xml:1080(command)
msgid "sudo ldapaddusertogroup george qa"
msgstr ""

#: serverguide/C/network-auth.xml:1082(para)
msgid ""
"You should now see a <emphasis>memberUid</emphasis> attribute for the "
"<emphasis role=\"italic\">qa</emphasis> group with a value of <emphasis "
"role=\"italic\">george</emphasis>."
msgstr ""

#: serverguide/C/network-auth.xml:1088(para)
msgid "Remove a user from a group:"
msgstr ""

#: serverguide/C/network-auth.xml:1092(command)
msgid "sudo ldapdeleteuserfromgroup george qa"
msgstr ""

#: serverguide/C/network-auth.xml:1094(para)
msgid ""
"The <emphasis>memberUid</emphasis> attribute should now be removed from the "
"<emphasis role=\"italic\">qa</emphasis> group."
msgstr ""

#: serverguide/C/network-auth.xml:1100(para)
msgid ""
"The <application>ldapmodifyuser</application> script allows you to add, "
"remove, or replace a user's attributes. The script uses the same syntax as "
"the <application>ldapmodify</application> utility. For example:"
msgstr ""

#: serverguide/C/network-auth.xml:1105(command)
msgid "sudo ldapmodifyuser george"
msgstr ""

#: serverguide/C/network-auth.xml:1106(computeroutput)
#, no-wrap
msgid ""
"# About to modify the following entry :\n"
"dn: uid=george,ou=People,dc=example,dc=com\n"
"objectClass: account\n"
"objectClass: posixAccount\n"
"cn: george\n"
"uid: george\n"
"uidNumber: 1001\n"
"gidNumber: 1001\n"
"homeDirectory: /home/george\n"
"loginShell: /bin/bash\n"
"gecos: george\n"
"description: User account\n"
"userPassword:: e1NTSEF9eXFsTFcyWlhwWkF1eGUybVdFWHZKRzJVMjFTSG9vcHk=\n"
"\n"
"# Enter your modifications here, end with CTRL-D.\n"
"dn: uid=george,ou=People,dc=example,dc=com"
msgstr ""

#: serverguide/C/network-auth.xml:1122(userinput)
#, no-wrap
msgid ""
"replace: gecos\n"
"gecos: George Carlin"
msgstr ""

#: serverguide/C/network-auth.xml:1125(para)
msgid ""
"The user's <emphasis>gecos</emphasis> should now be <quote>George "
"Carlin</quote>."
msgstr ""

#: serverguide/C/network-auth.xml:1130(para)
msgid ""
"Another great feature of <application>ldapscripts</application>, is the "
"template system. Templates allow you to customize the attributes of user, "
"group, and machine objectes. For example, to enable the "
"<emphasis>user</emphasis> template edit "
"<filename>/etc/ldapscripts/ldapscripts.conf</filename> changing:"
msgstr ""

#: serverguide/C/network-auth.xml:1137(programlisting)
#, no-wrap
msgid ""
"\n"
"UTEMPLATE=\"/etc/ldapscripts/ldapadduser.template\"\n"
msgstr ""

#: serverguide/C/network-auth.xml:1141(para)
msgid ""
"There are <emphasis role=\"italic\">sample</emphasis> templates in the "
"<filename>/etc/ldapscripts</filename> directory. Copy or rename the "
"<filename>ldapadduser.template.sample</filename> file to "
"<filename>/etc/ldapscripts/ldapadduser.template</filename>:"
msgstr ""

#: serverguide/C/network-auth.xml:1148(command)
msgid ""
"sudo cp /etc/ldapscripts/ldapadduser.template.sample "
"/etc/ldapscripts/ldapadduser.template"
msgstr ""

#: serverguide/C/network-auth.xml:1151(para)
msgid ""
"Edit the new template to add the desired attributes. The following will "
"create new user's as with an <emphasis>objectClass</emphasis> of "
"<emphasis>inetOrgPerson</emphasis>:"
msgstr ""

#: serverguide/C/network-auth.xml:1156(programlisting)
#, no-wrap
msgid ""
"\n"
"dn: uid=&lt;user&gt;,&lt;usuffix&gt;,&lt;suffix&gt;\n"
"objectClass: inetOrgPerson\n"
"objectClass: posixAccount\n"
"cn: &lt;user&gt;\n"
"sn: &lt;ask&gt;\n"
"uid: &lt;user&gt;\n"
"uidNumber: &lt;uid&gt;\n"
"gidNumber: &lt;gid&gt;\n"
"homeDirectory: &lt;home&gt;\n"
"loginShell: &lt;shell&gt;\n"
"gecos: &lt;user&gt;\n"
"description: User account\n"
"title: Employee\n"
msgstr ""

#: serverguide/C/network-auth.xml:1172(para)
msgid ""
"Notice the <emphasis>&lt;ask&gt;</emphasis> option used for the "
"<emphasis>cn</emphasis> value. Using &lt;ask&gt; will configure "
"<application>ldapadduser</application> to prompt you for the attribute value "
"during user creation."
msgstr ""

#: serverguide/C/network-auth.xml:1180(para)
msgid ""
"There are more useful scripts in the package, to see a full list enter: "
"<command>dpkg -L ldapscripts | grep bin</command>"
msgstr ""

#: serverguide/C/network-auth.xml:1189(para)
msgid ""
"For more information see <ulink url=\"http://www.openldap.org/\">OpenLDAP "
"Home Page</ulink>"
msgstr ""

#: serverguide/C/network-auth.xml:1194(para)
msgid ""
"Though starting to show it's age, a great source for in depth LDAP "
"information is O'Reilly's <ulink "
"url=\"http://www.oreilly.com/catalog/ldapsa/\">LDAP System "
"Administration</ulink>"
msgstr ""

#: serverguide/C/network-auth.xml:1200(para)
msgid ""
"Packt's <ulink url=\"http://www.packtpub.com/OpenLDAP-Developers-Server-Open-"
"Source-Linux/book\">Mastering OpenLDAP</ulink> is a great reference covering "
"newer versions of OpenLDAP."
msgstr ""

#: serverguide/C/network-auth.xml:1206(para)
msgid ""
"For more information on <application>auth-client-config</application> see "
"the man page: <command>man auth-client-config</command>."
msgstr ""

#: serverguide/C/network-auth.xml:1211(para)
msgid ""
"For more details regarding the <application>ldapscripts</application> "
"package see the man pages: <command>man ldapscripts</command>, <command>man "
"ldapadduser</command>, <command>man ldapaddgroup</command>, etc."
msgstr ""

#: serverguide/C/network-auth.xml:1221(title)
msgid "Samba and LDAP"
msgstr ""

#: serverguide/C/network-auth.xml:1223(para)
msgid ""
"This section covers configuring Samba to use LDAP for user, group, and "
"machine account information and authentication. The assumption is, you "
"already have a working OpenLDAP directory installed and the server is "
"configured to use it for authentication. See <xref linkend=\"openldap-"
"server\"/> and <xref linkend=\"openldap-auth-config\"/> for details on "
"setting up OpenLDAP."
msgstr ""

#: serverguide/C/network-auth.xml:1232(para)
msgid ""
"There are three packages needed when integrating Samba with LDAP. "
"<application>samba</application>, <application>samba-doc</application>, and "
"<application>smbldap-tools</application> packages . To install the packages, "
"from a terminal enter:"
msgstr ""

#: serverguide/C/network-auth.xml:1238(command)
msgid "sudo apt-get install samba samba-doc smbldap-tools"
msgstr ""

#: serverguide/C/network-auth.xml:1241(para)
msgid ""
"Strictly speaking the <application>smbldap-tools</application> package isn't "
"needed, but unless you have another package or custom scripts, a method of "
"managing users, groups, and computer accounts is needed."
msgstr ""

#: serverguide/C/network-auth.xml:1248(title)
msgid "OpenLDAP Configuration"
msgstr ""

#: serverguide/C/network-auth.xml:1250(para)
msgid ""
"In order for Samba to use OpenLDAP as a <emphasis>passdb backend</emphasis>, "
"the user objects in the directory will need additional attributes. This "
"section assumes you want Samba to be configured as a Windows NT domain "
"controller, and will add the necessary LDAP objects and attributes."
msgstr ""

#: serverguide/C/network-auth.xml:1258(para)
msgid ""
"The Samba attributes are defined in the <filename>samba.schema</filename> "
"file which is part of the <application>samba-doc</application> package. The "
"schema file needs to be unzipped and copied to "
"<filename>/etc/ldap/schema</filename>. From a terminal prompt enter:"
msgstr ""

#: serverguide/C/network-auth.xml:1265(command)
msgid ""
"sudo cp /usr/share/doc/samba-doc/examples/LDAP/samba.schema.gz "
"/etc/ldap/schema/"
msgstr ""

#: serverguide/C/network-auth.xml:1266(command)
msgid "sudo gzip -d /etc/ldap/schema/samba.schema.gz"
msgstr ""

#: serverguide/C/network-auth.xml:1272(para)
msgid ""
"The <emphasis>samba</emphasis> schema needs to be added to the "
"<emphasis>cn=config</emphasis> tree. The procedure to add a new schema to "
"<application>slapd</application> is also detailed in <xref "
"linkend=\"openldap-configuration\"/>."
msgstr ""

#: serverguide/C/network-auth.xml:1280(para) serverguide/C/network-auth.xml:2305(para)
msgid ""
"First, create a configuration file named "
"<filename>schema_convert.conf</filename>, or a similar descriptive name, "
"containing the following lines:"
msgstr ""

#: serverguide/C/network-auth.xml:1285(programlisting)
#, no-wrap
msgid ""
"\n"
"include /etc/ldap/schema/core.schema\n"
"include /etc/ldap/schema/collective.schema\n"
"include /etc/ldap/schema/corba.schema\n"
"include /etc/ldap/schema/cosine.schema\n"
"include /etc/ldap/schema/duaconf.schema\n"
"include /etc/ldap/schema/dyngroup.schema\n"
"include /etc/ldap/schema/inetorgperson.schema\n"
"include /etc/ldap/schema/java.schema\n"
"include /etc/ldap/schema/misc.schema\n"
"include /etc/ldap/schema/nis.schema\n"
"include /etc/ldap/schema/openldap.schema\n"
"include /etc/ldap/schema/ppolicy.schema\n"
"include /etc/ldap/schema/samba.schema\n"
msgstr ""

#: serverguide/C/network-auth.xml:1315(para) serverguide/C/network-auth.xml:2340(para)
msgid ""
"Now use <application>slaptest</application> to convert the schema files:"
msgstr ""

#: serverguide/C/network-auth.xml:1323(para) serverguide/C/network-auth.xml:2348(para)
msgid ""
"Change the above file and path names to match your own if they are different."
msgstr ""

#: serverguide/C/network-auth.xml:1330(para)
msgid ""
"Edit the generated "
"<filename>/tmp/ldif_output/cn=config/cn=schema/cn={12}samba.ldif</filename> "
"file, changing the following attributes:"
msgstr ""

#: serverguide/C/network-auth.xml:1335(programlisting)
#, no-wrap
msgid ""
"\n"
"dn: cn=samba,cn=schema,cn=config\n"
"...\n"
"cn: samba\n"
msgstr ""

#: serverguide/C/network-auth.xml:1345(programlisting)
#, no-wrap
msgid ""
"\n"
"structuralObjectClass: olcSchemaConfig\n"
"entryUUID: b53b75ca-083f-102d-9fff-2f64fd123c95\n"
"creatorsName: cn=config\n"
"createTimestamp: 20080827045234Z\n"
"entryCSN: 20080827045234.341425Z#000000#000#000000\n"
"modifiersName: cn=config\n"
"modifyTimestamp: 20080827045234Z\n"
msgstr ""

#: serverguide/C/network-auth.xml:1370(command)
msgid ""
"ldapadd -x -D cn=admin,cn=config -W -f /tmp/ldif_output/cn\\=config/cn\\"
"=schema/cn\\=\\{12\\}samba.ldif"
msgstr ""

#: serverguide/C/network-auth.xml:1376(para)
msgid ""
"There should now be a <emphasis>dn: "
"cn={X}misc,cn=schema,cn=config</emphasis>, where \"X\" is the next "
"sequential schema, entry in the cn=config tree."
msgstr ""

#: serverguide/C/network-auth.xml:1384(para)
msgid ""
"Copy and paste the following into a file named "
"<filename>samba_indexes.ldif</filename>:"
msgstr ""

#: serverguide/C/network-auth.xml:1388(programlisting)
#, no-wrap
msgid ""
"\n"
"dn: olcDatabase={1}hdb,cn=config\n"
"changetype: modify\n"
"add: olcDbIndex\n"
"olcDbIndex: uidNumber eq\n"
"olcDbIndex: gidNumber eq\n"
"olcDbIndex: loginShell eq\n"
"olcDbIndex: uid eq,pres,sub\n"
"olcDbIndex: memberUid eq,pres,sub\n"
"olcDbIndex: uniqueMember eq,pres\n"
"olcDbIndex: sambaSID eq\n"
"olcDbIndex: sambaPrimaryGroupSID eq\n"
"olcDbIndex: sambaGroupType eq\n"
"olcDbIndex: sambaSIDList eq\n"
"olcDbIndex: sambaDomainName eq\n"
"olcDbIndex: default sub\n"
msgstr ""

#: serverguide/C/network-auth.xml:1406(para)
msgid ""
"Using the <application>ldapmodify</application> utility load the new indexes:"
msgstr ""

#: serverguide/C/network-auth.xml:1411(command)
msgid "ldapmodify -x -D cn=admin,cn=config -W -f samba_indexes.ldif"
msgstr ""

#: serverguide/C/network-auth.xml:1413(para)
msgid ""
"If all went well you should see the new indexes using "
"<application>ldapsearch</application>:"
msgstr ""

#: serverguide/C/network-auth.xml:1418(command)
msgid ""
"ldapsearch -xLLL -D cn=admin,cn=config -x -b cn=config -W olcDatabase={1}hdb"
msgstr ""

#: serverguide/C/network-auth.xml:1424(para)
msgid ""
"Next, configure the <application>smbldap-tools</application> package to "
"match your environment. The package comes with a configuration script that "
"will ask questions about the needed options. To run the script enter:"
msgstr ""

#: serverguide/C/network-auth.xml:1430(command)
msgid "sudo gzip -d /usr/share/doc/smbldap-tools/configure.pl.gz"
msgstr ""

#: serverguide/C/network-auth.xml:1431(command)
msgid "sudo perl /usr/share/doc/smbldap-tools/configure.pl"
msgstr ""

#: serverguide/C/network-auth.xml:1434(para)
msgid ""
"Once you have answered the questions, there should be <filename>/etc/smbldap-"
"tools/smbldap.conf</filename> and <filename>/etc/smbldap-"
"tools/smbldap_bind.conf</filename> files. These files are generated by the "
"configure script, so if you made any mistakes while executing the script it "
"may be simpler to edit the file appropriately."
msgstr ""

#: serverguide/C/network-auth.xml:1444(para)
msgid ""
"The <application>smbldap-populate</application> script will add the "
"necessary users, groups, and LDAP objects required for Samba. It is a good "
"idea to make a backup LDAP Data Interchange Format (LDIF) file with "
"<application>slapcat</application> before executing the command:"
msgstr ""

#: serverguide/C/network-auth.xml:1451(command)
msgid "sudo slapcat -l backup.ldif"
msgstr ""

#: serverguide/C/network-auth.xml:1457(para)
msgid ""
"Once you have a current backup execute <application>smbldap-"
"populate</application> by entering:"
msgstr ""

#: serverguide/C/network-auth.xml:1462(command)
msgid "sudo smbldap-populate"
msgstr ""

#: serverguide/C/network-auth.xml:1466(para)
msgid ""
"You can create an LDIF file containing the new Samba objects by executing "
"<command>sudo smbldap-populate -e samba.ldif</command>. This allows you to "
"look over the changes making sure everything is correct."
msgstr ""

#: serverguide/C/network-auth.xml:1474(para)
msgid ""
"Your LDAP directory now has the necessary domain information to authenticate "
"Samba users."
msgstr ""

#: serverguide/C/network-auth.xml:1480(title)
msgid "Samba Configuration"
msgstr ""

#: serverguide/C/network-auth.xml:1482(para)
msgid ""
"There a multiple ways to configure Samba for details on some common "
"configurations see <xref linkend=\"windows-networking\"/>. To configure "
"Samba to use LDAP, edit the main Samba configuration file "
"<filename>/etc/samba/smb.conf</filename> commenting the <emphasis>passdb "
"backend</emphasis> option and adding the following:"
msgstr ""

#: serverguide/C/network-auth.xml:1488(programlisting)
#, no-wrap
msgid ""
"\n"
"#   passdb backend = tdbsam\n"
"\n"
"# LDAP Settings\n"
"   passdb backend = ldapsam:ldap://hostname\n"
"   ldap suffix = dc=example,dc=com\n"
"   ldap user suffix = ou=People\n"
"   ldap group suffix = ou=Groups\n"
"   ldap machine suffix = ou=Computers\n"
"   ldap idmap suffix = ou=Idmap\n"
"   ldap admin dn = cn=admin,dc=example,dc=com\n"
"   ldap ssl = start tls\n"
"   ldap passwd sync = yes\n"
"...\n"
"   add machine script = sudo /usr/sbin/smbldap-useradd -t 0 -w \"%u\"\n"
msgstr ""

#: serverguide/C/network-auth.xml:1505(para)
msgid "Restart <application>samba</application> to enable the new settings:"
msgstr ""

#: serverguide/C/network-auth.xml:1513(para)
msgid ""
"Now Samba needs to know the LDAP admin password. From a terminal prompt "
"enter:"
msgstr ""

#: serverguide/C/network-auth.xml:1518(command)
msgid "sudo smbpasswd -w secret"
msgstr ""

#: serverguide/C/network-auth.xml:1522(para)
msgid ""
"Replacing <emphasis role=\"italic\">secret</emphasis> with your LDAP admin "
"password."
msgstr ""

#: serverguide/C/network-auth.xml:1527(para)
msgid ""
"If you currently have users in LDAP, and you want them to authenticate using "
"Samba, they will need some Samba attributes defined in the "
"<filename>samba.schema</filename> file. Add the Samba attributes to existing "
"users using the <application>smbpasswd</application> utility, replacing "
"<emphasis role=\"italic\">username</emphasis> with an actual user:"
msgstr ""

#: serverguide/C/network-auth.xml:1535(command)
msgid "sudo smbpasswd -a username"
msgstr ""

#: serverguide/C/network-auth.xml:1538(para)
msgid "You will then be asked to enter the user's password."
msgstr ""

#: serverguide/C/network-auth.xml:1542(para)
msgid ""
"To add new user, group, and machine accounts use the utilities from the "
"<application>smbldap-tools</application> package. Here are some examples:"
msgstr ""

#: serverguide/C/network-auth.xml:1549(para)
msgid ""
"To add a new user to LDAP with Samba attributes enter the following, "
"replacing username with an actual username:"
msgstr ""

#: serverguide/C/network-auth.xml:1553(command)
msgid "sudo smbldap-useradd -a -P username"
msgstr ""

#: serverguide/C/network-auth.xml:1555(para)
msgid ""
"The <emphasis>-a</emphasis> option adds the Samba attributes, and the "
"<emphasis>-P</emphasis> options calls the <application>smbldap-"
"passwd</application> utility after the user is created allowing you to enter "
"a password for the user."
msgstr ""

#: serverguide/C/network-auth.xml:1561(para)
msgid "To remove a user from the directory enter:"
msgstr ""

#: serverguide/C/network-auth.xml:1565(command)
msgid "sudo smbldap-userdel username"
msgstr ""

#: serverguide/C/network-auth.xml:1567(para)
msgid ""
"The <application>smbldap-userdel</application> utility also has a <emphasis>-"
"r</emphasis> option to remove the user's home directory."
msgstr ""

#: serverguide/C/network-auth.xml:1572(para)
msgid ""
"Use <application>smbldap-groupadd</application> to add a group, replacing "
"groupname with an appropriate group:"
msgstr ""

#: serverguide/C/network-auth.xml:1576(command)
msgid "sudo smbldap-groupadd -a groupname"
msgstr ""

#: serverguide/C/network-auth.xml:1578(para)
msgid ""
"Similar to <application>smbldap-useradd</application>, the <emphasis>-"
"a</emphasis> adds the Samba attributes."
msgstr ""

#: serverguide/C/network-auth.xml:1583(para)
msgid ""
"To add a user to a group use <application>smbldap-groupmod</application>:"
msgstr ""

#: serverguide/C/network-auth.xml:1587(command)
msgid "sudo smbldap-groupmod -m username groupname"
msgstr ""

#: serverguide/C/network-auth.xml:1589(para)
msgid ""
"Be sure to replace <emphasis>username</emphasis> with a real user. Also, the "
"<emphasis>-m</emphasis> option can add more than one user at a time by "
"listing them in <emphasis>comma separated</emphasis> format."
msgstr ""

#: serverguide/C/network-auth.xml:1595(para)
msgid ""
"<application>smbldap-groupmod</application> can also be used to remove a "
"user from a group:"
msgstr ""

#: serverguide/C/network-auth.xml:1599(command)
msgid "sudo smbldap-groupmod -x username groupname"
msgstr ""

#: serverguide/C/network-auth.xml:1603(para)
msgid ""
"Additionally, the <application>smbldap-useradd</application> utility can add "
"Samba machine accounts:"
msgstr ""

#: serverguide/C/network-auth.xml:1607(command)
msgid "sudo smbldap-useradd -t 0 -w username"
msgstr ""

#: serverguide/C/network-auth.xml:1609(para)
msgid ""
"Replace <emphasis>username</emphasis> with the name of the workstation. The "
"<emphasis>-t 0</emphasis> option creates the machine account without a "
"delay, while the <emphasis>-w</emphasis> option specifies the user as a "
"machine account. Also, note the <emphasis>add machine script</emphasis> "
"option in <filename>/etc/samba/smb.conf</filename> was changed to use "
"<application>smbldap-useradd</application>."
msgstr ""

#: serverguide/C/network-auth.xml:1618(para)
msgid ""
"There are more useful utilities and options in the <application>smbldap-"
"tools</application> package. The man page for each utility provides more "
"details."
msgstr ""

#: serverguide/C/network-auth.xml:1629(para)
msgid ""
"There are multiple places where LDAP and Samba is documented in the <ulink "
"url=\"http://samba.org/samba/docs/man/Samba-HOWTO-Collection/\">Samba HOWTO "
"Collection</ulink>."
msgstr ""

#: serverguide/C/network-auth.xml:1635(para)
msgid ""
"Specifically see the <ulink url=\"http://samba.org/samba/docs/man/Samba-"
"HOWTO-Collection/passdb.html\">passdb section</ulink>."
msgstr ""

#: serverguide/C/network-auth.xml:1641(para)
msgid ""
"Another good site is <ulink url=\"http://www.iallanis.info/smbldap-"
"tools/docs/samba-ldap-howto/\">Samba OpenLDAP HOWTO</ulink>."
msgstr ""

#: serverguide/C/network-auth.xml:1647(para)
msgid ""
"Again, for more information on <application>smbldap-tools</application> see "
"the man pages: <command>man smbldap-useradd</command>, <command>man smbldap-"
"groupadd</command>, <command>man smbldap-populate</command>, etc."
msgstr ""

#: serverguide/C/network-auth.xml:1657(title)
msgid "Kerberos"
msgstr ""

#: serverguide/C/network-auth.xml:1659(para)
msgid ""
"<application>Kerberos</application> is a network authentication system based "
"on the principal of a trusted third party. The other two parties being the "
"user and the service the user wishes to authenticate to. Not all services "
"and applications can use Kerberos, but for those that can, it brings the "
"network environment one step closer to being Single Sign On (SSO)."
msgstr ""

#: serverguide/C/network-auth.xml:1665(para)
msgid ""
"This section covers installation and configuration of a Kerberos server, and "
"some example client configurations."
msgstr ""

#: serverguide/C/network-auth.xml:1672(para)
msgid ""
"If you are new to Kerberos there are a few terms that are good to understand "
"before setting up a Kerberos server. Most of the terms will relate to things "
"you may be familiar with in other environments:"
msgstr ""

#: serverguide/C/network-auth.xml:1679(para)
msgid ""
"<emphasis>Principal:</emphasis> any users, computers, and services provided "
"by servers need to be defined as Kerberos Principals."
msgstr ""

#: serverguide/C/network-auth.xml:1684(para)
msgid ""
"<emphasis>Instances:</emphasis> are used for service principals and special "
"administrative principals."
msgstr ""

#: serverguide/C/network-auth.xml:1689(para)
msgid ""
"<emphasis>Realms:</emphasis> the unique realm of control provided by the "
"Kerberos installation. Usually the DNS domain converted to uppercase "
"(EXAMPLE.COM)."
msgstr ""

#: serverguide/C/network-auth.xml:1695(para)
msgid ""
"<emphasis>Key Distribution Center:</emphasis> (KDC) consist of three parts, "
"a database of all principals, the authentication server, and the ticket "
"granting server. For each realm there must be at least one KDC."
msgstr ""

#: serverguide/C/network-auth.xml:1701(para)
msgid ""
"<emphasis>Ticket Granting Ticket:</emphasis> issued by the Authentication "
"Server (AS), the Ticket Granting Ticket (TGT) is encrypted in the user's "
"password which is known only to the user and the KDC."
msgstr ""

#: serverguide/C/network-auth.xml:1707(para)
msgid ""
"<emphasis>Ticket Granting Server:</emphasis> (TGS) issues service tickets to "
"clients upon request."
msgstr ""

#: serverguide/C/network-auth.xml:1712(para)
msgid ""
"<emphasis>Tickets:</emphasis> confirm the identity of the two principals. "
"One principal being a user and the other a service requested by the user. "
"Tickets establish an encryption key used for secure communication during the "
"authenticated session."
msgstr ""

#: serverguide/C/network-auth.xml:1718(para)
msgid ""
"<emphasis>Keytab Files:</emphasis> are files extracted from the KDC "
"principal database and contain the encryption key for a service or host."
msgstr ""

#: serverguide/C/network-auth.xml:1725(para)
msgid ""
"To put the pieces together, a Realm has at least one KDC, preferably two for "
"redundancy, which contains a database of Principals. When a user principal "
"logs into a workstation, configured for Kerberos authentication, the KDC "
"issues a Ticket Granting Ticket (TGT). If the user supplied credentials "
"match, the user is authenticated and can then request tickets for Kerberized "
"services from the Ticket Granting Server (TGS). The service tickets allow "
"the user to authenticate to the service without entering another username "
"and password."
msgstr ""

#: serverguide/C/network-auth.xml:1734(title)
msgid "Kerberos Server"
msgstr ""

#: serverguide/C/network-auth.xml:1738(para)
msgid ""
"Before installing the Kerberos server a properly configured DNS server is "
"needed for your domain. Since the Kerberos Realm by convention matches the "
"domain name, this section uses the <emphasis>example.com</emphasis> domain "
"configured in <xref linkend=\"dns-primarymaster-configuration\"/>."
msgstr ""

#: serverguide/C/network-auth.xml:1744(para)
msgid ""
"Also, Kerberos is a time sensitive protocol. So if the local system time "
"between a client machine and the server differs by more than five minutes "
"(by default), the workstation will not be able to authenticate. To correct "
"the problem all hosts should have their time synchronized using the "
"<emphasis>Network Time Protocol (NTP)</emphasis>. For details on setting up "
"NTP see <xref linkend=\"NTP\"/>."
msgstr ""

#: serverguide/C/network-auth.xml:1751(para)
msgid ""
"The first step in installing a Kerberos Realm is to install the "
"<application>krb5-kdc</application> and <application>krb5-admin-"
"server</application> packages. From a terminal enter:"
msgstr ""

#: serverguide/C/network-auth.xml:1757(command) serverguide/C/network-auth.xml:1932(command)
msgid "sudo apt-get install krb5-kdc krb5-admin-server"
msgstr ""

#: serverguide/C/network-auth.xml:1760(para)
msgid ""
"You will be asked at the end of the install to supply a name for the "
"Kerberos and Admin servers, which may or may not be the same server, for the "
"realm."
msgstr ""

#: serverguide/C/network-auth.xml:1765(para)
msgid ""
"Next, create the new realm with the <application>kdb5_newrealm</application> "
"utility:"
msgstr ""

#: serverguide/C/network-auth.xml:1770(command)
msgid "sudo krb5_newrealm"
msgstr ""

#: serverguide/C/network-auth.xml:1777(para)
msgid ""
"The questions asked during installation are used to configure the "
"<filename>/etc/krb5.conf</filename> file. If you need to adjust the Key "
"Distribution Center (KDC) settings simply edit the file and restart the "
"<application>krb5-kdc</application> daemon."
msgstr ""

#: serverguide/C/network-auth.xml:1785(para)
msgid ""
"Now that the KDC running an admin user is needed. It is recommended to use a "
"different username from your everyday username. Using the "
"<application>kadmin.local</application> utility in a terminal prompt enter:"
msgstr ""

#: serverguide/C/network-auth.xml:1791(command) serverguide/C/network-auth.xml:2583(command)
msgid "sudo kadmin.local"
msgstr ""

#: serverguide/C/network-auth.xml:1792(computeroutput)
#, no-wrap
msgid ""
"Authenticating as principal root/admin@EXAMPLE.COM with password.\n"
"kadmin.local:"
msgstr ""

#: serverguide/C/network-auth.xml:1793(userinput)
#, no-wrap
msgid " addprinc steve/admin"
msgstr ""

#: serverguide/C/network-auth.xml:1794(computeroutput)
#, no-wrap
msgid ""
"WARNING: no policy specified for steve/admin@EXAMPLE.COM; defaulting to no "
"policy\n"
"Enter password for principal \"steve/admin@EXAMPLE.COM\": \n"
"Re-enter password for principal \"steve/admin@EXAMPLE.COM\": \n"
"Principal \"steve/admin@EXAMPLE.COM\" created.\n"
"kadmin.local:"
msgstr ""

#: serverguide/C/network-auth.xml:1798(userinput)
#, no-wrap
msgid " quit"
msgstr ""

#: serverguide/C/network-auth.xml:1801(para)
msgid ""
"In the the above example <emphasis role=\"italic\">steve</emphasis> is the "
"<emphasis>Principal</emphasis>, <emphasis role=\"italic\">/admin</emphasis> "
"is an <emphasis>Instance</emphasis>, and <emphasis "
"role=\"italic\">@EXAMPLE.COM</emphasis> signifies the realm. The <emphasis "
"role=\"italic\">\"every day\"</emphasis> Principal would be "
"<emphasis>steve@EXAMPLE.COM</emphasis>, and should have only normal user "
"rights."
msgstr ""

#: serverguide/C/network-auth.xml:1809(para)
msgid ""
"Replace <emphasis>EXAMPLE.COM</emphasis> and <emphasis>steve</emphasis> with "
"your Realm and admin username."
msgstr ""

#: serverguide/C/network-auth.xml:1817(para)
msgid ""
"Next, the new admin user needs to have the appropriate Access Control List "
"(ACL) permissions. The permissions are configured in the "
"<filename>/etc/krb5kdc/kadm5.acl</filename> file:"
msgstr ""

#: serverguide/C/network-auth.xml:1822(programlisting)
#, no-wrap
msgid ""
"\n"
"steve/admin@EXAMPLE.COM        *\n"
msgstr ""

#: serverguide/C/network-auth.xml:1826(para)
msgid ""
"This entry grants <emphasis>steve/admin</emphasis> the ability to perform "
"any operation on all principals in the realm."
msgstr ""

#: serverguide/C/network-auth.xml:1833(para)
msgid ""
"Now restart the <application>krb5-admin-server</application> for the new ACL "
"to take affect:"
msgstr ""

#: serverguide/C/network-auth.xml:1838(command)
msgid "sudo /etc/init.d/krb5-admin-server restart"
msgstr ""

#: serverguide/C/network-auth.xml:1844(para)
msgid ""
"The new user principal can be tested using the <application>kinit "
"utility</application>:"
msgstr ""

#: serverguide/C/network-auth.xml:1849(command)
msgid "kinit steve/admin"
msgstr ""

#: serverguide/C/network-auth.xml:1850(computeroutput)
#, no-wrap
msgid "steve/admin@EXAMPLE.COM's Password:"
msgstr ""

#: serverguide/C/network-auth.xml:1853(para)
msgid ""
"After entering the password, use the <application>klist</application> "
"utility to view information about the Ticket Granting Ticket (TGT):"
msgstr ""

#: serverguide/C/network-auth.xml:1859(command) serverguide/C/network-auth.xml:2194(command)
msgid "klist"
msgstr ""

#: serverguide/C/network-auth.xml:1860(computeroutput)
#, no-wrap
msgid ""
"Credentials cache: FILE:/tmp/krb5cc_1000\n"
"        Principal: steve/admin@EXAMPLE.COM\n"
"\n"
"  Issued           Expires          Principal\n"
"Jul 13 17:53:34  Jul 14 03:53:34  krbtgt/EXAMPLE.COM@EXAMPLE.COM"
msgstr ""

#: serverguide/C/network-auth.xml:1867(para)
msgid ""
"You may need to add an entry into the <filename>/etc/hosts</filename> for "
"the KDC. For example:"
msgstr ""

#: serverguide/C/network-auth.xml:1871(programlisting)
#, no-wrap
msgid ""
"\n"
"192.168.0.1   kdc01.example.com       kdc01\n"
msgstr ""

#: serverguide/C/network-auth.xml:1875(para)
msgid ""
"Replacing <emphasis>192.168.0.1</emphasis> with the IP address of your KDC."
msgstr ""

#: serverguide/C/network-auth.xml:1882(para)
msgid ""
"In order for clients to determine the KDC for the Realm some DNS SRV records "
"are needed. Add the following to "
"<filename>/etc/named/db.example.com</filename>:"
msgstr ""

#: serverguide/C/network-auth.xml:1887(programlisting)
#, no-wrap
msgid ""
"\n"
"_kerberos._udp.EXAMPLE.COM.     IN SRV 1  0 88  kdc01.example.com.\n"
"_kerberos._tcp.EXAMPLE.COM.     IN SRV 1  0 88  kdc01.example.com.\n"
"_kerberos._udp.EXAMPLE.COM.     IN SRV 10 0 88  kdc02.example.com. \n"
"_kerberos._tcp.EXAMPLE.COM.     IN SRV 10 0 88  kdc02.example.com. \n"
"_kerberos-adm._tcp.EXAMPLE.COM. IN SRV 1  0 749 kdc01.example.com.\n"
"_kpasswd._udp.EXAMPLE.COM.      IN SRV 1  0 464 kdc01.example.com.\n"
msgstr ""

#: serverguide/C/network-auth.xml:1897(para)
msgid ""
"Replace <emphasis>EXAMPLE.COM</emphasis>, <emphasis>kdc01</emphasis>, and "
"<emphasis>kdc02</emphasis> with your domain name, primary KDC, and secondary "
"KDC."
msgstr ""

#: serverguide/C/network-auth.xml:1903(para)
msgid ""
"See <xref linkend=\"dns\"/> for detailed instructions on setting up DNS."
msgstr ""

#: serverguide/C/network-auth.xml:1910(para)
msgid "Your new Kerberos Realm is now ready to authenticate clients."
msgstr ""

#: serverguide/C/network-auth.xml:1917(title)
msgid "Secondary KDC"
msgstr ""

#: serverguide/C/network-auth.xml:1919(para)
msgid ""
"Once you have one Key Distribution Center (KDC) on your network, it is good "
"practice to have a Secondary KDC in case the primary becomes unavailable."
msgstr ""

#: serverguide/C/network-auth.xml:1927(para)
msgid ""
"First, install the packages, and when asked for the Kerberos and Admin "
"server names enter the name of the Primary KDC:"
msgstr ""

#: serverguide/C/network-auth.xml:1938(para)
msgid ""
"Once you have the packages installed, create the Secondary KDC's host "
"principal. From a terminal prompt, enter:"
msgstr ""

#: serverguide/C/network-auth.xml:1943(command)
msgid "kadmin -q \"addprinc -randkey host/kdc02.example.com\""
msgstr ""

#: serverguide/C/network-auth.xml:1947(para)
msgid ""
"After, issuing any <application>kadmin</application> commands you will be "
"prompted for your <emphasis>username/admin@EXAMPLE.COM</emphasis> principal "
"password."
msgstr ""

#: serverguide/C/network-auth.xml:1956(para)
msgid "Extract the <emphasis>keytab</emphasis> file:"
msgstr ""

#: serverguide/C/network-auth.xml:1961(command)
msgid "kadmin -q \"ktadd -k keytab.kdc02 host/kdc02.example.com\""
msgstr ""

#: serverguide/C/network-auth.xml:1967(para)
msgid ""
"There should now be a <filename>keytab.kdc02</filename> in the current "
"directory, move the file to <filename>/etc/krb5.keytab</filename>:"
msgstr ""

#: serverguide/C/network-auth.xml:1973(command)
msgid "sudo mv keytab.kdc02 /etc/krb5.keytab"
msgstr ""

#: serverguide/C/network-auth.xml:1977(para)
msgid ""
"If the path to the <filename>keytab.kdc02</filename> file is different "
"adjust accordingly."
msgstr ""

#: serverguide/C/network-auth.xml:1982(para)
msgid ""
"Also, you can list the principals in a Keytab file, which can be useful when "
"troubleshooting, using the <application>klist</application> utility:"
msgstr ""

#: serverguide/C/network-auth.xml:1988(command)
msgid "sudo klist -k /etc/krb5.keytab"
msgstr ""

#: serverguide/C/network-auth.xml:1994(para)
msgid ""
"Next, there needs to be a <filename>kpropd.acl</filename> file on each KDC "
"that lists all KDCs for the Realm. For example, on both primary and "
"secondary KDC, create <filename>/etc/krb5kdc/kpropd.acl</filename>:"
msgstr ""

#: serverguide/C/network-auth.xml:1999(programlisting)
#, no-wrap
msgid ""
"\n"
"host/kdc01.example.com@EXAMPLE.COM\n"
"host/kdc02.example.com@EXAMPLE.COM\n"
msgstr ""

#: serverguide/C/network-auth.xml:2007(para)
msgid "Create an empty database on the <emphasis>Secondary KDC</emphasis>:"
msgstr ""

#: serverguide/C/network-auth.xml:2012(command)
msgid "sudo kdb5_util -s create"
msgstr ""

#: serverguide/C/network-auth.xml:2018(para)
msgid ""
"Now start the <application>kpropd</application> daemon, which listens for "
"connections from the <application>kprop</application> utility. "
"<application>kprop</application> is used to transfer dump files:"
msgstr ""

#: serverguide/C/network-auth.xml:2025(command)
msgid "sudo kpropd -S"
msgstr ""

#: serverguide/C/network-auth.xml:2031(para)
msgid ""
"From a terminal on the <emphasis>Primary KDC</emphasis>, create a dump file "
"of the principal database:"
msgstr ""

#: serverguide/C/network-auth.xml:2036(command)
msgid "sudo kdb5_util dump /var/lib/krb5kdc/dump"
msgstr ""

#: serverguide/C/network-auth.xml:2042(para)
msgid ""
"Extract the Primary KDC's <emphasis>keytab</emphasis> file and copy it to "
"<filename>/etc/krb5.keytab</filename>:"
msgstr ""

#: serverguide/C/network-auth.xml:2047(command)
msgid "kadmin -q \"ktadd -k keytab.kdc01 host/kdc01.example.com\""
msgstr ""

#: serverguide/C/network-auth.xml:2048(command)
msgid "sudo mv keytab.kdc01 /etc/kr5b.keytab"
msgstr ""

#: serverguide/C/network-auth.xml:2052(para)
msgid ""
"Make sure there is a <emphasis>host</emphasis> for "
"<emphasis>kdc01.example.com</emphasis> before extracting the Keytab."
msgstr ""

#: serverguide/C/network-auth.xml:2060(para)
msgid ""
"Using the <application>kprop</application> utility push the database to the "
"Secondary KDC:"
msgstr ""

#: serverguide/C/network-auth.xml:2065(command)
msgid "sudo kprop -r EXAMPLE.COM -f /var/lib/krb5kdc/dump kdc02.example.com"
msgstr ""

#: serverguide/C/network-auth.xml:2069(para)
msgid ""
"There should be a <emphasis>SUCCEEDED</emphasis> message if the propagation "
"worked. If there is an error message check "
"<filename>/var/log/syslog</filename> on the secondary KDC for more "
"information."
msgstr ""

#: serverguide/C/network-auth.xml:2075(para)
msgid ""
"You may also want to create a <application>cron</application> job to "
"periodically update the database on the Secondary KDC. For example, the "
"following will push the database every hour:"
msgstr ""

#: serverguide/C/network-auth.xml:2080(programlisting)
#, no-wrap
msgid ""
"\n"
"# m h  dom mon dow   command\n"
"0 * * * * /usr/sbin/kdb5_util dump /var/lib/krb5kdc/dump &amp;&amp; "
"/usr/sbin/kprop -r EXAMPLE.COM -f /var/lib/krb5kdc/dump kdc02.example.com\n"
msgstr ""

#: serverguide/C/network-auth.xml:2088(para)
msgid ""
"Back on the <emphasis>Secondary KDC</emphasis>, create a "
"<emphasis>stash</emphasis> file to hold the Kerberos master key:"
msgstr ""

#: serverguide/C/network-auth.xml:2094(command)
msgid "sudo kdb5_util stash"
msgstr ""

#: serverguide/C/network-auth.xml:2100(para)
msgid ""
"Finally, start the <application>krb5-kdc</application> daemon on the "
"Secondary KDC:"
msgstr ""

#: serverguide/C/network-auth.xml:2105(command) serverguide/C/network-auth.xml:2713(command)
msgid "sudo /etc/init.d/krb5-kdc start"
msgstr ""

#: serverguide/C/network-auth.xml:2111(para)
msgid ""
"The <emphasis>Secondary KDC</emphasis> should now be able to issue tickets "
"for the Realm. You can test this by stopping the <application>krb5-"
"kdc</application> daemon on the Primary KDC, then use "
"<application>kinit</application> to request a ticket. If all goes well you "
"should receive a ticket from the Secondary KDC."
msgstr ""

#: serverguide/C/network-auth.xml:2119(title)
msgid "Kerberos Linux Client"
msgstr ""

#: serverguide/C/network-auth.xml:2121(para)
msgid ""
"This section covers configuring a Linux system as a "
"<application>Kerberos</application> client. This will allow access to any "
"kerberized services once a user has successfully logged into the system."
msgstr ""

#: serverguide/C/network-auth.xml:2129(para)
msgid ""
"In order to authenticate to a Kerberos Realm, the <application>krb5-"
"user</application> and <application>libpam-krb5</application> packages are "
"needed, along with a few others that are not strictly necessary but make "
"life easier. To install the packages enter the following in a terminal "
"prompt:"
msgstr ""

#: serverguide/C/network-auth.xml:2136(command)
msgid ""
"sudo apt-get install krb5-user libpam-krb5 libpam-ccreds auth-client-config"
msgstr ""

#: serverguide/C/network-auth.xml:2139(para)
msgid ""
"The <application>auth-client-config</application> package allows simple "
"configuration of PAM for authentication from multiple sources, and the "
"<application>libpam-ccreds</application> will cache authentication "
"credentials allowing you to login in case the Key Distribution Center (KDC) "
"is unavailable. This package is also useful for laptops that may "
"authenticate using Kerberos while on the corporate network, but will need to "
"be accessed off the network as well."
msgstr ""

#: serverguide/C/network-auth.xml:2150(para)
msgid "To configure the client in a terminal enter:"
msgstr ""

#: serverguide/C/network-auth.xml:2155(command)
msgid "sudo dpkg-reconfigure krb5-config"
msgstr ""

#: serverguide/C/network-auth.xml:2158(para)
msgid ""
"You will then be prompted to enter the name of the Kerberos Realm. Also, if "
"you don't have DNS configured with Kerberos <emphasis>SRV</emphasis> "
"records, the menu will prompt you for the hostname of the Key Distribution "
"Center (KDC) and Realm Administration server."
msgstr ""

#: serverguide/C/network-auth.xml:2164(para)
msgid ""
"The <application>dpkg-reconfigure</application> adds entries to the "
"<filename>/etc/krb5.conf</filename> file for your Realm. You should have "
"entries similar to the following:"
msgstr ""

#: serverguide/C/network-auth.xml:2169(programlisting)
#, no-wrap
msgid ""
"\n"
"[libdefaults]\n"
"        default_realm = EXAMPLE.COM\n"
"...\n"
"[realms]\n"
"        EXAMPLE.COM = }                \n"
"                kdc = 192.168.0.1               \n"
"                admin_server = 192.168.0.1\n"
"        }\n"
msgstr ""

#: serverguide/C/network-auth.xml:2180(para)
msgid ""
"You can test the configuration by requesting a ticket using the "
"<application>kinit</application> utility. For example:"
msgstr ""

#: serverguide/C/network-auth.xml:2185(command)
msgid "kinit steve@EXAMPLE.COM"
msgstr ""

#: serverguide/C/network-auth.xml:2186(computeroutput)
#, no-wrap
msgid "Password for steve@EXAMPLE.COM:"
msgstr ""

#: serverguide/C/network-auth.xml:2189(para)
msgid ""
"When a ticket has been granted, the details can be viewed using "
"<application>klist</application>:"
msgstr ""

#: serverguide/C/network-auth.xml:2195(computeroutput)
#, no-wrap
msgid ""
"Ticket cache: FILE:/tmp/krb5cc_1000\n"
"Default principal: steve@EXAMPLE.COM\n"
"\n"
"Valid starting     Expires            Service principal\n"
"07/24/08 05:18:56  07/24/08 15:18:56  krbtgt/EXAMPLE.COM@EXAMPLE.COM\n"
"        renew until 07/25/08 05:18:57\n"
"\n"
"\n"
"Kerberos 4 ticket cache: /tmp/tkt1000\n"
"klist: You have no tickets cached"
msgstr ""

#: serverguide/C/network-auth.xml:2207(para)
msgid ""
"Next, use the <application>auth-client-config</application> to configure the "
"<application>libpam-krb5</application> module to request a ticket during "
"login:"
msgstr ""

#: serverguide/C/network-auth.xml:2213(command)
msgid "sudo auth-client-config -a -p kerberos_example"
msgstr ""

#: serverguide/C/network-auth.xml:2216(para)
msgid ""
"You will should now receive a ticket upon successful login authentication."
msgstr ""

#: serverguide/C/network-auth.xml:2227(para)
msgid ""
"For more information on Kerberos see the <ulink "
"url=\"http://web.mit.edu/Kerberos/\">MIT Kerberos</ulink> site."
msgstr ""

#: serverguide/C/network-auth.xml:2232(para)
msgid ""
"O'Reilly's <ulink "
"url=\"http://oreilly.com/catalog/9780596004033/\">Kerberos: The Definitive "
"Guide</ulink> is a great reference when setting up Kerberos."
msgstr ""

#: serverguide/C/network-auth.xml:2238(para)
msgid ""
"Also, feel free to stop by the <emphasis>#ubuntu-server</emphasis> IRC "
"channel on <ulink url=\"http://freenode.net/\">Freenode</ulink> if you have "
"Kerberos questions."
msgstr ""

#: serverguide/C/network-auth.xml:2248(title)
msgid "Kerberos and LDAP"
msgstr ""

#: serverguide/C/network-auth.xml:2250(para)
msgid ""
"Replicating a Kerberos principal database between two servers can be "
"complicated, and adds an additional user database to your network. "
"Fortunately, MIT Kerberos can be configured to use an "
"<application>LDAP</application> directory as a principal database. This "
"section covers configuring a primary and secondary kerberos server to use "
"<application>OpenLDAP</application> for the principal database."
msgstr ""

#: serverguide/C/network-auth.xml:2258(title)
msgid "Configuring OpenLDAP"
msgstr ""

#: serverguide/C/network-auth.xml:2260(para)
msgid ""
"First, the necessary <emphasis>schema</emphasis> needs to be loaded on an "
"<application>OpenLDAP</application> server that has network connectivity to "
"the Primary and Secondary KDCs. The rest of this section assumes that you "
"also have LDAP replication configured between at least two servers. For "
"information on setting up OpenLDAP see <xref linkend=\"openldap-server\"/>."
msgstr ""

#: serverguide/C/network-auth.xml:2267(para)
msgid ""
"It is also required to configure OpenLDAP for TLS and SSL connections, so "
"that traffic between the KDC and LDAP server is encrypted. See <xref "
"linkend=\"openldap-tls\"/> for details."
msgstr ""

#: serverguide/C/network-auth.xml:2274(para)
msgid ""
"To load the schema into LDAP, on the LDAP server install the "
"<application>krb5-kdc-ldap</application> package. From a terminal enter:"
msgstr ""

#: serverguide/C/network-auth.xml:2280(command)
msgid "sudo apt-get install krb5-kdc-ldap"
msgstr ""

#: serverguide/C/network-auth.xml:2285(para)
msgid "Next, extract the <filename>kerberos.schema.gz</filename> file:"
msgstr ""

#: serverguide/C/network-auth.xml:2290(command)
msgid "sudo gzip -d /usr/share/doc/krb5-kdc-ldap/kerberos.schema.gz"
msgstr ""

#: serverguide/C/network-auth.xml:2291(command)
msgid ""
"sudo cp /usr/share/doc/krb5-kdc-ldap/kerberos.schema /etc/ldap/schema/"
msgstr ""

#: serverguide/C/network-auth.xml:2297(para)
msgid ""
"The <emphasis>kerberos</emphasis> schema needs to be added to the "
"<emphasis>cn=config</emphasis> tree. The procedure to add a new schema to "
"<application>slapd</application> is also detailed in <xref "
"linkend=\"openldap-configuration\"/>."
msgstr ""

#: serverguide/C/network-auth.xml:2310(programlisting)
#, no-wrap
msgid ""
"\n"
"include /etc/ldap/schema/core.schema\n"
"include /etc/ldap/schema/collective.schema\n"
"include /etc/ldap/schema/corba.schema\n"
"include /etc/ldap/schema/cosine.schema\n"
"include /etc/ldap/schema/duaconf.schema\n"
"include /etc/ldap/schema/dyngroup.schema\n"
"include /etc/ldap/schema/inetorgperson.schema\n"
"include /etc/ldap/schema/java.schema\n"
"include /etc/ldap/schema/misc.schema\n"
"include /etc/ldap/schema/nis.schema\n"
"include /etc/ldap/schema/openldap.schema\n"
"include /etc/ldap/schema/ppolicy.schema\n"
"include /etc/ldap/schema/kerberos.schema\n"
msgstr ""

#: serverguide/C/network-auth.xml:2330(para)
msgid "Create a temporary directory to hold the LDIF files:"
msgstr ""

#: serverguide/C/network-auth.xml:2355(para)
msgid ""
"Edit the generated "
"<filename>/tmp/ldif_output/cn=config/cn=schema/cn={12}kerberos.ldif</filename"
"> file, changing the following attributes:"
msgstr ""

#: serverguide/C/network-auth.xml:2360(programlisting)
#, no-wrap
msgid ""
"\n"
"dn: cn=kerberos,cn=schema,cn=config\n"
"...\n"
"cn: kerberos\n"
msgstr ""

#: serverguide/C/network-auth.xml:2366(para)
msgid "And remove the following lines from the end of the file:"
msgstr ""

#: serverguide/C/network-auth.xml:2370(programlisting)
#, no-wrap
msgid ""
"\n"
"structuralObjectClass: olcSchemaConfig\n"
"entryUUID: 18ccd010-746b-102d-9fbe-3760cca765dc\n"
"creatorsName: cn=config\n"
"createTimestamp: 20090111203515Z\n"
"entryCSN: 20090111203515.326445Z#000000#000#000000\n"
"modifiersName: cn=config\n"
"modifyTimestamp: 20090111203515Z\n"
msgstr ""

#: serverguide/C/network-auth.xml:2389(para)
msgid "Load the new schema with <application>ldapadd</application>:"
msgstr ""

#: serverguide/C/network-auth.xml:2394(command)
msgid ""
"ldapadd -x -D cn=admin,cn=config -W -f /tmp/ldif_output/cn\\=config/cn\\"
"=schema/cn\\=\\{12\\}kerberos.ldif"
msgstr ""

#: serverguide/C/network-auth.xml:2400(para)
msgid ""
"Add an index for the <emphasis>krb5principalname</emphasis> attribute:"
msgstr ""

#: serverguide/C/network-auth.xml:2407(userinput)
#, no-wrap
msgid ""
"dn: olcDatabase={1}hdb,cn=config\n"
"add: olcDbIndex\n"
"olcDbIndex: krbPrincipalName eq,pres,sub"
msgstr ""

#: serverguide/C/network-auth.xml:2417(para)
msgid "Finally, update the Access Control Lists (ACL):"
msgstr ""

#: serverguide/C/network-auth.xml:2424(userinput)
#, no-wrap
msgid ""
"dn: olcDatabase={1}hdb,cn=config\n"
"replace: olcAccess\n"
"olcAccess: to attrs=userPassword,shadowLastChange,krbPrincipalKey by "
"dn=\"cn=admin,dc=exampl\n"
" e,dc=com\" write by anonymous auth by self write by * none\n"
"-\n"
"add: olcAccess\n"
"olcAccess: to dn.base=\"\" by * read\n"
"-\n"
"add: olcAccess\n"
"olcAccess: to * by dn=\"cn=admin,dc=example,dc=com\" write by * read"
msgstr ""

#: serverguide/C/network-auth.xml:2423(computeroutput)
#, no-wrap
msgid ""
"Enter LDAP Password: \n"
"<placeholder-1/>\n"
"\n"
"modifying entry \"olcDatabase={1}hdb,cn=config\"\n"
msgstr ""

#: serverguide/C/network-auth.xml:2444(para)
msgid ""
"That's it, your LDAP directory is now ready to serve as a Kerberos principal "
"database."
msgstr ""

#: serverguide/C/network-auth.xml:2450(title)
msgid "Primary KDC Configuration"
msgstr ""

#: serverguide/C/network-auth.xml:2452(para)
msgid ""
"With <application>OpenLDAP</application> configured it is time to configure "
"the KDC."
msgstr ""

#: serverguide/C/network-auth.xml:2458(para)
msgid "First, install the necessary packages, from a terminal enter:"
msgstr ""

#: serverguide/C/network-auth.xml:2463(command) serverguide/C/network-auth.xml:2620(command)
msgid "sudo apt-get install krb5-kdc krb5-admin-server krb5-kdc-ldap"
msgstr ""

#: serverguide/C/network-auth.xml:2469(para)
msgid ""
"Now edit <filename>/etc/krb5.conf</filename> adding the following options to "
"under the appropriate sections:"
msgstr ""

#: serverguide/C/network-auth.xml:2473(programlisting)
#, no-wrap
msgid ""
"\n"
"[libdefaults]\n"
"        default_realm = EXAMPLE.COM\n"
"\n"
"...\n"
"\n"
"[realms]\n"
"        EXAMPLE.COM = {\n"
"                kdc = kdc01.example.com\n"
"                kdc = kdc02.example.com\n"
"                admin_server = kdc01.example.com\n"
"                admin_server = kdc02.example.com\n"
"                default_domain = example.com\n"
"                database_module = openldap_ldapconf\n"
"        }\n"
"\n"
"...\n"
"\n"
"[domain_realm]\n"
"        .example.com = EXAMPLE.COM\n"
"\n"
"\n"
"...\n"
"\n"
"[dbdefaults]\n"
"        ldap_kerberos_container_dn = dc=example,dc=com\n"
"\n"
"[dbmodules]\n"
"        openldap_ldapconf = {\n"
"                db_library = kldap\n"
"                ldap_kdc_dn = \"cn=admin,dc=example,dc=com\"\n"
"\n"
"                # this object needs to have read rights on\n"
"                # the realm container, principal container and realm sub-"
"trees\n"
"                ldap_kadmind_dn = \"cn=admin,dc=example,dc=com\"\n"
"\n"
"                # this object needs to have read and write rights on\n"
"                # the realm container, principal container and realm sub-"
"trees\n"
"                ldap_service_password_file = /etc/krb5kdc/service.keyfile\n"
"                ldap_servers = ldaps://ldap01.example.com "
"ldaps://ldap02.example.com\n"
"                ldap_conns_per_server = 5\n"
"        }\n"
msgstr ""

#: serverguide/C/network-auth.xml:2518(para)
msgid ""
"Change <emphasis>example.com</emphasis>, "
"<emphasis>dc=example,dc=com</emphasis>, "
"<emphasis>cn=admin,dc=example,dc=com</emphasis>, and "
"<emphasis>ldap01.example.com</emphasis> to the appropriate domain, LDAP "
"object, and LDAP server for your network."
msgstr ""

#: serverguide/C/network-auth.xml:2527(para)
msgid ""
"Next, use the <application>kdb5_ldap_util</application> utility to create "
"the realm:"
msgstr ""

#: serverguide/C/network-auth.xml:2532(command)
msgid ""
"sudo kdb5_ldap_util -D cn=admin,dc=example,dc=com create -subtrees "
"dc=example,dc=com -r EXAMPLE.COM -s -H ldap://ldap01.example.com"
msgstr ""

#: serverguide/C/network-auth.xml:2538(para)
msgid ""
"Create a stash of the password used to bind to the LDAP server. This "
"password is used by the <emphasis>ldap_kdc_dn</emphasis> and "
"<emphasis>ldap_kadmin_dn</emphasis> options in "
"<filename>/etc/krb5.conf</filename>:"
msgstr ""

#: serverguide/C/network-auth.xml:2544(command) serverguide/C/network-auth.xml:2682(command)
msgid ""
"sudo kdb5_ldap_util -D cn=admin,dc=example,dc=com stashsrvpw -f "
"/etc/krb5kdc/service.keyfile cn=admin,dc=example,dc=com"
msgstr ""

#: serverguide/C/network-auth.xml:2550(para)
msgid "Copy the CA certificate from the LDAP server:"
msgstr ""

#: serverguide/C/network-auth.xml:2555(command)
msgid "scp ldap01:/etc/ssl/certs/cacert.pem ."
msgstr ""

#: serverguide/C/network-auth.xml:2556(command)
msgid "sudo cp cacert.pem /etc/ssl/certs"
msgstr ""

#: serverguide/C/network-auth.xml:2559(para)
msgid ""
"And edit <filename>/etc/ldap/ldap.conf</filename> to use the certificate:"
msgstr ""

#: serverguide/C/network-auth.xml:2563(programlisting)
#, no-wrap
msgid ""
"\n"
"TLS_CACERT /etc/ssl/certs/cacert.pem\n"
msgstr ""

#: serverguide/C/network-auth.xml:2568(para)
msgid ""
"The certificate will also need to be copied to the Secondary KDC, to allow "
"the connection to the LDAP servers using LDAPS."
msgstr ""

#: serverguide/C/network-auth.xml:2577(para)
msgid ""
"You can now add Kerberos principals to the LDAP database, and they will be "
"copied to any other LDAP servers configured for replication. To add a "
"principal using the <application>kadmin.local</application> utility enter:"
msgstr ""

#: serverguide/C/network-auth.xml:2585(userinput)
#, no-wrap
msgid "addprinc -x dn=\"uid=steve,ou=people,dc=example,dc=com\" steve"
msgstr ""

#: serverguide/C/network-auth.xml:2584(computeroutput)
#, no-wrap
msgid ""
"Authenticating as principal root/admin@EXAMPLE.COM with password.\n"
"kadmin.local:  <placeholder-1/>\n"
"WARNING: no policy specified for steve@EXAMPLE.COM; defaulting to no policy\n"
"Enter password for principal \"steve@EXAMPLE.COM\": \n"
"Re-enter password for principal \"steve@EXAMPLE.COM\": \n"
"Principal \"steve@EXAMPLE.COM\" created."
msgstr ""

#: serverguide/C/network-auth.xml:2592(para)
msgid ""
"There should now be krbPrincipalName, krbPrincipalKey, krbLastPwdChange, and "
"krbExtraData attributes added to the "
"<emphasis>uid=steve,ou=people,dc=example,dc=com</emphasis> user object. Use "
"the <application>kinit</application> and <application>klist</application> "
"utilities to test that the user is indeed issued a ticket."
msgstr ""

#: serverguide/C/network-auth.xml:2599(para)
msgid ""
"If the user object is already created the <emphasis>-x dn=\"...\"</emphasis> "
"option is needed to add the Kerberos attributes. Otherwise a new "
"<emphasis>principal</emphasis> object will be created in the realm subtree."
msgstr ""

#: serverguide/C/network-auth.xml:2607(title)
msgid "Secondary KDC Configuration"
msgstr ""

#: serverguide/C/network-auth.xml:2609(para)
msgid ""
"Configuring a Secondary KDC using the LDAP backend is similar to configuring "
"one using the normal Kerberos database."
msgstr ""

#: serverguide/C/network-auth.xml:2615(para)
msgid "First, install the necessary packages. In a terminal enter:"
msgstr ""

#: serverguide/C/network-auth.xml:2626(para)
msgid ""
"Next, edit <filename>/etc/krb5.conf</filename> to use the LDAP backend:"
msgstr ""

#: serverguide/C/network-auth.xml:2630(programlisting)
#, no-wrap
msgid ""
"\n"
"[libdefaults]\n"
"        default_realm = EXAMPLE.COM\n"
"\n"
"...\n"
"\n"
"[realms]\n"
"        EXAMPLE.COM = {\n"
"                kdc = kdc01.example.com\n"
"                kdc = kdc02.example.com\n"
"                admin_server = kdc01.example.com\n"
"                admin_server = kdc02.example.com\n"
"                default_domain = example.com\n"
"                database_module = openldap_ldapconf\n"
"        }\n"
"\n"
"...\n"
"\n"
"[domain_realm]\n"
"        .example.com = EXAMPLE.COM\n"
"\n"
"...\n"
"\n"
"[dbdefaults]\n"
"        ldap_kerberos_container_dn = dc=example,dc=com\n"
"\n"
"[dbmodules]\n"
"        openldap_ldapconf = {\n"
"                db_library = kldap\n"
"                ldap_kdc_dn = \"cn=admin,dc=example,dc=com\"\n"
"\n"
"                # this object needs to have read rights on\n"
"                # the realm container, principal container and realm sub-"
"trees\n"
"                ldap_kadmind_dn = \"cn=admin,dc=example,dc=com\"\n"
"\n"
"                # this object needs to have read and write rights on\n"
"                # the realm container, principal container and realm sub-"
"trees\n"
"                ldap_service_password_file = /etc/krb5kdc/service.keyfile\n"
"                ldap_servers = ldaps://ldap01.example.com "
"ldaps://ldap02.example.com\n"
"                ldap_conns_per_server = 5\n"
"        }\n"
msgstr ""

#: serverguide/C/network-auth.xml:2677(para)
msgid "Create the stash for the LDAP bind password:"
msgstr ""

#: serverguide/C/network-auth.xml:2688(para)
msgid ""
"Now, on the <emphasis>Primary KDC</emphasis> copy the "
"<filename>/etc/krb5kdc/.k5.EXAMPLE.COM</filename><emphasis>Master "
"Key</emphasis> stash to the Secondary KDC. Be sure to copy the file over an "
"encrypted connection such as <application>scp</application>, or on physical "
"media."
msgstr ""

#: serverguide/C/network-auth.xml:2695(command)
msgid "sudo scp /etc/krb5kdc/.k5.EXAMPLE.COM steve@kdc02.example.com:~"
msgstr ""

#: serverguide/C/network-auth.xml:2696(command)
msgid "sudo mv .k5.EXAMPLE.COM /etc/krb5kdc/"
msgstr ""

#: serverguide/C/network-auth.xml:2700(para)
msgid ""
"Again, replace <emphasis>EXAMPLE.COM</emphasis> with your actual realm."
msgstr ""

#: serverguide/C/network-auth.xml:2708(para)
msgid "Finally, start the <application>krb5-kdc</application> daemon:"
msgstr ""

#: serverguide/C/network-auth.xml:2719(para)
msgid ""
"You now have redundant KDCs on your network, and with redundant LDAP servers "
"you should be able to continue to authenticate users if one LDAP server, one "
"Kerberos server, or one LDAP and one Kerberos server become unavailable."
msgstr ""

#: serverguide/C/network-auth.xml:2731(para)
msgid ""
"The <ulink url=\"http://web.mit.edu/Kerberos/krb5-1.6/krb5-1.6.3/doc/krb5-"
"admin.html#Configuring-Kerberos-with-OpenLDAP-back_002dend\"> Kerberos Admin "
"Guide</ulink> has some additional details."
msgstr ""

#: serverguide/C/network-auth.xml:2737(para)
msgid ""
"For more information on <application>kdb5_ldap_util</application> see <ulink "
"url=\"http://web.mit.edu/Kerberos/krb5-1.6/krb5-1.6.3/doc/krb5-"
"admin.html#Global-Operations-on-the-Kerberos-LDAP-Database\"> Section "
"5.6</ulink> and the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man8/kdb5_ldap_util.8.htm"
"l\">kdb5_ldap_util man page</ulink>."
msgstr ""

#: serverguide/C/network-auth.xml:2745(para)
msgid ""
"Another useful link is the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man5/krb5.conf.5.html\">k"
"rb5.conf man page</ulink>."
msgstr ""

#: serverguide/C/mail.xml:13(title)
msgid "Email Services"
msgstr ""

#: serverguide/C/mail.xml:14(para)
msgid ""
"The process of getting an email from one person to another over a network or "
"the Internet involves many systems working together. Each of these systems "
"must be correctly configured for the process to work. The sender uses a "
"<emphasis>Mail User Agent</emphasis> (MUA), or email client, to send the "
"message through one or more <emphasis>Mail Transfer Agents</emphasis> (MTA), "
"the last of which will hand it off to a <emphasis>Mail Delivery "
"Agent</emphasis> (MDA) for delivery to the recipient's mailbox, from which "
"it will be retrieved by the recipient's email client, usually via a POP3 or "
"IMAP server."
msgstr ""

#: serverguide/C/mail.xml:24(title) serverguide/C/mail.xml:623(application) serverguide/C/mail.xml:657(title) serverguide/C/mail.xml:735(title) serverguide/C/mail.xml:1273(title)
msgid "Postfix"
msgstr ""

#: serverguide/C/mail.xml:25(para)
msgid ""
"<application>Postfix</application> is the default Mail Transfer Agent (MTA) "
"in Ubuntu. It attempts to be fast and easy to administer and secure. It is "
"compatible with the MTA <application>sendmail</application>. This section "
"explains how to install and configure <application>postfix</application>. It "
"also explains how to set it up as an SMTP server using a secure connection "
"(for sending emails securely)."
msgstr ""

#: serverguide/C/mail.xml:34(para)
msgid ""
"To install <application>postfix</application> run the following command:"
msgstr ""

#: serverguide/C/mail.xml:40(para)
msgid ""
"Simply press return when the installation process asks questions, the "
"configuration will be done in greater detail in the next stage."
msgstr ""

#: serverguide/C/mail.xml:45(title)
msgid "Basic Configuration"
msgstr ""

#: serverguide/C/mail.xml:46(para)
msgid ""
"To configure <application>postfix</application>, run the following command:"
msgstr ""

#: serverguide/C/mail.xml:50(command)
msgid "sudo dpkg-reconfigure postfix"
msgstr ""

#: serverguide/C/mail.xml:56(para)
msgid "Internet Site"
msgstr ""

#: serverguide/C/mail.xml:57(para)
msgid "mail.example.com"
msgstr ""

#: serverguide/C/mail.xml:58(para)
msgid "steve"
msgstr ""

#: serverguide/C/mail.xml:59(para)
msgid "mail.example.com, localhost.localdomain, localhost"
msgstr ""

#: serverguide/C/mail.xml:60(para)
msgid "No"
msgstr ""

#: serverguide/C/mail.xml:61(para)
msgid "127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0/24"
msgstr ""

#: serverguide/C/mail.xml:62(para)
msgid "0"
msgstr ""

#: serverguide/C/mail.xml:63(para)
msgid "+"
msgstr ""

#: serverguide/C/mail.xml:64(para)
msgid "all"
msgstr ""

#: serverguide/C/mail.xml:52(para)
msgid ""
"The user interface will be displayed. On each screen, select the following "
"values: <placeholder-1/>"
msgstr ""

#: serverguide/C/mail.xml:68(para)
msgid ""
"Replace mail.example.com with your mail server hostname, 192.168.0/24 with "
"the actual network and class range of your mail server, and steve with the "
"appropriate username."
msgstr ""

#: serverguide/C/mail.xml:76(title) serverguide/C/mail.xml:357(title)
msgid "SMTP Authentication"
msgstr ""

#: serverguide/C/mail.xml:78(para)
msgid ""
"SMTP-AUTH allows a client to identify itself through an authentication "
"mechanism (SASL). Transport Layer Security (TLS) should be used to encrypt "
"the authentication process. Once authenticated the SMTP server will allow "
"the client to relay mail."
msgstr ""

#: serverguide/C/mail.xml:84(para)
msgid ""
"Configuring <application>Postfix</application> for SMTP-AUTH is very simple "
"using the <application>dovecot-postfix</application> package. This package "
"will install <application>Dovecot</application> and configure "
"<application>Postfix</application> to use it for both SASL authentication "
"and as a Mail Delivery Agent (MDA). The package also configures "
"<application>Dovecot</application> for IMAP, IMAPS, POP3, and POP3S."
msgstr ""

#: serverguide/C/mail.xml:91(para)
msgid "To install the package, from a terminal prompt enter:"
msgstr ""

#: serverguide/C/mail.xml:96(command)
msgid "sudo apt-get install dovecot-postfix"
msgstr ""

#: serverguide/C/mail.xml:99(para)
msgid ""
"You should now have a working mail server, but there are a few options that "
"you may wish to further customize. For example, the package uses the "
"certificate and key from the <application>ssl-cert</application> package, "
"and in a production environment you should use a certificate and key "
"generated for the host. See <xref linkend=\"certificates-and-security\"/> "
"for more details."
msgstr ""

#: serverguide/C/mail.xml:105(para)
msgid ""
"Once you have a customized certificate and key for the host, change the "
"following options in <filename>/etc/postfix/main.cf</filename>:"
msgstr ""

#: serverguide/C/mail.xml:109(programlisting)
#, no-wrap
msgid ""
"\n"
"smtpd_tls_cert_file = /etc/ssl/certs/ssl-mail.pem\n"
"smtpd_tls_key_file = /etc/ssl/private/ssl-mail.key\n"
msgstr ""

#: serverguide/C/mail.xml:114(para)
msgid "Then restart Postfix:"
msgstr ""

#: serverguide/C/mail.xml:119(command) serverguide/C/mail.xml:182(command) serverguide/C/mail.xml:775(command) serverguide/C/mail.xml:1324(command)
msgid "sudo /etc/init.d/postfix restart"
msgstr ""

#: serverguide/C/mail.xml:125(para)
msgid ""
"SMTP-AUTH configuration is complete. Now it is time to test the setup."
msgstr ""

#: serverguide/C/mail.xml:128(para)
msgid "To see if SMTP-AUTH and TLS work properly, run the following command:"
msgstr ""

#: serverguide/C/mail.xml:133(command)
msgid "telnet mail.example.com 25"
msgstr ""

#: serverguide/C/mail.xml:135(para)
msgid ""
"After you have established the connection to the postfix mail server, type:"
msgstr ""

#: serverguide/C/mail.xml:139(screen)
#, no-wrap
msgid ""
"\n"
"ehlo mail.example.com\n"
msgstr ""

#: serverguide/C/mail.xml:142(para)
msgid ""
"If you see the following lines among others, then everything is working "
"perfectly. Type <command>quit</command> to exit."
msgstr ""

#: serverguide/C/mail.xml:146(programlisting)
#, no-wrap
msgid ""
"\n"
"250-STARTTLS\n"
"250-AUTH LOGIN PLAIN\n"
"250-AUTH=LOGIN PLAIN\n"
"250 8BITMIME\n"
msgstr ""

#: serverguide/C/mail.xml:156(para)
msgid ""
"This section introduces some common ways to determine the cause if problems "
"arise."
msgstr ""

#: serverguide/C/mail.xml:160(title)
msgid "Escaping chroot"
msgstr ""

#: serverguide/C/mail.xml:161(para)
msgid ""
"The Ubuntu <application>postfix</application> package will by default "
"install into a <emphasis>chroot</emphasis> environment for security reasons. "
"This can add greater complexity when troubleshooting problems."
msgstr ""

#: serverguide/C/mail.xml:165(para)
msgid ""
"To turn off the chroot operation locate for the following line in the "
"<filename>/etc/postfix/master.cf</filename> configuration file:"
msgstr ""

#: serverguide/C/mail.xml:169(screen)
#, no-wrap
msgid ""
"\n"
"smtp      inet  n       -       -       -       -       smtpd\n"
msgstr ""

#: serverguide/C/mail.xml:172(para)
msgid "and modify it as follows:"
msgstr ""

#: serverguide/C/mail.xml:175(screen)
#, no-wrap
msgid ""
"\n"
"smtp      inet  n       -       n       -       -       smtpd\n"
msgstr ""

#: serverguide/C/mail.xml:178(para)
msgid ""
"You will then need to restart Postfix to use the new configuration. From a "
"terminal prompt enter:"
msgstr ""

#: serverguide/C/mail.xml:186(title)
msgid "Log Files"
msgstr ""

#: serverguide/C/mail.xml:187(para)
msgid ""
"<application>Postfix</application> sends all log messages to "
"<filename>/var/log/mail.log</filename>. However error and warning messages "
"can sometimes get lost in the normal log output so they are also logged to "
"<filename>/var/log/mail.err</filename> and "
"<filename>/var/log/mail.warn</filename> respectively."
msgstr ""

#: serverguide/C/mail.xml:192(para)
msgid ""
"To see messages entered into the logs in real time you can use the "
"<application>tail -f</application> command:"
msgstr ""

#: serverguide/C/mail.xml:197(command)
msgid "tail -f /var/log/mail.err"
msgstr ""

#: serverguide/C/mail.xml:199(para)
msgid ""
"The amount of detail that is recorded in the logs can be increased. Below "
"are some configuration options for increasing the log level for some of the "
"areas covered above."
msgstr ""

#: serverguide/C/mail.xml:205(para)
msgid ""
"To increase <emphasis>TLS</emphasis> activity logging set the "
"<emphasis>smtpd_tls_loglevel</emphasis> option to a value from 1 to 4."
msgstr ""

#: serverguide/C/mail.xml:209(command)
msgid "sudo postconf -e 'smtpd_tls_loglevel = 4'"
msgstr ""

#: serverguide/C/mail.xml:213(para)
msgid ""
"If you are having trouble sending or receiving mail from a specific domain "
"you can add the domain to the <emphasis>debug_peer_list</emphasis> parameter."
msgstr ""

#: serverguide/C/mail.xml:218(command)
msgid "sudo postconf -e 'debug_peer_list = problem.domain'"
msgstr ""

#: serverguide/C/mail.xml:222(para)
msgid ""
"You can increase the verbosity of any <application>Postfix</application> "
"daemon process by editing the <filename>/etc/postfix/master.cf</filename> "
"and adding a <emphasis>-v</emphasis> after the entry. For example edit the "
"<emphasis>smtp</emphasis> entry:"
msgstr ""

#: serverguide/C/mail.xml:226(programlisting)
#, no-wrap
msgid ""
"\n"
"smtp      unix  -       -       -       -       -       smtp -v\n"
msgstr ""

#: serverguide/C/mail.xml:232(para)
msgid ""
"It is important to note that after making one of the logging changes above "
"the <application>Postfix</application> process will need to be reloaded in "
"order to recognize the new configuration: <command>sudo /etc/init.d/postfix "
"reload</command>"
msgstr ""

#: serverguide/C/mail.xml:239(para)
msgid ""
"To increase the amount of information logged when troubleshooting "
"<emphasis>SASL</emphasis> issues you can set the following options in "
"<filename>/etc/dovecot/dovecot.conf</filename>"
msgstr ""

#: serverguide/C/mail.xml:243(programlisting)
#, no-wrap
msgid ""
"\n"
"auth_debug=yes\n"
"auth_debug_passwords=yes\n"
msgstr ""

#: serverguide/C/mail.xml:250(para)
msgid ""
"Just like <application>Postfix</application> if you change a "
"<application>Dovecot</application> configuration the process will need to be "
"reloaded: <command>sudo /etc/init.d/dovecot reload</command>."
msgstr ""

#: serverguide/C/mail.xml:256(para)
msgid ""
"Some of the options above can drastically increase the amount of information "
"sent to the log files. Remember to return the log level back to normal after "
"you have corrected the problem. Then reload the appropriate daemon for the "
"new configuration to take affect."
msgstr ""

#: serverguide/C/mail.xml:264(para)
msgid ""
"Administering a <application>Postfix</application> server can be a very "
"complicated task. At some point you may need to turn to the Ubuntu community "
"for more experienced help."
msgstr ""

#: serverguide/C/mail.xml:268(para)
msgid ""
"A great place to ask for <application>Postfix</application> assistance, and "
"get involved with the Ubuntu Server community, is the <emphasis>#ubuntu-"
"server</emphasis> IRC channel on <ulink "
"url=\"http://freenode.net\">freenode</ulink>. You can also post a message to "
"one of the <ulink "
"url=\"http://www.ubuntu.com/support/community/webforums\">Web Forums</ulink>."
msgstr ""

#: serverguide/C/mail.xml:273(para)
msgid ""
"For in depth <application>Postfix</application> information Ubuntu "
"developers highly recommend: <ulink url=\"http://www.postfix-book.com/\">The "
"Book of Postfix</ulink>."
msgstr ""

#: serverguide/C/mail.xml:277(para)
msgid ""
"Finally, the <ulink "
"url=\"http://www.postfix.org/documentation.html\">Postfix</ulink> website "
"also has great documentation on all the different configuration options "
"available."
msgstr ""

#: serverguide/C/mail.xml:286(title) serverguide/C/mail.xml:663(title) serverguide/C/mail.xml:779(title)
msgid "Exim4"
msgstr ""

#: serverguide/C/mail.xml:287(para)
msgid ""
"<application>Exim4</application> is another Message Transfer Agent (MTA) "
"developed at the University of Cambridge for use on Unix systems connected "
"to the Internet. Exim can be installed in place of "
"<application>sendmail</application>, although the configuration of "
"<application>exim</application> is quite different to that of "
"<application>sendmail</application>."
msgstr ""

#: serverguide/C/mail.xml:298(para)
msgid ""
"To install <application>exim4</application>, run the following command: "
"<screen>\n"
"<command>sudo apt-get install exim4</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/mail.xml:307(para)
msgid ""
"To configure <application>Exim4</application>, run the following command:"
msgstr ""

#: serverguide/C/mail.xml:311(command)
msgid "sudo dpkg-reconfigure exim4-config"
msgstr ""

#: serverguide/C/mail.xml:313(para)
msgid ""
"The user interface will be displayed. The user interface lets you configure "
"many parameters. For example, In <application>Exim4</application> the "
"configuration files are split among multiple files. If you wish to have them "
"in one file you can configure accordingly in this user interface."
msgstr ""

#: serverguide/C/mail.xml:321(para)
msgid ""
"All the parameters you configure in the user interface are stored in "
"<filename>/etc/exim4/update-exim4.conf.conf</filename> file. If you wish to "
"re-configure, either you re-run the configuration wizard or manually edit "
"this file using your favourite editor. Once you configure, you can run the "
"following command to generate the master configuration file:"
msgstr ""

#: serverguide/C/mail.xml:332(command) serverguide/C/mail.xml:405(command)
msgid "sudo update-exim4.conf"
msgstr ""

#: serverguide/C/mail.xml:334(para)
msgid ""
"The master configuration file, is generated and it is stored in "
"<filename>/var/lib/exim4/config.autogenerated</filename>."
msgstr ""

#: serverguide/C/mail.xml:340(para)
msgid ""
"At any time, you should not edit the master configuration file, "
"<filename>/var/lib/exim4/config.autogenerated</filename> manually. It is "
"updated automatically every time you run <command>update-exim4.conf</command>"
msgstr ""

#: serverguide/C/mail.xml:348(para)
msgid ""
"You can run the following command to start <application>Exim4</application> "
"daemon."
msgstr ""

#: serverguide/C/mail.xml:353(command) serverguide/C/mail.xml:785(command)
msgid "sudo /etc/init.d/exim4 start"
msgstr ""

#: serverguide/C/mail.xml:358(para)
msgid ""
"This section covers configuring Exim4 to use SMTP-AUTH with TLS and SASL."
msgstr ""

#: serverguide/C/mail.xml:361(para)
msgid ""
"The first step is to create a certificate for use with TLS. Enter the "
"following into a terminal prompt:"
msgstr ""

#: serverguide/C/mail.xml:365(command)
msgid "sudo /usr/share/doc/exim4-base/examples/exim-gencert"
msgstr ""

#: serverguide/C/mail.xml:367(para)
msgid ""
"Now Exim4 needs to be configured for TLS by editing "
"<filename>/etc/exim4/conf.d/main/03_exim4-config_tlsoptions</filename> add "
"the following:"
msgstr ""

#: serverguide/C/mail.xml:371(programlisting)
#, no-wrap
msgid ""
"\n"
"MAIN_TLS_ENABLE = yes\n"
msgstr ""

#: serverguide/C/mail.xml:374(para)
msgid ""
"Next you need to configure <application>Exim4</application> to use the "
"<application>saslauthd</application> for authentication. Edit "
"<filename>/etc/exim4/conf.d/auth/30_exim4-config_examples</filename> and "
"uncomment the <emphasis>plain_saslauthd_server</emphasis> and "
"<emphasis>login_saslauthd_server</emphasis> sections:"
msgstr ""

#: serverguide/C/mail.xml:379(programlisting)
#, no-wrap
msgid ""
"\n"
" plain_saslauthd_server:\n"
"   driver = plaintext\n"
"   public_name = PLAIN\n"
"   server_condition = ${if saslauthd{{$auth2}{$auth3}}{1}{0}}\n"
"   server_set_id = $auth2\n"
"   server_prompts = :\n"
"   .ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS\n"
"   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}\n"
"   .endif\n"
"#\n"
" login_saslauthd_server:\n"
"   driver = plaintext\n"
"   public_name = LOGIN\n"
"   server_prompts = \"Username:: : Password::\"\n"
"   # don't send system passwords over unencrypted connections\n"
"   server_condition = ${if saslauthd{{$auth1}{$auth2}}{1}{0}}\n"
"   server_set_id = $auth1\n"
"   .ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS\n"
"   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}\n"
"   .endif\n"
msgstr ""

#: serverguide/C/mail.xml:401(para)
msgid "Finally, update the Exim4 configuration and restart the service:"
msgstr ""

#: serverguide/C/mail.xml:406(command)
msgid "sudo /etc/init.d/exim4 restart"
msgstr ""

#: serverguide/C/mail.xml:410(title)
msgid "Configuring SASL"
msgstr ""

#: serverguide/C/mail.xml:411(para)
msgid ""
"This section provides details on configuring the saslauthd to provide "
"authentication for <application>Exim4</application>."
msgstr ""

#: serverguide/C/mail.xml:414(para)
msgid ""
"The first step is to install the sasl2-bin package. From a terminal prompt "
"enter the following:"
msgstr ""

#: serverguide/C/mail.xml:418(command)
msgid "sudo apt-get install sasl2-bin"
msgstr ""

#: serverguide/C/mail.xml:420(para)
msgid ""
"To configure saslauthd edit the /etc/default/saslauthd configuration file "
"and set START=no to:"
msgstr ""

#: serverguide/C/mail.xml:423(programlisting)
#, no-wrap
msgid ""
"\n"
"START=yes\n"
msgstr ""

#: serverguide/C/mail.xml:426(para)
msgid ""
"Next the <emphasis>Debian-exim</emphasis> user needs to be part of the "
"<emphasis>sasl</emphasis> group in order for Exim4 to use the saslauthd "
"service:"
msgstr ""

#: serverguide/C/mail.xml:431(command)
msgid "sudo adduser Debian-exim sasl"
msgstr ""

#: serverguide/C/mail.xml:433(para)
msgid "Now start the <application>saslauthd</application> service:"
msgstr ""

#: serverguide/C/mail.xml:437(command)
msgid "sudo /etc/init.d/saslauthd start"
msgstr ""

#: serverguide/C/mail.xml:439(para)
msgid ""
"<application>Exim4</application> is now configured with SMTP-AUTH using TLS "
"and SASL authentication."
msgstr ""

#: serverguide/C/mail.xml:448(para)
msgid ""
"See <ulink url=\"http://www.exim.org/\">exim.org</ulink> for more "
"information."
msgstr ""

#: serverguide/C/mail.xml:453(para)
msgid ""
"There is also an <ulink url=\"http://www.uit.co.uk/content/exim-smtp-mail-"
"server\">Exim4 Book</ulink> available."
msgstr ""

#: serverguide/C/mail.xml:462(title)
msgid "Dovecot Server"
msgstr ""

#: serverguide/C/mail.xml:463(para)
msgid ""
"<application>Dovecot</application> is a Mail Delivery Agent, written with "
"security primarily in mind. It supports the major mailbox formats: mbox or "
"Maildir. This section explain how to set it up as an imap or pop3 server."
msgstr ""

#: serverguide/C/mail.xml:471(para)
msgid ""
"To install <application>dovecot</application>, run the following command in "
"the command prompt:"
msgstr ""

#: serverguide/C/mail.xml:476(command)
msgid "sudo apt-get install dovecot-imapd dovecot-pop3d"
msgstr ""

#: serverguide/C/mail.xml:481(para)
msgid ""
"To configure <application>dovecot</application>, you can edit the file "
"<filename>/etc/dovecot/dovecot.conf</filename>. You can choose the protocol "
"you use. It could be pop3, pop3s (pop3 secure), imap and imaps (imap "
"secure). A description of these protocols is beyond the scope of this guide. "
"For further information, refer to the Wikipedia articles on <ulink "
"url=\"http://en.wikipedia.org/wiki/POP3\">POP3</ulink> and <ulink "
"url=\"http://en.wikipedia.org/wiki/Internet_Message_Access_Protocol\">IMAP</u"
"link>."
msgstr ""

#: serverguide/C/mail.xml:491(para)
msgid ""
"IMAPS and POP3S are more secure that the simple IMAP and POP3 because they "
"use SSL encryption to connect. Once you have chosen the protocol, amend the "
"following line in the file <filename>/etc/dovecot/dovecot.conf</filename>:"
msgstr ""

#: serverguide/C/mail.xml:497(programlisting)
#, no-wrap
msgid ""
"\n"
"protocols = pop3 pop3s imap imaps\n"
msgstr ""

#: serverguide/C/mail.xml:500(para)
msgid ""
"Next, choose the mailbox you would like to use. "
"<application>Dovecot</application> supports <emphasis "
"role=\"strong\">maildir</emphasis> and <emphasis "
"role=\"strong\">mbox</emphasis> formats. These are the most commonly used "
"mailbox formats. They both have their own benefits and are discussed on "
"<ulink url=\"http://wiki.dovecot.org/MailboxFormat\">the Dovecot web "
"site</ulink>."
msgstr ""

#: serverguide/C/mail.xml:508(para)
msgid ""
"Once you have chosen your mailbox type, edit the file "
"<filename>/etc/dovecot/dovecot.conf</filename> and change the following line:"
msgstr ""

#: serverguide/C/mail.xml:513(programlisting)
#, no-wrap
msgid ""
"\n"
"mail_location = maildir:~/Maildir # (for maildir)\n"
"or\n"
"mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u # (for mbox)\n"
msgstr ""

#: serverguide/C/mail.xml:519(para)
msgid ""
"You should configure your Mail Transport Agent (MTA) to transfer the "
"incoming mail to this type of mailbox if it is different from the one you "
"have configured."
msgstr ""

#: serverguide/C/mail.xml:525(para)
msgid ""
"Once you have configured dovecot, restart the "
"<application>dovecot</application> daemon in order to test your setup:"
msgstr ""

#: serverguide/C/mail.xml:531(command)
msgid "sudo /etc/init.d/dovecot restart"
msgstr ""

#: serverguide/C/mail.xml:534(para)
msgid ""
"If you have enabled imap, or pop3, you can also try to log in with the "
"commands <command>telnet localhost pop3</command> or <command>telnet "
"localhost imap2</command>. If you see something like the following, the "
"installation has been successful:"
msgstr ""

#: serverguide/C/mail.xml:541(programlisting)
#, no-wrap
msgid ""
"\n"
"bhuvan@rainbow:~$ telnet localhost pop3\n"
"Trying 127.0.0.1...\n"
"Connected to localhost.localdomain.\n"
"Escape character is '^]'.\n"
"+OK Dovecot ready.\n"
msgstr ""

#: serverguide/C/mail.xml:550(title)
msgid "Dovecot SSL Configuration"
msgstr ""

#: serverguide/C/mail.xml:551(para)
msgid ""
"To configure <application>dovecot</application> to use SSL, you can edit the "
"file <filename>/etc/dovecot/dovecot.conf</filename> and amend following "
"lines:"
msgstr ""

#: serverguide/C/mail.xml:556(programlisting)
#, no-wrap
msgid ""
"\n"
"ssl_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem\n"
"ssl_key_file = /etc/ssl/private/ssl-cert-snakeoil.key\n"
"ssl_disable = no\n"
"disable_plaintext_auth = no\n"
msgstr ""

#: serverguide/C/mail.xml:562(para)
msgid ""
"You can get the SSL certificate from a Certificate Issuing Authority or you "
"can create self signed SSL certificate. The latter is a good option for "
"email, because SMTP clients rarely complain about \"self-signed "
"certificates\". Please refer to <xref linkend=\"certificates-and-"
"security\"/> for details about how to create self signed SSL certificate. "
"Once you create the certificate, you will have a key file and a certificate "
"file. Please copy them to the location pointed in the "
"<filename>/etc/dovecot/dovecot.conf</filename> configuration file."
msgstr ""

#: serverguide/C/mail.xml:577(title)
msgid "Firewall Configuration for an Email Server"
msgstr ""

#: serverguide/C/mail.xml:583(para)
msgid "IMAP - 143"
msgstr ""

#: serverguide/C/mail.xml:584(para)
msgid "IMAPS - 993"
msgstr ""

#: serverguide/C/mail.xml:585(para)
msgid "POP3 - 110"
msgstr ""

#: serverguide/C/mail.xml:586(para)
msgid "POP3S - 995"
msgstr ""

#: serverguide/C/mail.xml:578(para)
msgid ""
"To access your mail server from another computer, you must configure your "
"firewall to allow connections to the server on the necessary ports. "
"<placeholder-1/>"
msgstr ""

#: serverguide/C/mail.xml:595(para)
msgid ""
"See the <ulink url=\"http://www.dovecot.org/\">Dovecot website</ulink> for "
"more information."
msgstr ""

#: serverguide/C/mail.xml:604(title) serverguide/C/mail.xml:681(title) serverguide/C/mail.xml:904(title)
msgid "Mailman"
msgstr ""

#: serverguide/C/mail.xml:605(para)
msgid ""
"Mailman is an open source program for managing electronic mail discussions "
"and e-newsletter lists. Many open source mailing lists (including all the "
"<ulink url=\"http://lists.ubuntu.com\">Ubuntu mailing lists</ulink>) use "
"Mailman as their mailing list software. It is powerful and easy to install "
"and maintain."
msgstr ""

#: serverguide/C/mail.xml:615(para)
msgid ""
"Mailman provides a web interface for the administrators and users, using an "
"external mail server to send and receive emails. It works perfectly with the "
"following mail servers:"
msgstr ""

#: serverguide/C/mail.xml:626(application)
msgid "Exim"
msgstr ""

#: serverguide/C/mail.xml:629(application)
msgid "Sendmail"
msgstr ""

#: serverguide/C/mail.xml:632(application)
msgid "Qmail"
msgstr ""

#: serverguide/C/mail.xml:637(para)
msgid ""
"We will see how to install and configure Mailman with, the Apache web "
"server, and either the Postfix or Exim mail server. If you wish to install "
"Mailman with a different mail server, please refer to the references section."
msgstr ""

#: serverguide/C/mail.xml:644(para)
msgid ""
"You only need to install one mail server and "
"<application>Postfix</application> is the default Ubuntu Mail Transfer Agent."
msgstr ""

#: serverguide/C/mail.xml:649(title) serverguide/C/mail.xml:708(title)
msgid "Apache2"
msgstr ""

#: serverguide/C/mail.xml:650(para)
msgid ""
"To install apache2 you refer to <ulink url=\"./web-servers.xml#http-"
"installation\">HTTPD Installation</ulink> section for details."
msgstr ""

#: serverguide/C/mail.xml:658(para)
msgid ""
"For instructions on installing and configuring Postfix refer to <xref "
"linkend=\"postfix\"/>"
msgstr ""

#: serverguide/C/mail.xml:664(para)
msgid "To install Exim4 refer to <xref linkend=\"exim4\"/>."
msgstr ""

#: serverguide/C/mail.xml:675(application)
msgid "dc_use_split_config='true'"
msgstr ""

#: serverguide/C/mail.xml:667(para)
msgid ""
"Once exim4 is installed, the configuration files are stored in the "
"<filename>/etc/exim4</filename> directory. In Ubuntu, by default, the exim4 "
"configuration files are split across different files. You can change this "
"behavior by changing the following variable in the "
"<filename>/etc/exim4/update-exim4.conf</filename> file: <placeholder-1/>"
msgstr ""

#: serverguide/C/mail.xml:682(para)
msgid ""
"To install <application>Mailman</application>, run following command at a "
"terminal prompt:"
msgstr ""

#: serverguide/C/mail.xml:686(command)
msgid "sudo apt-get install mailman"
msgstr ""

#: serverguide/C/mail.xml:688(para)
msgid ""
"It copies the installation files in "
"<application>/var/lib/mailman</application> directory. It installs the CGI "
"scripts in <application>/usr/lib/cgi-bin/mailman</application> directory. It "
"creates <emphasis>list</emphasis> linux user. It creates the "
"<emphasis>list</emphasis> linux group. The mailman process will be owned by "
"this user."
msgstr ""

#: serverguide/C/mail.xml:700(para)
msgid ""
"This section assumes you have successfully installed "
"<application>mailman</application>, <application>apache2</application>, and "
"<application>postfix</application> or <application>exim4</application>. Now "
"you just need to configure them."
msgstr ""

#: serverguide/C/mail.xml:709(para)
msgid ""
"An example Apache configuration file comes with "
"<application>Mailman</application> and is placed in "
"<filename>/etc/mailman/apache.conf</filename>. In order for Apache to use "
"the config file it needs to be copied to <filename>/etc/apache2/sites-"
"available</filename>:"
msgstr ""

#: serverguide/C/mail.xml:715(command)
msgid ""
"sudo cp /etc/mailman/apache.conf /etc/apache2/sites-available/mailman.conf"
msgstr ""

#: serverguide/C/mail.xml:717(para)
msgid ""
"This will setup a new Apache <emphasis>VirtualHost</emphasis> for the "
"Mailman administration site. Now enable the new configuration and restart "
"Apache:"
msgstr ""

#: serverguide/C/mail.xml:722(command)
msgid "sudo a2ensite mailman.conf"
msgstr ""

#: serverguide/C/mail.xml:725(para)
msgid ""
"Mailman uses apache2 to render its CGI scripts. The mailman CGI scripts are "
"installed in the <application>/usr/lib/cgi-bin/mailman</application> "
"directory. So, the mailman url will be http://hostname/cgi-bin/mailman/. You "
"can make changes to the <filename>/etc/apache2/sites-"
"available/mailman.conf</filename> file if you wish to change this behavior."
msgstr ""

#: serverguide/C/mail.xml:736(para)
msgid ""
"For <application>Postfix</application> integration, we will associate the "
"domain lists.example.com with the mailing lists. Please replace "
"<emphasis>lists.example.com</emphasis> with the domain of your choosing."
msgstr ""

#: serverguide/C/mail.xml:740(para)
msgid ""
"You can use the postconf command to add the necessary configuration to "
"<filename>/etc/postfix/main.cf</filename>:"
msgstr ""

#: serverguide/C/mail.xml:744(command)
msgid "sudo postconf -e 'relay_domains = lists.example.com'"
msgstr ""

#: serverguide/C/mail.xml:745(command)
msgid "sudo postconf -e 'transport_maps = hash:/etc/postfix/transport'"
msgstr ""

#: serverguide/C/mail.xml:746(command)
msgid "sudo postconf -e 'mailman_destination_recipient_limit = 1'"
msgstr ""

#: serverguide/C/mail.xml:748(para)
msgid ""
"In <filename>/etc/postfix/master.cf</filename> double check that you have "
"the following transport:"
msgstr ""

#: serverguide/C/mail.xml:751(programlisting)
#, no-wrap
msgid ""
"\n"
"mailman   unix  -       n       n       -       -       pipe\n"
"  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py\n"
"  ${nexthop} ${user}\n"
msgstr ""

#: serverguide/C/mail.xml:756(para)
msgid ""
"It calls the <emphasis>postfix-to-mailman.py</emphasis> script when a mail "
"is delivered to a list."
msgstr ""

#: serverguide/C/mail.xml:759(para)
msgid ""
"Associate the domain lists.example.com to the Mailman transport with the "
"transport map. Edit the file <filename>/etc/postfix/transport</filename>:"
msgstr ""

#: serverguide/C/mail.xml:762(programlisting)
#, no-wrap
msgid ""
"\n"
"lists.example.com      mailman:\n"
msgstr ""

#: serverguide/C/mail.xml:765(para)
msgid ""
"Now have <application>Postfix</application> build the transport map by "
"entering the following from a terminal prompt:"
msgstr ""

#: serverguide/C/mail.xml:769(command)
msgid "sudo postmap -v /etc/postfix/transport"
msgstr ""

#: serverguide/C/mail.xml:771(para)
msgid "Then restart Postfix to enable the new configurations:"
msgstr ""

#: serverguide/C/mail.xml:780(para)
msgid ""
"Once Exim4 is installed, you can start the Exim server using the following "
"command from a terminal prompt:"
msgstr ""

#: serverguide/C/mail.xml:796(para) serverguide/C/mail.xml:811(title)
msgid "Main"
msgstr ""

#: serverguide/C/mail.xml:799(para) serverguide/C/mail.xml:851(title)
msgid "Transport"
msgstr ""

#: serverguide/C/mail.xml:802(para) serverguide/C/mail.xml:874(title)
msgid "Router"
msgstr ""

#: serverguide/C/mail.xml:787(para)
msgid ""
"In order to make mailman work with Exim4, you need to configure Exim4. As "
"mentioned earlier, by default, Exim4 uses multiple configuration files of "
"different types. For details, please refer to the <ulink "
"url=\"http://www.exim.org\">Exim</ulink> web site. To run mailman, we should "
"add new a configuration file to the following configuration types: "
"<placeholder-1/> Exim creates a master configuration file by sorting all "
"these mini configuration files. So, the order of these configuration files "
"is very important."
msgstr ""

#: serverguide/C/mail.xml:818(programlisting)
#, no-wrap
msgid ""
"\n"
"# start\n"
"# Home dir for your Mailman installation -- aka Mailman's prefix\n"
"# directory.\n"
"# On Ubuntu this should be \"/var/lib/mailman\"\n"
"# This is normally the same as ~mailman\n"
"MM_HOME=/var/lib/mailman\n"
"#\n"
"# User and group for Mailman, should match your --with-mail-gid\n"
"# switch to Mailman's configure script.  Value is normally \"mailman\"\n"
"MM_UID=list\n"
"MM_GID=list\n"
"#\n"
"# Domains that your lists are in - colon separated list\n"
"# you may wish to add these into local_domains as well\n"
"domainlist mm_domains=hostname.com\n"
"#\n"
"# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n"
"#\n"
"# These values are derived from the ones above and should not need\n"
"# editing unless you have munged your mailman installation\n"
"#\n"
"# The path of the Mailman mail wrapper script\n"
"MM_WRAP=MM_HOME/mail/mailman\n"
"#\n"
"# The path of the list config file (used as a required file when\n"
"# verifying list addresses)\n"
"MM_LISTCHK=MM_HOME/lists/${lc::$local_part}/config.pck\n"
"# end\n"
msgstr ""

#: serverguide/C/mail.xml:812(para)
msgid ""
"All the configuration files belonging to the main type are stored in the "
"<filename>/etc/exim4/conf.d/main/</filename> directory. You can add the "
"following content to a new file, named <filename>04_exim4-"
"config_mailman</filename>: <placeholder-1/>"
msgstr ""

#: serverguide/C/mail.xml:858(programlisting)
#, no-wrap
msgid ""
"\n"
"  mailman_transport:\n"
"   driver = pipe\n"
"   command = MM_WRAP \\\n"
"               '${if def:local_part_suffix \\\n"
"                     {${sg{$local_part_suffix}{-(\\\\w+)(\\\\+.*)?}{\\$1}}} "
"\\\n"
"                     {post}}' \\\n"
"               $local_part\n"
"    current_directory = MM_HOME\n"
"    home_directory = MM_HOME\n"
"    user = MM_UID\n"
"    group = MM_GID\n"
msgstr ""

#: serverguide/C/mail.xml:852(para)
msgid ""
"All the configuration files belonging to transport type are stored in the "
"<filename>/etc/exim4/conf.d/transport/</filename> directory. You can add the "
"following content to a new file named <filename> 40_exim4-"
"config_mailman</filename>: <placeholder-1/>"
msgstr ""

#: serverguide/C/mail.xml:879(programlisting)
#, no-wrap
msgid ""
"\n"
"  mailman_router:\n"
"   driver = accept\n"
"   require_files = MM_HOME/lists/$local_part/config.pck\n"
"   local_part_suffix_optional\n"
"   local_part_suffix = -bounces : -bounces+* : \\\n"
"                       -confirm+* : -join : -leave : \\\n"
"                       -owner : -request : -admin\n"
"   transport = mailman_transport\n"
msgstr ""

#: serverguide/C/mail.xml:875(para)
msgid ""
"All the configuration files belonging to router type are stored in the "
"<filename>/etc/exim4/conf.d/router/</filename> directory. You can add the "
"following content in to a new file named <filename>101_exim4-"
"config_mailman</filename>: <placeholder-1/>"
msgstr ""

#: serverguide/C/mail.xml:892(para)
msgid ""
"The order of main and transport configuration files can be in any order. "
"But, the order of router configuration files must be the same. This "
"particular file must appear before the <application>200_exim4-"
"config_primary</application> file. These two configuration files contain "
"same type of information. The first file takes the precedence. For more "
"details, please refer to the references section."
msgstr ""

#: serverguide/C/mail.xml:905(para)
msgid ""
"Once mailman is installed, you can run it using the following command:"
msgstr ""

#: serverguide/C/mail.xml:909(command)
msgid "sudo /etc/init.d/mailman start"
msgstr ""

#: serverguide/C/mail.xml:911(para)
msgid ""
"Once mailman is installed, you should create the default mailing list. Run "
"the following command to create the mailing list:"
msgstr ""

#: serverguide/C/mail.xml:917(command)
msgid "sudo /usr/sbin/newlist mailman"
msgstr ""

#: serverguide/C/mail.xml:920(programlisting)
#, no-wrap
msgid ""
"\n"
"  Enter the email address of the person running the list: bhuvan at "
"ubuntu.com\n"
"  Initial mailman password:\n"
"  To finish creating your mailing list, you must edit your "
"<filename>/etc/aliases</filename> (or\n"
"  equivalent) file by adding the following lines, and possibly running the\n"
"  `newaliases' program:\n"
"\n"
"  ## mailman mailing list\n"
"  mailman:              \"|/var/lib/mailman/mail/mailman post mailman\"\n"
"  mailman-admin:        \"|/var/lib/mailman/mail/mailman admin mailman\"\n"
"  mailman-bounces:      \"|/var/lib/mailman/mail/mailman bounces mailman\"\n"
"  mailman-confirm:      \"|/var/lib/mailman/mail/mailman confirm mailman\"\n"
"  mailman-join:         \"|/var/lib/mailman/mail/mailman join mailman\"\n"
"  mailman-leave:        \"|/var/lib/mailman/mail/mailman leave mailman\"\n"
"  mailman-owner:        \"|/var/lib/mailman/mail/mailman owner mailman\"\n"
"  mailman-request:      \"|/var/lib/mailman/mail/mailman request mailman\"\n"
"  mailman-subscribe:    \"|/var/lib/mailman/mail/mailman subscribe "
"mailman\"\n"
"  mailman-unsubscribe:  \"|/var/lib/mailman/mail/mailman unsubscribe "
"mailman\"\n"
"\n"
"  Hit enter to notify mailman owner...\n"
"\n"
"  # \n"
msgstr ""

#: serverguide/C/mail.xml:943(para)
msgid ""
"We have configured either Postfix or Exim4 to recognize all emails from "
"mailman. So, it is not mandatory to make any new entries in "
"<filename>/etc/aliases</filename>. If you have made any changes to the "
"configuration files, please ensure that you restart those services before "
"continuing to next section."
msgstr ""

#: serverguide/C/mail.xml:953(title)
msgid "Administration"
msgstr ""

#: serverguide/C/mail.xml:954(para)
msgid ""
"We assume you have a default installation. The mailman cgi scripts are still "
"in the <application>/usr/lib/cgi-bin/mailman/</application> directory. "
"Mailman provides a web based administration facility. To access this page, "
"point your browser to the following url:"
msgstr ""

#: serverguide/C/mail.xml:962(para)
msgid "http://hostname/cgi-bin/mailman/admin"
msgstr ""

#: serverguide/C/mail.xml:966(para)
msgid ""
"The default mailing list, <emphasis>mailman</emphasis>, will appear in this "
"screen. If you click the mailing list name, it will ask for your "
"authentication password. If you enter the correct password, you will be able "
"to change administrative settings of this mailing list. You can create a new "
"mailing list using the command line utility "
"(<command>/usr/sbin/newlist</command>). Alternatively, you can create a new "
"mailing list using the web interface."
msgstr ""

#: serverguide/C/mail.xml:979(title)
msgid "Users"
msgstr ""

#: serverguide/C/mail.xml:980(para)
msgid ""
"Mailman provides a web based interface for users. To access this page, point "
"your browser to the following url:"
msgstr ""

#: serverguide/C/mail.xml:985(para)
msgid "http://hostname/cgi-bin/mailman/listinfo"
msgstr ""

#: serverguide/C/mail.xml:989(para)
msgid ""
"The default mailing list, <emphasis>mailman</emphasis>, will appear in this "
"screen. If you click the mailing list name, it will display the subscription "
"form. You can enter your email address, name (optional), and password to "
"subscribe. An email invitation will be sent to you. You can follow the "
"instructions in the email to subscribe."
msgstr ""

#: serverguide/C/mail.xml:1001(ulink)
msgid "GNU Mailman - Installation Manual"
msgstr ""

#: serverguide/C/mail.xml:1005(ulink)
msgid "HOWTO - Using Exim 4 and Mailman 2.1 together"
msgstr ""

#: serverguide/C/mail.xml:1011(title)
msgid "Mail Filtering"
msgstr ""

#: serverguide/C/mail.xml:1012(para)
msgid ""
"One of the largest issues with email today is the problem of Unsolicited "
"Bulk Email (UBE). Also known as SPAM, such messages may also carry viruses "
"and other forms of malware. According to some reports these messages make up "
"the bulk of all email traffic on the Internet."
msgstr ""

#: serverguide/C/mail.xml:1017(para)
msgid ""
"This section will cover integrating <application>Amavisd-new</application>, "
"<application>Spamassassin</application>, and "
"<application>ClamAV</application> with the "
"<application>Postfix</application> Mail Transport Agent (MTA). "
"<application>Postfix</application> can also check email validity by passing "
"it through external content filters. These filters can sometimes determine "
"if a message is spam without needing to process it with more resource "
"intensive applications. Two common filters are <application>dkim-"
"filter</application> and <application>python-policyd-spf</application>."
msgstr ""

#: serverguide/C/mail.xml:1027(para)
msgid ""
"<application>Amavisd-new</application> is a wrapper program that can call "
"any number of content filtering programs for spam detection, antivirus, etc."
msgstr ""

#: serverguide/C/mail.xml:1033(para)
msgid ""
"<application>Spamassassin</application> uses a variety of mechanisms to "
"filter email based on the message content."
msgstr ""

#: serverguide/C/mail.xml:1038(para)
msgid ""
"<application>ClamAV</application> is an open source antivirus application."
msgstr ""

#: serverguide/C/mail.xml:1043(para)
msgid ""
"<application>dkim-filter</application> implements a Sendmail Mail Filter "
"(Milter) for the DomainKeys Identified Mail (DKIM) standard."
msgstr ""

#: serverguide/C/mail.xml:1049(para)
msgid ""
"<application>python-policyd-spf</application> enables Sender Policy "
"Framework (SPF) checking with <application>Postfix</application>."
msgstr ""

#: serverguide/C/mail.xml:1054(para)
msgid "This is how the pieces fit together:"
msgstr ""

#: serverguide/C/mail.xml:1059(para)
msgid "An email message is accepted by <application>Postfix</application>."
msgstr ""

#: serverguide/C/mail.xml:1064(para)
msgid ""
"The message is passed through any external filters <application>dkim-"
"filter</application> and <application>python-policyd-spf</application> in "
"this case."
msgstr ""

#: serverguide/C/mail.xml:1070(para)
msgid "<application>Amavisd-new</application> then processes the message."
msgstr ""

#: serverguide/C/mail.xml:1075(para)
msgid ""
"<application>ClamAV</application> is used to scan the message. If the "
"message contains a virus <application>Postfix</application> will reject the "
"message."
msgstr ""

#: serverguide/C/mail.xml:1081(para)
msgid ""
"Clean messages will then be analyzed by "
"<application>Spamassassin</application> to find out if the message is spam. "
"<application>Spamassassin</application> will then add X-Header lines "
"allowing <application>Amavisd-new</application> to further manipulate the "
"message."
msgstr ""

#: serverguide/C/mail.xml:1088(para)
msgid ""
"For example, if a message has a Spam score of over fifty the message could "
"be automatically dropped from the queue without the recipient ever having to "
"be bothered. Another, way to handle flagged messages is to deliver them to "
"the Mail User Agent (MUA) allowing the user to deal with the message as they "
"see fit."
msgstr ""

#: serverguide/C/mail.xml:1095(para)
msgid ""
"See <xref linkend=\"postfix\"/> for instructions on installing and "
"configuring Postfix."
msgstr ""

#: serverguide/C/mail.xml:1098(para)
msgid ""
"To install the rest of the applications enter the following from a terminal "
"prompt:"
msgstr ""

#: serverguide/C/mail.xml:1102(command)
msgid "sudo apt-get install amavisd-new spamassassin clamav-daemon"
msgstr ""

#: serverguide/C/mail.xml:1103(command)
msgid "sudo apt-get install dkim-filter python-policyd-spf"
msgstr ""

#: serverguide/C/mail.xml:1105(para)
msgid ""
"There are some optional packages that integrate with "
"<application>Spamassassin</application> for better spam detection:"
msgstr ""

#: serverguide/C/mail.xml:1109(command)
msgid "sudo apt-get install pyzor razor"
msgstr ""

#: serverguide/C/mail.xml:1111(para)
msgid ""
"Along with the main filtering applications compression utilities are needed "
"to process some email attachments:"
msgstr ""

#: serverguide/C/mail.xml:1115(command)
msgid ""
"sudo apt-get install arj cabextract cpio lha nomarch pax rar unrar unzip zip "
"zoo"
msgstr ""

#: serverguide/C/mail.xml:1120(para)
msgid "Now configure everything to work together and filter email."
msgstr ""

#: serverguide/C/mail.xml:1124(title)
msgid "ClamAV"
msgstr ""

#: serverguide/C/mail.xml:1125(para)
msgid ""
"The default behaviour of <application>ClamAV</application> will fit our "
"needs. For more ClamAV configuration options, check the configuration files "
"in <filename>/etc/clamav</filename>."
msgstr ""

#: serverguide/C/mail.xml:1130(para)
msgid ""
"Add the <emphasis>clamav</emphasis> user to the <emphasis>amavis</emphasis> "
"group in order for <application>Amavisd-new</application> to have the "
"appropriate access to scan files:"
msgstr ""

#: serverguide/C/mail.xml:1135(command)
msgid "sudo adduser clamav amavis"
msgstr ""

#: serverguide/C/mail.xml:1139(title)
msgid "Spamassassin"
msgstr ""

#: serverguide/C/mail.xml:1140(para)
msgid ""
"Spamassassin automatically detects optional components and will use them if "
"they are present. This means that there is no need to configure "
"<application>pyzor</application> and <application>razor</application>."
msgstr ""

#: serverguide/C/mail.xml:1144(para)
msgid ""
"Edit <filename>/etc/default/spamassassin</filename> to activate the "
"<application>Spamassassin</application> daemon. Change "
"<emphasis>ENABLED=0</emphasis> to:"
msgstr ""

#: serverguide/C/mail.xml:1148(programlisting)
#, no-wrap
msgid ""
"\n"
"ENABLED=1\n"
msgstr ""

#: serverguide/C/mail.xml:1151(para)
msgid "Now start the daemon:"
msgstr ""

#: serverguide/C/mail.xml:1155(command)
msgid "sudo /etc/init.d/spamassassin start"
msgstr ""

#: serverguide/C/mail.xml:1159(title)
msgid "Amavisd-new"
msgstr ""

#: serverguide/C/mail.xml:1160(para)
msgid ""
"First activate spam and antivirus detection in <application>Amavisd-"
"new</application> by editing <filename>/etc/amavis/conf.d/15-"
"content_filter_mode</filename>:"
msgstr ""

#: serverguide/C/mail.xml:1164(programlisting)
#, no-wrap
msgid ""
"\n"
"use strict;\n"
"\n"
"# You can modify this file to re-enable SPAM checking through spamassassin\n"
"# and to re-enable antivirus checking.\n"
"\n"
"#\n"
"# Default antivirus checking mode\n"
"# Uncomment the two lines below to enable it\n"
"#\n"
"\n"
"@bypass_virus_checks_maps = (\n"
"   \\%bypass_virus_checks, \\@bypass_virus_checks_acl, \\"
"$bypass_virus_checks_re);\n"
"\n"
"\n"
"#\n"
"# Default SPAM checking mode\n"
"# Uncomment the two lines below to enable it\n"
"#\n"
"\n"
"@bypass_spam_checks_maps = (\n"
"   \\%bypass_spam_checks, \\@bypass_spam_checks_acl, \\"
"$bypass_spam_checks_re);\n"
"\n"
"1;  # insure a defined return\n"
msgstr ""

#: serverguide/C/mail.xml:1189(para)
msgid ""
"Bouncing spam can be a bad idea as the return address is often faked. "
"Consider editing <filename>/etc/amavis/conf.d/20-debian_defaults</filename> "
"to set <emphasis>$final_spam_destiny</emphasis> to D_DISCARD rather than "
"D_BOUNCE, as follows:"
msgstr ""

#: serverguide/C/mail.xml:1194(programlisting)
#, no-wrap
msgid ""
"\n"
"$final_spam_destiny       = D_DISCARD;\n"
msgstr ""

#: serverguide/C/mail.xml:1198(para)
msgid ""
"If the server's <emphasis>hostname</emphasis> is different from the domain's "
"MX record you may need to manually set the <emphasis>$myhostname</emphasis> "
"option. Also, if the server receives mail for multiple domains the "
"<emphasis>@local_domains_acl</emphasis> option will need to be customized. "
"Edit the <filename>/etc/amavis/conf.d/50-user</filename> file:"
msgstr ""

#: serverguide/C/mail.xml:1205(programlisting)
#, no-wrap
msgid ""
"\n"
"$myhostname = 'mail.example.com';\n"
"@local_domains_acl = ( \"example.com\", \"example.org\" );\n"
msgstr ""

#: serverguide/C/mail.xml:1210(para)
msgid ""
"After configuration <application>Amavisd-new</application> needs to be "
"restarted:"
msgstr ""

#: serverguide/C/mail.xml:1214(command) serverguide/C/mail.xml:1260(command)
msgid "sudo /etc/init.d/amavis restart"
msgstr ""

#: serverguide/C/mail.xml:1217(title)
msgid "DKIM Whitelist"
msgstr ""

#: serverguide/C/mail.xml:1219(para)
msgid ""
"<application>Amavisd-new</application> can be configured to automatically "
"<emphasis>Whitelist</emphasis> addresses from domains with valid Domain "
"Keys. There are some pre-configured domains in the "
"<filename>/etc/amavis/conf.d/40-policy_banks</filename>."
msgstr ""

#: serverguide/C/mail.xml:1225(para)
msgid "There are multiple ways to configure the Whitelist for a domain:"
msgstr ""

#: serverguide/C/mail.xml:1231(para)
msgid ""
"<emphasis>'example.com' =&gt; 'WHITELIST',</emphasis>: will whitelist any "
"address from the \"example.com\" domain."
msgstr ""

#: serverguide/C/mail.xml:1236(para)
msgid ""
"<emphasis>'.example.com' =&gt; 'WHITELIST',</emphasis>: will whitelist any "
"address from any <emphasis>subdomains</emphasis> of \"example.com\" that "
"have a valid signature."
msgstr ""

#: serverguide/C/mail.xml:1242(para)
msgid ""
"<emphasis>'.example.com/@example.com' =&gt; 'WHITELIST',</emphasis>: will "
"whitelist subdomains of \"example.com\" that use the signature of <emphasis "
"role=\"italic\">example.com</emphasis> the parent domain."
msgstr ""

#: serverguide/C/mail.xml:1248(para)
msgid ""
"<emphasis>'./@example.com' =&gt; 'WHITELIST',</emphasis>: adds addresses "
"that have a valid signature from \"example.com\". This is usually used for "
"discussion groups that sign thier messages."
msgstr ""

#: serverguide/C/mail.xml:1255(para)
msgid ""
"A domain can also have multiple Whitelist configurations. After, editing the "
"file restart <application>amaisd-new</application>:"
msgstr ""

#: serverguide/C/mail.xml:1264(para)
msgid ""
"In this context, once a domain has been added to the Whitelist the message "
"will not receive any anti-virus or spam filtering. This may or may not be "
"the intended behavior you wish for a domain."
msgstr ""

#: serverguide/C/mail.xml:1274(para)
msgid ""
"For <application>Postfix</application> integration, enter the following from "
"a terminal prompt:"
msgstr ""

#: serverguide/C/mail.xml:1278(command)
msgid "sudo postconf -e 'content_filter = smtp-amavis:[127.0.0.1]:10024'"
msgstr ""

#: serverguide/C/mail.xml:1280(para)
msgid ""
"Next edit <filename>/etc/postfix/master.cf</filename> and add the following "
"to the end of the file:"
msgstr ""

#: serverguide/C/mail.xml:1283(programlisting)
#, no-wrap
msgid ""
"\n"
"smtp-amavis     unix    -       -       -       -       2       smtp\n"
"        -o smtp_data_done_timeout=1200\n"
"        -o smtp_send_xforward_command=yes\n"
"        -o disable_dns_lookups=yes\n"
"        -o max_use=20\n"
"\n"
"127.0.0.1:10025 inet    n       -       -       -       -       smtpd\n"
"        -o content_filter=\n"
"        -o local_recipient_maps=\n"
"        -o relay_recipient_maps=\n"
"        -o smtpd_restriction_classes=\n"
"        -o smtpd_delay_reject=no\n"
"        -o smtpd_client_restrictions=permit_mynetworks,reject\n"
"        -o smtpd_helo_restrictions=\n"
"        -o smtpd_sender_restrictions=\n"
"        -o smtpd_recipient_restrictions=permit_mynetworks,reject\n"
"        -o smtpd_data_restrictions=reject_unauth_pipelining\n"
"        -o smtpd_end_of_data_restrictions=\n"
"        -o mynetworks=127.0.0.0/8\n"
"        -o smtpd_error_sleep_time=0\n"
"        -o smtpd_soft_error_limit=1001\n"
"        -o smtpd_hard_error_limit=1000\n"
"        -o smtpd_client_connection_count_limit=0\n"
"        -o smtpd_client_connection_rate_limit=0\n"
"        -o "
"receive_override_options=no_header_body_checks,no_unknown_recipient_checks\n"
msgstr ""

#: serverguide/C/mail.xml:1310(para)
msgid ""
"Also add the following two lines immediately below the "
"<emphasis>\"pickup\"</emphasis> transport service:"
msgstr ""

#: serverguide/C/mail.xml:1313(programlisting)
#, no-wrap
msgid ""
"\n"
"         -o content_filter=\n"
"         -o receive_override_options=no_header_body_checks\n"
msgstr ""

#: serverguide/C/mail.xml:1317(para)
msgid ""
"This will prevent messages that are generated to report on spam from being "
"classified as spam."
msgstr ""

#: serverguide/C/mail.xml:1320(para)
msgid "Now restart <application>Postfix</application>:"
msgstr ""

#: serverguide/C/mail.xml:1326(para)
msgid "Content filtering with spam and virus detection is now enabled."
msgstr ""

#: serverguide/C/mail.xml:1333(para)
msgid ""
"First, test that the <application>Amavisd-new</application> SMTP is "
"listening:"
msgstr ""

#: serverguide/C/mail.xml:1336(programlisting)
#, no-wrap
msgid ""
"\n"
"telnet localhost 10024\n"
"Trying 127.0.0.1...\n"
"Connected to localhost.\n"
"Escape character is '^]'.\n"
"220 [127.0.0.1] ESMTP amavisd-new service ready\n"
"^]\n"
msgstr ""

#: serverguide/C/mail.xml:1344(para)
msgid ""
"In the Header of messages that go through the content filter you should see:"
msgstr ""

#: serverguide/C/mail.xml:1347(programlisting)
#, no-wrap
msgid ""
"\n"
"X-Spam-Level: \n"
"X-Virus-Scanned: Debian amavisd-new at example.com\n"
"X-Spam-Status: No, hits=-2.3 tagged_above=-1000.0 required=5.0 tests=AWL, "
"BAYES_00\n"
"X-Spam-Level: \n"
msgstr ""

#: serverguide/C/mail.xml:1354(para)
msgid ""
"Your output will vary, but the important thing is that there are <emphasis>X-"
"Virus-Scanned</emphasis> and <emphasis>X-Spam-Status</emphasis> entries."
msgstr ""

#: serverguide/C/mail.xml:1362(para)
msgid ""
"The best way to figure out why something is going wrong is to check the log "
"files."
msgstr ""

#: serverguide/C/mail.xml:1367(para)
msgid ""
"For instructions on <application>Postfix</application> logging see the <xref "
"linkend=\"postfix-troubleshooting\"/> section."
msgstr ""

#: serverguide/C/mail.xml:1373(para)
msgid ""
"<application>Amavisd-new</application> uses "
"<application>Syslog</application> to send messages to "
"<filename>/var/log/mail.log</filename>. The amount of detail can be "
"increased by adding the <emphasis>$log_level</emphasis> option to "
"<filename>/etc/amavis/conf.d/50-user</filename>, and setting the value from "
"1 to 5."
msgstr ""

#: serverguide/C/mail.xml:1378(programlisting)
#, no-wrap
msgid ""
"\n"
"$log_level = 2;\n"
msgstr ""

#: serverguide/C/mail.xml:1382(para)
msgid ""
"When the <application>Amavisd-new</application> log output is increased "
"<application>Spamassassin</application> log output is also increased."
msgstr ""

#: serverguide/C/mail.xml:1389(para)
msgid ""
"The <application>ClamAV</application> log level can be increased by editing "
"<filename>/etc/clamav/clamd.conf</filename> and setting the following option:"
msgstr ""

#: serverguide/C/mail.xml:1393(programlisting)
#, no-wrap
msgid ""
"\n"
"LogVerbose true\n"
msgstr ""

#: serverguide/C/mail.xml:1396(para)
msgid ""
"By default <application>ClamAV</application> will send log messages to "
"<filename>/var/log/clamav/clamav.log</filename>."
msgstr ""

#: serverguide/C/mail.xml:1402(para)
msgid ""
"After changing an applications log settings remember to restart the service "
"for the new settings to take affect. Also, once the issue you are "
"troubleshooting is resolved it is a good idea to change the log settings "
"back to normal."
msgstr ""

#: serverguide/C/mail.xml:1410(para)
msgid "For more information on filtering mail see the following links:"
msgstr ""

#: serverguide/C/mail.xml:1416(ulink)
msgid "Amavisd-new Documentation"
msgstr ""

#: serverguide/C/mail.xml:1420(para)
msgid ""
"<ulink url=\"http://www.clamav.org/doc/latest/html/\">ClamAV "
"Documentation</ulink> and <ulink "
"url=\"http://wiki.clamav.net/Main/WebHome\">ClamAV Wiki</ulink>"
msgstr ""

#: serverguide/C/mail.xml:1427(ulink)
msgid "Spamassassin Wiki"
msgstr ""

#: serverguide/C/mail.xml:1432(ulink)
msgid "Pyzor Homepage"
msgstr ""

#: serverguide/C/mail.xml:1437(ulink)
msgid "Razor Homepage"
msgstr ""

#: serverguide/C/mail.xml:1442(ulink)
msgid "DKIM.org"
msgstr ""

#: serverguide/C/mail.xml:1446(para)
msgid ""
"Also, feel free to ask questions in the <emphasis>#ubuntu-server</emphasis> "
"IRC channel on <ulink url=\"http://freenode.net\">freenode</ulink>."
msgstr ""

#: serverguide/C/lamp-applications.xml:13(title)
msgid "LAMP Applications"
msgstr ""

#: serverguide/C/lamp-applications.xml:19(para)
msgid ""
"LAMP installations (Linux + Apache + MySQL + PHP) are a popular setup for "
"Ubuntu servers. There is a plethora of Open Source applications written "
"using the LAMP application stack. Some popular LAMP applications are Wiki's, "
"Content Management Systems, and Management Software such as phpMyAdmin."
msgstr ""

#: serverguide/C/lamp-applications.xml:26(para)
msgid ""
"One advantage of LAMP is the substantial flexibility for different database, "
"web server, and scripting languages. Popular substitutes for MySQL include "
"Posgresql and SQLite. Python, Perl, and Ruby are also frequently used "
"instead of PHP."
msgstr ""

#: serverguide/C/lamp-applications.xml:32(para)
msgid ""
"The traditional way to install most <emphasis>LAMP</emphasis> applications "
"is:"
msgstr ""

#: serverguide/C/lamp-applications.xml:38(para)
msgid "Download an archive containing the application source files."
msgstr ""

#: serverguide/C/lamp-applications.xml:43(para)
msgid ""
"Unpack the archive, usually in a directory accessible to a web server."
msgstr ""

#: serverguide/C/lamp-applications.xml:48(para)
msgid ""
"Depending on where the source was extracted, configure a web browser to "
"serve the files."
msgstr ""

#: serverguide/C/lamp-applications.xml:53(para)
msgid "Configure the application to connect to the database."
msgstr ""

#: serverguide/C/lamp-applications.xml:58(para)
msgid ""
"Run a script, or browse to a page of the application, to install the "
"database needed by the application."
msgstr ""

#: serverguide/C/lamp-applications.xml:63(para)
msgid ""
"Once the steps above, or similar steps, are completed you are ready to begin "
"using the application."
msgstr ""

#: serverguide/C/lamp-applications.xml:69(para)
msgid ""
"A disadvantage of using this approach is that the application files are not "
"placed in the file system in a standard way, which can cause confusion as to "
"where the application is installed. Another larger disadvantage is updating "
"the application. When a new version is released, the same process used to "
"install the application is needed to apply updates."
msgstr ""

#: serverguide/C/lamp-applications.xml:76(para)
msgid ""
"Fortunately, a number of <emphasis>LAMP</emphasis> applications are already "
"packaged for Ubuntu, and are available for installation in the same way as "
"non-LAMP applications. Depending on the application some extra configuration "
"and setup steps may be needed, however."
msgstr ""

#: serverguide/C/lamp-applications.xml:82(para)
msgid ""
"This section covers howto install and configure the Wiki applications "
"<application>MoinMoin</application>, <application>MediaWiki</application>, "
"and the MySQL management application <application>phpMyAdmin</application>."
msgstr ""

#: serverguide/C/lamp-applications.xml:88(para)
msgid ""
"A Wiki is a website that allows the visitors to easily add, remove and "
"modify available content easily. The ease of interaction and operation makes "
"Wiki an effective tool for mass collaborative authoring. The term Wiki is "
"also referred to the collaborative software."
msgstr ""

#: serverguide/C/lamp-applications.xml:100(title)
msgid "Moin Moin"
msgstr ""

#: serverguide/C/lamp-applications.xml:102(para)
msgid ""
"MoinMoin is a Wiki engine implemented in Python, based on the PikiPiki Wiki "
"engine, and licensed under the GNU GPL."
msgstr ""

#: serverguide/C/lamp-applications.xml:110(para)
msgid ""
"To install <application>MoinMoin</application>, run the following command in "
"the command prompt:"
msgstr ""

#: serverguide/C/lamp-applications.xml:116(command)
msgid "sudo apt-get install python-moinmoin"
msgstr ""

#: serverguide/C/lamp-applications.xml:119(para)
msgid ""
"You should also install <application>apache2</application> web server. For "
"installing <application>apache2</application> web server, please refer to "
"<xref linkend=\"http-installation\"/> sub-section in <xref "
"linkend=\"httpd\"/> section."
msgstr ""

#: serverguide/C/lamp-applications.xml:130(para)
msgid ""
"For configuring your first Wiki application, please run the following set of "
"commands. Let us assume that you are creating a Wiki named "
"<emphasis>mywiki</emphasis>:"
msgstr ""

#: serverguide/C/lamp-applications.xml:137(command)
msgid "cd /usr/share/moin"
msgstr ""

#: serverguide/C/lamp-applications.xml:138(command)
msgid "sudo mkdir mywiki"
msgstr ""

#: serverguide/C/lamp-applications.xml:139(command)
msgid "sudo cp -R data mywiki"
msgstr ""

#: serverguide/C/lamp-applications.xml:140(command)
msgid "sudo cp -R underlay mywiki"
msgstr ""

#: serverguide/C/lamp-applications.xml:141(command)
msgid "sudo cp server/moin.cgi mywiki"
msgstr ""

#: serverguide/C/lamp-applications.xml:142(command)
msgid "sudo chown -R www-data.www-data mywiki"
msgstr ""

#: serverguide/C/lamp-applications.xml:143(command)
msgid "sudo chmod -R ug+rwX mywiki"
msgstr ""

#: serverguide/C/lamp-applications.xml:144(command)
msgid "sudo chmod -R o-rwx mywiki"
msgstr ""

#: serverguide/C/lamp-applications.xml:147(para)
msgid ""
"Now you should configure <application>MoinMoin</application> to find your "
"new Wiki <emphasis>mywiki</emphasis>. To configure "
"<application>MoinMoin</application>, open "
"<filename>/etc/moin/mywiki.py</filename> file and change the following line:"
msgstr ""

#: serverguide/C/lamp-applications.xml:155(programlisting)
#, no-wrap
msgid "data_dir = '/org/mywiki/data'"
msgstr ""

#: serverguide/C/lamp-applications.xml:157(para)
msgid "to"
msgstr ""

#: serverguide/C/lamp-applications.xml:161(programlisting)
#, no-wrap
msgid "data_dir = '/usr/share/moin/mywiki/data'"
msgstr ""

#: serverguide/C/lamp-applications.xml:163(para)
msgid ""
"Also, below the <emphasis>data_dir</emphasis> option add the "
"<emphasis>data_underlay_dir</emphasis>:"
msgstr ""

#: serverguide/C/lamp-applications.xml:167(programlisting)
#, no-wrap
msgid ""
"\n"
"data_underlay_dir='/usr/share/moin/mywiki/underlay'\n"
msgstr ""

#: serverguide/C/lamp-applications.xml:172(para)
msgid ""
"If the <filename>/etc/moin/mywiki.py</filename> file does not exists, you "
"should copy <filename>/etc/moin/moinmaster.py</filename> file to "
"<filename>/etc/moin/mywiki.py</filename> file and do the above mentioned "
"change."
msgstr ""

#: serverguide/C/lamp-applications.xml:181(para)
msgid ""
"If you have named your Wiki as <emphasis>my_wiki_name</emphasis> you should "
"insert a line <quote>(\"my_wiki_name\", r\".*\")</quote> in "
"<filename>/etc/moin/farmconfig.py</filename> file after the line "
"<quote>(\"mywiki\", r\".*\")</quote>."
msgstr ""

#: serverguide/C/lamp-applications.xml:189(para)
msgid ""
"Once you have configured <application>MoinMoin</application> to find your "
"first Wiki application <emphasis>mywiki</emphasis>, you should configure "
"<application>apache2</application> and make it ready for your Wiki "
"application."
msgstr ""

#: serverguide/C/lamp-applications.xml:196(para)
msgid ""
"You should add the following lines in <filename>/etc/apache2/sites-"
"available/default</filename> file inside the <quote>&lt;VirtualHost "
"*&gt;</quote> tag:"
msgstr ""

#: serverguide/C/lamp-applications.xml:202(programlisting)
#, no-wrap
msgid ""
"\n"
"### moin\n"
"  ScriptAlias /mywiki \"/usr/share/moin/mywiki/moin.cgi\"\n"
"  alias /moin_static181 \"/usr/share/moin/htdocs\"\n"
"  &lt;Directory /usr/share/moin/htdocs&gt;\n"
"  Order allow,deny\n"
"  allow from all\n"
"  &lt;/Directory&gt;\n"
"### end moin\n"
msgstr ""

#: serverguide/C/lamp-applications.xml:213(para)
msgid ""
"Once you configure the <application>apache2</application> web server and "
"make it ready for your Wiki application, you should restart it. You can run "
"the following command to restart the <application>apache2</application> web "
"server:"
msgstr ""

#: serverguide/C/lamp-applications.xml:226(title)
msgid "Verification"
msgstr ""

#: serverguide/C/lamp-applications.xml:228(para)
msgid ""
"You can verify the Wiki application and see if it works by pointing your web "
"browser to the following URL:"
msgstr ""

#: serverguide/C/lamp-applications.xml:232(programlisting)
#, no-wrap
msgid ""
"\n"
"http://localhost/mywiki\n"
msgstr ""

#: serverguide/C/lamp-applications.xml:236(para)
msgid ""
"You can also run the test command by pointing your web browser to the "
"following URL:"
msgstr ""

#: serverguide/C/lamp-applications.xml:241(programlisting)
#, no-wrap
msgid ""
"\n"
"http://localhost/mywiki?action=test\n"
msgstr ""

#: serverguide/C/lamp-applications.xml:245(para)
msgid ""
"For more details, please refer to the <ulink "
"url=\"http://moinmo.in/\">MoinMoin</ulink> web site."
msgstr ""

#: serverguide/C/lamp-applications.xml:256(para)
msgid ""
"For more information see the <ulink url=\"http://moinmo.in/\">moinmoin "
"Wiki</ulink>."
msgstr ""

#: serverguide/C/lamp-applications.xml:265(title)
msgid "MediaWiki"
msgstr ""

#: serverguide/C/lamp-applications.xml:267(para)
msgid ""
"MediaWiki is an web based Wiki software written in the PHP language. It can "
"either use <application>MySQL</application> or "
"<application>PostgreSQL</application> Database Management System."
msgstr ""

#: serverguide/C/lamp-applications.xml:277(para)
msgid ""
"Before installing <application>MediaWiki</application> you should also "
"install <application>Apache2</application>, the "
"<application>PHP5</application> scripting language and Database a Management "
"System. <application>MySQL</application> or "
"<application>PostgreSQL</application> are the most common, choose one "
"depending on your need. Please refer to those sections in this manual for "
"installation instructions."
msgstr ""

#: serverguide/C/lamp-applications.xml:285(para)
msgid ""
"To install <application>MediaWiki</application>, run the following command "
"in the command prompt:"
msgstr ""

#: serverguide/C/lamp-applications.xml:291(command)
msgid "sudo apt-get install mediawiki php5-gd"
msgstr ""

#: serverguide/C/lamp-applications.xml:294(para)
msgid ""
"For additional <application>MediaWiki</application> functionality see the "
"<application>mediawiki-extensions</application> package."
msgstr ""

#: serverguide/C/lamp-applications.xml:304(para)
msgid "Run the following commands to configure MediaWiki:"
msgstr ""

#: serverguide/C/lamp-applications.xml:309(command)
msgid "sudo ln -s /var/lib/mediawiki /var/www/mediawiki"
msgstr ""

#: serverguide/C/lamp-applications.xml:312(para)
msgid "Point your web browser to the following URL for MediaWiki setup:"
msgstr ""

#: serverguide/C/lamp-applications.xml:316(programlisting)
#, no-wrap
msgid ""
"\n"
"http://localhost/mediawiki/config/index.php\n"
msgstr ""

#: serverguide/C/lamp-applications.xml:321(para)
msgid ""
"Please read the <quote>Checking environment...</quote> section in this page. "
"You should be able to fix many issues by carefully reading this section."
msgstr ""

#: serverguide/C/lamp-applications.xml:334(para)
msgid ""
"For more details, please refer to the <ulink "
"url=\"http://www.mediawiki.org\">MediaWiki</ulink> web site."
msgstr ""

#: serverguide/C/lamp-applications.xml:340(para)
msgid ""
"The <ulink url=\"http://www.packtpub.com/Mediawiki/book\">MediaWiki "
"Administrators’ Tutorial Guide</ulink> contains a wealth of information for "
"new MediaWiki administrators."
msgstr ""

#: serverguide/C/lamp-applications.xml:350(title)
msgid "phpMyAdmin"
msgstr ""

#: serverguide/C/lamp-applications.xml:352(para)
msgid ""
"<application>phpMyAdmin</application> is a LAMP application specifically "
"written for administering <application>MySQL</application> servers. Written "
"in <application>PHP</application>, and accessed through a web browser, "
"phpMyAdmin provides a graphical interface for database administration tasks."
msgstr ""

#: serverguide/C/lamp-applications.xml:361(para)
msgid ""
"Before installing <application>phpMyAdmin</application> you will need access "
"to a <application>MySQL</application> database either on the same host as "
"that phpMyAdmin is installed on, or on a host accessible over the network. "
"For more information see <xref linkend=\"mysql\"/>. From a terminal prompt "
"enter:"
msgstr ""

#: serverguide/C/lamp-applications.xml:368(command)
msgid "sudo apt-get install phpmyadmin"
msgstr ""

#: serverguide/C/lamp-applications.xml:371(para)
msgid ""
"At the prompt choose which web server to be configured for "
"<application>phpMyAdmin</application>. The rest of this section will use "
"<application>Apache2</application> for the web server."
msgstr ""

#: serverguide/C/lamp-applications.xml:376(para)
msgid ""
"In a browser go to <emphasis>http://servername/phpmyadmin</emphasis>, "
"replacing <emphasis role=\"italic\">serveranme</emphasis> with the server's "
"actual hostname. At the login, page enter <emphasis>root</emphasis> for the "
"<emphasis>username</emphasis>, or another <application>MySQL</application> "
"user if you any setup, and enter the <application>MySQL</application> user's "
"password."
msgstr ""

#: serverguide/C/lamp-applications.xml:383(para)
msgid ""
"Once logged in you can reset the <emphasis>root</emphasis> password if "
"needed, create users, create/destroy databases and tables, etc."
msgstr ""

#: serverguide/C/lamp-applications.xml:391(para)
msgid ""
"The configuration files for <application>phpMyAdmin</application> are "
"located in <filename>/etc/phpmyadmin</filename>. The main configuration file "
"is <filename>/etc/phpmyadmin/config.inc.php</filename>. This file contains "
"configuration options that apply globally to "
"<application>phpMyAdmin</application>."
msgstr ""

#: serverguide/C/lamp-applications.xml:397(para)
msgid ""
"To use <application>phpMyAdmin</application> to administer a MySQL database "
"hosted on another server, adjust the following in "
"<filename>/etc/phpmyadmin/config.inc.php</filename>:"
msgstr ""

#: serverguide/C/lamp-applications.xml:402(programlisting)
#, no-wrap
msgid ""
"\n"
"$cfg['Servers'][$i]['host'] = 'db_server';\n"
msgstr ""

#: serverguide/C/lamp-applications.xml:407(para)
msgid ""
"Replace <emphasis role=\"italic\">db_server</emphasis> with the actual "
"remote database server name or IP address. Also, be sure that the "
"<application>phpMyAdmin</application> host has permissions to access the "
"remote database."
msgstr ""

#: serverguide/C/lamp-applications.xml:413(para)
msgid ""
"Once configured, log out of <application>phpMyAdmin</application> and back "
"in, and you should be accessing the new server."
msgstr ""

#: serverguide/C/lamp-applications.xml:417(para)
msgid ""
"The <filename>config.header.inc.php</filename> and "
"<filename>config.footer.inc.php</filename> files are used to add a HTML "
"header and footer to <application>phpMyAdmin</application>."
msgstr ""

#: serverguide/C/lamp-applications.xml:422(para)
msgid ""
"Another important configuration file is "
"<filename>/etc/phpmyadmin/apache.conf</filename>, this file is symlinked to "
"<filename>/etc/apache2/conf.d/phpmyadmin.conf</filename>, and is used to "
"configure <application>Apache2</application> to serve the "
"<application>phpMyAdmin</application> site. The file contains directives for "
"loading <application>PHP</application>, directory permissions, etc. For more "
"information on configuring <application>Apache2</application> see <xref "
"linkend=\"httpd\"/>."
msgstr ""

#: serverguide/C/lamp-applications.xml:436(para)
msgid ""
"The <application>phpMyAdmin</application> documentation comes installed with "
"the package and can be accessed from the <emphasis>phpMyAdmin "
"Documentation</emphasis> link (a question mark with a box around it) under "
"the phpMyAdmin logo. The official docs can also be access on the <ulink "
"url=\"http://www.phpmyadmin.net/home_page/docs.php\">phpMyAdmin</ulink> site."
msgstr ""

#: serverguide/C/lamp-applications.xml:443(para)
msgid ""
"Also, <ulink url=\"http://www.packtpub.com/phpmyadmin-3rd-"
"edition/book\">Mastering phpMyAdmin</ulink> is a great resource."
msgstr ""

#: serverguide/C/jeos.xml:28(para)
msgid ""
"While installing from the Server Edition ISO (pressing "
"<emphasis>F4</emphasis> on the first screen will allow you to pick \"Minimal "
"installation\", which is the package selection equivalent to JeOS)"
msgstr ""

#: serverguide/C/jeos.xml:211(para)
msgid ""
"Because of the nature of operations performed by vmbuilder, it needs to have "
"root priviledge, hence the use of sudo."
msgstr ""

#: serverguide/C/jeos.xml:321(programlisting)
#, no-wrap
msgid ""
"\n"
"          &lt;interface type='bridge'&gt;\n"
"            &lt;source network='br0'/&gt;\n"
"          &lt;/interface&gt;\n"
msgstr ""

#: serverguide/C/jeos.xml:499(para)
msgid ""
"Another convenient tool that we want to have on our appliance is OpenSSH, as "
"it will provide our admins to access to access the appliance remotely. "
"However, pushing in the wild an appliance with a pre-installed OpenSSH "
"server is a big security risk as all these server will share the same secret "
"key, making it very easy for hackers to target our appliance with all the "
"tools they need to crack it open in a breeze. As for the user password, we "
"will instead rely on a script that will install OpenSSH the first time a "
"user logs in so that the key generated will be different for each appliance. "
"For this we'll use a <emphasis>--firstboot</emphasis> script, as it does not "
"need any user interaction."
msgstr ""

#: serverguide/C/introduction.xml:14(para)
msgid "Welcome to the <emphasis>Ubuntu Server Guide</emphasis>!"
msgstr ""

#: serverguide/C/introduction.xml:15(para)
msgid ""
"Here you can find information on how to install and configure various server "
"applications. It is a step-by-step, task-oriented guide for configuring and "
"customizing your system."
msgstr ""

#: serverguide/C/introduction.xml:19(para)
msgid ""
"This guide assumes you have a basic understanding of your Ubuntu system. "
"Some installation details are covered in <xref linkend=\"installation\"/>, "
"but if you need detailed instructions installing Ubuntu please refer to the "
"<ulink url=\"https://help.ubuntu.com/9.04/installation-guide/\">Ubuntu "
"Installation Guide</ulink>."
msgstr ""

#: serverguide/C/introduction.xml:25(para)
msgid ""
"A HTML version of the manual is available online at <ulink "
"url=\"http://help.ubuntu.com\">the Ubuntu Documentation website</ulink>. The "
"HTML files are also available in the <application>ubuntu-"
"serverguide</application> package. See <xref linkend=\"package-"
"management\"/> for details on installing packages."
msgstr ""

#: serverguide/C/introduction.xml:32(para)
msgid ""
"If you choose to install the <application>ubuntu-serverguide</application> "
"you can view this document from a console by:"
msgstr ""

#: serverguide/C/introduction.xml:36(command)
msgid "w3m /usr/share/ubuntu-serverguide/html/en_GB/index.html"
msgstr ""

#: serverguide/C/introduction.xml:39(para)
msgid "Replace <emphasis>en_GB</emphasis> with your language localization."
msgstr ""

#: serverguide/C/introduction.xml:53(title)
msgid "Support"
msgstr ""

#: serverguide/C/introduction.xml:55(para)
msgid ""
"There a couple of different ways that Ubuntu Server Edition is supported, "
"commercial support and community support. The main commercial support (and "
"development funding) is available from Canonical Ltd. They supply reasonably "
"priced support contracts on a per desktop or per server basis. For more "
"information see the <ulink "
"url=\"http://www.canonical.com/services/support\">Canonical Services</ulink> "
"page."
msgstr ""

#: serverguide/C/introduction.xml:62(para)
msgid ""
"Community support is also provided by dedicated individuals, and companies, "
"that wish to make Ubuntu the best distribution possible. Support is provided "
"through multiple mailing lists, IRC channels, forums, blogs, wikis, etc. The "
"large amount of information available can be overwhelming, but a good search "
"engine query can usually provide an answer to your questions. See the <ulink "
"url=\"http://www.ubuntu.com/support\">Ubuntu Support</ulink> page for more "
"information."
msgstr ""

#: serverguide/C/installation.xml:14(para)
msgid ""
"This chapter provides a quick overview of installing Ubuntu 9.04 Server "
"Edition. For more detailed instructions, please refer to the <ulink "
"url=\"https://help.ubuntu.com/9.04/installation-guide/\">Ubuntu Installation "
"Guide</ulink>."
msgstr ""

#: serverguide/C/installation.xml:19(title)
msgid "Preparing to Install"
msgstr ""

#: serverguide/C/installation.xml:20(para)
msgid ""
"This section explains various aspects to consider before starting the "
"installation."
msgstr ""

#: serverguide/C/installation.xml:24(title)
msgid "System Requirements"
msgstr ""

#: serverguide/C/installation.xml:25(para)
msgid ""
"Ubuntu 9.04 Server Edition supports two (2) major architectures: Intel x86 "
"and AMD64. The table below lists recommended hardware specifications. "
"Depending on your needs, you might manage with less than this. However, most "
"users risk being frustrated if they ignore these suggestions."
msgstr ""

#: serverguide/C/installation.xml:27(title)
msgid "Recommended Minimum Requirements"
msgstr ""

#: serverguide/C/installation.xml:35(para)
msgid "Install Type"
msgstr ""

#: serverguide/C/installation.xml:36(para)
msgid "RAM"
msgstr ""

#: serverguide/C/installation.xml:37(para)
msgid "Hard Drive Space"
msgstr ""

#: serverguide/C/installation.xml:40(para)
msgid "Base System"
msgstr ""

#: serverguide/C/installation.xml:41(para)
msgid "All Tasks Installed"
msgstr ""

#: serverguide/C/installation.xml:46(para)
msgid "Server"
msgstr ""

#: serverguide/C/installation.xml:47(para)
msgid "128 megabytes"
msgstr ""

#: serverguide/C/installation.xml:48(para)
msgid "500 megabytes"
msgstr ""

#: serverguide/C/installation.xml:49(para)
msgid "1 gigabyte"
msgstr ""

#: serverguide/C/installation.xml:54(para)
msgid ""
"The Server Edition provides a common base for all sorts of server "
"applications. It is a minimalist design providing a platform for the desired "
"services, such as file/print services, web hosting, email hosting, etc."
msgstr ""

#: serverguide/C/installation.xml:62(title)
msgid "Server and Desktop Differences"
msgstr ""

#: serverguide/C/installation.xml:63(para)
msgid ""
"There are a few differences between the <emphasis>Ubuntu Server "
"Edition</emphasis> and the <emphasis>Ubuntu Desktop Edition</emphasis>. It "
"should be noted that both editions use the same "
"<application>apt</application> repositories. Making it just as easy to "
"install a <emphasis role=\"italic\">server</emphasis> application on the "
"Desktop Edition as it is on the Server Edition."
msgstr ""

#: serverguide/C/installation.xml:69(para)
msgid ""
"The differences between the two editions are the lack of an X window "
"environment in the Server Edition, the installation process, and different "
"Kernel options."
msgstr ""

#: serverguide/C/installation.xml:76(title)
msgid "Kernel Differences:"
msgstr ""

#: serverguide/C/installation.xml:79(para)
msgid ""
"The Server Edition uses the <emphasis>Deadline</emphasis> I/O scheduler "
"instead of the <emphasis>CFQ</emphasis> scheduler used by the Desktop "
"Edition."
msgstr ""

#: serverguide/C/installation.xml:85(para)
msgid "<emphasis>Preemption</emphasis> is turned off in the Server Edition."
msgstr ""

#: serverguide/C/installation.xml:90(para)
msgid ""
"The timer interrupt is 100 Hz in the Server Edition and 250 Hz in the "
"Desktop Edition."
msgstr ""

#: serverguide/C/installation.xml:96(para)
msgid ""
"When running a 64-bit version of Ubuntu on 64-bit processors you are not "
"limited by memory addressing space."
msgstr ""

#: serverguide/C/installation.xml:101(para)
msgid ""
"To see all kernel configuration options you can look through "
"<filename>/boot/config-2.6.27-server</filename>. Also, <ulink "
"url=\"http://www.kroah.com/lkn/\">Linux Kernel in a Nutshell</ulink> is a "
"great resource on the options available."
msgstr ""

#: serverguide/C/installation.xml:110(title)
msgid "Backing Up"
msgstr ""

#: serverguide/C/installation.xml:113(para)
msgid ""
"Before installing <application>Ubuntu Server Edition</application> you "
"should make sure all data on the system is backed up. See <xref "
"linkend=\"backups\"/> for backup options."
msgstr ""

#: serverguide/C/installation.xml:117(para)
msgid ""
"If this is not the first time an operating system has been installed on your "
"computer, it is likely you will need to re-partition your disk to make room "
"for Ubuntu."
msgstr ""

#: serverguide/C/installation.xml:121(para)
msgid ""
"Any time you partition your disk, you should be prepared to lose everything "
"on the disk should you make a mistake or something goes wrong during "
"partitioning. The programs used in installation are quite reliable, most "
"have seen years of use, but they also perform destructive actions."
msgstr ""

#: serverguide/C/installation.xml:133(title)
msgid "Installing from CD"
msgstr ""

#: serverguide/C/installation.xml:134(para)
msgid ""
"The basic steps to install Ubuntu Server Edition from CD are the same for "
"installing any operating system from CD. Unlike the <emphasis>Desktop "
"Edition</emphasis> the <emphasis>Server Edition</emphasis> does not include "
"a graphical installation program. Instead the Server Edition uses a console "
"menu based process."
msgstr ""

#: serverguide/C/installation.xml:141(para)
msgid ""
"First, download and burn the appropriate ISO file from the <ulink "
"url=\"http://www.ubuntu.com/getubuntu/download\"> Ubuntu web site</ulink>."
msgstr ""

#: serverguide/C/installation.xml:147(para)
msgid "Boot the system from the CD-ROM drive."
msgstr ""

#: serverguide/C/installation.xml:152(para)
msgid ""
"At the boot prompt you will be asked to select the language. Afterwards the "
"installation process begins by asking for your keyboard layout."
msgstr ""

#: serverguide/C/installation.xml:158(para)
msgid ""
"The installer then discovers your hardware configuration, and configures the "
"network settings using DHCP. If you do not wish to use DHCP at the next "
"screen choose \"Go Back\", and you have the option to \"Configure the "
"network manually\"."
msgstr ""

#: serverguide/C/installation.xml:165(para)
msgid "Next, the installer asks for the system's hostname and Time Zone."
msgstr ""

#: serverguide/C/installation.xml:170(para)
msgid ""
"You can then choose from several options to configure the hard drive layout. "
"For advanced disk options see <xref linkend=\"advanced-installation\"/>."
msgstr ""

#: serverguide/C/installation.xml:176(para)
msgid "The Ubuntu base system is then installed."
msgstr ""

#: serverguide/C/installation.xml:181(para)
msgid ""
"A new user is setup, this user will have <emphasis>root</emphasis> access "
"through the <application>sudo</application> utility."
msgstr ""

#: serverguide/C/installation.xml:187(para)
msgid ""
"After the user is setup, you will be asked to encrypt your <filename "
"role=\"directory\">home</filename> directory."
msgstr ""

#: serverguide/C/installation.xml:193(para)
msgid ""
"The next step in the installation process is to decide how you want to "
"update the system. There are three options:"
msgstr ""

#: serverguide/C/installation.xml:199(para)
msgid ""
"<emphasis>No automatic updates</emphasis>: this requires an administrator to "
"log into the machine and manually install updates."
msgstr ""

#: serverguide/C/installation.xml:205(para)
msgid ""
"<emphasis>Install security updates Automatically</emphasis>: will install "
"the <application>unattended-upgrades</application> package, which will "
"install security updates without the intervention of an administrator. For "
"more details see <xref linkend=\"automatic-updates\"/>."
msgstr ""

#: serverguide/C/installation.xml:212(para)
msgid ""
"<emphasis>Manage the system with Landscape</emphasis>: Landscape is a paid "
"service provided by Canonical to help manager your Ubuntu machines. See the "
"<ulink url=\"http://www.canonical.com/projects/landscape\">Landscape</ulink> "
"site for details."
msgstr ""

#: serverguide/C/installation.xml:221(para)
msgid ""
"You now have the option to install, or not install, several package tasks. "
"See <xref linkend=\"install-tasks\"/> for details. Also, there is an option "
"to launch <application>aptitude</application> to choose specific packages to "
"install. For more information see <xref linkend=\"aptitude\"/>."
msgstr ""

#: serverguide/C/installation.xml:229(para)
msgid "Finally, the last step before rebooting is to set the clock to UTC."
msgstr ""

#: serverguide/C/installation.xml:235(para)
msgid ""
"If at any point during installation you are not satisfied by the default "
"setting, use the \"Go Back\" function at any prompt to be brought to a "
"detailed installation menu that will allow you to modify the default "
"settings."
msgstr ""

#: serverguide/C/installation.xml:240(para)
msgid ""
"At some point during the installation process you may want to read the help "
"screen provided by the installation system. To do this, press F1."
msgstr ""

#: serverguide/C/installation.xml:245(para)
msgid ""
"Once again, for detailed instructions see the <ulink "
"url=\"https://help.ubuntu.com/9.04/installation-guide/\"> Ubuntu "
"Installation Guide</ulink>."
msgstr ""

#: serverguide/C/installation.xml:251(title)
msgid "Package Tasks"
msgstr ""

#: serverguide/C/installation.xml:252(para)
msgid ""
"During the Server Edition installation you have the option of installing "
"additional packages from the CD. The packages are grouped by the type of "
"service they provide."
msgstr ""

#: serverguide/C/installation.xml:258(para)
msgid "DNS server: Selects the BIND DNS server and its documentation."
msgstr ""

#: serverguide/C/installation.xml:263(para)
msgid "LAMP server: Selects a ready-made Linux/Apache/MySQL/PHP server."
msgstr ""

#: serverguide/C/installation.xml:268(para)
msgid ""
"Mail server: This task selects a variety of package useful for a general "
"purpose mail server system."
msgstr ""

#: serverguide/C/installation.xml:273(para)
msgid "OpenSSH server: Selects packages needed for an OpenSSH server."
msgstr ""

#: serverguide/C/installation.xml:278(para)
msgid ""
"PostgreSQL database: This task selects client and server packages for the "
"PostgreSQL database."
msgstr ""

#: serverguide/C/installation.xml:283(para)
msgid "Print server: This task sets up your system to be a print server."
msgstr ""

#: serverguide/C/installation.xml:288(para)
msgid ""
"Samba File server: This task sets up your system to be a Samba file server, "
"which is especially suitable in networks with both Windows and Linux systems."
msgstr ""

#: serverguide/C/installation.xml:294(para)
msgid ""
"Tomcat server: Installs the Apache Tomcat and needed dependencies Java, gcj, "
"etc."
msgstr ""

#: serverguide/C/installation.xml:299(para)
msgid ""
"Virtual machine host: Includes packages needed to run KVM virtual machines."
msgstr ""

#: serverguide/C/installation.xml:304(para)
msgid ""
"Installing the package groups is accomplished using the "
"<application>tasksel</application> utility. One of the important difference "
"between Ubuntu (or Debian) and other GNU/Linux distribution is that, when "
"installed, a package is also configured to reasonable defaults, eventually "
"prompting you for additional required information. Likewise, when installing "
"a task, the packages are not only installed, but also configured to provided "
"a fully integrated service."
msgstr ""

#: serverguide/C/installation.xml:311(para)
msgid ""
"Once the installation process has finished you can view a list of available "
"tasks by entering the following from a terminal prompt:"
msgstr ""

#: serverguide/C/installation.xml:316(command)
msgid "tasksel --list-tasks"
msgstr ""

#: serverguide/C/installation.xml:319(para)
msgid ""
"The output will list tasks from other Ubuntu based distributions such as "
"Kubuntu and Edubuntu. Note that you can also invoke the "
"<command>tasksel</command> command by itself, which will bring up a menu of "
"the different tasks available."
msgstr ""

#: serverguide/C/installation.xml:325(para)
msgid ""
"You can view a list of which packages are installed with each task using the "
"<emphasis>--task-packages</emphasis> option. For example, to list the "
"packages installed with the <emphasis>DNS Server</emphasis> task enter the "
"following:"
msgstr ""

#: serverguide/C/installation.xml:330(command)
msgid "tasksel --task-packages dns-server"
msgstr ""

#: serverguide/C/installation.xml:332(para)
msgid "The output of the command should list:"
msgstr ""

#: serverguide/C/installation.xml:335(programlisting)
#, no-wrap
msgid ""
"\n"
"bind9-doc\n"
"bind9\n"
msgstr ""

#: serverguide/C/installation.xml:339(para)
msgid ""
"Also, if you did not install one of the tasks during the installation "
"process, but for example you decide to make your new LAMP server a DNS "
"server as well. Simply insert the installation CD and from a terminal:"
msgstr ""

#: serverguide/C/installation.xml:344(command)
msgid "sudo tasksel install dns-server"
msgstr ""

#: serverguide/C/installation.xml:349(title)
msgid "Upgrading"
msgstr ""

#: serverguide/C/installation.xml:350(para)
msgid ""
"There are several ways to upgrade from one Ubuntu release to another. This "
"section gives an overview of the recommended upgrade method."
msgstr ""

#: serverguide/C/installation.xml:354(title) serverguide/C/installation.xml:369(command)
msgid "do-release-upgrade"
msgstr ""

#: serverguide/C/installation.xml:355(para)
msgid ""
"The recommended way to upgrade a Server Edition installation is to use the "
"<application>do-release-upgrade</application> utility. Part of the "
"<emphasis>update-manager-core</emphasis> package, it does not have any "
"graphical dependencies and is installed by default."
msgstr ""

#: serverguide/C/installation.xml:360(para)
msgid ""
"Debian based systems can also be upgraded by using <command>apt-get dist-"
"upgrade</command>. However, using <application>do-release-"
"upgrade</application> is recommended because it has the ability to handle "
"system configuration changes sometimes needed between releases."
msgstr ""

#: serverguide/C/installation.xml:365(para)
msgid "To upgrade to a newer release, from a terminal prompt enter:"
msgstr ""

#: serverguide/C/installation.xml:371(para)
msgid ""
"It is also possible to use <application>do-release-upgrade</application> to "
"upgrade to a development version of Ubuntu. To accomplish this use the "
"<emphasis>-d</emphasis> switch:"
msgstr ""

#: serverguide/C/installation.xml:376(command)
msgid "do-release-upgrade -d"
msgstr ""

#: serverguide/C/installation.xml:379(para)
msgid ""
"Upgrading to a development release is <emphasis>not</emphasis> recommended "
"for production environments."
msgstr ""

#: serverguide/C/installation.xml:386(title)
msgid "Advanced Installation"
msgstr ""

#: serverguide/C/installation.xml:389(title)
msgid "Software RAID"
msgstr ""

#: serverguide/C/installation.xml:391(para)
msgid ""
"RAID is a method of configuring multiple hard drives to act as one, reducing "
"the probability of catastrophic data loss in case of drive failure. RAID is "
"implemented in either software (where the operating system knows about both "
"drives and actively maintains both of them) or hardware (where a special "
"controller makes the OS think there's only one drive and maintains the "
"drives 'invisibly')."
msgstr ""

#: serverguide/C/installation.xml:398(para)
msgid ""
"The RAID software included with current versions of Linux (and Ubuntu) is "
"based on the <application>'mdadm'</application> driver and works very well, "
"better even than many so-called 'hardware' RAID controllers. This section "
"will guide you through installing Ubuntu Server Edition using two RAID1 "
"partitions on two physical hard drives, one for <emphasis>/</emphasis> and "
"another for <emphasis>swap</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:408(para) serverguide/C/installation.xml:925(para)
msgid ""
"Follow the installation steps until you get to the <emphasis>Partition "
"disks</emphasis> step, then:"
msgstr ""

#: serverguide/C/installation.xml:415(para)
msgid "Select <emphasis>Manual</emphasis> as the partition method."
msgstr ""

#: serverguide/C/installation.xml:422(para)
msgid ""
"Select the first hard drive, and agree to <emphasis>\"Create a new empty "
"partition table on this device?\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:426(para)
msgid ""
"Repeat this step for each drive you wish to be part of the RAID array."
msgstr ""

#: serverguide/C/installation.xml:433(para)
msgid ""
"Select the <emphasis>\"FREE SPACE\"</emphasis> on the first drive then "
"select <emphasis>\"Create a new partition\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:440(para)
msgid ""
"Next, select the <emphasis>Size</emphasis> of the partition. This partition "
"will be the <emphasis>swap</emphasis> partition, and a general rule for swap "
"size is twice that of RAM. Enter the partition size, then choose "
"<emphasis>Primary</emphasis>, then <emphasis>Beginning</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:449(para)
msgid ""
"Select the <emphasis>\"Use as:\"</emphasis> line at the top. By default this "
"is <emphasis role=\"italic\">\"Ext3 journaling file system\"</emphasis>, "
"change that to <emphasis>\"physical volume for RAID\"</emphasis> then "
"<emphasis>\"Done setting up partition\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:458(para)
msgid ""
"For the <emphasis>/</emphasis> partition once again select <emphasis>\"Free "
"Space\"</emphasis> on the first drive then <emphasis>\"Create a new "
"partition\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:466(para)
msgid ""
"Use the rest of the free space on the drive and choose "
"<emphasis>Continue</emphasis>, then <emphasis>Primary</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:473(para)
msgid ""
"As with the swap partition, select the <emphasis>\"Use as:\"</emphasis> line "
"at the top, changing it to <emphasis>\"physical volume for RAID\"</emphasis> "
"then choose <emphasis>\"Done setting up partition\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:481(para)
msgid "Repeat steps three through eight for the other disk and partitions."
msgstr ""

#: serverguide/C/installation.xml:490(title)
msgid "RAID Configuration"
msgstr ""

#: serverguide/C/installation.xml:492(para)
msgid "With the partitions setup the arrays are ready to be configured:"
msgstr ""

#: serverguide/C/installation.xml:499(para)
msgid ""
"Back in the main \"Partition Disks\" page, select <emphasis>\"Configure "
"Software RAID\"</emphasis> at the top."
msgstr ""

#: serverguide/C/installation.xml:506(para)
msgid "Select <emphasis>\"yes\"</emphasis> to write the changes to disk."
msgstr ""

#: serverguide/C/installation.xml:513(para)
msgid "Choose <emphasis>\"Create MD drive\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:520(para)
msgid ""
"For this example, select <emphasis>\"RAID1\"</emphasis>, but if you are "
"using a different setup choose the appropriate type (RAID0 RAID1 RAID5)."
msgstr ""

#: serverguide/C/installation.xml:526(para)
msgid ""
"In order to use <emphasis>RAID5</emphasis> you need at least "
"<emphasis>three</emphasis> drives. Using RAID0 or RAID1 only "
"<emphasis>two</emphasis> drives are required."
msgstr ""

#: serverguide/C/installation.xml:535(para)
msgid ""
"Enter the number of active devices <emphasis>\"2\"</emphasis>, or the amount "
"of hard drives you have, for the array. Then select "
"<emphasis>\"Continue\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:543(para)
msgid ""
"Next, enter the number of spare devices <emphasis>\"0\"</emphasis> by "
"default, then choose <emphasis>\"Continue\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:550(para)
msgid ""
"Choose which partitions to use. Generally they will be sda1, sdb1, sdc1, "
"etc. The numbers will usually match and the different letters correspond to "
"different hard drives."
msgstr ""

#: serverguide/C/installation.xml:555(para)
msgid ""
"For the <emphasis>swap</emphasis> partition choose <emphasis>sda1</emphasis> "
"and <emphasis>sdb1</emphasis>. Select <emphasis>\"Continue\"</emphasis> to "
"go to the next step."
msgstr ""

#: serverguide/C/installation.xml:563(para)
msgid ""
"Repeat steps <emphasis>three</emphasis> through <emphasis>seven</emphasis> "
"for the <emphasis>/</emphasis> partition choosing <emphasis>sda2</emphasis> "
"and <emphasis>sdb2</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:571(para)
msgid "Once done select <emphasis>\"Finish\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:581(title)
msgid "Formatting"
msgstr ""

#: serverguide/C/installation.xml:583(para)
msgid ""
"There should now be a list of hard drives and RAID devices. The next step is "
"to format and set the mount point for the RAID devices. Treat the RAID "
"device as a local hard drive, format and mount accordingly."
msgstr ""

#: serverguide/C/installation.xml:591(para)
msgid "Select the <emphasis>RAID1 device #0</emphasis> partition."
msgstr ""

#: serverguide/C/installation.xml:598(para)
msgid ""
"Choose <emphasis>\"Use as:\"</emphasis>. Then select <emphasis>\"swap "
"area\"</emphasis>, then <emphasis>\"Done setting up partition\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:606(para)
msgid "Next, select the <emphasis>RAID1 device #1</emphasis> partition."
msgstr ""

#: serverguide/C/installation.xml:613(para)
msgid ""
"Choose <emphasis>\"Use as:\"</emphasis>. Then select <emphasis>\"Ext3 "
"journaling file system\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:620(para)
msgid ""
"Then select the <emphasis>\"Mount point\"</emphasis> and choose "
"<emphasis>\"/ - the root file system\"</emphasis>. Change any of the other "
"options as appropriate, then select <emphasis>\"Done setting up "
"partition\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:628(para)
msgid ""
"Finally, select <emphasis>\"Finish partitioning and write changes to "
"disk\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:635(para)
msgid ""
"If you choose to place the root partition on a RAID array, the installer "
"will then ask if you would like to boot in a <emphasis>degraded</emphasis> "
"state. See <xref linkend=\"raid-degraded\"/> for further details."
msgstr ""

#: serverguide/C/installation.xml:640(para)
msgid "The installation process will then continue normally."
msgstr ""

#: serverguide/C/installation.xml:646(title)
msgid "Degraded RAID"
msgstr ""

#: serverguide/C/installation.xml:648(para)
msgid ""
"At some point in the life of the computer a disk failure event may occur. "
"When this happens, using Software RAID, the operating system will place the "
"array into what is known as a <emphasis>degraded</emphasis> state."
msgstr ""

#: serverguide/C/installation.xml:653(para)
msgid ""
"If the array has become degraded, due to the chance of data corruption, by "
"default Ubuntu Server Edition will boot to <emphasis>initramfs</emphasis> "
"after thirty seconds. Once the initramfs has booted there is a fifteen "
"second prompt giving you the option to go ahead and boot the system, or "
"attempt manual recover. Booting to the initramfs prompt may or may not be "
"the desired behavior, especially if the machine is in a remote location. "
"Booting to a degraded array can be configured several ways:"
msgstr ""

#: serverguide/C/installation.xml:664(para)
msgid ""
"The <application>dpkg-reconfigure</application> utility can be used to "
"configure the default behavior, and during the process you will be queried "
"about additional settings related to the array. Such as monitoring, email "
"alerts, etc. To reconfigure <application>mdadm</application> enter the "
"following:"
msgstr ""

#: serverguide/C/installation.xml:671(command)
msgid "sudo dpkg-reconfigure mdadm"
msgstr ""

#: serverguide/C/installation.xml:677(para)
msgid ""
"The <command>dpkg-reconfigure mdadm</command> process will change the "
"<filename>/etc/initramfs-tools/conf.d/mdadm</filename> configuration file. "
"The file has the advantage of being able to pre-configure the system's "
"behavior, and can also be manually edited:"
msgstr ""

#: serverguide/C/installation.xml:683(programlisting)
#, no-wrap
msgid ""
"\n"
"BOOT_DEGRADED=true\n"
msgstr ""

#: serverguide/C/installation.xml:688(para)
msgid "The configuration file can be overridden by using a Kernel argument."
msgstr ""

#: serverguide/C/installation.xml:696(para)
msgid ""
"Using a Kernel argument will allow the system to boot to a degraded array as "
"well:"
msgstr ""

#: serverguide/C/installation.xml:702(para)
msgid ""
"When the server is booting press <emphasis>ESC</emphasis> to open the "
"<application>Grub</application> menu."
msgstr ""

#: serverguide/C/installation.xml:707(para)
msgid "Press <emphasis>\"e\"</emphasis> to edit your Kernel command options."
msgstr ""

#: serverguide/C/installation.xml:712(para)
msgid ""
"Press the <emphasis>DOWN</emphasis> arrow to highlight the kernel line."
msgstr ""

#: serverguide/C/installation.xml:717(para)
msgid ""
"Press the <emphasis>\"e\"</emphasis> key again to edit the kernel line."
msgstr ""

#: serverguide/C/installation.xml:722(para)
msgid ""
"Add <emphasis>\"bootdegraded=true\"</emphasis> (without the quotes) to the "
"end of the line."
msgstr ""

#: serverguide/C/installation.xml:727(para)
msgid "Press <emphasis>\"ENTER\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:732(para)
msgid "Finally, press <emphasis>\"b\"</emphasis> to boot the system."
msgstr ""

#: serverguide/C/installation.xml:741(para)
msgid ""
"Once the system has booted you can either repair the array see <xref "
"linkend=\"raid-maintenance\"/> for details, or copy important data to "
"another machine due to major hardware failure."
msgstr ""

#: serverguide/C/installation.xml:748(title)
msgid "RAID Maintenance"
msgstr ""

#: serverguide/C/installation.xml:750(para)
msgid ""
"The <application>mdadm</application> utility can be used to view the status "
"of an array, add disks to an array, remove disks, etc:"
msgstr ""

#: serverguide/C/installation.xml:757(para)
msgid "To view the status of an array, from a terminal prompt enter:"
msgstr ""

#: serverguide/C/installation.xml:761(command)
msgid "sudo mdadm -D /dev/md0"
msgstr ""

#: serverguide/C/installation.xml:764(para)
msgid ""
"The <emphasis>-D</emphasis> tells <application>mdadm</application> to "
"display <emphasis>detailed</emphasis> information about the "
"<filename>/dev/md0</filename> device. Replace <filename>/dev/md0</filename> "
"with the appropriate RAID device."
msgstr ""

#: serverguide/C/installation.xml:770(para)
msgid "To view the status of a disk in an array:"
msgstr ""

#: serverguide/C/installation.xml:774(command)
msgid "sudo mdadm -E /dev/sda1"
msgstr ""

#: serverguide/C/installation.xml:776(para)
msgid ""
"The output if very similar to the <command>mdadm -D</command> command, "
"adjust <filename>/dev/sda1</filename> for each disk."
msgstr ""

#: serverguide/C/installation.xml:781(para)
msgid "If a disk fails and needs to be removed from an array enter:"
msgstr ""

#: serverguide/C/installation.xml:785(command)
msgid "sudo mdadm --remove /dev/md0 /dev/sda1"
msgstr ""

#: serverguide/C/installation.xml:787(para)
msgid ""
"Change <filename>/dev/md0</filename> and <filename>/dev/sda1</filename> to "
"the appropriate RAID device and disk."
msgstr ""

#: serverguide/C/installation.xml:792(para)
msgid "Similarly, to add a new disk:"
msgstr ""

#: serverguide/C/installation.xml:796(command)
msgid "sudo mdadm --add /dev/md0 /dev/sda1"
msgstr ""

#: serverguide/C/installation.xml:801(para)
msgid ""
"Sometimes a disk can change to a <emphasis>faulty</emphasis> state even "
"though there is nothing physically wrong with the drive. It is usually "
"worthwhile to remove the drive from the array then re-add it. This will "
"cause the drive to re-sync with the array. If the drive will not sync with "
"the array, it is a good indication of hardware failure."
msgstr ""

#: serverguide/C/installation.xml:807(para)
msgid ""
"The <filename>/proc/mdstat</filename> file also contains useful information "
"about the system's RAID devices:"
msgstr ""

#: serverguide/C/installation.xml:812(command)
msgid "cat /proc/mdstat"
msgstr ""

#: serverguide/C/installation.xml:813(computeroutput)
#, no-wrap
msgid ""
"Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] "
"[raid10] \n"
"md0 : active raid1 sda1[0] sdb1[1]\n"
"      10016384 blocks [2/2] [UU]\n"
"      \n"
"unused devices: &lt;none&gt;"
msgstr ""

#: serverguide/C/installation.xml:820(para)
msgid ""
"The following command is great for watching the status of a syncing drive:"
msgstr ""

#: serverguide/C/installation.xml:825(command)
msgid "watch -n1 cat /proc/mdstat"
msgstr ""

#: serverguide/C/installation.xml:828(para)
msgid ""
"Press <emphasis>Ctrl+c</emphasis> to stop the "
"<application>watch</application> command."
msgstr ""

#: serverguide/C/installation.xml:832(para)
msgid ""
"If you do need to replace a faulty drive, after the drive has been replaced "
"and synced, <application>grub</application> will need to be installed. To "
"install <application>grub</application> on the new drive, enter the "
"following:"
msgstr ""

#: serverguide/C/installation.xml:838(command)
msgid "sudo grub-install /dev/md0"
msgstr ""

#: serverguide/C/installation.xml:841(para)
msgid ""
"Replace <filename>/dev/md0</filename> with the appropriate array device name."
msgstr ""

#: serverguide/C/installation.xml:849(para)
msgid ""
"The topic of RAID arrays is a complex one due to the plethora of ways RAID "
"can be configured. Please see the following links for more information:"
msgstr ""

#: serverguide/C/installation.xml:857(ulink)
msgid "Software RAID HOWTO"
msgstr ""

#: serverguide/C/installation.xml:862(ulink)
msgid "Managing RAID on Linux"
msgstr ""

#: serverguide/C/installation.xml:869(title)
msgid "Logical Volume Manager (LVM)"
msgstr ""

#: serverguide/C/installation.xml:871(para)
msgid ""
"Logical Volume Manger, or <emphasis>LVM</emphasis>, allows administrators to "
"create <emphasis>logical</emphasis> volumes out of one or multiple physical "
"hard disks. LVM volumes can be created on both software RAID partitions and "
"standard partitions residing on a single disk. Volumes can also be extended, "
"giving greater flexibility to systems as requirements change."
msgstr ""

#: serverguide/C/installation.xml:880(para)
msgid ""
"A side effect of LVM's power and flexibility is a greater degree of "
"complication. Before diving into the LVM installation process, it is best to "
"get familiar with some terms."
msgstr ""

#: serverguide/C/installation.xml:887(para)
msgid ""
"<emphasis>Volume Group (VG):</emphasis> contains one or several Logical "
"Volumes (LV)."
msgstr ""

#: serverguide/C/installation.xml:892(para)
msgid ""
"<emphasis>Logical Volume (LV):</emphasis> is similar to a partition in a non-"
"LVM system. Multiple Physical Volumes (PV) can make up one LV, on top of "
"which resides the actual EXT3, XFS, JFS, etc filesystem."
msgstr ""

#: serverguide/C/installation.xml:898(para)
msgid ""
"<emphasis>Physical Volume (PV):</emphasis> physical hard disk or software "
"RAID partition. The Volume Group can be extended by adding more PVs."
msgstr ""

#: serverguide/C/installation.xml:909(para)
msgid ""
"As an example this section covers installing Ubuntu Server Edition with "
"<filename role=\"directory\">/srv</filename> mounted on a LVM volume. During "
"the initial install only one Physical Volume (PV) will be part of the Volume "
"Group (VG). Another PV will be added after install to demonstrate how a VG "
"can be extended."
msgstr ""

#: serverguide/C/installation.xml:915(para)
msgid ""
"There are several installation options for LVM, <emphasis>\"Guided - use the "
"entire disk and setup LVM\"</emphasis> which will also allow you to assign a "
"portion of the available space to LVM, <emphasis>\"Guided - use entire and "
"setup encrypted LVM\"</emphasis>, or <emphasis>Manually</emphasis> setup the "
"partitions and configure LVM. At this time the only way to configure a "
"system with both LVM and standard partitions, during installation, is to use "
"the Manual approach."
msgstr ""

#: serverguide/C/installation.xml:932(para)
msgid ""
"At the <emphasis>\"Partition Disks</emphasis> screen choose "
"<emphasis>\"Manual\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:939(para)
msgid ""
"Select the hard disk and on the next screen choose \"yes\" to "
"<emphasis>\"Create a new empty partition table on this device\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:946(para)
msgid ""
"Next, create standard <emphasis>/boot</emphasis>, <emphasis>swap</emphasis>, "
"and <emphasis>/</emphasis> partitions with whichever filesystem you prefer."
msgstr ""

#: serverguide/C/installation.xml:954(para)
msgid ""
"For the LVM <emphasis>/srv</emphasis>, create a new "
"<emphasis>Logical</emphasis> partition. Then change <emphasis>\"Use "
"as\"</emphasis> to <emphasis>\"physical volume for LVM\"</emphasis> then "
"<emphasis>\"Done setting up the partition\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:962(para)
msgid ""
"Now select <emphasis>\"Configure the Logical Volume Manager\"</emphasis> at "
"the top, and choose <emphasis>\"Yes\"</emphasis> to write the changes to "
"disk."
msgstr ""

#: serverguide/C/installation.xml:970(para)
msgid ""
"For the <emphasis>\"LVM configuration action\"</emphasis> on the next "
"screen, choose <emphasis>\"Create volume group\"</emphasis>. Enter a name "
"for the VG such as <emphasis>vg01</emphasis>, or something more descriptive. "
"After entering a name, select the partition configured for LVM, and choose "
"<emphasis>\"Continue\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:979(para)
msgid ""
"Back at the <emphasis>\"LVM configuration action\"</emphasis> screen, select "
"<emphasis>\"Create logical volume\"</emphasis>. Select the newly created "
"volume group, and enter a name for the new LV, for example "
"<emphasis>srv</emphasis> since that is the intended mount point. Then choose "
"a size, which may be the full partition because it can always be extended "
"later. Choose <emphasis>\"Finish\"</emphasis> and you should be back at the "
"main <emphasis>\"Partition Disks\"</emphasis> screen."
msgstr ""

#: serverguide/C/installation.xml:989(para)
msgid ""
"Now add a filesystem to the new LVM. Select the partition under "
"<emphasis>\"LVM VG vg01, LV srv\"</emphasis>, or whatever name you have "
"chosen, the choose <emphasis>Use as</emphasis>. Setup a file system as "
"normal selecting <emphasis>/srv</emphasis> as the mount point. Once done, "
"select <emphasis>\"Done setting up the partition\"</emphasis>."
msgstr ""

#: serverguide/C/installation.xml:998(para)
msgid ""
"Finally, select <emphasis>\"Finish partitioning and write changes to "
"disk\"</emphasis>. Then confirm the changes and continue with the rest of "
"the installation."
msgstr ""

#: serverguide/C/installation.xml:1006(para)
msgid "There are some useful utilities to view information about LVM:"
msgstr ""

#: serverguide/C/installation.xml:1011(para)
msgid ""
"<emphasis>vgdisplay:</emphasis> shows information about Volume Groups."
msgstr ""

#: serverguide/C/installation.xml:1012(para)
msgid ""
"<emphasis>lvdisplay:</emphasis> has information about Logical Volumes."
msgstr ""

#: serverguide/C/installation.xml:1013(para)
msgid ""
"<emphasis>pvdisplay:</emphasis> similarly displays information about "
"Physical Volumes."
msgstr ""

#: serverguide/C/installation.xml:1018(title)
msgid "Extending Volume Groups"
msgstr ""

#: serverguide/C/installation.xml:1020(para)
msgid ""
"Continuing with <emphasis>srv</emphasis> as an LVM volume example, this "
"section covers adding a second hard disk, creating a Physical Volume (PV), "
"adding it to the volume group (VG), extending the logical volume <filename "
"role=\"directory\">srv</filename> and finally extending the filesystem. This "
"example assumes a second hard disk has been added to the system. This hard "
"disk will be named <filename>/dev/sdb</filename> in our example. BEWARE: "
"make sure you don't already have an existing <filename>/dev/sdb</filename> "
"before issuing the commands below. You could lose some data if you issue "
"those commands on a non-empty disk. In our example we will use the entire "
"disk as a physical volume (you could choose to create partitions and use "
"them as different physical volumes)"
msgstr ""

#: serverguide/C/installation.xml:1032(para)
msgid "First, create the physical volume, in a terminal execute:"
msgstr ""

#: serverguide/C/installation.xml:1037(command)
msgid "sudo pvcreate /dev/sdb"
msgstr ""

#: serverguide/C/installation.xml:1043(para)
msgid "Now extend the Volume Group (VG):"
msgstr ""

#: serverguide/C/installation.xml:1048(command)
msgid "sudo vgextend vg01 /dev/sdb"
msgstr ""

#: serverguide/C/installation.xml:1054(para)
msgid ""
"Use <application>vgdisplay</application> to find out the free physical "
"extents - Free PE / size (the size you can allocate). We will assume a free "
"size of 511 PE (equivalent to 2GB with a PE size of 4MB) and we will use the "
"whole free space available. Use your own PE and/or free space."
msgstr ""

#: serverguide/C/installation.xml:1060(para)
msgid ""
"The Logical Volume (LV) can now be extended by different methods, we will "
"only see how to use the PE to extend the LV:"
msgstr ""

#: serverguide/C/installation.xml:1065(command)
msgid "sudo lvextend /dev/vg01/srv -l +511"
msgstr ""

#: serverguide/C/installation.xml:1068(para)
msgid ""
"The <emphasis>-l</emphasis> option allows the LV to be extended using PE. "
"The <emphasis>-L</emphasis> option allows the LV to be extended using Meg, "
"Gig, Tera, etc bytes."
msgstr ""

#: serverguide/C/installation.xml:1076(para)
msgid ""
"Even though you are supposed to be able to <emphasis>expand</emphasis> an "
"ext3 or ext4 filesystem without unmounting it first, it may be a good "
"pratice to unmount it anyway and check the filesystem, so that you don't "
"mess up the day you want to reduce a logical volume (in that case unmounting "
"first is compulsory)."
msgstr ""

#: serverguide/C/installation.xml:1082(para)
msgid ""
"The following commands are for an <emphasis>EXT3</emphasis> or "
"<emphasis>EXT4</emphasis> filesystem. If you are using another filesystem "
"there may be other utilities available."
msgstr ""

#: serverguide/C/installation.xml:1089(command)
msgid "sudo e2fsck -f /dev/vg01/srv"
msgstr ""

#: serverguide/C/installation.xml:1092(para)
msgid ""
"The <emphasis>-f</emphasis> option of <application>e2fsck</application> "
"forces checking even if the system seems clean."
msgstr ""

#: serverguide/C/installation.xml:1099(para)
msgid "Finally, resize the filesystem:"
msgstr ""

#: serverguide/C/installation.xml:1104(command)
msgid "sudo resize2fs /dev/vg01/srv"
msgstr ""

#: serverguide/C/installation.xml:1110(para)
msgid "Now mount the partition and check its size."
msgstr ""

#: serverguide/C/installation.xml:1115(command)
msgid "mount /dev/vg01/srv /srv &amp;&amp; df -h /srv"
msgstr ""

#: serverguide/C/installation.xml:1127(para)
msgid ""
"See the <ulink url=\"http://tldp.org/HOWTO/LVM-HOWTO/index.html\">LVM "
"HOWTO</ulink> for more information."
msgstr ""

#: serverguide/C/installation.xml:1132(para)
msgid ""
"Another good article is <ulink "
"url=\"http://www.linuxdevcenter.com/pub/a/linux/2006/04/27/managing-disk-"
"space-with-lvm.html\">Managing Disk Space with LVM</ulink> on O'Reilly's "
"linuxdevcenter.com site."
msgstr ""

#: serverguide/C/installation.xml:1139(para)
msgid ""
"For more information on <application>fdisk</application> see the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man8/fdisk.8.html\">fdisk"
" man page</ulink>."
msgstr ""

#: serverguide/C/file-server.xml:13(title)
msgid "File Servers"
msgstr ""

#: serverguide/C/file-server.xml:15(para)
msgid ""
"If you have more than one computer on a single network. At some point you "
"will probably need to share files between them. In this section we cover "
"installing and configuring FTP, NFS, and CUPS."
msgstr ""

#: serverguide/C/file-server.xml:22(title)
msgid "FTP Server"
msgstr ""

#: serverguide/C/file-server.xml:24(para)
msgid ""
"File Transfer Protocol (FTP) is a TCP protocol for uploading and downloading "
"files between computers. FTP works on a client/server model. The server "
"component is called an <emphasis>FTP daemon</emphasis>. It continuously "
"listens for FTP requests from remote clients. When a request is received, it "
"manages the login and sets up the connection. For the duration of the "
"session it executes any of commands sent by the FTP client."
msgstr ""

#: serverguide/C/file-server.xml:33(para)
msgid "Access to an FTP server can be managed in two ways:"
msgstr ""

#: serverguide/C/file-server.xml:37(para)
msgid "Anonymous"
msgstr ""

#: serverguide/C/file-server.xml:40(para)
msgid "Authenticated"
msgstr ""

#: serverguide/C/file-server.xml:43(para)
msgid ""
"In the Anonymous mode, remote clients can access the FTP server by using the "
"default user account called \"anonymous\" or \"ftp\" and sending an email "
"address as the password. In the Authenticated mode a user must have an "
"account and a password. User access to the FTP server directories and files "
"is dependent on the permissions defined for the account used at login. As a "
"general rule, the FTP daemon will hide the root directory of the FTP server "
"and change it to the FTP Home directory. This hides the rest of the file "
"system from remote sessions."
msgstr ""

#: serverguide/C/file-server.xml:55(title)
msgid "vsftpd - FTP Server Installation"
msgstr ""

#: serverguide/C/file-server.xml:57(para)
msgid ""
"vsftpd is an FTP daemon available in Ubuntu. It is easy to install, set up, "
"and maintain. To install <application>vsftpd</application> you can run the "
"following command:"
msgstr ""

#: serverguide/C/file-server.xml:65(command)
msgid "sudo apt-get install vsftpd"
msgstr ""

#: serverguide/C/file-server.xml:71(title)
msgid "Anonymous FTP Configuration"
msgstr ""

#: serverguide/C/file-server.xml:73(para)
msgid ""
"By default <application>vsftpd</application> is configured to only allow "
"anonymous download. During installation a <emphasis>ftp</emphasis> user is "
"created with a home directory of <filename>/home/ftp</filename>. This is the "
"default FTP directory."
msgstr ""

#: serverguide/C/file-server.xml:80(para)
msgid ""
"If you wish to change this location, to <filename>/srv/ftp</filename> for "
"example, simply create a directory in another location and change the "
"<emphasis>ftp</emphasis> user's home directory:"
msgstr ""

#: serverguide/C/file-server.xml:87(command)
msgid "sudo mkdir /srv/ftp"
msgstr ""

#: serverguide/C/file-server.xml:88(command)
msgid "sudo usermod -d /srv/ftp ftp"
msgstr ""

#: serverguide/C/file-server.xml:91(para)
msgid "After making the change restart <application>vsftpd</application>:"
msgstr ""

#: serverguide/C/file-server.xml:96(command) serverguide/C/file-server.xml:124(command) serverguide/C/file-server.xml:189(command) serverguide/C/file-server.xml:237(command)
msgid "sudo /etc/init.d/vsftpd restart"
msgstr ""

#: serverguide/C/file-server.xml:99(para)
msgid ""
"Finally, copy any files and directories you would like to make available "
"through anonymous FTP to <filename>/srv/ftp</filename>."
msgstr ""

#: serverguide/C/file-server.xml:106(title)
msgid "User Authenticated FTP Configuration"
msgstr ""

#: serverguide/C/file-server.xml:108(para)
msgid ""
"To configure <application>vsftpd</application> to authenticate system users "
"and allow them to upload files edit <filename>/etc/vsftpd.conf</filename>:"
msgstr ""

#: serverguide/C/file-server.xml:114(programlisting)
#, no-wrap
msgid ""
"\n"
"local_enable=YES\n"
"write_enable=YES\n"
msgstr ""

#: serverguide/C/file-server.xml:119(para)
msgid "Now restart <application>vsftpd</application>:"
msgstr ""

#: serverguide/C/file-server.xml:127(para)
msgid ""
"Now when system users login to FTP they will start in their "
"<emphasis>home</emphasis> directories where they can download, upload, "
"create directories, etc."
msgstr ""

#: serverguide/C/file-server.xml:133(para)
msgid ""
"Similarly, by default, the anonymous users are not allowed to upload files "
"to FTP server. To change this setting, you should uncomment the following "
"line, and restart <application>vsftpd</application>:"
msgstr ""

#: serverguide/C/file-server.xml:140(programlisting)
#, no-wrap
msgid ""
"\n"
"anon_upload_enable=YES\n"
msgstr ""

#: serverguide/C/file-server.xml:145(para)
msgid ""
"Enabling anonymous FTP upload can be an extreme security risk. It is best to "
"not enable anonymous upload on servers accessed directly from the Internet."
msgstr ""

#: serverguide/C/file-server.xml:151(para)
msgid ""
"The configuration file consists of many configuration parameters. The "
"information about each parameter is available in the configuration file. "
"Alternatively, you can refer to the man page, <command>man 5 "
"vsftpd.conf</command> for details of each parameter."
msgstr ""

#: serverguide/C/file-server.xml:162(title)
msgid "Securing FTP"
msgstr ""

#: serverguide/C/file-server.xml:164(para)
msgid ""
"There are options in <filename>/etc/vsftpd.conf</filename> to help make "
"<application>vsftpd</application> more secure. For example users can be "
"limited to their home directories by uncommenting:"
msgstr ""

#: serverguide/C/file-server.xml:170(programlisting)
#, no-wrap
msgid ""
"\n"
"chroot_local_user=YES\n"
msgstr ""

#: serverguide/C/file-server.xml:174(para)
msgid ""
"You can also limit a specific list of users to just their home directories:"
msgstr ""

#: serverguide/C/file-server.xml:178(programlisting)
#, no-wrap
msgid ""
"\n"
"chroot_list_enable=YES\n"
"chroot_list_file=/etc/vsftpd.chroot_list\n"
msgstr ""

#: serverguide/C/file-server.xml:183(para)
msgid ""
"After uncommenting the above options, create a "
"<filename>/etc/vsftpd.chroot_list</filename> containing a list of users one "
"per line. Then restart <application>vsftpd</application>:"
msgstr ""

#: serverguide/C/file-server.xml:192(para)
msgid ""
"Also, the <filename>/etc/ftpusers</filename> file is a list of users that "
"are <emphasis>disallowed</emphasis> FTP access. The default list includes "
"root, daemon, nobody, etc. To disable FTP access for additional users simply "
"add them to the list."
msgstr ""

#: serverguide/C/file-server.xml:199(para)
msgid ""
"FTP can also be encrypted using <emphasis>FTPS</emphasis>. Different from "
"<emphasis>SFTP</emphasis>, <emphasis>FTPS</emphasis> is FTP over Secure "
"Socket Layer (SSL). <emphasis>SFTP</emphasis> is a FTP like session over an "
"encrypted <emphasis>SSH</emphasis> connection. A major difference is that "
"users of SFTP need to have a <emphasis>shell</emphasis> account on the "
"system, instead of a <emphasis>nologin</emphasis> shell. Providing all users "
"with a shell may not be ideal for some environments, such as a shared web "
"host."
msgstr ""

#: serverguide/C/file-server.xml:208(para)
msgid ""
"To configure <emphasis>FTPS</emphasis>, edit "
"<filename>/etc/vsftpd.conf</filename> and at the bottom add:"
msgstr ""

#: serverguide/C/file-server.xml:212(programlisting)
#, no-wrap
msgid ""
"\n"
"ssl_enable=Yes\n"
msgstr ""

#: serverguide/C/file-server.xml:216(para)
msgid "Also, notice the certificate and key related options:"
msgstr ""

#: serverguide/C/file-server.xml:220(programlisting)
#, no-wrap
msgid ""
"\n"
"rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem\n"
"rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key\n"
msgstr ""

#: serverguide/C/file-server.xml:225(para)
msgid ""
"By default these options are set the the certificate and key provided by the "
"<application>ssl-cert</application> package. In a production environment "
"these should be replaced with a certificate and key generated for the "
"specific host. For more information on certificates see <xref "
"linkend=\"certificates-and-security\"/>."
msgstr ""

#: serverguide/C/file-server.xml:231(para)
msgid ""
"Now restart <application>vsftpd</application>, and non-anonymous users will "
"be forced to use <emphasis>FTPS</emphasis>:"
msgstr ""

#: serverguide/C/file-server.xml:240(para)
msgid ""
"To allow users with a shell of <filename>/usr/sbin/nologin</filename> access "
"to FTP, but have no shell access, edit <filename>/etc/shells</filename> "
"adding the <emphasis>nologin</emphasis> shell:"
msgstr ""

#: serverguide/C/file-server.xml:245(programlisting)
#, no-wrap
msgid ""
"\n"
"# /etc/shells: valid login shells\n"
"/bin/csh\n"
"/bin/sh\n"
"/usr/bin/es\n"
"/usr/bin/ksh\n"
"/bin/ksh\n"
"/usr/bin/rc\n"
"/usr/bin/tcsh\n"
"/bin/tcsh\n"
"/usr/bin/esh\n"
"/bin/dash\n"
"/bin/bash\n"
"/bin/rbash\n"
"/usr/bin/screen\n"
"/usr/sbin/nologin\n"
msgstr ""

#: serverguide/C/file-server.xml:263(para)
msgid ""
"This is necessary because, by default <application>vsftpd</application> uses "
"PAM for authentication, and the <filename>/etc/pam.d/vsftpd</filename> "
"configuration file contains:"
msgstr ""

#: serverguide/C/file-server.xml:268(programlisting)
#, no-wrap
msgid ""
"\n"
"auth    required        pam_shells.so\n"
msgstr ""

#: serverguide/C/file-server.xml:272(para)
msgid ""
"The <emphasis>shells</emphasis> PAM module restricts access to shells listed "
"in the <filename>/etc/shells</filename> file."
msgstr ""

#: serverguide/C/file-server.xml:277(para)
msgid ""
"Most popular FTP clients can be configured connect using FTPS. The "
"<application>lftp</application> command line FTP client has the ability to "
"use FTPS as well."
msgstr ""

#: serverguide/C/file-server.xml:288(para)
msgid ""
"See the <ulink url=\"http://vsftpd.beasts.org/vsftpd_conf.html\">vsftpd "
"website</ulink> for more information."
msgstr ""

#: serverguide/C/file-server.xml:293(para)
msgid ""
"For detailed <filename>/etc/vsftpd.conf</filename> options see the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man5/vsftpd.conf.5.html\""
">vsftpd.conf man page</ulink>."
msgstr ""

#: serverguide/C/file-server.xml:299(para)
msgid ""
"The CodeGurus article <ulink "
"url=\"http://www.codeguru.com/csharp/.net/net_general/internet/article.php/c1"
"4329\"> FTPS vs. SFTP: What to Choose</ulink> has useful information "
"contrasting FTPS and SFTP."
msgstr ""

#: serverguide/C/file-server.xml:310(title)
msgid "Network File System (NFS)"
msgstr ""

#: serverguide/C/file-server.xml:311(para)
msgid ""
"NFS allows a system to share directories and files with others over a "
"network. By using NFS, users and programs can access files on remote systems "
"almost as if they were local files."
msgstr ""

#: serverguide/C/file-server.xml:317(para)
msgid "Some of the most notable benefits that NFS can provide are:"
msgstr ""

#: serverguide/C/file-server.xml:323(para)
msgid ""
"Local workstations use less disk space because commonly used data can be "
"stored on a single machine and still remain accessible to others over the "
"network."
msgstr ""

#: serverguide/C/file-server.xml:328(para)
msgid ""
"There is no need for users to have separate home directories on every "
"network machine. Home directories could be set up on the NFS server and made "
"available throughout the network."
msgstr ""

#: serverguide/C/file-server.xml:334(para)
msgid ""
"Storage devices such as floppy disks, CDROM drives, and USB Thumb drives can "
"be used by other machines on the network. This may reduce the number of "
"removable media drives throughout the network."
msgstr ""

#: serverguide/C/file-server.xml:344(para)
msgid ""
"At a terminal prompt enter the following command to install the NFS Server:"
msgstr ""

#: serverguide/C/file-server.xml:350(command)
msgid "sudo apt-get install nfs-kernel-server"
msgstr ""

#: serverguide/C/file-server.xml:356(para)
msgid ""
"You can configure the directories to be exported by adding them to the "
"<filename>/etc/exports</filename> file. For example:"
msgstr ""

#: serverguide/C/file-server.xml:361(screen)
#, no-wrap
msgid ""
"\n"
"/ubuntu  *(ro,sync,no_root_squash)\n"
"/home    *(rw,sync,no_root_squash)\n"
msgstr ""

#: serverguide/C/file-server.xml:367(para)
msgid ""
"You can replace * with one of the hostname formats. Make the hostname "
"declaration as specific as possible so unwanted systems cannot access the "
"NFS mount."
msgstr ""

#: serverguide/C/file-server.xml:373(para)
msgid ""
"To start the NFS server, you can run the following command at a terminal "
"prompt:"
msgstr ""

#: serverguide/C/file-server.xml:378(command)
msgid "sudo /etc/init.d/nfs-kernel-server start"
msgstr ""

#: serverguide/C/file-server.xml:383(title)
msgid "NFS Client Configuration"
msgstr ""

#: serverguide/C/file-server.xml:384(para)
msgid ""
"Use the <application>mount</application> command to mount a shared NFS "
"directory from another machine, by typing a command line similar to the "
"following at a terminal prompt:"
msgstr ""

#: serverguide/C/file-server.xml:390(command)
msgid "sudo mount example.hostname.com:/ubuntu /local/ubuntu"
msgstr ""

#: serverguide/C/file-server.xml:394(para)
msgid ""
"The mount point directory <filename>/local/ubuntu</filename> must exist. "
"There should be no files or subdirectories in the "
"<filename>/local/ubuntu</filename> directory."
msgstr ""

#: serverguide/C/file-server.xml:401(para)
msgid ""
"An alternate way to mount an NFS share from another machine is to add a line "
"to the <filename>/etc/fstab</filename> file. The line must state the "
"hostname of the NFS server, the directory on the server being exported, and "
"the directory on the local machine where the NFS share is to be mounted."
msgstr ""

#: serverguide/C/file-server.xml:409(para)
msgid ""
"The general syntax for the line in <filename>/etc/fstab</filename> file is "
"as follows:"
msgstr ""

#: serverguide/C/file-server.xml:415(programlisting)
#, no-wrap
msgid ""
"\n"
"example.hostname.com:/ubuntu /local/ubuntu nfs "
"rsize=8192,wsize=8192,timeo=14,intr\n"
msgstr ""

#: serverguide/C/file-server.xml:419(para)
msgid ""
"If you have trouble mounting an NFS share, make sure the <application>nfs-"
"common</application> package is installed on your client. To install "
"<application>nfs-common</application> enter the following command at the "
"terminal prompt: <screen>\n"
"<command>sudo apt-get install nfs-common</command>\n"
"</screen>"
msgstr ""

#: serverguide/C/file-server.xml:432(ulink)
msgid "Linux NFS faq"
msgstr ""

#: serverguide/C/file-server.xml:437(title)
msgid "CUPS - Print Server"
msgstr ""

#: serverguide/C/file-server.xml:438(para)
msgid ""
"The primary mechanism for Ubuntu printing and print services is the "
"<emphasis role=\"bold\">Common UNIX Printing System</emphasis> (CUPS). This "
"printing system is a freely available, portable printing layer which has "
"become the new standard for printing in most Linux distributions."
msgstr ""

#: serverguide/C/file-server.xml:445(para)
msgid ""
"CUPS manages print jobs and queues and provides network printing using the "
"standard Internet Printing Protocol (IPP), while offering support for a very "
"large range of printers, from dot-matrix to laser and many in between. CUPS "
"also supports PostScript Printer Description (PPD) and auto-detection of "
"network printers, and features a simple web-based configuration and "
"administration tool."
msgstr ""

#: serverguide/C/file-server.xml:455(para)
msgid ""
"To install CUPS on your Ubuntu computer, simply use "
"<application>sudo</application> with the <application>apt-get</application> "
"command and give the packages to install as the first parameter. A complete "
"CUPS install has many package dependencies, but they may all be specified on "
"the same command line. Enter the following at a terminal prompt to install "
"CUPS:"
msgstr ""

#: serverguide/C/file-server.xml:460(command)
msgid "sudo apt-get install cupsys"
msgstr ""

#: serverguide/C/file-server.xml:463(para)
msgid ""
"Upon authenticating with your user password, the packages should be "
"downloaded and installed without error. Upon the conclusion of installation, "
"the CUPS server will be started automatically."
msgstr ""

#: serverguide/C/file-server.xml:468(para)
msgid ""
"For troubleshooting purposes, you can access CUPS server errors via the "
"error log file at: <filename>/var/log/cups/error_log</filename>. If the "
"error log does not show enough information to troubleshoot any problems you "
"encounter, the verbosity of the CUPS log can be increased by changing the "
"<emphasis role=\"bold\">LogLevel</emphasis> directive in the configuration "
"file (discussed below) to \"debug\" or even \"debug2\", which logs "
"everything, from the default of \"info\". If you make this change, remember "
"to change it back once you've solved your problem, to prevent the log file "
"from becoming overly large."
msgstr ""

#: serverguide/C/file-server.xml:481(para)
msgid ""
"The Common UNIX Printing System server's behavior is configured through the "
"directives contained in the file <filename>/etc/cups/cupsd.conf</filename>. "
"The CUPS configuration file follows the same syntax as the primary "
"configuration file for the Apache HTTP server, so users familiar with "
"editing Apache's configuration file should feel at ease when editing the "
"CUPS configuration file. Some examples of settings you may wish to change "
"initially will be presented here."
msgstr ""

#: serverguide/C/file-server.xml:491(para)
msgid ""
"Prior to editing the configuration file, you should make a copy of the "
"original file and protect it from writing, so you will have the original "
"settings as a reference, and to reuse as necessary."
msgstr ""

#: serverguide/C/file-server.xml:495(para)
msgid ""
"Copy the <filename>/etc/cups/cupsd.conf</filename> file and protect it from "
"writing with the following commands, issued at a terminal prompt:"
msgstr ""

#: serverguide/C/file-server.xml:501(command)
msgid "sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original"
msgstr ""

#: serverguide/C/file-server.xml:502(command)
msgid "sudo chmod a-w /etc/cups/cupsd.conf.original"
msgstr ""

#: serverguide/C/file-server.xml:507(para)
msgid ""
"<emphasis role=\"bold\">ServerAdmin</emphasis>: To configure the email "
"address of the designated administrator of the CUPS server, simply edit the "
"<filename>/etc/cups/cupsd.conf</filename> configuration file with your "
"preferred text editor, and modify the <emphasis "
"role=\"italics\">ServerAdmin</emphasis> line accordingly. For example, if "
"you are the Administrator for the CUPS server, and your e-mail address is "
"'bjoy@somebigco.com', then you would modify the ServerAdmin line to appear "
"as such:"
msgstr ""

#: serverguide/C/file-server.xml:518(screen)
#, no-wrap
msgid ""
"\n"
"ServerAdmin bjoy@somebigco.com\n"
msgstr ""

#: serverguide/C/file-server.xml:524(para)
msgid ""
"For more examples of configuration directives in the CUPS server "
"configuration file, view the associated system manual page by entering the "
"following command at a terminal prompt:"
msgstr ""

#: serverguide/C/file-server.xml:531(command)
msgid "man cupsd.conf"
msgstr ""

#: serverguide/C/file-server.xml:535(para)
msgid ""
"Whenever you make changes to the <filename>/etc/cups/cupsd.conf</filename> "
"configuration file, you'll need to restart the CUPS server by typing the "
"following command at a terminal prompt:"
msgstr ""

#: serverguide/C/file-server.xml:541(command)
msgid "sudo /etc/init.d/cupsys restart"
msgstr ""

#: serverguide/C/file-server.xml:544(para)
msgid ""
"Some other configuration for the CUPS server is done in the file "
"<filename>/etc/cups/cups.d/ports.conf</filename>:"
msgstr ""

#: serverguide/C/file-server.xml:547(para)
msgid ""
"<emphasis role=\"bold\">Listen</emphasis>: By default on Ubuntu, the CUPS "
"server installation listens only on the loopback interface at IP address "
"<emphasis>127.0.0.1</emphasis>. In order to instruct the CUPS server to "
"listen on an actual network adapter's IP address, you must specify either a "
"hostname, the IP address, or optionally, an IP address/port pairing via the "
"addition of a Listen directive. For example, if your CUPS server resides on "
"a local network at the IP address <emphasis "
"role=\"italics\">192.168.10.250</emphasis> and you'd like to make it "
"accessible to the other systems on this subnetwork, you would edit the "
"<filename>/etc/cups/cupsd.conf</filename> and add a Listen directive, as "
"such:"
msgstr ""

#: serverguide/C/file-server.xml:561(screen)
#, no-wrap
msgid ""
"\n"
"Listen 127.0.0.1:631           # existing loopback Listen\n"
"Listen /var/run/cups/cups.sock # existing socket Listen\n"
"Listen 192.168.10.250:631      # Listen on the LAN interface, Port 631 "
"(IPP)\n"
msgstr ""

#: serverguide/C/file-server.xml:567(para)
msgid ""
"In the example above, you may comment out or remove the reference to the "
"Loopback address (127.0.0.1) if you do not wish <application>cupsd "
"</application> to listen on that interface, but would rather have it only "
"listen on the Ethernet interfaces of the Local Area Network (LAN). To enable "
"listening for all network interfaces for which a certain hostname is bound, "
"including the Loopback, you could create a Listen entry for the hostname "
"<emphasis>socrates</emphasis> as such:"
msgstr ""

#: serverguide/C/file-server.xml:577(screen)
#, no-wrap
msgid ""
"\n"
"Listen socrates:631  # Listen on all interfaces for the hostname 'socrates'\n"
msgstr ""

#: serverguide/C/file-server.xml:581(para)
msgid ""
"or by omitting the Listen directive and using <emphasis>Port</emphasis> "
"instead, as in:"
msgstr ""

#: serverguide/C/file-server.xml:583(screen)
#, no-wrap
msgid ""
"\n"
"Port 631  # Listen on port 631 on all interfaces\n"
msgstr ""

#: serverguide/C/file-server.xml:594(ulink)
msgid "CUPS Website"
msgstr ""

#: serverguide/C/dns.xml:13(title)
msgid "Domain Name Service (DNS)"
msgstr ""

#: serverguide/C/dns.xml:14(para)
msgid ""
"Domain Name Service (DNS) is an Internet service that maps IP addresses and "
"fully qualified domain names (FQDN) to one another. In this way, DNS "
"alleviates the need to remember IP addresses. Computers that run DNS are "
"called <emphasis>name servers</emphasis>. Ubuntu ships with "
"<application>BIND</application> (Berkley Internet Naming Daemon), the most "
"common program used for maintaining a name server on Linux."
msgstr ""

#: serverguide/C/dns.xml:24(para)
msgid ""
"At a terminal prompt, enter the following command to install "
"<application>dns</application>:"
msgstr ""

#: serverguide/C/dns.xml:28(command)
msgid "sudo apt-get install bind9"
msgstr ""

#: serverguide/C/dns.xml:30(para)
msgid ""
"A very useful package for testing and troubleshooting DNS issues is the "
"dnsutils package. To install <application>dnsutils</application> enter the "
"following:"
msgstr ""

#: serverguide/C/dns.xml:35(command)
msgid "sudo apt-get install dnsutils"
msgstr ""

#: serverguide/C/dns.xml:40(para)
msgid ""
"There a many ways to configure <application>BIND9</application>. Some of the "
"most common configurations are a caching nameserver, primary master, and a "
"as a secondary master."
msgstr ""

#: serverguide/C/dns.xml:46(para)
msgid ""
"When configured as a caching nameserver BIND9 will find the answer to name "
"queries and remember the answer when the domain is queried again."
msgstr ""

#: serverguide/C/dns.xml:52(para)
msgid ""
"As a primary master server BIND9 reads the data for a zone from a file on "
"it's host and is authoritative for that zone."
msgstr ""

#: serverguide/C/dns.xml:57(para)
msgid ""
"In a secondary master configuration BIND9 gets the zone data from another "
"nameserver authoritative for the zone."
msgstr ""

#: serverguide/C/dns.xml:65(para)
msgid ""
"The DNS configuration files are stored in the <filename>/etc/bind</filename> "
"directory. The primary configuration file is "
"<filename>/etc/bind/named.conf</filename>."
msgstr ""

#: serverguide/C/dns.xml:72(para)
msgid ""
"The <emphasis>include</emphasis> line specifies the filename which contains "
"the DNS options. The <emphasis>directory</emphasis> line in the "
"<filename>/etc/bind/named.conf.options</filename> file tells DNS where to "
"look for files. All files BIND uses will be relative to this directory."
msgstr ""

#: serverguide/C/dns.xml:80(para)
msgid ""
"The file named <filename>/etc/bind/db.root</filename> describes the root "
"nameservers in the world. The servers change over time, so the "
"<filename>/etc/bind/db.root</filename> file must be maintained now and then. "
"This is usually done as updates to the <application>bind9</application> "
"package. The <emphasis>zone</emphasis> section defines a master server, and "
"it is stored in a file mentioned in the <emphasis>file</emphasis> option."
msgstr ""

#: serverguide/C/dns.xml:90(para)
msgid ""
"It is possible to configure the same server to be a caching name server, "
"primary master, and secondary master. A server can be the Start of Authority "
"(SOA) for one zone, while providing secondary service for another zone. All "
"the while providing caching services for hosts on the local LAN."
msgstr ""

#: serverguide/C/dns.xml:98(title)
msgid "Caching Nameserver"
msgstr ""

#: serverguide/C/dns.xml:99(para)
msgid ""
"The default configuration is setup to act as a caching server. All that is "
"required is simply adding the IP Addresses of your ISP's DNS servers. Simply "
"uncomment and edit the following in "
"<filename>/etc/bind/named.conf.options</filename>:"
msgstr ""

#: serverguide/C/dns.xml:103(programlisting)
#, no-wrap
msgid ""
"\n"
"forwarders {\n"
"                1.2.3.4;\n"
"                5.6.7.8;\n"
"           };\n"
msgstr ""

#: serverguide/C/dns.xml:110(para)
msgid ""
"Replace <emphasis>1.2.3.4</emphasis> and <emphasis>5.6.7.8</emphasis> with "
"the IP Adresses of actual nameservers."
msgstr ""

#: serverguide/C/dns.xml:114(para)
msgid ""
"Now restart the DNS server, to enable the new configuration. From a terminal "
"prompt:"
msgstr ""

#: serverguide/C/dns.xml:118(command) serverguide/C/dns.xml:194(command) serverguide/C/dns.xml:253(command) serverguide/C/dns.xml:312(command) serverguide/C/dns.xml:561(command)
msgid "sudo /etc/init.d/bind9 restart"
msgstr ""

#: serverguide/C/dns.xml:120(para)
msgid ""
"See <xref linkend=\"dns-testing-dig\"/> for information on testing a caching "
"DNS server."
msgstr ""

#: serverguide/C/dns.xml:125(title)
msgid "Primary Master"
msgstr ""

#: serverguide/C/dns.xml:126(para)
msgid ""
"In this section <application>BIND9</application> will be configured as the "
"Primary Master for the domain <emphasis>example.com</emphasis>. Simply "
"replace <emphasis role=\"italic\">example.com</emphasis> with your FQDN "
"(Fully Qualified Domain Name)."
msgstr ""

#: serverguide/C/dns.xml:132(title)
msgid "Forward Zone File"
msgstr ""

#: serverguide/C/dns.xml:133(para)
msgid ""
"To add a DNS zone to BIND9, turning BIND9 into a Primary Master server, the "
"first step is to edit <filename>/etc/bind/named.conf.local</filename>:"
msgstr ""

#: serverguide/C/dns.xml:137(programlisting)
#, no-wrap
msgid ""
"\n"
"zone \"example.com\" {\n"
"\ttype master;\n"
"        file \"/etc/bind/db.example.com\";\n"
"};\n"
msgstr ""

#: serverguide/C/dns.xml:143(para)
msgid ""
"Now use an existing zone file as a template to create the "
"<filename>/etc/bind/db.example.com</filename> file:"
msgstr ""

#: serverguide/C/dns.xml:147(command)
msgid "sudo cp /etc/bind/db.local /etc/bind/db.example.com"
msgstr ""

#: serverguide/C/dns.xml:149(para)
msgid ""
"Edit the new zone file <filename>/etc/bind/db.example.com</filename> change "
"<emphasis>localhost.</emphasis> to the FQDN of your server, leaving the "
"additional \".\" at the end. Change <emphasis>127.0.0.1</emphasis> to the "
"nameserver's IP Address and <emphasis>root.localhost</emphasis> to a valid "
"email address, but with a \".\" instead of the usual \"@\" symbol, again "
"leaving the \".\" at the end."
msgstr ""

#: serverguide/C/dns.xml:155(para)
msgid ""
"Also, create an <emphasis>A record</emphasis> for <emphasis "
"role=\"italic\">ns.example.com</emphasis>. The name server in this example:"
msgstr ""

#: serverguide/C/dns.xml:159(programlisting)
#, no-wrap
msgid ""
"\n"
";\n"
"; BIND data file for local loopback interface\n"
";\n"
"$TTL    604800\n"
"@       IN      SOA     ns.example.com. root.example.com. (\n"
"                              2         ; Serial\n"
"                         604800         ; Refresh\n"
"                          86400         ; Retry\n"
"                        2419200         ; Expire\n"
"                         604800 )       ; Negative Cache TTL\n"
";\n"
"@       IN      NS      ns.example.com.\n"
"@       IN      A       127.0.0.1\n"
"@       IN      AAAA    ::1\n"
"ns      IN      A       192.168.1.10\n"
msgstr ""

#: serverguide/C/dns.xml:176(para)
msgid ""
"You must increment the <emphasis>Serial Number</emphasis> every time you "
"make changes to the zone file. If you make multiple changes before "
"restarting BIND9, simply increment the Serial once."
msgstr ""

#: serverguide/C/dns.xml:180(para)
msgid ""
"Now, you can add DNS records to the bottom of the zone file. See <xref "
"linkend=\"dns-record-types\"/> for details."
msgstr ""

#: serverguide/C/dns.xml:184(para)
msgid ""
"Many admins like to use the last date edited as the serial of a zone, such "
"as <emphasis>2007010100</emphasis> which is yyyymmddss (where "
"<emphasis>ss</emphasis> is the Serial Number)"
msgstr ""

#: serverguide/C/dns.xml:189(para)
msgid ""
"Once you have made a change to the zone file "
"<application>BIND9</application> will need to be restarted for the changes "
"to take effect:"
msgstr ""

#: serverguide/C/dns.xml:198(title)
msgid "Reverse Zone File"
msgstr ""

#: serverguide/C/dns.xml:199(para)
msgid ""
"Now that the zone is setup and resolving names to IP Adresses a "
"<emphasis>Reverse zone</emphasis> is also required. A Reverse zone allows "
"DNS to resolve an address to a name."
msgstr ""

#: serverguide/C/dns.xml:203(para)
msgid "Edit /etc/bind/named.conf.local and add the following:"
msgstr ""

#: serverguide/C/dns.xml:206(programlisting)
#, no-wrap
msgid ""
"\n"
"zone \"1.168.192.in-addr.arpa\" {\n"
"        type master;\n"
"        notify no;\n"
"        file \"/etc/bind/db.192\";\n"
"};\n"
msgstr ""

#: serverguide/C/dns.xml:214(para)
msgid ""
"Replace <emphasis>1.168.192</emphasis> with the first three octets of "
"whatever network you are using. Also, name the zone file "
"<filename>/etc/bind/db.192</filename> appropriately. It should match the "
"first octet of your network."
msgstr ""

#: serverguide/C/dns.xml:219(para)
msgid "Now create the <filename>/etc/bind/db.192</filename> file:"
msgstr ""

#: serverguide/C/dns.xml:223(command)
msgid "sudo cp /etc/bind/db.127 /etc/bind/db.192"
msgstr ""

#: serverguide/C/dns.xml:225(para)
msgid ""
"Next edit <filename>/etc/bind/db.192</filename> changing the basically the "
"same options as <filename>/etc/bind/db.example.com</filename>:"
msgstr ""

#: serverguide/C/dns.xml:229(programlisting)
#, no-wrap
msgid ""
"\n"
";\n"
"; BIND reverse data file for local loopback interface\n"
";\n"
"$TTL    604800\n"
"@       IN      SOA     ns.example.com. root.example.com. (\n"
"                              2         ; Serial\n"
"                         604800         ; Refresh\n"
"                          86400         ; Retry\n"
"                        2419200         ; Expire\n"
"                         604800 )       ; Negative Cache TTL\n"
";\n"
"@       IN      NS      ns.\n"
"10      IN      PTR     ns.example.com.\n"
msgstr ""

#: serverguide/C/dns.xml:244(para)
msgid ""
"The <emphasis>Serial Number</emphasis> in the Reverse zone needs to be "
"incremented on each changes as well. For each <emphasis>A record</emphasis> "
"you configure in <filename>/etc/bind/db.example.com</filename> you need to "
"create a <emphasis>PTR record</emphasis> in "
"<filename>/etc/bind/db.192</filename>."
msgstr ""

#: serverguide/C/dns.xml:249(para)
msgid ""
"After creating the reverse zone file restart "
"<application>BIND9</application>:"
msgstr ""

#: serverguide/C/dns.xml:258(title)
msgid "Secondary Master"
msgstr ""

#: serverguide/C/dns.xml:259(para)
msgid ""
"Once a <emphasis>Primary Master</emphasis> has been configured a "
"<emphasis>Secondary Master</emphasis> is needed in order to maintain the "
"availability of the domain should the Primary become unavailable."
msgstr ""

#: serverguide/C/dns.xml:263(para)
msgid ""
"First, on the Primary Master server, the zone transfer needs to be allowed. "
"Add the <emphasis>allow-transfer</emphasis> option to the example Forward "
"and Reverse zone definitions in "
"<filename>/etc/bind/named.conf.local</filename>:"
msgstr ""

#: serverguide/C/dns.xml:267(programlisting)
#, no-wrap
msgid ""
"\n"
"zone \"example.com\" {\n"
"        type master;\n"
"\tfile \"/etc/bind/db.example.com\";\n"
"        allow-transfer { 192.168.1.11; };\n"
"};\n"
"\n"
"zone \"1.168.192.in-addr.arpa\" {\n"
"        type master;\n"
"        notify no;\n"
"        file \"/etc/bind/db.192\";\n"
"\tallow-transfer { 192.168.1.11; };\n"
"};\n"
msgstr ""

#: serverguide/C/dns.xml:282(para)
msgid ""
"Replace <emphasis>192.168.1.11</emphasis> with the IP Address of your "
"Secondary nameserver."
msgstr ""

#: serverguide/C/dns.xml:286(para)
msgid ""
"Next, on the Secondary Master, install the <application>bind9</application> "
"package the same way as on the Primary. Then edit the "
"<filename>/etc/bind/named.conf.local</filename> and add the following "
"declarations for the Forward and Reverse zones:"
msgstr ""

#: serverguide/C/dns.xml:290(programlisting)
#, no-wrap
msgid ""
"\n"
"zone \"example.com\" {\n"
"\ttype slave;\n"
"        file \"/var/cache/bind/db.example.com\";\n"
"        masters { 192.168.1.10; };\n"
"};        \n"
"      \n"
"zone \"1.168.192.in-addr.arpa\" {\n"
"\ttype slave;\n"
"        file \"/var/cache/bind/db.192\";\n"
"        masters { 192.168.1.10; };\n"
"};\n"
msgstr ""

#: serverguide/C/dns.xml:304(para)
msgid ""
"Replace <emphasis>192.168.1.10</emphasis> with the IP Address of your "
"Primary nameserver."
msgstr ""

#: serverguide/C/dns.xml:308(para)
msgid "Restart <application>BIND9</application> on the Secondary Master:"
msgstr ""

#: serverguide/C/dns.xml:314(para)
msgid ""
"In <filename>/var/log/syslog</filename> you should see something similar to:"
msgstr ""

#: serverguide/C/dns.xml:317(programlisting)
#, no-wrap
msgid ""
"\n"
"slave zone \"example.com\" (IN) loaded (serial 6)\n"
"slave zone \"100.18.172.in-addr.arpa\" (IN) loaded (serial 3)\n"
msgstr ""

#: serverguide/C/dns.xml:322(para)
msgid ""
"Note: A zone is only transferred if the <emphasis>Serial Number</emphasis> "
"on the Primary is larger than the one on the Secondary."
msgstr ""

#: serverguide/C/dns.xml:328(para)
msgid ""
"The default directory for non-authoritative zone files is "
"<filename>/var/cache/bind/</filename>. This directory is also configured in "
"<application>AppArmor</application> to allow the "
"<application>named</application> daemon to write to. For more information on "
"AppArmor see <xref linkend=\"apparmor\"/>."
msgstr ""

#: serverguide/C/dns.xml:339(para)
msgid ""
"This section covers ways to help determine the cause when problems happen "
"with DNS and <application>BIND9</application>."
msgstr ""

#: serverguide/C/dns.xml:345(title)
msgid "resolv.conf"
msgstr ""

#: serverguide/C/dns.xml:346(para)
msgid ""
"The first step in testing <application>BIND9</application> is to add the "
"nameserver's IP Address to a hosts resolver. The Primary nameserver should "
"be configured as well as another host to double check things. Simply edit "
"<filename>/etc/resolv.conf</filename> and add the following:"
msgstr ""

#: serverguide/C/dns.xml:351(programlisting)
#, no-wrap
msgid ""
"\n"
"nameserver\t192.168.1.10\n"
"nameserver\t192.168.1.11\n"
msgstr ""

#: serverguide/C/dns.xml:356(para)
msgid ""
"You should also add the IP Address of the Secondary nameserver in case the "
"Primary becomes unavailable."
msgstr ""

#: serverguide/C/dns.xml:362(title)
msgid "dig"
msgstr ""

#: serverguide/C/dns.xml:363(para)
msgid ""
"If you installed the <application>dnsutils</application> package you can "
"test your setup using the DNS lookup utility <application>dig</application>:"
msgstr ""

#: serverguide/C/dns.xml:369(para)
msgid ""
"After installing <application>BIND9</application> use "
"<application>dig</application> against the loopback interface to make sure "
"it is listening on port 53. From a terminal prompt:"
msgstr ""

#: serverguide/C/dns.xml:374(command)
msgid "dig -x 127.0.0.1"
msgstr ""

#: serverguide/C/dns.xml:376(para)
msgid "You should see lines similar to the following in the command output:"
msgstr ""

#: serverguide/C/dns.xml:379(programlisting)
#, no-wrap
msgid ""
"\n"
";; Query time: 1 msec\n"
";; SERVER: 192.168.1.10#53(192.168.1.10)\n"
msgstr ""

#: serverguide/C/dns.xml:385(para)
msgid ""
"If you have configured <application>BIND9</application> as a "
"<emphasis>Caching</emphasis> nameserver \"dig\" an outside domain to check "
"the query time:"
msgstr ""

#: serverguide/C/dns.xml:390(command)
msgid "dig ubuntu.com"
msgstr ""

#: serverguide/C/dns.xml:392(para)
msgid "Note the query time toward the end of the command output:"
msgstr ""

#: serverguide/C/dns.xml:395(programlisting)
#, no-wrap
msgid ""
"\n"
";; Query time: 49 msec\n"
msgstr ""

#: serverguide/C/dns.xml:398(para)
msgid "After a second dig there should be improvement:"
msgstr ""

#: serverguide/C/dns.xml:401(programlisting)
#, no-wrap
msgid ""
"\n"
";; Query time: 1 msec\n"
msgstr ""

#: serverguide/C/dns.xml:408(title)
msgid "ping"
msgstr ""

#: serverguide/C/dns.xml:410(para)
msgid ""
"Now to demonstrate how applications make use of DNS to resolve a host name "
"use the <application>ping</application> utility to send an ICMP echo "
"request. From a terminal prompt enter:"
msgstr ""

#: serverguide/C/dns.xml:416(command)
msgid "ping example.com"
msgstr ""

#: serverguide/C/dns.xml:418(para)
msgid ""
"This tests if the nameserver can resolve the name "
"<emphasis>ns.example.com</emphasis> to an IP Address. The command output "
"should resemble:"
msgstr ""

#: serverguide/C/dns.xml:422(programlisting)
#, no-wrap
msgid ""
"\n"
"PING ns.example.com (192.168.1.10) 56(84) bytes of data.\n"
"64 bytes from 192.168.1.10: icmp_seq=1 ttl=64 time=0.800 ms\n"
"64 bytes from 192.168.1.10: icmp_seq=2 ttl=64 time=0.813 ms\n"
msgstr ""

#: serverguide/C/dns.xml:429(title)
msgid "named-checkzone"
msgstr ""

#: serverguide/C/dns.xml:430(para)
msgid ""
"A great way to test your zone files is by using the <application>named-"
"checkzone</application> utility installed with the "
"<application>bind9</application> package. This utility allows you to make "
"sure the configuration is correct before restarting "
"<application>BIND9</application> and making the changes live."
msgstr ""

#: serverguide/C/dns.xml:437(para)
msgid ""
"To test our example Forward zone file enter the following from a command "
"prompt:"
msgstr ""

#: serverguide/C/dns.xml:441(command)
msgid "named-checkzone example.com /etc/bind/db.example.com"
msgstr ""

#: serverguide/C/dns.xml:443(para)
msgid ""
"If everything is configured correctly you should see output similar to:"
msgstr ""

#: serverguide/C/dns.xml:446(programlisting)
#, no-wrap
msgid ""
"\n"
"zone example.com/IN: loaded serial 6\n"
"OK\n"
msgstr ""

#: serverguide/C/dns.xml:452(para)
msgid "Similarly, to test the Reverse zone file enter the following:"
msgstr ""

#: serverguide/C/dns.xml:456(command)
msgid "named-checkzone example.com /etc/bind/db.192"
msgstr ""

#: serverguide/C/dns.xml:458(para)
msgid "The output should be similar to:"
msgstr ""

#: serverguide/C/dns.xml:461(programlisting)
#, no-wrap
msgid ""
"\n"
"zone example.com/IN: loaded serial 3\n"
"OK\n"
msgstr ""

#: serverguide/C/dns.xml:468(para)
msgid ""
"The <emphasis>Serial Number</emphasis> of your zone file will probably be "
"different."
msgstr ""

#: serverguide/C/dns.xml:475(title)
msgid "Logging"
msgstr ""

#: serverguide/C/dns.xml:476(para)
msgid ""
"<application>BIND9</application> has a wide variety of logging configuration "
"options available. There are two main options. The "
"<emphasis>channel</emphasis> option configures where logs go, and the the "
"<emphasis>category</emphasis> option determines what information to log."
msgstr ""

#: serverguide/C/dns.xml:480(para)
msgid "If no logging option is configured the default option is:"
msgstr ""

#: serverguide/C/dns.xml:483(programlisting)
#, no-wrap
msgid ""
"\n"
"logging {\n"
"     category default { default_syslog; default_debug; };\n"
"     category unmatched { null; };\n"
"};\n"
msgstr ""

#: serverguide/C/dns.xml:489(para)
msgid ""
"This section covers configuring <application>BIND9</application> to send "
"<emphasis>debug</emphasis> messages related to DNS queries to a separate "
"file."
msgstr ""

#: serverguide/C/dns.xml:494(para)
msgid ""
"First, we need to configure a channel to specify which file to send the "
"messages to. Edit <filename>/etc/bind/named.conf.local</filename> and add "
"the following:"
msgstr ""

#: serverguide/C/dns.xml:498(programlisting)
#, no-wrap
msgid ""
"\n"
"logging {\n"
"    channel query.log {      \n"
"        file \"/var/log/query.log\";\n"
"        severity debug 3; \n"
"    }; \n"
"};\n"
msgstr ""

#: serverguide/C/dns.xml:508(para)
msgid "Next, configure a category to send all DNS queries to the query file:"
msgstr ""

#: serverguide/C/dns.xml:511(programlisting)
#, no-wrap
msgid ""
"\n"
"logging {\n"
"    channel query.log {      \n"
"        file \"/var/log/query.log\"; \n"
"        severity debug 3; \n"
"    }; \n"
"    <emphasis>category queries { query.log; };</emphasis> \n"
"};\n"
msgstr ""

#: serverguide/C/dns.xml:523(para)
msgid ""
"Note: the <emphasis>debug</emphasis> option can be set from 1 to 3. If a "
"level isn't specified level 1 is the default."
msgstr ""

#: serverguide/C/dns.xml:529(para)
msgid ""
"Since the <emphasis>named daemon</emphasis> runs as the "
"<emphasis>bind</emphasis> user the <filename>/var/log/query.log</filename> "
"file must be created and the ownership changed:"
msgstr ""

#: serverguide/C/dns.xml:534(command)
msgid "sudo touch /var/log/query.log"
msgstr ""

#: serverguide/C/dns.xml:535(command)
msgid "sudo chown bind /var/log/query.log"
msgstr ""

#: serverguide/C/dns.xml:539(para)
msgid ""
"Before <application>named</application> daemon can write to the new log file "
"the <application>AppArmor</application> profile must be updated. First, edit "
"<filename>/etc/apparmor.d/usr.sbin.named</filename> and add:"
msgstr ""

#: serverguide/C/dns.xml:543(programlisting)
#, no-wrap
msgid ""
"\n"
"/var/log/query.log w,\n"
msgstr ""

#: serverguide/C/dns.xml:546(para)
msgid "Next, reload the profile:"
msgstr ""

#: serverguide/C/dns.xml:550(command)
msgid "cat /etc/apparmor.d/usr.sbin.named | sudo apparmor_parser -r"
msgstr ""

#: serverguide/C/dns.xml:552(para)
msgid ""
"For more information on <application>AppArmor</application> see <xref "
"linkend=\"apparmor\"/>"
msgstr ""

#: serverguide/C/dns.xml:557(para)
msgid ""
"Now restart <application>BIND9</application> for the changes to take effect:"
msgstr ""

#: serverguide/C/dns.xml:565(para)
msgid ""
"You should see the file <filename>/var/log/query.log</filename> fill with "
"query information. This is a simple example of the "
"<application>BIND9</application> logging options. For coverage of advanced "
"options see <xref linkend=\"dns-more-info\"/>."
msgstr ""

#: serverguide/C/dns.xml:574(title)
msgid "Common Record Types"
msgstr ""

#: serverguide/C/dns.xml:575(para)
msgid "This section covers some of the most common DNS record types."
msgstr ""

#: serverguide/C/dns.xml:580(para)
msgid ""
"<emphasis>A</emphasis> record: This record maps an IP Address to a hostname."
msgstr ""

#: serverguide/C/dns.xml:583(programlisting)
#, no-wrap
msgid ""
"\n"
"www      IN    A      192.168.1.12\n"
msgstr ""

#: serverguide/C/dns.xml:588(para)
msgid ""
"<emphasis>CNAME</emphasis> record: Used to create an alias to an existing A "
"record. You cannot create a CNAME record pointing to another CNAME record."
msgstr ""

#: serverguide/C/dns.xml:591(programlisting)
#, no-wrap
msgid ""
"\n"
"web     IN    CNAME  www\n"
msgstr ""

#: serverguide/C/dns.xml:596(para)
msgid ""
"<emphasis>MX</emphasis> record: Used to define where email should be sent "
"to. Must point to an A record, not a CNAME."
msgstr ""

#: serverguide/C/dns.xml:599(programlisting)
#, no-wrap
msgid ""
"\n"
"        IN    MX      mail.example.com.\n"
"mail    IN    A       192.168.1.13\n"
msgstr ""

#: serverguide/C/dns.xml:605(para)
msgid ""
"<emphasis>NS</emphasis> record: Used to define which servers serve copies of "
"a zone. It must point to an A record, not a CNAME. This is where Primary and "
"Secondary servers are defined."
msgstr ""

#: serverguide/C/dns.xml:609(programlisting)
#, no-wrap
msgid ""
"\n"
"        IN    NS     ns.example.com.\n"
"\tIN    NS     ns2.example.com.\n"
"ns      IN    A      192.168.1.10\n"
"ns2\tIN    A\t     192.168.1.11\n"
msgstr ""

#: serverguide/C/dns.xml:619(title)
msgid "More Information"
msgstr ""

#: serverguide/C/dns.xml:620(para)
msgid ""
"The <ulink url=\"http://www.tldp.org/HOWTO/DNS-HOWTO.html\">DNS "
"HOWTO</ulink> explains more advanced options for configuring BIND9."
msgstr ""

#: serverguide/C/dns.xml:623(para)
msgid ""
"For in depth coverage of <emphasis>DNS</emphasis> and "
"<application>BIND9</application> see <ulink "
"url=\"http://www.bind9.net/\">Bind9.net</ulink>."
msgstr ""

#: serverguide/C/dns.xml:626(para)
msgid ""
"<ulink url=\"http://www.oreilly.com/catalog/dns5/index.html\">DNS and "
"BIND</ulink> is a popular book now in it's fifth edition."
msgstr ""

#: serverguide/C/dns.xml:629(para)
msgid ""
"A great place to ask for <application>BIND9</application> assistance, and "
"get involved with the Ubuntu Server community, is the <emphasis>#ubuntu-"
"server</emphasis> IRC channel on <ulink "
"url=\"http://freenode.net\">freenode</ulink>."
msgstr ""

#: serverguide/C/databases.xml:13(title)
msgid "Databases"
msgstr ""

#: serverguide/C/databases.xml:14(para)
msgid "Ubuntu provides two popular database servers. They are:"
msgstr ""

#: serverguide/C/databases.xml:22(application) serverguide/C/databases.xml:152(title)
msgid "PostgreSQL"
msgstr ""

#: serverguide/C/databases.xml:25(para)
msgid ""
"They are available in the main repository. This section explains how to "
"install and configure these database servers."
msgstr ""

#: serverguide/C/databases.xml:32(para)
msgid ""
"MySQL is a fast, multi-threaded, multi-user, and robust SQL database server. "
"It is intended for mission-critical, heavy-load production systems as well "
"as for embedding into mass-deployed software."
msgstr ""

#: serverguide/C/databases.xml:41(para)
msgid "To install MySQL, run the following command from a terminal prompt:"
msgstr ""

#: serverguide/C/databases.xml:46(command)
msgid "sudo apt-get install mysql-server"
msgstr ""

#: serverguide/C/databases.xml:48(para)
msgid ""
"During the installation process you will be prompted to enter a password for "
"the <application>MySQL</application> root user."
msgstr ""

#: serverguide/C/databases.xml:53(para)
msgid ""
"Once the installation is complete, the MySQL server should be started "
"automatically. You can run the following command from a terminal prompt to "
"check whether the MySQL server is running:"
msgstr ""

#: serverguide/C/databases.xml:61(command)
msgid "sudo netstat -tap | grep mysql"
msgstr ""

#: serverguide/C/databases.xml:70(programlisting)
#, no-wrap
msgid ""
"\n"
"tcp        0      0 localhost:mysql         *:*                     LISTEN   "
"   2556/mysqld\n"
msgstr ""

#: serverguide/C/databases.xml:74(para)
msgid ""
"If the server is not running correctly, you can type the following command "
"to start it:"
msgstr ""

#: serverguide/C/databases.xml:79(command) serverguide/C/databases.xml:104(command)
msgid "sudo /etc/init.d/mysql restart"
msgstr ""

#: serverguide/C/databases.xml:85(para)
msgid ""
"You can edit the <filename>/etc/mysql/my.cnf</filename> file to configure "
"the basic settings -- log file, port number, etc. For example, to configure "
"<application>MySQL</application> to listen for connections from network "
"hosts, change the <emphasis>bind_address</emphasis> directive to the "
"server's IP address:"
msgstr ""

#: serverguide/C/databases.xml:91(programlisting)
#, no-wrap
msgid ""
"\n"
"bind-address            = 192.168.0.5\n"
msgstr ""

#: serverguide/C/databases.xml:95(para)
msgid "Replace 192.168.0.5 with the appropriate address."
msgstr ""

#: serverguide/C/databases.xml:99(para)
msgid ""
"After making a change to <filename>/etc/mysql/my.cnf</filename> the "
"<application>mysql</application> daemon will need to be restarted:"
msgstr ""

#: serverguide/C/databases.xml:107(para)
msgid ""
"If you would like to change the "
"<application>MySQL</application><emphasis>root</emphasis> password, in a "
"terminal enter:"
msgstr ""

#: serverguide/C/databases.xml:113(command)
msgid "sudo dpkg-reconfigure mysql-server-5.0"
msgstr ""

#: serverguide/C/databases.xml:116(para)
msgid ""
"The <application>mysql</application> daemon will be stopped, and you will be "
"prompted to enter a new password."
msgstr ""

#: serverguide/C/databases.xml:125(para)
msgid ""
"See the <ulink url=\"http://www.mysql.com/\">MySQL Home Page</ulink> for "
"more information."
msgstr ""

#: serverguide/C/databases.xml:130(para)
msgid ""
"The <emphasis>MySQL Handbook</emphasis> is also available in the "
"<application>mysql-doc-5.0</application> package. To install the package "
"enter the following in a terminal:"
msgstr ""

#: serverguide/C/databases.xml:135(command)
msgid "sudo apt-get install mysql-doc-5.0"
msgstr ""

#: serverguide/C/databases.xml:137(para)
msgid ""
"The documentation is in HTML format, to view them enter "
"<command>file:///usr/share/doc/mysql-doc-5.0/refman-5.0-en.html-"
"chapter/index.html</command> in your browser's address bar."
msgstr ""

#: serverguide/C/databases.xml:143(para) serverguide/C/databases.xml:285(para)
msgid ""
"For general SQL information see <ulink "
"url=\"http://www.informit.com/store/product.aspx?isbn=0768664128\">Using SQL "
"Special Edition</ulink> by Rafe Colburn."
msgstr ""

#: serverguide/C/databases.xml:153(para)
msgid ""
"PostgreSQL is an object-relational database system that has the features of "
"traditional commercial database systems with enhancements to be found in "
"next-generation DBMS systems."
msgstr ""

#: serverguide/C/databases.xml:160(para)
msgid ""
"To install PostgreSQL, run the following command in the command prompt:"
msgstr ""

#: serverguide/C/databases.xml:167(command)
msgid "sudo apt-get install postgresql"
msgstr ""

#: serverguide/C/databases.xml:171(para)
msgid ""
"Once the installation is complete, you should configure the PostgreSQL "
"server based on your needs, although the default configuration is viable."
msgstr ""

#: serverguide/C/databases.xml:179(para)
msgid ""
"By default, connection via TCP/IP is disabled. PostgreSQL supports multiple "
"client authentication methods. By default, IDENT authentication method is "
"used for <application>postgres</application> and local users. Please refer "
"<ulink url=\"http://www.postgresql.org/docs/8.3/static/admin.html\"> the "
"PostgreSQL Administrator's Guide</ulink>."
msgstr ""

#: serverguide/C/databases.xml:186(para)
msgid ""
"The following discussion assumes that you wish to enable TCP/IP connections "
"and use the MD5 method for client authentication. PostgreSQL configuration "
"files are stored in the "
"<filename>/etc/postgresql/&lt;version&gt;/main</filename> directory. For "
"example, if you install PostgreSQL 8.3, the configuration files are stored "
"in the <filename>/etc/postgresql/8.3/main</filename> directory."
msgstr ""

#: serverguide/C/databases.xml:196(para)
msgid ""
"To configure <emphasis>ident</emphasis> authentication, add entries to the "
"<filename>/etc/postgresql/8.3/main/pg_ident.conf</filename> file."
msgstr ""

#: serverguide/C/databases.xml:203(para)
msgid ""
"To enable TCP/IP connections, edit the file "
"<filename>/etc/postgresql/8.3/main/postgresql.conf</filename>"
msgstr ""

#: serverguide/C/databases.xml:205(para)
msgid ""
"Locate the line <emphasis>#listen_addresses = 'localhost'</emphasis> and "
"change it to:"
msgstr ""

#: serverguide/C/databases.xml:208(programlisting)
#, no-wrap
msgid ""
"\n"
"listen_addresses = 'localhost'\n"
msgstr ""

#: serverguide/C/databases.xml:212(para)
msgid ""
"To allow other computers to connect to your "
"<application>PostgreSQL</application> server replace 'localhost' with the "
"<emphasis>IP Address</emphasis> of your server."
msgstr ""

#: serverguide/C/databases.xml:217(para)
msgid ""
"You may also edit all other parameters, if you know what you are doing! For "
"details, refer to the configuration file or to the PostgreSQL documentation."
msgstr ""

#: serverguide/C/databases.xml:222(para)
msgid ""
"Now that we can connect to our <application>PostgreSQL</application> server, "
"the next step is to set a password for the <emphasis>postgres</emphasis> "
"user. Run the following command at a terminal prompt to connect to the "
"default PostgreSQL template database:"
msgstr ""

#: serverguide/C/databases.xml:229(command)
msgid "sudo -u postgres psql template1"
msgstr ""

#: serverguide/C/databases.xml:231(para)
msgid ""
"The above command connects to PostgreSQL database "
"<emphasis>template1</emphasis> as user <emphasis>postgres</emphasis>. Once "
"you connect to the PostgreSQL server, you will be at a SQL prompt. You can "
"run the following SQL command at the <application>psql</application> prompt "
"to configure the password for the user <emphasis "
"role=\"italics\">postgres</emphasis>."
msgstr ""

#: serverguide/C/databases.xml:239(command)
msgid "ALTER USER postgres with encrypted password 'your_password';"
msgstr ""

#: serverguide/C/databases.xml:241(para)
msgid ""
"After configuring the password, edit the file "
"<filename>/etc/postgresql/8.3/main/pg_hba.conf</filename> to use "
"<emphasis>MD5</emphasis> authentication with the "
"<emphasis>postgres</emphasis> user:"
msgstr ""

#: serverguide/C/databases.xml:247(programlisting)
#, no-wrap
msgid ""
"\n"
"local   all         postgres                          md5 sameuser\n"
msgstr ""

#: serverguide/C/databases.xml:251(para)
msgid ""
"Finally, you should restart the <application>PostgreSQL</application> "
"service to initialize the new configuration. From a terminal prompt enter "
"the following to restart <application>PostgreSQL</application>:"
msgstr ""

#: serverguide/C/databases.xml:257(command)
msgid "sudo /etc/init.d/postgresql-8.3 restart"
msgstr ""

#: serverguide/C/databases.xml:260(para)
msgid ""
"The above configuration is not complete by any means. Please refer <ulink "
"url=\"http://www.postgresql.org/docs/8.3/static/admin.html\"> the PostgreSQL "
"Administrator's Guide</ulink> to configure more parameters."
msgstr ""

#: serverguide/C/databases.xml:271(para)
msgid ""
"As mentioned above the <ulink "
"url=\"http://www.postgresql.org/docs/8.3/static/admin.html\">Administrator's "
"Guide</ulink> is an excellent resource. The guide is also available in the "
"<application>postgresql-doc-8.3</application> package. Execute the following "
"in a terminal to install the package:"
msgstr ""

#: serverguide/C/databases.xml:277(command)
msgid "sudo apt-get install postgresql-doc-8.3"
msgstr ""

#: serverguide/C/databases.xml:279(para)
msgid ""
"To view the guide enter <command>file:///usr/share/doc/postgresql-doc-"
"8.3/html/index.html</command> into the address bar of your browser."
msgstr ""

#: serverguide/C/clustering.xml:13(title)
msgid "Clustering"
msgstr ""

#: serverguide/C/clustering.xml:16(title)
msgid "DRBD"
msgstr ""

#: serverguide/C/clustering.xml:18(para)
msgid ""
"Distributed Replicated Block Device (DRBD) mirrors block devices between "
"multiple hosts. The replication is transparent to other applications on the "
"host systems. Any block device hard disks, partitions, RAID devices, logical "
"volumes, etc can be mirrored."
msgstr ""

#: serverguide/C/clustering.xml:24(para)
msgid ""
"To get started using <application>drbd</application>, first install the "
"necessary packages. From a terminal enter:"
msgstr ""

#: serverguide/C/clustering.xml:29(command)
msgid "sudo apt-get install drbd8-utils"
msgstr ""

#: serverguide/C/clustering.xml:32(para)
msgid ""
"This section covers setting up a <application>drbd</application> to "
"replicate a separate <filename>/srv</filename> partition, with an "
"<application>ext3</application> filesystem between two hosts. The partition "
"size is not particularly relevant, but both partitions need to be the same "
"size."
msgstr ""

#: serverguide/C/clustering.xml:41(para)
msgid ""
"The two hosts in this example will be called <emphasis>drbd01</emphasis> and "
"<emphasis>drbd02</emphasis>. They will need to have name resolution "
"configured either through DNS or the <filename>/etc/hosts</filename> file. "
"See <xref linkend=\"dns\"/> for details."
msgstr ""

#: serverguide/C/clustering.xml:49(para)
msgid ""
"To configure <application>drbd</application>, on the first host edit "
"<filename>/etc/drbd.conf</filename>:"
msgstr ""

#: serverguide/C/clustering.xml:53(programlisting)
#, no-wrap
msgid ""
"\n"
"global { usage-count no; }\n"
"common { syncer { rate 100M; } }\n"
"resource r0 {\n"
"        protocol C;\n"
"        startup {\n"
"                wfc-timeout  15;\n"
"                degr-wfc-timeout 60;\n"
"        }\n"
"        net {\n"
"                cram-hmac-alg sha1;\n"
"                shared-secret \"secret\";\n"
"                allow-two-primaries;\n"
"        }\n"
"        on drbd01 {\n"
"                device /dev/drbd0;\n"
"                disk /dev/sdb1;\n"
"                address 192.168.0.1:7788;\n"
"                meta-disk internal;\n"
"        }\n"
"        on drbd02 {\n"
"                device /dev/drbd0;\n"
"                disk /dev/sdb1;\n"
"                address 192.168.0.2:7788;\n"
"                meta-disk internal;\n"
"        }\n"
"} \n"
msgstr ""

#: serverguide/C/clustering.xml:83(para)
msgid ""
"There are many other options in <filename>/etc/drbd.conf</filename>, but for "
"this example their default values are fine."
msgstr ""

#: serverguide/C/clustering.xml:91(para)
msgid "Now copy <filename>/etc/drbd.conf</filename> to the second host:"
msgstr ""

#: serverguide/C/clustering.xml:96(command)
msgid "scp /etc/drbd.conf drbd02:~"
msgstr ""

#: serverguide/C/clustering.xml:102(para)
msgid ""
"And, on <emphasis>drbd02</emphasis> move the file to "
"<filename>/etc</filename>:"
msgstr ""

#: serverguide/C/clustering.xml:107(command)
msgid "sudo mv drbd.conf /etc/"
msgstr ""

#: serverguide/C/clustering.xml:113(para)
msgid ""
"Next, on both hosts, start the <application>drbd</application> daemon:"
msgstr ""

#: serverguide/C/clustering.xml:118(command)
msgid "sudo /etc/init.d/drbd start"
msgstr ""

#: serverguide/C/clustering.xml:124(para)
msgid ""
"Now using the <application>drbdadm</application> utility initialize the meta "
"data storage. On each server execute:"
msgstr ""

#: serverguide/C/clustering.xml:130(command)
msgid "sudo drbdadm create-md r0"
msgstr ""

#: serverguide/C/clustering.xml:136(para)
msgid ""
"On the <emphasis>drbd01</emphasis>, or whichever host you wish to be the "
"primary, enter the following:"
msgstr ""

#: serverguide/C/clustering.xml:141(command)
msgid "sudo drbdadm -- --overwrite-data-of-peer primary all"
msgstr ""

#: serverguide/C/clustering.xml:147(para)
msgid ""
"After executing the above command, the data will start syncing with the "
"secondary host. To watch the progresss, on <emphasis>drbd02</emphasis> enter "
"the following:"
msgstr ""

#: serverguide/C/clustering.xml:153(command)
msgid "watch -n1 cat /proc/drbd"
msgstr ""

#: serverguide/C/clustering.xml:156(para)
msgid "To stop watching the output press <emphasis>Ctrl+c</emphasis>."
msgstr ""

#: serverguide/C/clustering.xml:163(para)
msgid ""
"Finally, add a filesystem to <filename>/dev/drbd0</filename> and mount it:"
msgstr ""

#: serverguide/C/clustering.xml:168(command)
msgid "sudo mkfs.ext3 /dev/drbd0"
msgstr ""

#: serverguide/C/clustering.xml:169(command) serverguide/C/clustering.xml:217(command)
msgid "sudo mount /dev/drbd0 /srv"
msgstr ""

#: serverguide/C/clustering.xml:179(para)
msgid ""
"To test that the data is actually syncing between the hosts copy some files "
"on the <emphasis>drbd01</emphasis>, the primary, to "
"<filename>/srv</filename>:"
msgstr ""

#: serverguide/C/clustering.xml:188(para)
msgid "Next, unmount <filename>/srv</filename>:"
msgstr ""

#: serverguide/C/clustering.xml:196(para)
msgid ""
"<emphasis>Demote</emphasis> the <emphasis>primary</emphasis> server to the "
"<emphasis>secondary</emphasis> role:"
msgstr ""

#: serverguide/C/clustering.xml:201(command)
msgid "sudo drbdadm secondary r0"
msgstr ""

#: serverguide/C/clustering.xml:204(para)
msgid ""
"Now on the the <emphasis>secondary</emphasis> server "
"<emphasis>promote</emphasis> it to the <emphasis>primary</emphasis> role:"
msgstr ""

#: serverguide/C/clustering.xml:209(command)
msgid "sudo drbdadm primary r0"
msgstr ""

#: serverguide/C/clustering.xml:212(para)
msgid "Lastly, mount the partition:"
msgstr ""

#: serverguide/C/clustering.xml:220(para)
msgid ""
"Using <emphasis>ls</emphasis> you should see "
"<filename>/srv/default</filename> copied from the former "
"<emphasis>primary</emphasis> host <emphasis>drbd01</emphasis>."
msgstr ""

#: serverguide/C/clustering.xml:231(para)
msgid ""
"For more information on <application>DRBD</application> see the <ulink "
"url=\"http://www.drbd.org/\">DRBD web site</ulink>."
msgstr ""

#: serverguide/C/clustering.xml:236(para)
msgid ""
"The <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man5/drbd.conf.5.html\">d"
"rbd.conf man page</ulink> contains details on the options not covered in "
"this guide."
msgstr ""

#: serverguide/C/clustering.xml:242(para)
msgid ""
"Also, see the <ulink "
"url=\"http://manpages.ubuntu.com/manpages/jaunty/en/man8/drbdadm.8.html\">drb"
"dadm man page</ulink>."
msgstr ""

#: serverguide/C/backups.xml:13(title)
msgid "Backups"
msgstr ""

#: serverguide/C/backups.xml:14(para)
msgid ""
"There are many ways to backup an Ubuntu installation. The most important "
"thing about backups is to develop a <emphasis>backup plan</emphasis> "
"consisting of what to backup, where to back it up to, and how to restore it."
msgstr ""

#: serverguide/C/backups.xml:18(para)
msgid ""
"The following sections discuss various ways of accomplishing these tasks."
msgstr ""

#: serverguide/C/backups.xml:22(title)
msgid "Shell Scripts"
msgstr ""

#: serverguide/C/backups.xml:23(para)
msgid ""
"One of the simplest ways to backup a system is using a <emphasis>shell "
"script</emphasis>. For example, a script can be used to configure which "
"directories to backup, and use those directories as arguments to the "
"<application>tar</application> utility creating an archive file. The archive "
"file can then be moved or copied to another location. The archive can also "
"be created on a remote file system such as an <emphasis>NFS</emphasis> mount."
msgstr ""

#: serverguide/C/backups.xml:29(para)
msgid ""
"The <application>tar</application> utility creates one archive file out of "
"many files or directories. <application>tar</application> can also filter "
"the files through compression utilities reducing the size of the archive "
"file."
msgstr ""

#: serverguide/C/backups.xml:35(title)
msgid "Simple Shell Script"
msgstr ""

#: serverguide/C/backups.xml:36(para)
msgid ""
"The following shell script uses <application>tar</application> to create an "
"archive file on a remotely mounted NFS file system. The archive filename is "
"determined using additional command line utilities."
msgstr ""

#: serverguide/C/backups.xml:40(programlisting)
#, no-wrap
msgid ""
"\n"
"#!/bin/sh\n"
"####################################\n"
"#\n"
"# Backup to NFS mount script.\n"
"#\n"
"####################################\n"
"\n"
"# What to backup. \n"
"backup_files=\"/home /var/spool/mail /etc /root /boot /opt\"\n"
"\n"
"# Where to backup to.\n"
"dest=\"/mnt/backup\"\n"
"\n"
"# Create archive filename.\n"
"day=$(date +%A)\n"
"hostname=$(hostname -s)\n"
"archive_file=\"$hostname-$day.tgz\"\n"
"\n"
"# Print start status message.\n"
"echo \"Backing up $backup_files to $dest/$archive_file\"\n"
"date\n"
"echo\n"
"\n"
"# Backup the files using tar.\n"
"tar czf $dest/$archive_file $backup_files\n"
"\n"
"# Print end status message.\n"
"echo\n"
"echo \"Backup finished\"\n"
"date\n"
"\n"
"# Long listing of files in $dest to check file sizes.\n"
"ls -lh $dest\n"
msgstr ""

#: serverguide/C/backups.xml:77(para)
msgid ""
"<emphasis>$backup_files:</emphasis> a variable listing which directories you "
"would like to backup. The list should be customized to fit your needs."
msgstr ""

#: serverguide/C/backups.xml:83(para)
msgid ""
"<emphasis>$day:</emphasis> a variable holding the day of the week (Monday, "
"Tuesday, Wednesday, etc). This is used to create an archive file for each "
"day of the week, giving a backup history of seven days. There are other ways "
"to accomplish this including other ways using the "
"<application>date</application> utility."
msgstr ""

#: serverguide/C/backups.xml:90(para)
msgid ""
"<emphasis>$hostname:</emphasis> variable containing the "
"<emphasis>short</emphasis> hostname of the system. Using the hostname in the "
"archive filename gives you the option of placing daily archive files from "
"multiple systems in the same directory."
msgstr ""

#: serverguide/C/backups.xml:97(para)
msgid "<emphasis>$archive_file:</emphasis> the full archive filename."
msgstr ""

#: serverguide/C/backups.xml:102(para)
msgid ""
"<emphasis>$dest:</emphasis> destination of the archive file. The directory "
"needs to be created and in this case <emphasis>mounted</emphasis> before "
"executing the backup script. See <xref linkend=\"network-file-system\"/> for "
"details using <emphasis>NFS</emphasis>."
msgstr ""

#: serverguide/C/backups.xml:109(para)
msgid ""
"<emphasis>status messages:</emphasis> optional messages printed to the "
"console using the <application>echo</application> utility."
msgstr ""

#: serverguide/C/backups.xml:115(para)
msgid ""
"<emphasis>tar czf $dest/$archive_file $backup_files:</emphasis> the "
"<application>tar</application> command used to create the archive file."
msgstr ""

#: serverguide/C/backups.xml:121(para)
msgid "<emphasis>c:</emphasis> creates an archive."
msgstr ""

#: serverguide/C/backups.xml:126(para)
msgid ""
"<emphasis>z:</emphasis> filter the archive through the "
"<application>gzip</application> utility compressing the archive."
msgstr ""

#: serverguide/C/backups.xml:131(para)
msgid ""
"<emphasis>f:</emphasis> use archive file. Otherwise the "
"<application>tar</application> output will be sent to STDOUT."
msgstr ""

#: serverguide/C/backups.xml:138(para)
msgid ""
"<emphasis>ls -lh $dest:</emphasis> optional statement prints a <emphasis>-"
"l</emphasis> long listing in <emphasis>-h</emphasis> human readable format "
"of the destination directory. This is useful for a quick file size check of "
"the archive file. This check should not replace testing the archive file."
msgstr ""

#: serverguide/C/backups.xml:145(para)
msgid ""
"This is a simple example of a backup shell script. There are large amount of "
"options that can be included in a backup script. See <xref linkend=\"backup-"
"shellscript-references\"/> for links to resources providing more in depth "
"shell scripting information."
msgstr ""

#: serverguide/C/backups.xml:152(title)
msgid "Executing the Script"
msgstr ""

#: serverguide/C/backups.xml:154(title)
msgid "Executing from a Terminal"
msgstr ""

#: serverguide/C/backups.xml:155(para)
msgid ""
"The simplest way of executing the above backup script is to copy and paste "
"the contents into a file. <filename>backup.sh</filename> for example. Then "
"from a terminal prompt:"
msgstr ""

#: serverguide/C/backups.xml:160(command)
msgid "sudo bash backup.sh"
msgstr ""

#: serverguide/C/backups.xml:162(para)
msgid ""
"This is a great way to test the script to make sure everything works as "
"expected."
msgstr ""

#: serverguide/C/backups.xml:167(title)
msgid "Executing with cron"
msgstr ""

#: serverguide/C/backups.xml:168(para)
msgid ""
"The <application>cron</application> utility can be used to automate the "
"script execution. The <application>cron</application> daemon allows the "
"execution of scripts, or commands, at a specified time and date."
msgstr ""

#: serverguide/C/backups.xml:172(para)
msgid ""
"<application>cron</application> is configured through entries in a "
"<filename>crontab</filename> file. <filename>crontab</filename> files are "
"separated into fields:"
msgstr ""

#: serverguide/C/backups.xml:176(programlisting)
#, no-wrap
msgid ""
"\n"
"# m h dom mon dow   command\n"
msgstr ""

#: serverguide/C/backups.xml:181(para)
msgid ""
"<emphasis>m:</emphasis> minute the command executes on between 0 and 59."
msgstr ""

#: serverguide/C/backups.xml:186(para)
msgid ""
"<emphasis>h:</emphasis> hour the command executes on between 0 and 23."
msgstr ""

#: serverguide/C/backups.xml:191(para)
msgid "<emphasis>dom:</emphasis> day of month the command executes on."
msgstr ""

#: serverguide/C/backups.xml:196(para)
msgid ""
"<emphasis>mon:</emphasis> the month the command executes on between 1 and 12."
msgstr ""

#: serverguide/C/backups.xml:201(para)
msgid ""
"<emphasis>dow:</emphasis> the day of the week the command executes on "
"between 0 and 7. Sunday may be specified by using 0 or 7, both values are "
"valid."
msgstr ""

#: serverguide/C/backups.xml:206(para)
msgid "<emphasis>command:</emphasis> the command to execute."
msgstr ""

#: serverguide/C/backups.xml:211(para)
msgid ""
"To add or change entries in a <filename>crontab</filename> file the "
"<application>crontab -e</application> command should be used. Also, the "
"contents of a <filename>crontab</filename> file can be viewed using the "
"<application>crontab -l</application> command."
msgstr ""

#: serverguide/C/backups.xml:215(para)
msgid ""
"To execute the <application>backup.sh</application> script listed above "
"using <application>cron</application>. Enter the following from a terminal "
"prompt:"
msgstr ""

#: serverguide/C/backups.xml:220(command)
msgid "sudo crontab -e"
msgstr ""

#: serverguide/C/backups.xml:223(para)
msgid ""
"Using <application>sudo</application> with the <application>crontab -"
"e</application> command edits the <emphasis>root</emphasis> user's crontab. "
"This is necessary if you are backing up directories only the root user has "
"access to."
msgstr ""

#: serverguide/C/backups.xml:228(para)
msgid "Add the following entry to the <filename>crontab</filename> file:"
msgstr ""

#: serverguide/C/backups.xml:231(programlisting)
#, no-wrap
msgid ""
"\n"
"# m h dom mon dow   command\n"
"0 0 * * * bash /usr/local/bin/backup.sh\n"
msgstr ""

#: serverguide/C/backups.xml:235(para)
msgid ""
"The <application>backup.sh</application> script will now be executed every "
"day at 12:00 am."
msgstr ""

#: serverguide/C/backups.xml:239(para)
msgid ""
"The <application>backup.sh</application> script will need to be copied to "
"the <filename>/usr/local/bin/</filename> directory in order for this entry "
"to execute properly. The script can reside anywhere on the file system "
"simply change the script path appropriately."
msgstr ""

#: serverguide/C/backups.xml:244(para)
msgid ""
"For more in depth <application>crontab</application> options see <xref "
"linkend=\"backup-shellscript-references\"/>."
msgstr ""

#: serverguide/C/backups.xml:250(title)
msgid "Restoring from the Archive"
msgstr ""

#: serverguide/C/backups.xml:251(para)
msgid ""
"Once an archive has been created it is important to test the archive. The "
"archive can be tested by listing the files it contains, but the best test is "
"to <emphasis>restore</emphasis> a file from the archive."
msgstr ""

#: serverguide/C/backups.xml:257(para)
msgid "To see a listing of the archive contents. From a terminal prompt:"
msgstr ""

#: serverguide/C/backups.xml:261(command)
msgid "tar -tzvf /mnt/backup/host-Monday.tgz"
msgstr ""

#: serverguide/C/backups.xml:265(para)
msgid "To restore a file from the archive to a different directory enter:"
msgstr ""

#: serverguide/C/backups.xml:269(command)
msgid "tar -xzvf /mnt/backup/host-Monday.tgz -C /tmp etc/hosts"
msgstr ""

#: serverguide/C/backups.xml:271(para)
msgid ""
"The <emphasis>-C</emphasis> option to <application>tar</application> "
"redirects the extracted files to the specified directory. The above example "
"will extract the <filename>/etc/hosts</filename> file to "
"<filename>/tmp/etc/hosts</filename>. <application>tar</application> "
"recreates the directory structure that it contains."
msgstr ""

#: serverguide/C/backups.xml:276(para)
msgid ""
"Also, notice the leading <emphasis>\"/\"</emphasis> is left off the path of "
"the file to restore."
msgstr ""

#: serverguide/C/backups.xml:281(para)
msgid "To restore all files in the archive enter the following:"
msgstr ""

#: serverguide/C/backups.xml:285(command)
msgid "cd /"
msgstr ""

#: serverguide/C/backups.xml:286(command)
msgid "sudo tar -xzvf /mnt/backup/host-Monday.tgz"
msgstr ""

#: serverguide/C/backups.xml:291(para)
msgid "This will overwrite the files currently on the file system."
msgstr ""

#: serverguide/C/backups.xml:300(para)
msgid ""
"For more information on shell scripting see the <ulink "
"url=\"http://tldp.org/LDP/abs/html/\">Advanced Bash-Scripting Guide</ulink>"
msgstr ""

#: serverguide/C/backups.xml:305(para)
msgid ""
"The book <ulink url=\"http://safari.samspublishing.com/0672323583\">Teach "
"Yourself Shell Programming in 24 Hours</ulink> is available online and a "
"great resource for shell scripting."
msgstr ""

#: serverguide/C/backups.xml:311(para)
msgid ""
"The <ulink url=\"https://help.ubuntu.com/community/CronHowto\">CronHowto "
"Wiki Page</ulink> contains details on advanced "
"<application>cron</application> options."
msgstr ""

#: serverguide/C/backups.xml:318(para)
msgid ""
"See the <ulink url=\"http://www.gnu.org/software/tar/manual/index.html\">GNU "
"tar Manual</ulink> for more <application>tar</application> options."
msgstr ""

#: serverguide/C/backups.xml:324(para)
msgid ""
"The Wikipedia <ulink "
"url=\"http://en.wikipedia.org/wiki/Backup_rotation_scheme\">Backup Rotation "
"Scheme</ulink> article contains information on other backup rotation schemes."
msgstr ""

#: serverguide/C/backups.xml:330(para)
msgid ""
"The shell script uses <application>tar</application> to create the archive, "
"but there many other command line utilities that can be used. For example:"
msgstr ""

#: serverguide/C/backups.xml:336(para)
msgid ""
"<ulink url=\"http://www.gnu.org/software/cpio/\">cpio</ulink>: used to copy "
"files to and from archives."
msgstr ""

#: serverguide/C/backups.xml:341(para)
msgid ""
"<ulink url=\"http://www.gnu.org/software/coreutils/\">dd</ulink>: part of "
"the <application>coreutils</application> package. A low level utility that "
"can copy data from one format to another"
msgstr ""

#: serverguide/C/backups.xml:347(para)
msgid ""
"<ulink url=\"http://www.rsnapshot.org/\">rsnapshot</ulink>: a file system "
"snap shot utility used to create copies of an entire file system."
msgstr ""

#: serverguide/C/backups.xml:358(title)
msgid "Archive Rotation"
msgstr ""

#: serverguide/C/backups.xml:359(para)
msgid ""
"The shell script in section <xref linkend=\"backup-shellscripts\"/> only "
"allows for seven different archives. For a server whose data doesn't change "
"often this may be enough. If the server has a large amount of data a more "
"robust rotation scheme should be used."
msgstr ""

#: serverguide/C/backups.xml:365(title)
msgid "Rotating NFS Archives"
msgstr ""

#: serverguide/C/backups.xml:366(para)
msgid ""
"In this section the shell script will be slightly modified to implement a "
"grandfather-father-son rotation scheme (monthly-weekly-daily):"
msgstr ""

#: serverguide/C/backups.xml:372(para)
msgid ""
"The rotation will do a <emphasis>daily</emphasis> backup Sunday through "
"Friday."
msgstr ""

#: serverguide/C/backups.xml:377(para)
msgid ""
"On Saturday a <emphasis>weekly</emphasis> backup is done giving you four "
"weekly backups a month."
msgstr ""

#: serverguide/C/backups.xml:382(para)
msgid ""
"The <emphasis>monthly</emphasis> backup is done on the first of the month "
"rotating two monthly backups based on if the month is odd or even."
msgstr ""

#: serverguide/C/backups.xml:388(para)
msgid "Here is the new script:"
msgstr ""

#: serverguide/C/backups.xml:391(programlisting)
#, no-wrap
msgid ""
"\n"
"#!/bin/bash\n"
"####################################\n"
"#\n"
"# Backup to NFS mount script with\n"
"# grandfather-father-son rotation.\n"
"#\n"
"####################################\n"
"\n"
"# What to backup. \n"
"backup_files=\"/home /var/spool/mail /etc /root /boot /opt\"\n"
"\n"
"# Where to backup to.\n"
"dest=\"/mnt/backup\"\n"
"\n"
"# Setup variables for the archive filename.\n"
"day=$(date +%A)\n"
"hostname=$(hostname -s)\n"
"\n"
"# Find which week of the month 1-4 it is.\n"
"day_num=$(date +%d)\n"
"if (( $day_num &lt;= 7 )); then\n"
"        week_file=\"$hostname-week1.tgz\"\n"
"elif (( $day_num &gt; 7 &amp;&amp; $day_num &lt;= 14 )); then\n"
"        week_file=\"$hostname-week2.tgz\"\n"
"elif (( $day_num &gt; 14 &amp;&amp; $day_num &lt;= 21 )); then\n"
"        week_file=\"$hostname-week3.tgz\"\n"
"elif (( $day_num &gt; 21 &amp;&amp; $day_num &lt; 32 )); then\n"
"        week_file=\"$hostname-week4.tgz\"\n"
"fi\n"
"\n"
"# Find if the Month is odd or even.\n"
"month_num=$(date +%m)\n"
"month=$(expr $month_num % 2)\n"
"if [ $month -eq 0 ]; then\n"
"        month_file=\"$hostname-month2.tgz\"\n"
"else\n"
"        month_file=\"$hostname-month1.tgz\"\n"
"fi\n"
"\n"
"# Create archive filename.\n"
"if [ $day_num == 1 ]; then\n"
"\tarchive_file=$month_file\n"
"elif [ $day != \"Saturday\" ]; then\n"
"        archive_file=\"$hostname-$day.tgz\"\n"
"else \n"
"\tarchive_file=$week_file\n"
"fi\n"
"\n"
"# Print start status message.\n"
"echo \"Backing up $backup_files to $dest/$archive_file\"\n"
"date\n"
"echo\n"
"\n"
"# Backup the files using tar.\n"
"tar czf $dest/$archive_file $backup_files\n"
"\n"
"# Print end status message.\n"
"echo\n"
"echo \"Backup finished\"\n"
"date\n"
"\n"
"# Long listing of files in $dest to check file sizes.\n"
"ls -lh $dest/\n"
msgstr ""

#: serverguide/C/backups.xml:456(para)
msgid ""
"The script can be executed using the same methods as in <xref "
"linkend=\"backup-executing-shellscript\"/>."
msgstr ""

#: serverguide/C/backups.xml:459(para)
msgid ""
"It is good practice to take backup media off site in case of a disaster. In "
"the shell script example the backup media is another server providing an NFS "
"share. In all likelihood taking the NFS server to another location would not "
"be practical. Depending upon connection speeds it may be an option to copy "
"the archive file over a WAN link to a server in another location."
msgstr ""

#: serverguide/C/backups.xml:465(para)
msgid ""
"Another option is to copy the archive file to an external hard drive which "
"can then be taken off site. Since the price of external hard drives continue "
"to decrease it may be cost affective to use two drives for each archive "
"level. This would allow you to have one external drive attached to the "
"backup server and one in another location."
msgstr ""

#: serverguide/C/backups.xml:472(title)
msgid "Tape Drives"
msgstr ""

#: serverguide/C/backups.xml:473(para)
msgid ""
"A tape drive attached to the server can be used instead of a NFS share. "
"Using a tape drive simplifies archive rotation, and taking the media off "
"site as well."
msgstr ""

#: serverguide/C/backups.xml:477(para)
msgid ""
"When using a tape drive the filename portions of the script aren't needed "
"because the date is sent directly to the tape device. Some commands to "
"manipulate the tape are needed. This is accomplished using "
"<application>mt</application>, a magnetic tape control utility part of the "
"<application>cpio</application> package."
msgstr ""

#: serverguide/C/backups.xml:482(para)
msgid "Here is the shell script modified to use a tape drive:"
msgstr ""

#: serverguide/C/backups.xml:485(programlisting)
#, no-wrap
msgid ""
"\n"
"#!/bin/bash\n"
"####################################\n"
"#\n"
"# Backup to tape drive script.\n"
"#\n"
"####################################\n"
"\n"
"# What to backup. \n"
"backup_files=\"/home /var/spool/mail /etc /root /boot /opt\"\n"
"\n"
"# Where to backup to.\n"
"dest=\"/dev/st0\"\n"
"\n"
"# Print start status message.\n"
"echo \"Backing up $backup_files to $dest\"\n"
"date\n"
"echo\n"
"\n"
"# Make sure the tape is rewound.\n"
"mt -f $dest rewind\n"
"\n"
"# Backup the files using tar.\n"
"tar czf $dest $backup_files\n"
"\n"
"# Rewind and eject the tape.\n"
"mt -f $dest rewoffl\n"
"\n"
"# Print end status message.\n"
"echo\n"
"echo \"Backup finished\"\n"
"date\n"
msgstr ""

#: serverguide/C/backups.xml:519(para)
msgid ""
"The default device name for a SCSI tape drive is "
"<filename>/dev/st0</filename>. Use the appropriate device path for your "
"system."
msgstr ""

#: serverguide/C/backups.xml:524(para)
msgid ""
"Restoring from a tape drive is basically the same as restoring from a file. "
"Simply rewind the tape and use the device path instead of a file path. For "
"example to restore the <filename>/etc/hosts</filename> file to "
"<filename>/tmp/etc/hosts</filename>:"
msgstr ""

#: serverguide/C/backups.xml:529(command)
msgid "mt -f /dev/st0 rewind"
msgstr ""

#: serverguide/C/backups.xml:530(command)
msgid "tar -xzf /dev/st0 -C /tmp etc/hosts"
msgstr ""

#: serverguide/C/backups.xml:535(title)
msgid "Bacula"
msgstr ""

#: serverguide/C/backups.xml:536(para)
msgid ""
"<application>Bacula</application> is a backup program enabling you to "
"backup, restore, and verify data across your network. There are Bacula "
"clients for Linux, Windows, and Mac OSX. Making it a cross platform network "
"wide solution."
msgstr ""

#: serverguide/C/backups.xml:542(para)
msgid ""
"<application>Bacula</application> is made up of several components and "
"services used to manage which files to backup and where to back them up to:"
msgstr ""

#: serverguide/C/backups.xml:548(para)
msgid ""
"<application>Bacula Director:</application> a service that controls all "
"backup, restore, verify, and archive operations."
msgstr ""

#: serverguide/C/backups.xml:553(para)
msgid ""
"<application>Bacula Console:</application> an application allowing "
"communication with the Director. There are three versions of the Console:"
msgstr ""

#: serverguide/C/backups.xml:558(para)
msgid "Text based command line version."
msgstr ""

#: serverguide/C/backups.xml:559(para)
msgid "Gnome based GTK+ Graphical User Interface (GUI) interface."
msgstr ""

#: serverguide/C/backups.xml:560(para)
msgid "wxWidgets GUI interface."
msgstr ""

#: serverguide/C/backups.xml:564(para)
msgid ""
"<application>Bacula File:</application> also known as the "
"<application>Bacula Client</application> program. This application is "
"installed on machines to be backed up, and is responsible for the data "
"requested by the Director."
msgstr ""

#: serverguide/C/backups.xml:570(para)
msgid ""
"<application>Bacula Storage:</application> the programs that perform the "
"storage and recovery of data to the physical media."
msgstr ""

#: serverguide/C/backups.xml:575(para)
msgid ""
"<application>Bacula Catalog:</application> is responsible for maintaining "
"the file indexes and volume databases for all files backed up, enabling "
"quick location and restoration of archived files. The Catalog supports three "
"different databases MySQL, PostgreSQL, and SQLite."
msgstr ""

#: serverguide/C/backups.xml:581(para)
msgid ""
"<application>Bacula Monitor:</application> allows the monitoring of the "
"Director, File daemons, and Storage daemons. Currently the Monitor is only "
"available as a GTK+ GUI application."
msgstr ""

#: serverguide/C/backups.xml:587(para)
msgid ""
"These services and applications can be run on multiple servers and clients, "
"or they can be installed on one machine if backing up a single disk or "
"volume."
msgstr ""

#: serverguide/C/backups.xml:594(para)
msgid ""
"There are multiple packages containing the different "
"<application>Bacula</application> components. To install Bacula, from a "
"terminal prompt enter:"
msgstr ""

#: serverguide/C/backups.xml:599(command)
msgid "sudo apt-get install bacula"
msgstr ""

#: serverguide/C/backups.xml:601(para)
msgid ""
"By default installing the <application>bacula</application> package will use "
"a <application>MySQL</application> database for the Catalog. If you want to "
"use SQLite or PostgreSQL, for the Catalog, install <application>bacula-"
"director-sqlite3</application> or <application>bacula-director-"
"pgsql</application> respectively."
msgstr ""

#: serverguide/C/backups.xml:607(para)
msgid ""
"During the install process you will be asked to supply credentials for the "
"database <emphasis>administrator</emphasis> and the "
"<emphasis>bacula</emphasis> database <emphasis>owner</emphasis>. The "
"database administrator will need to have the appropriate rights to create a "
"database, see <xref linkend=\"mysql\"/> for more information."
msgstr ""

#: serverguide/C/backups.xml:617(para)
msgid ""
"<application>Bacula</application> configuration files are formatted based on "
"<emphasis>resources</emphasis> comprising of <emphasis>directives</emphasis> "
"surrounded by <quote>{}</quote> braces. Each Bacula component has an "
"individual file in the <filename role=\"directory\">/etc/bacula</filename> "
"directory."
msgstr ""

#: serverguide/C/backups.xml:622(para)
msgid ""
"The various <application>Bacula</application> components must authorize "
"themselves to each other. This is accomplished using the "
"<emphasis>password</emphasis> directive. For example, the "
"<emphasis>Storage</emphasis> resource password in the "
"<filename>/etc/bacula/bacula-dir.conf</filename> file must match the "
"<emphasis>Director</emphasis> resource password in "
"<filename>/etc/bacula/bacula-sd.conf</filename>."
msgstr ""

#: serverguide/C/backups.xml:628(para)
msgid ""
"By default the backup job named <emphasis>Client1</emphasis> is configured "
"to archive the <application>Bacula</application> Catalog. If you plan on "
"using the server to backup more than one client you should change the name "
"of this job to something more descriptive. To change the name edit "
"<filename>/etc/bacula/bacula-dir.conf</filename>:"
msgstr ""

#: serverguide/C/backups.xml:633(programlisting)
#, no-wrap
msgid ""
"\n"
"#\n"
"# Define the main nightly save backup job\n"
"#   By default, this job will back up to disk in \n"
"Job {\n"
"  Name = \"BackupServer\"\n"
"  JobDefs = \"DefaultJob\"\n"
"  Write Bootstrap = \"/var/lib/bacula/Client1.bsr\"\n"
"}\n"
msgstr ""

#: serverguide/C/backups.xml:644(para)
msgid ""
"The example above changes the job name to <emphasis>BackupServer</emphasis> "
"matching the machine's host name. Replace <quote>BackupServer</quote> with "
"your appropriate hostname, or other descriptive name."
msgstr ""

#: serverguide/C/backups.xml:649(para)
msgid ""
"The <emphasis>Console</emphasis> can be used to query the "
"<emphasis>Director</emphasis> about jobs, but to use the Console with a "
"<emphasis>non-root</emphasis> user, the user needs to be in the "
"<emphasis>bacula</emphasis> group. To add a user to the bacula group enter "
"the following from a terminal:"
msgstr ""

#: serverguide/C/backups.xml:655(command)
msgid "sudo adduser $username bacula"
msgstr ""

#: serverguide/C/backups.xml:658(para)
msgid ""
"Replace <emphasis>$username</emphasis> with the actual username. Also, if "
"you are adding the current user to the group you should log out and back in "
"for the new permissions to take effect."
msgstr ""

#: serverguide/C/backups.xml:665(title)
msgid "Localhost Backup"
msgstr ""

#: serverguide/C/backups.xml:666(para)
msgid ""
"This section describes how to backup specified directories on a single host "
"to a local tape drive."
msgstr ""

#: serverguide/C/backups.xml:671(para)
msgid ""
"First, the <emphasis>Storage</emphasis> device needs to be configured. Edit "
"<filename>/etc/bacula/bacula-sd.conf</filename> add:"
msgstr ""

#: serverguide/C/backups.xml:674(programlisting)
#, no-wrap
msgid ""
"\n"
"Device {\n"
"  Name = \"Tape Drive\"\n"
"  Device Type = tape\n"
"  Media Type = DDS-4\n"
"  Archive Device = /dev/st0\n"
"  Hardware end of medium = No;\n"
"  AutomaticMount = yes;               # when device opened, read it\n"
"  AlwaysOpen = Yes;\n"
"  RemovableMedia = yes;\n"
"  RandomAccess = no;\n"
"  Alert Command = \"sh -c 'tapeinfo -f %c | grep TapeAlert'\"\n"
"}\n"
msgstr ""

#: serverguide/C/backups.xml:688(para)
msgid ""
"The example is for a <emphasis>DDS-4</emphasis> tape drive. Adjust the Media "
"Type and Archive Device to match your hardware."
msgstr ""

#: serverguide/C/backups.xml:691(para)
msgid "You could also uncomment one of the other examples in the file."
msgstr ""

#: serverguide/C/backups.xml:696(para)
msgid ""
"After editing <filename>/etc/bacula/bacula-sd.conf</filename> the "
"<application>Storage</application> daemon will need to be restarted:"
msgstr ""

#: serverguide/C/backups.xml:701(command)
msgid "sudo /etc/init.d/bacula-sd restart"
msgstr ""

#: serverguide/C/backups.xml:705(para)
msgid ""
"Now add a <emphasis>Storage</emphasis> resource in "
"<filename>/etc/bacula/bacula-dir.conf</filename> to use the new Device:"
msgstr ""

#: serverguide/C/backups.xml:708(programlisting)
#, no-wrap
msgid ""
"\n"
"# Definition of \"Tape Drive\" storage device\n"
"Storage {\n"
"  Name = TapeDrive\n"
"  # Do not use \"localhost\" here    \n"
"  Address = backupserver               # N.B. Use a fully qualified name "
"here\n"
"  SDPort = 9103\n"
"  Password = \"Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cgkiyj\"\n"
"  Device = \"Tape Drive\"\n"
"  Media Type = tape\n"
"}\n"
msgstr ""

#: serverguide/C/backups.xml:720(para)
msgid ""
"The <emphasis>Address</emphasis> directive needs to be the Fully Qualified "
"Domain Name (FQDN) of the server. Change <emphasis>backupserver</emphasis> "
"to the actual host name."
msgstr ""

#: serverguide/C/backups.xml:724(para)
msgid ""
"Also, make sure the <emphasis>Password</emphasis> directive matches the "
"password string in <filename>/etc/bacula/bacula-sd.conf</filename>."
msgstr ""

#: serverguide/C/backups.xml:730(para)
msgid ""
"Create a new <emphasis>FileSet</emphasis>, which will determine what "
"directories to backup, by adding:"
msgstr ""

#: serverguide/C/backups.xml:733(programlisting)
#, no-wrap
msgid ""
"\n"
"# LocalhostBacup FileSet.\n"
"FileSet {\n"
"  Name = \"LocalhostFiles\"\n"
"  Include {\n"
"    Options {\n"
"      signature = MD5\n"
"      compression=GZIP\n"
"    }\n"
"    File = /etc\n"
"    File = /home\n"
"  }\n"
"}\n"
msgstr ""

#: serverguide/C/backups.xml:747(para)
msgid ""
"This <emphasis>FileSet</emphasis> will backup the <filename "
"role=\"directory\">/etc</filename> and <filename "
"role=\"directory\">/home</filename> directories. The "
"<emphasis>Options</emphasis> resource directives configure the FileSet to "
"create a MD5 signature for each file backed up, and to compress the files "
"using GZIP."
msgstr ""

#: serverguide/C/backups.xml:754(para)
msgid "Next, create a new <emphasis>Schedule</emphasis> for the backup job:"
msgstr ""

#: serverguide/C/backups.xml:757(programlisting)
#, no-wrap
msgid ""
"\n"
"# LocalhostBackup Schedule -- Daily.\n"
"Schedule {\n"
"  Name = \"LocalhostDaily\"\n"
"  Run = Full daily at 00:01\n"
"}\n"
msgstr ""

#: serverguide/C/backups.xml:764(para)
msgid ""
"The job will run every day at 00:01 or 12:01 am. There are many other "
"scheduling options available."
msgstr ""

#: serverguide/C/backups.xml:769(para)
msgid "Finally create the <emphasis>Job</emphasis>:"
msgstr ""

#: serverguide/C/backups.xml:772(programlisting)
#, no-wrap
msgid ""
"\n"
"# Localhost backup.\n"
"Job {\n"
"  Name = \"LocalhostBackup\"\n"
"  JobDefs = \"DefaultJob\"\n"
"  Enabled = yes\n"
"  Level = Full\n"
"  FileSet = \"LocalhostFiles\"\n"
"  Schedule = \"LocalhostDaily\"\n"
"  Storage = TapeDrive\n"
"  Write Bootstrap = \"/var/lib/bacula/LocalhostBackup.bsr\"\n"
"}  \n"
msgstr ""

#: serverguide/C/backups.xml:785(para)
msgid ""
"The job will do a <emphasis>Full</emphasis> backup every day to the tape "
"drive."
msgstr ""

#: serverguide/C/backups.xml:790(para)
msgid ""
"Each tape used will need to have a <emphasis>Label</emphasis>. If the "
"current tape does not have a label <application>Bacula</application> will "
"send an email letting you know. To label a tape using the "
"<application>Console</application> enter the following from a terminal:"
msgstr ""

#: serverguide/C/backups.xml:796(command)
msgid "bconsole"
msgstr ""

#: serverguide/C/backups.xml:800(para)
msgid "At the Bacula Console prompt enter:"
msgstr ""

#: serverguide/C/backups.xml:804(command)
msgid "label"
msgstr ""

#: serverguide/C/backups.xml:808(para)
msgid ""
"You will then be prompted for the <emphasis>Storage</emphasis> resource:"
msgstr ""

#: serverguide/C/backups.xml:818(userinput)
#, no-wrap
msgid "2"
msgstr ""

#: serverguide/C/backups.xml:812(computeroutput)
#, no-wrap
msgid ""
"\n"
"Automatically selected Catalog: MyCatalog\n"
"Using Catalog \"MyCatalog\"\n"
"The defined Storage resources are:\n"
"     1: File\n"
"     2: TapeDrive\n"
"Select Storage resource (1-2):<placeholder-1/>\n"
msgstr ""

#: serverguide/C/backups.xml:823(para)
msgid "Enter the new <emphasis>Volume</emphasis> name:"
msgstr ""

#: serverguide/C/backups.xml:828(userinput)
#, no-wrap
msgid "Sunday"
msgstr ""

#: serverguide/C/backups.xml:827(computeroutput)
#, no-wrap
msgid ""
"\n"
"Enter new Volume name: <placeholder-1/>\n"
"Defined Pools:\n"
"     1: Default\n"
"     2: Scratch"
msgstr ""

#: serverguide/C/backups.xml:833(para)
msgid "Replace <emphasis>Sunday</emphasis> with the desired label."
msgstr ""

#: serverguide/C/backups.xml:838(para)
msgid "Now, select the <emphasis>Pool</emphasis>:"
msgstr ""

#: serverguide/C/backups.xml:843(userinput)
#, no-wrap
msgid "1"
msgstr ""

#: serverguide/C/backups.xml:842(computeroutput)
#, no-wrap
msgid ""
"\n"
"Select the Pool (1-2): <placeholder-1/>\n"
"Connecting to Storage daemon TapeDrive at backupserver:9103 ...\n"
"Sending label command for Volume \"Sunday\" Slot 0 ...\n"
msgstr ""

#: serverguide/C/backups.xml:850(para)
msgid ""
"Congratulations, you have now configured <emphasis>Bacula</emphasis> to "
"backup the localhost to an attached tape drive."
msgstr ""

#: serverguide/C/backups.xml:858(para)
msgid ""
"For more <emphasis>Bacula</emphasis> configuration options refer to the "
"<ulink url=\"http://www.bacula.org/en/rel-manual/index.html\">Bacula User's "
"Manual</ulink>"
msgstr ""

#: serverguide/C/backups.xml:864(para)
msgid ""
"The <ulink url=\"http://www.bacula.org/\">Bacula Home Page</ulink> contains "
"the latest Bacula news and developments."
msgstr ""

#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
#: serverguide/C/backups.xml:0(None)
msgid "translator-credits"
msgstr ""
"Launchpad Contributions:\n"
"  H_M_Murdock_EST https://launchpad.net/~okinawa\n"
"\n"
"Launchpad Contributions:\n"
"  H_M_Murdock_EST https://launchpad.net/~okinawa\n"
"  Launchpad Translations Administrators https://launchpad.net/~rosetta-"
"admins\n"
"\n"
"Launchpad Contributions:\n"
"  H_M_Murdock_EST https://launchpad.net/~okinawa\n"
"  Launchpad Translations Administrators https://launchpad.net/~rosetta-"
"admins\n"
"\n"
"Launchpad Contributions:\n"
"  H_M_Murdock_EST https://launchpad.net/~okinawa\n"
"  Launchpad Translations Administrators https://launchpad.net/~rosetta-"
"admins\n"
"\n"
"Launchpad Contributions:\n"
"  H_M_Murdock_EST https://launchpad.net/~okinawa\n"
"  Launchpad Translations Administrators https://launchpad.net/~rosetta-"
"admins\n"
"\n"
"Launchpad Contributions:\n"
"  H_M_Murdock_EST https://launchpad.net/~okinawa\n"
"  Launchpad Translations Administrators https://launchpad.net/~rosetta-admins"

#~ msgid "Installing SAMBA"
#~ msgstr "SAMBA paigaldamine"

#~ msgid "Configuring SAMBA"
#~ msgstr "SAMBA konfigureerimine"