FAQ:Linux: Difference between revisions

From Leurent
Jump to navigation Jump to search
(→‎ LDAP USer backend: Add nssswitch.conf)
(Add system stuff)
Line 18: Line 18:
= Backend =
= Backend =


== LDAP USer backend ==
== LDAP uSer backend ==


* Install slapd
* Install slapd
Line 51: Line 51:
hosts: files dns
hosts: files dns
</source>
</source>


= Web =

== Owncloud ==


= System =

== Postfix ==

apt install postfix
== Dovecot ==

apt install dovecot-imapd dovecot-managesieved dovecot-pop3d dovecot-sieve


== bind9 ==

apt install bind9

Revision as of 14:10, 2 October 2016

Install

Install all my basic usful tools

Here is a command to install all the small tools that are quite useful

apt install vim screen zsh htop iftop iotop subversion git ndisc6 debian-goodies sipcalc pwgen lshw apt-file sudo lvm2 lshell

Multimedia

Be able to RIP DVDs with Handbrake

  1. Follow http://www.videolan.org/developers/libdvdcss.html to install libdvdcss
  2. Install and use Handbrake


 Backend

 LDAP uSer backend

  •  Install slapd
apt install slapd
dpkg-reconfigure slapd
  •  Restore backup ( delete 2 first entries before )
(SCREEN):root@tidus:[~]# slapadd < slapcat_20161002.ldiff
-#################### 100.00% eta   none elapsed                 spd  25.7 k/s 
Closing DB...
  •  Install libpam-ldap and libnss-ldap
apt install libnss-ldap libpam-ldap
  • Update /etc/nsswitch.conf to add ldap
 --- /etc/nsswitch.conf.old      2016-10-02 15:48:45.655784710 +0200
 +++ /etc/nsswitch.conf  2016-10-02 15:41:07.844051229 +0200
 @@ -4,9 +4,9 @@
  # If you have the `glibc-doc-reference' and `info' packages installed, try:
  # `info libc "Name Service Switch"' for information about this file.
  
 -passwd:         compat
 -group:          compat
 -shadow:         compat
 +passwd:         compat ldap
 +group:          compat ldap
 +shadow:         compat ldap
  gshadow:        files
  
  hosts:          files dns


 Web

 Owncloud

 System

 Postfix

apt install postfix

 Dovecot

apt install dovecot-imapd dovecot-managesieved dovecot-pop3d dovecot-sieve


 bind9

apt install bind9