Difference between revisions of "Linux"

(DB servers)
 
(66 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:Linux]]
 
[[Category:Linux]]
 +
<seo google-site-verification="NS8HNfXeCZBn4FoGJp38gQH7vHkeZC9Qdr_YDMd7MsQ" />
 +
 
Linux is wonderful! However it can be a mess to setup.  
 
Linux is wonderful! However it can be a mess to setup.  
  
Line 5: Line 7:
  
  
 
+
{| style="margin: 1em auto 1em auto"
=Server / workstation core setup=
+
|-valign="top"
 
+
|width="20%"|{{Template:menu core features}}
 
+
|width="20%"|{{Template:menu security}}
[[File:Workstation.png|64px|caption|Server or workstation]] How to setup & maintain a Linux server or workstation with basics services.
+
|width="20%"|{{Template:menu web}}
 
+
|width="20%"|{{Template:menu network}}
 
 
 
 
{| class="wikitable"
 
!colspan="6"|Server / Workstation setup
 
|-
 
|rowspan="8"|Installation
 
|[[Partitions setup]]                       
 
|rowspan="8"|Specifics
 
|[[Prefer IPv4 over IPv6]]
 
|rowspan="8"|Applications
 
|[[Photo]]
 
|-
 
|[[DHCP and network configuration|Network and hostname configuration]]
 
|[[XFCE: screensaver bug fix]]
 
|Clean ubuntu
 
|-
 
|[[VIM editor]]
 
|[[Drivers]]
 
|-
 
|[[Sources]]
 
|-
 
|[[Create user]]
 
|-
 
|[[Useful programs]]
 
|-
 
|[[Languages]]
 
|-
 
|[[Automatic updates]]
 
|-
 
|}
 
 
 
 
 
 
 
 
 
 
 
=Security=
 
 
 
 
 
==Services security==
 
 
 
 
 
[[File:Internet security.png|64px|caption|Internet security]] How to secure your server / workstation ?
 
 
 
 
 
 
 
{| class="wikitable"
 
!colspan="3"|Security
 
|-
 
|rowspan="9"|Basic
 
|rowspan="7"|SSH
 
|[[SSH Client]]
 
|-
 
|[[SSH create key|How-to generate SSH key]]
 
|-
 
|[[SSH server setup]]
 
|-
 
|[[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]]
 
|-
 
|rowspan="5"|Advanced
 
|rowspan="3"|VPN
 
|[[VPN|VPN introduction]]
 
|-
 
|[[VPN server]]
 
|-
 
|[[VPN client]]
 
|-
 
|rowspan="2"|Other
 
|[[Fail2ban]]
 
|-
 
|[[SSL server]]
 
|-
 
 
 
|-
 
|}
 
 
 
==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 132: Line 18:
  
  
=Linux server services=
 
 
 
==User management==
 
 
[[File:Active-directory.png|64px|caption|Active directory]] Manage users and groups
 
 
 
* [[LDAP server]]
 
* [[LDAP client]]
 
  
 
+
=Other services=
 
 
==DB servers==
 
 
 
[[File:Database.png|64px|caption|Database]] Database servers
 
 
 
 
 
* [[MySQL server]]
 
* PostgreSQL
 
 
 
==Web==
 
 
 
 
 
[[File:Web server.png|64px|caption|Web server]] How to setup a website, proxy and SSL certificates...
 
 
 
 
 
 
 
{| class="wikitable"
 
!colspan="2"|Web server
 
|-
 
|rowspan="10"|Apache 2
 
|[[Apache 2|Apache 2 installation]]
 
|-
 
|[[Apache 2 HTTP virtual host]]
 
|-
 
|[[Apache 2 HTTPS virtual host]]
 
|-
 
|[[Apache 2 - SSL certificates page]]
 
|-
 
|[[Apache 2 - Redirection (mod rewrite)]]
 
|-
 
|[[Apache 2 - proxy]]
 
|-
 
|[[Apache 2 - Custom error page]]
 
|-
 
|[[Apache 2 - Performances]]
 
|-
 
|[[Apache 2 - Security]]
 
|-
 
|[[Apache 2 - LDAP access]]
 
|-
 
|Cherokee
 
|[[Cherokee web server]]
 
|-
 
|}
 
 
 
 
 
[[File:Web app icon.png|64px|caption|Web apps]] Web applications
 
 
 
 
 
 
 
{| class="wikitable"
 
!colspan="1"|Web applications
 
|-
 
|[[Web app PhpMyAdmin]]
 
|-
 
|[[Web app PhpLdapAdmin]]
 
|-
 
|[[Apache 2 - Security#PHP5 security|Web app PhpSecInfo]]
 
|-
 
|[[Jenkins]]
 
|-
 
|[[Sonar]]
 
|-
 
|[[SVN server]]
 
|}
 
 
 
==Network==
 
 
 
 
 
[[File:Network icon.png|64px|caption|Network icon]] Network related services
 
 
 
 
 
 
 
{| class="wikitable"
 
!colspan="2"|Network
 
|-
 
|rowspan="4"|DHCP server
 
|[[DHCP server installation]]
 
|-
 
|[[DHCP dynamic IP assignation]]
 
|-
 
|[[DHCP static IP assignation]]
 
|-
 
|[[DHCP netboot configuration]]
 
|-
 
|rowspan="1"|Other
 
|[[DNS server]]
 
|-
 
|}
 
 
 
 
 
 
 
 
 
* FTP server
 
 
 
 
 
Web server configuration
 
 
 
 
 
 
 
* [[Tomcat]]
 
 
 
==File share==
 
 
 
* [[Samba server]]
 
* Webdav
 
 
 
 
 
==Network==
 
 
 
 
 
[[File:Firewall.png|64px|caption|FW principle]] This section explains HOW to create, maintain and use a firewall with IpTables.
 
 
 
 
 
 
 
* [[DNS server]]
 
* [[DHCP server]]
 
* [[SNMP client]]
 
 
 
* 0. [[NetBoot server principle]]
 
* 1. [[NetBoot server | NetBoot server setup - network Linux installation]]
 
* 2. [[Diskless netboot|NetBoot server setup - diskless clients]]
 
* 3. Diskless client setup
 
*** [[Diskless image configuration - manual setup]]
 
*** [[Diskless image configuration - script setup]]
 
* 4. PXE menu
 
*** [[PXE interactive menu - single level]]
 
*** [[PXE interactive menu - multi level]]
 
 
 
 
 
* Monitoring : IT components, servers and applications
 
** 1. [[Zabbix server setup]]
 
** 2. [[Zabbix agent setup]]
 
 
 
 
 
 
 
 
 
==Other services==
 
  
 
* NTP time sync
 
* NTP time sync
 
* Logwatch
 
* Logwatch
* Mail server
 
  
  
  
==Management UI==
+
=Management UI=
  
 
[[Webmin]]
 
[[Webmin]]
 
=Raspberry pi=
 
 
* [[Raspbmc - XBMC HTPC]]
 
 
 
 
 
 
=New menu (under construction)=
 
 
This section is under construction...
 

Latest revision as of 22:27, 12 March 2019

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.


Core features

Server or workstation Server / workstation setup

Raspberry Pi Raspberry Pi XBMC

Multimedia Multimedia


Linux games Linux games

Security

Internet security Internet security

SSH SSH

FW principle Firewall

SSL SSL

VPN VPN

Remote desktop Remote desktop

Radar IDS / IPS

Alarm clock Crontab

Web

Database DB

Web server Web server

Web apps PHP webapps

Continuous integration Continous Integration

Network

Active directory LDAP

Network icon DHCP DNS

File share File-share

Netboot icon Netboot & Thin client

Mail icon Mail server

Infrastructure monitoring Infrastructure monitoring

ELK Log monitoring ELK Log monitoring



Other services

  • NTP time sync
  • Logwatch


Management UI

Webmin