Difference between revisions of "Linux"
Line 6: | Line 6: | ||
− | = | + | =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... | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
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.
Contents
Server / workstation setup
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
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
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
- Partitions setup
- Network and hostname configuration
- VIM editor
- Sources
- Create user
- Useful programs
- Languages
- Drivers
- XFCE: screensaver bug fix
Specifics
Security
Tweaks and tricks
- Clean Ubuntu
- Ubuntu tweaks
Linux Workstation (Mint / Ubuntu)
- Photo
- Multimedia
- Google stuff
- Linux Mint
Linux server
User management
- Manage users and groups
- LDAP server
- LDAP client
Web
- FTP server
Web server configuration
- Apache 2
- Cherokee
Web applications
- Samba server
- Webdav
Network
- 0. NetBoot server principle
- 1. NetBoot server setup - network Linux installation
- 2. NetBoot server setup - diskless clients
- 3. Diskless client setup
- 4. PXE menu
- Monitoring : IT components, servers and applications
Other services
- NTP time sync
- Logwatch
- Mail server
Management UI
Raspberry pi
This section is under construction...