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