Difference between revisions of "Linux"

Line 6: Line 6:
  
  
=Core features=
+
=Server / workstation setup=
 +
 
 +
[[File:Workstation.png|64px|caption|Server or workstation]] How to setup & maintain a Linux server or workstation with basics services.
 +
 
 +
 
 +
 
 +
{| class="wikitable"
 +
!colspan="4"|Server / Workstation setup
 +
|-
 +
|rowspan="8"|Installation
 +
|[[Partitions setup]]                       
 +
|rowspan="8"|Specifics
 +
|[[Prefer IPv4 over IPv6]]
 +
|-
 +
|[[DHCP and network configuration|Network and hostname configuration]]
 +
|[[XFCE: screensaver bug fix]]
 +
|-
 +
|[[VIM editor]]
 +
|[[Drivers]]
 +
|-
 +
|[[Sources]]
 +
|-
 +
|[[Create user]]
 +
|-
 +
|[[Useful programs]]
 +
|-
 +
|[[Languages]]
 +
|-
 +
|[[Automatic updates]]
 +
|-
 +
|}
 +
 
 +
 
 +
 
 +
=Security=
 +
 
 +
 
 +
==Common security==
 +
 
 +
[[File:Internet security.png|64px|caption|Internet security]] How to secure your server / workstation ?
 +
 
 +
 
 +
 
 +
{| class="wikitable"
 +
!colspan="3"|Security
 +
|-
 +
|rowspan="8"|Basic
 +
|rowspan="6"|SSH
 +
|[[SSH|SSH client setup]]
 +
|-
 +
|[[SSH create key|How-to generate SSH key]]
 +
|-
 +
|[[SSH server local user|SSH server using local user / password auth.]]
 +
|-
 +
|[[SSH server local key|SSH server using key auth.]]
 +
|-
 +
|[[SSH server ldap user|SSH server using LDAP user auth.]]
 +
|-
 +
|[[SSH server ldap key|SSH server using LDAP key auth.]]
 +
|-
 +
|rowspan="2"|Local prevention
 +
|[[Anti-virus]]
 +
|-
 +
|[[Rootkit cleaner]]
 +
|-
 +
|colspan="2" rowspan="3"|Advanced
 +
|[[Fail2ban]]
 +
|-
 +
|[[SSL server]]
 +
|-
 +
|[[VPN]]
 +
|-
 +
|}
 +
 
 +
 
 +
 
 +
==Firewall==
 +
 
 +
[[File:Firewall.png|64px|caption|FW principle]] This section explains HOW to create, maintain and use a firewall with IpTables.
 +
 
 +
 
 +
 
 +
{| class="wikitable"
 +
!colspan="2"|Firewall
 +
|-
 +
|rowspan="6"|Basics
 +
|[[Firewall principle]]
 +
|-
 +
|[[Firewall basics]]
 +
|-
 +
|[[Firewall core (main) protocols]]
 +
|-
 +
|[[Firewall VPN]]
 +
|-
 +
|[[Firewall OUTPUT filters]]
 +
|-
 +
|[[Firewall INPUT filters]]
 +
|-
 +
|rowspan="2"|Advanced
 +
|[[Firewall FORWARD filters| Firewall port forwarding]]
 +
|-
 +
|[[Firewall source address filtering]]
 +
|-
 +
|Installation and scripts
 +
|[[Firewall installation scripts]]
 +
|}
 +
 
  
  
Line 140: Line 246:
  
 
This section is under construction...
 
