author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Fri, 10 Feb 2012 00:03:17 +0200 | |
changeset 1221 | 3354c6e9cb95 |
parent 1124 | 020a9bc396a0 |
child 1251 | afd95ccfcbe9 |
permissions | -rw-r--r-- |
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
1 |
.. -*- coding: utf-8; -*- |
0 | 2 |
|
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
3 |
========= |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
4 |
Debian. |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
5 |
========= |
1124 | 6 |
.. contents:: |
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
7 |
|
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
8 |
Installing Debian. |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
9 |
================== |
0 | 10 |
|
11 |
* Download Debian iso CD/DVD image no. 1. |
|
12 |
* Burn it to CD/DVD. |
|
13 |
* Boot from this media. |
|
14 |
* Follow instructions. |
|
15 |
||
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
16 |
Configuring new system. |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
17 |
======================= |
0 | 18 |
|
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
19 |
Installing additional packages. |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
20 |
------------------------------- |
0 | 21 |
|
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
22 |
They need to install drivers, browsing file system, editing file etc: |
0 | 23 |
|
24 |
* menu |
|
25 |
* emacs |
|
26 |
* mc |
|
27 |
* sudo |
|
28 |
* gcc |
|
29 |
* make |
|
30 |
* linux-headers |
|
31 |
* xserver |
|
32 |
* xterm |
|
33 |
* fvwm |
|
34 |
||
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
35 |
Become sudouser. |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
36 |
---------------- |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
37 |
:: |
0 | 38 |
|
39 |
$ su |
|
40 |
... |
|
41 |
$ emacs /etc/sudoers |
|
42 |
... |
|
43 |
$ grep -v "^#" /etc/sudoers |
|
44 |
Defaults env_reset |
|
45 |
||
46 |
root ALL=(ALL) ALL |
|
224 | 47 |
user ALL=(ALL) ALL |
0 | 48 |
$ ^D |
49 |
||
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
50 |
List existed partitions. |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
51 |
------------------------ |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
52 |
:: |
0 | 53 |
|
54 |
$ sudo /sbin/sfdisk -l |
|
55 |
... |
|
56 |
||
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
57 |
Mount additional partitions. |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
58 |
---------------------------- |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
59 |
|
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
60 |
Partition mounting by hands:: |
0 | 61 |
|
62 |
$ sudo mkdir /mnt/wininst |
|
63 |
$ sudo mount -t ntfs -o ro /dev/sdb2 /mnt/wininst |
|
64 |
||
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
65 |
Automatic partition mounting:: |
0 | 66 |
|
67 |
$ sudo addgroup win |
|
68 |
$ sudo addgroup user win |
|
69 |
$ sudo emacs /etc/fstab |
|
70 |
... |
|
71 |
$ cat /etc/fstab |
|
72 |
# /etc/fstab: static file system information. |
|
73 |
# <file system> <mount point> <type> <options> <dump> <pass> |
|
74 |
/dev/sdc1 / ext3 defaults,errors=remount-ro 0 1 |
|
75 |
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0 |
|
76 |
/dev/sdb1 /mnt/winsys ntfs ro,nls=utf8,gid=win,dmask=222,fmask=337 0 0 |
|
77 |
/dev/sdb2 /mnt/wininst ntfs ro,nls=utf8,gid=win,dmask=222,fmask=337 0 0 |
|
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
78 |
# /dev/sdb3 /mnt/winbin ntfs-3g rw,utf8,force,gid=win,dmask=002,fmask=113 0 0 |
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
79 |
/dev/sdb3 /mnt/winbin ntfs rw,utf8,nls=utf8,gid=win,umask=000 0 0 |
0 | 80 |
/dev/sdc2 /mnt/fat vfat rw,utf8,gid=win,dmask=222,fmask=337 0 0 |
81 |
/dev/sda5 /mnt/music ntfs ro,nls=utf8,gid=win,dmask=222,fmask=337 0 0 |
|
1122
3f5ef267ee85
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
82 |
/dev/sdd1 /mnt/usb vfat rw,shortname=winnt,utf8,quiet,gid=win,dmask=002,fmask=111 0 0 |
1123
ea73f55d679d
Installing and configuting documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1122
diff
changeset
|
83 |
|
ea73f55d679d
Installing and configuting documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1122
diff
changeset
|
84 |
Installing and configuting documentation. |
1124 | 85 |
========================================= |
1123
ea73f55d679d
Installing and configuting documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1122
diff
changeset
|
86 |
|
ea73f55d679d
Installing and configuting documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1122
diff
changeset
|
87 |
Documentation packages end with ``-doc`` suffix. |
ea73f55d679d
Installing and configuting documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1122
diff
changeset
|
88 |
|
ea73f55d679d
Installing and configuting documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1122
diff
changeset
|
89 |
To browse all docs in HTML form install:: |
ea73f55d679d
Installing and configuting documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1122
diff
changeset
|
90 |
|
ea73f55d679d
Installing and configuting documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1122
diff
changeset
|
91 |
$ sudo apt-get install dhelp info2www man2html swish++ |
ea73f55d679d
Installing and configuting documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1122
diff
changeset
|
92 |