Debian Wheezy 7 installation guidelines » History » Version 3
ROQUE, Damien, 11/17/2014 06:38 PM
1 | 1 | ROQUE, Damien | h1. Debian Wheezy 7 installation guidelines |
---|---|---|---|
2 | 1 | ROQUE, Damien | |
3 | 3 | ROQUE, Damien | The distribution GNU/Linux Debian Wheezy has been chosen for several reasons: long term support (until 2016), active community, available binary packages from Ettus Research. We consider an installation performed thanks to a Debian Live support. Once the installation is performed, it is assumed to realize the following operations using a root shell. |
4 | 1 | ROQUE, Damien | |
5 | 1 | ROQUE, Damien | h2. Partitioning |
6 | 1 | ROQUE, Damien | |
7 | 1 | ROQUE, Damien | During the installation process, the following partitioning is recommended: |
8 | 1 | ROQUE, Damien | * primary SWAP, 1 GB; |
9 | 1 | ROQUE, Damien | * primary ext4, /, 40 GB; |
10 | 1 | ROQUE, Damien | * secondary ext4, /home, (remaining space). |
11 | 1 | ROQUE, Damien | |
12 | 1 | ROQUE, Damien | h2. Packages installation |
13 | 1 | ROQUE, Damien | |
14 | 1 | ROQUE, Damien | Edit @/etc/apt/source.list@ in order to add @contrib@ and @non-free@ targets in order to obtain the following. |
15 | 1 | ROQUE, Damien | |
16 | 1 | ROQUE, Damien | <pre> |
17 | 1 | ROQUE, Damien | deb http://ftp.fr.debian.org/debian/ wheezy main contrib non-free |
18 | 1 | ROQUE, Damien | deb-src http://ftp.fr.debian.org/debian/ wheezy main contrib non-free |
19 | 1 | ROQUE, Damien | |
20 | 1 | ROQUE, Damien | deb http://security.debian.org/ wheezy/updates main contrib non-free |
21 | 1 | ROQUE, Damien | deb-src http://security.debian.org/ wheezy/updates main contrib non-free |
22 | 1 | ROQUE, Damien | |
23 | 1 | ROQUE, Damien | # wheezy-updates, previously known as 'volatile' |
24 | 1 | ROQUE, Damien | deb http://ftp.fr.debian.org/debian/ wheezy-updates main contrib non-free |
25 | 1 | ROQUE, Damien | deb-src http://ftp.fr.debian.org/debian/ wheezy-updates main contrib non-free |
26 | 1 | ROQUE, Damien | </pre> |
27 | 1 | ROQUE, Damien | |
28 | 1 | ROQUE, Damien | If needed, configure an HTTP proxy. |
29 | 1 | ROQUE, Damien | |
30 | 1 | ROQUE, Damien | <pre> |
31 | 1 | ROQUE, Damien | export http_proxy=http://host:port |
32 | 1 | ROQUE, Damien | </pre> |
33 | 1 | ROQUE, Damien | |
34 | 1 | ROQUE, Damien | Then, update the package list. |
35 | 1 | ROQUE, Damien | |
36 | 1 | ROQUE, Damien | <pre> |
37 | 1 | ROQUE, Damien | apt-get update |
38 | 1 | ROQUE, Damien | </pre> |
39 | 1 | ROQUE, Damien | |
40 | 1 | ROQUE, Damien | Complete the installation with the following packages. |
41 | 1 | ROQUE, Damien | |
42 | 1 | ROQUE, Damien | <pre> |
43 | 1 | ROQUE, Damien | apt-get install texlive-full texstudio auctex wireshark filezilla \ |
44 | 1 | ROQUE, Damien | openssh-server vlc octave-communications subversion git thunar-vcs-plugin \ |
45 | 1 | ROQUE, Damien | xfce4-goodies arandr libreoffice-l10n-fr flashplugin-nonfree evince xournal \ |
46 | 1 | ROQUE, Damien | eog python-matplotlib python-scipy ctags doxygen ntpdate libpam-ldap nscd screen \ |
47 | 1 | ROQUE, Damien | htop inkscape filezilla gparted sudo |
48 | 1 | ROQUE, Damien | </pre> |
49 | 1 | ROQUE, Damien | |
50 | 1 | ROQUE, Damien | h2. Services configuration |
51 | 1 | ROQUE, Damien | |
52 | 1 | ROQUE, Damien | h3. Sudo configuration |
53 | 1 | ROQUE, Damien | |
54 | 1 | ROQUE, Damien | <pre> |
55 | 2 | ROQUE, Damien | visudo |
56 | 1 | ROQUE, Damien | </pre> |
57 | 1 | ROQUE, Damien | |
58 | 1 | ROQUE, Damien | <pre> |
59 | 1 | ROQUE, Damien | adduser <login> sudo |
60 | 1 | ROQUE, Damien | </pre> |
61 | 1 | ROQUE, Damien | |
62 | 1 | ROQUE, Damien | <pre> |
63 | 1 | ROQUE, Damien | Defaults env_keep += "http_proxy https_proxy" |
64 | 1 | ROQUE, Damien | </pre> |
65 | 1 | ROQUE, Damien | |
66 | 1 | ROQUE, Damien | h3. Enable LDAP authentication |
67 | 1 | ROQUE, Damien | |
68 | 1 | ROQUE, Damien | <pre> |
69 | 3 | ROQUE, Damien | dpkg-reconfigure libpam-ldap |
70 | 1 | ROQUE, Damien | </pre> |
71 | 1 | ROQUE, Damien | |
72 | 1 | ROQUE, Damien | <pre> |
73 | 1 | ROQUE, Damien | sudo nano /etc/nsswitch.conf |
74 | 1 | ROQUE, Damien | </pre> |
75 | 1 | ROQUE, Damien | |
76 | 1 | ROQUE, Damien | <pre> |
77 | 1 | ROQUE, Damien | passwd: ldap compat |
78 | 1 | ROQUE, Damien | group: ldap compat |
79 | 1 | ROQUE, Damien | shadow: ldap compat |
80 | 1 | ROQUE, Damien | </pre> |
81 | 1 | ROQUE, Damien | |
82 | 1 | ROQUE, Damien | <pre> |
83 | 1 | ROQUE, Damien | sudo nano /etc/pam.d/common-session |
84 | 1 | ROQUE, Damien | </pre> |
85 | 1 | ROQUE, Damien | |
86 | 1 | ROQUE, Damien | <pre> |
87 | 1 | ROQUE, Damien | session required pam_mkhomedir.so skel=/etc/skel umask=0022 |
88 | 1 | ROQUE, Damien | </pre> |
89 | 1 | ROQUE, Damien | |
90 | 1 | ROQUE, Damien | <pre> |
91 | 1 | ROQUE, Damien | /etc/init.d/nscd restart |
92 | 1 | ROQUE, Damien | </pre> |
93 | 1 | ROQUE, Damien | |
94 | 1 | ROQUE, Damien | h3. Enable NTP |
95 | 1 | ROQUE, Damien | |
96 | 1 | ROQUE, Damien | <pre> |
97 | 1 | ROQUE, Damien | nano /etc/default/ntpdate |
98 | 1 | ROQUE, Damien | </pre> |
99 | 1 | ROQUE, Damien | |
100 | 1 | ROQUE, Damien | <pre> |
101 | 1 | ROQUE, Damien | ntpdate-debian |
102 | 1 | ROQUE, Damien | </pre> |