This section is under construction...
 
 
==Server / workstation setup==
 
 
[[File:Workstation.png|64px|caption|Server or workstation]] How to setup & maintain a Linux server or workstation with basics services.
 
 
 
 
{| class="wikitable"
 
!colspan="4"|Server / Workstation setup
 
|-
 
|rowspan="8"|Installation
 
|[[Partitions setup]]                       
 
|rowspan="8"|Specifics
 
|[[Prefer IPv4 over IPv6]]
 
|-
 
|[[DHCP and network configuration|Network and hostname configuration]]
 
|[[XFCE: screensaver bug fix]]
 
|-
 
|[[VIM editor]]
 
|[[Drivers]]
 
|-
 
|[[Sources]]
 
|-
 
|[[Create user]]
 
|-
 
|[[Useful programs]]
 
|-
 
|[[Languages]]
 
|-
 
|[[Automatic updates]]
 
|-
 
|}
 
 
 
 
==Server / workstation setup==
 
 
[[File:Internet security.png|64px|caption|Internet security]] How to secure your server / workstation ?
 
 
 
 
{| class="wikitable"
 
!colspan="3"|Security
 
|-
 
|rowspan="8"|Basic
 
|rowspan="6"|SSH
 
|[[SSH|SSH client setup]]
 
|-
 
|[[SSH create key|How-to generate SSH key]]
 
|-
 
|[[SSH server local user|SSH server using local user / password auth.]]
 
|-
 
|[[SSH server local key|SSH server using key auth.]]
 
|-
 
|[[SSH server ldap user|SSH server using LDAP user auth.]]
 
|-
 
|[[SSH server ldap key|SSH server using LDAP key auth.]]
 
|-
 
|rowspan="2"|Local prevention
 
|[[Anti-virus]]
 
|-
 
|[[Rootkit cleaner]]
 
|-
 
|colspan="2" rowspan="3"|Advanced
 
|[[Fail2ban]]
 
|-
 
|[[SSL server]]
 
|-
 
|[[VPN]]
 
|-
 
|}
 
 
 
 
==Firewall==
 
 
[[File:Firewall.png|64px|caption|FW principle]] This section explains HOW to create, maintain and use a firewall with IpTables.
 
 
 
 
{| class="wikitable"
 
!colspan="2"|Firewall
 
|-
 
|rowspan="6"|Basics
 
|[[Firewall principle]]
 
|-
 
|[[Firewall basics]]
 
|-
 
|[[Firewall core (main) protocols]]
 
|-
 
|[[Firewall VPN]]
 
|-
 
|[[Firewall OUTPUT filters]]
 
|-
 
|[[Firewall INPUT filters]]
 
|-
 
|rowspan="2"|Advanced
 
|[[Firewall FORWARD filters| Firewall port forwarding]]
 
|-
 
|[[Firewall source address filtering]]
 
|-
 
|Installation and scripts
 
|[[Firewall installation scripts]]
 
|}
 

Revision as of 14:19, 8 August 2014

Linux is wonderful! However it can be a mess to setup.

These are some how-to and tricks for Linux (Debian / Ubuntu) servers and workstations.


Server / workstation setup

Server or workstation How to setup & maintain a Linux server or workstation with basics services.


Server / Workstation setup
Installation Partitions setup Specifics Prefer IPv4 over IPv6
Network and hostname configuration XFCE: screensaver bug fix
VIM editor Drivers
Sources
Create user
Useful programs
Languages
Automatic updates


Security

Common security

Internet security How to secure your server / workstation ?


Security
Basic SSH SSH client setup
How-to generate SSH key
SSH server using local user / password auth.
SSH server using key auth.
SSH server using LDAP user auth.
SSH server using LDAP key auth.
Local prevention Anti-virus
Rootkit cleaner
Advanced Fail2ban
SSL server
VPN


Firewall

FW principle This section explains HOW to create, maintain and use a firewall with IpTables.


Firewall
Basics Firewall principle
Firewall basics
Firewall core (main) protocols
Firewall VPN
Firewall OUTPUT filters
Firewall INPUT filters
Advanced Firewall port forwarding
Firewall source address filtering
Installation and scripts Firewall installation scripts


Linux installation

Specifics

Security


Tweaks and tricks

  • Clean Ubuntu
  • Ubuntu tweaks


Linux Workstation (Mint / Ubuntu)

  • Photo
  • Multimedia
  • Google stuff
  • Linux Mint


Linux server

User management


Web

  • FTP server


Web server configuration


Web applications





File share


Network




Other services

  • NTP time sync
  • Logwatch
  • Mail server


Management UI

Webmin



Raspberry pi



New menu (under construction)

This section is under construction...