Debian Wheezy 7 installation guidelines » History » Version 3
Version 2 (ROQUE, Damien, 11/17/2014 05:53 PM) → Version 3/6 (ROQUE, Damien, 11/17/2014 06:38 PM)
h1. Debian Wheezy 7 installation guidelines
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.
h2. Partitioning
During the installation process, the following partitioning is recommended:
* primary SWAP, 1 GB;
* primary ext4, /, 40 GB;
* secondary ext4, /home, (remaining space).
h2. Packages installation
Get a root shell.
<pre>
su
</pre>
Edit @/etc/apt/source.list@ in order to add @contrib@ and @non-free@ targets in order to obtain the following.
<pre>
deb http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ wheezy-updates main contrib non-free
</pre>
If needed, configure an HTTP proxy.
<pre>
export http_proxy=http://host:port
</pre>
Then, update the package list.
<pre>
apt-get update
</pre>
Complete the installation with the following packages.
<pre>
apt-get install texlive-full texstudio auctex wireshark filezilla \
openssh-server vlc octave-communications subversion git thunar-vcs-plugin \
xfce4-goodies arandr libreoffice-l10n-fr flashplugin-nonfree evince xournal \
eog python-matplotlib python-scipy ctags doxygen ntpdate libpam-ldap nscd screen \
htop inkscape filezilla gparted sudo
</pre>
h2. Services configuration
h3. Sudo configuration
<pre>
visudo
</pre>
<pre>
adduser <login> sudo
</pre>
<pre>
Defaults env_keep += "http_proxy https_proxy"
</pre>
h3. Enable root account
<pre>
sudo passwd root
</pre>
h3. Enable LDAP authentication
<pre>
dpkg-reconfigure libpam-ldap ldap-auth-config
</pre>
<pre>
sudo nano /etc/nsswitch.conf
</pre>
<pre>
passwd: ldap compat
group: ldap compat
shadow: ldap compat
</pre>
<pre>
sudo nano /etc/pam.d/common-session
</pre>
<pre>
session required pam_mkhomedir.so skel=/etc/skel umask=0022
</pre>
<pre>
/etc/init.d/nscd restart
</pre>
h3. Enable NTP
<pre>
nano /etc/default/ntpdate
</pre>
<pre>
ntpdate-debian
</pre>
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.
h2. Partitioning
During the installation process, the following partitioning is recommended:
* primary SWAP, 1 GB;
* primary ext4, /, 40 GB;
* secondary ext4, /home, (remaining space).
h2. Packages installation
Get a root shell.
<pre>
su
</pre>
Edit @/etc/apt/source.list@ in order to add @contrib@ and @non-free@ targets in order to obtain the following.
<pre>
deb http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ wheezy-updates main contrib non-free
</pre>
If needed, configure an HTTP proxy.
<pre>
export http_proxy=http://host:port
</pre>
Then, update the package list.
<pre>
apt-get update
</pre>
Complete the installation with the following packages.
<pre>
apt-get install texlive-full texstudio auctex wireshark filezilla \
openssh-server vlc octave-communications subversion git thunar-vcs-plugin \
xfce4-goodies arandr libreoffice-l10n-fr flashplugin-nonfree evince xournal \
eog python-matplotlib python-scipy ctags doxygen ntpdate libpam-ldap nscd screen \
htop inkscape filezilla gparted sudo
</pre>
h2. Services configuration
h3. Sudo configuration
<pre>
visudo
</pre>
<pre>
adduser <login> sudo
</pre>
<pre>
Defaults env_keep += "http_proxy https_proxy"
</pre>
h3. Enable root account
<pre>
sudo passwd root
</pre>
h3. Enable LDAP authentication
<pre>
dpkg-reconfigure libpam-ldap ldap-auth-config
</pre>
<pre>
sudo nano /etc/nsswitch.conf
</pre>
<pre>
passwd: ldap compat
group: ldap compat
shadow: ldap compat
</pre>
<pre>
sudo nano /etc/pam.d/common-session
</pre>
<pre>
session required pam_mkhomedir.so skel=/etc/skel umask=0022
</pre>
<pre>
/etc/init.d/nscd restart
</pre>
h3. Enable NTP
<pre>
nano /etc/default/ntpdate
</pre>
<pre>
ntpdate-debian
</pre>