Debian Wheezy 7 installation guidelines » History » Version 2
ROQUE, Damien, 11/17/2014 05:53 PM
1 | 1 | ROQUE, Damien | h1. Debian Wheezy 7 installation guidelines |
---|---|---|---|
2 | 1 | ROQUE, Damien | |
3 | 1 | 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. |
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 | Get a root shell. |
15 | 1 | ROQUE, Damien | |
16 | 1 | ROQUE, Damien | <pre> |
17 | 1 | ROQUE, Damien | su |
18 | 1 | ROQUE, Damien | </pre> |
19 | 1 | ROQUE, Damien | |
20 | 1 | ROQUE, Damien | Edit @/etc/apt/source.list@ in order to add @contrib@ and @non-free@ targets in order to obtain the following. |
21 | 1 | ROQUE, Damien | |
22 | 1 | ROQUE, Damien | <pre> |
23 | 1 | ROQUE, Damien | deb http://ftp.fr.debian.org/debian/ wheezy main contrib non-free |
24 | 1 | ROQUE, Damien | deb-src http://ftp.fr.debian.org/debian/ wheezy main contrib non-free |
25 | 1 | ROQUE, Damien | |
26 | 1 | ROQUE, Damien | deb http://security.debian.org/ wheezy/updates main contrib non-free |
27 | 1 | ROQUE, Damien | deb-src http://security.debian.org/ wheezy/updates main contrib non-free |
28 | 1 | ROQUE, Damien | |
29 | 1 | ROQUE, Damien | # wheezy-updates, previously known as 'volatile' |
30 | 1 | ROQUE, Damien | deb http://ftp.fr.debian.org/debian/ wheezy-updates main contrib non-free |
31 | 1 | ROQUE, Damien | deb-src http://ftp.fr.debian.org/debian/ wheezy-updates main contrib non-free |
32 | 1 | ROQUE, Damien | </pre> |
33 | 1 | ROQUE, Damien | |
34 | 1 | ROQUE, Damien | If needed, configure an HTTP proxy. |
35 | 1 | ROQUE, Damien | |
36 | 1 | ROQUE, Damien | <pre> |
37 | 1 | ROQUE, Damien | export http_proxy=http://host:port |
38 | 1 | ROQUE, Damien | </pre> |
39 | 1 | ROQUE, Damien | |
40 | 1 | ROQUE, Damien | Then, update the package list. |
41 | 1 | ROQUE, Damien | |
42 | 1 | ROQUE, Damien | <pre> |
43 | 1 | ROQUE, Damien | apt-get update |
44 | 1 | ROQUE, Damien | </pre> |
45 | 1 | ROQUE, Damien | |
46 | 1 | ROQUE, Damien | Complete the installation with the following packages. |
47 | 1 | ROQUE, Damien | |
48 | 1 | ROQUE, Damien | <pre> |
49 | 1 | ROQUE, Damien | apt-get install texlive-full texstudio auctex wireshark filezilla \ |
50 | 1 | ROQUE, Damien | openssh-server vlc octave-communications subversion git thunar-vcs-plugin \ |
51 | 1 | ROQUE, Damien | xfce4-goodies arandr libreoffice-l10n-fr flashplugin-nonfree evince xournal \ |
52 | 1 | ROQUE, Damien | eog python-matplotlib python-scipy ctags doxygen ntpdate libpam-ldap nscd screen \ |
53 | 1 | ROQUE, Damien | htop inkscape filezilla gparted sudo |
54 | 1 | ROQUE, Damien | </pre> |
55 | 1 | ROQUE, Damien | |
56 | 1 | ROQUE, Damien | h2. Services configuration |
57 | 1 | ROQUE, Damien | |
58 | 1 | ROQUE, Damien | h3. Sudo configuration |
59 | 1 | ROQUE, Damien | |
60 | 1 | ROQUE, Damien | |
61 | 1 | ROQUE, Damien | <pre> |
62 | 2 | ROQUE, Damien | visudo |
63 | 1 | ROQUE, Damien | </pre> |
64 | 1 | ROQUE, Damien | |
65 | 1 | ROQUE, Damien | <pre> |
66 | 1 | ROQUE, Damien | adduser <login> sudo |
67 | 1 | ROQUE, Damien | </pre> |
68 | 1 | ROQUE, Damien | |
69 | 1 | ROQUE, Damien | <pre> |
70 | 1 | ROQUE, Damien | Defaults env_keep += "http_proxy https_proxy" |
71 | 1 | ROQUE, Damien | </pre> |
72 | 1 | ROQUE, Damien | |
73 | 1 | ROQUE, Damien | h3. Enable root account |
74 | 1 | ROQUE, Damien | |
75 | 1 | ROQUE, Damien | <pre> |
76 | 1 | ROQUE, Damien | sudo passwd root |
77 | 1 | ROQUE, Damien | </pre> |
78 | 1 | ROQUE, Damien | |
79 | 1 | ROQUE, Damien | h3. Enable LDAP authentication |
80 | 1 | ROQUE, Damien | |
81 | 1 | ROQUE, Damien | <pre> |
82 | 1 | ROQUE, Damien | dpkg-reconfigure ldap-auth-config |
83 | 1 | ROQUE, Damien | </pre> |
84 | 1 | ROQUE, Damien | |
85 | 1 | ROQUE, Damien | <pre> |
86 | 1 | ROQUE, Damien | sudo nano /etc/nsswitch.conf |
87 | 1 | ROQUE, Damien | </pre> |
88 | 1 | ROQUE, Damien | |
89 | 1 | ROQUE, Damien | <pre> |
90 | 1 | ROQUE, Damien | passwd: ldap compat |
91 | 1 | ROQUE, Damien | group: ldap compat |
92 | 1 | ROQUE, Damien | shadow: ldap compat |
93 | 1 | ROQUE, Damien | </pre> |
94 | 1 | ROQUE, Damien | |
95 | 1 | ROQUE, Damien | <pre> |
96 | 1 | ROQUE, Damien | sudo nano /etc/pam.d/common-session |
97 | 1 | ROQUE, Damien | </pre> |
98 | 1 | ROQUE, Damien | |
99 | 1 | ROQUE, Damien | <pre> |
100 | 1 | ROQUE, Damien | session required pam_mkhomedir.so skel=/etc/skel umask=0022 |
101 | 1 | ROQUE, Damien | </pre> |
102 | 1 | ROQUE, Damien | |
103 | 1 | ROQUE, Damien | <pre> |
104 | 1 | ROQUE, Damien | /etc/init.d/nscd restart |
105 | 1 | ROQUE, Damien | </pre> |
106 | 1 | ROQUE, Damien | |
107 | 1 | ROQUE, Damien | h3. Enable NTP |
108 | 1 | ROQUE, Damien | |
109 | 1 | ROQUE, Damien | <pre> |
110 | 1 | ROQUE, Damien | nano /etc/default/ntpdate |
111 | 1 | ROQUE, Damien | </pre> |
112 | 1 | ROQUE, Damien | |
113 | 1 | ROQUE, Damien | <pre> |
114 | 1 | ROQUE, Damien | ntpdate-debian |
115 | 1 | ROQUE, Damien | </pre> |