Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
systemeinstellungen_bei_centos_7 [2018/09/29 22:45] jochen [Sudoers] |
systemeinstellungen_bei_centos_7 [2022/04/25 20:28] (aktuell) |
||
|---|---|---|---|
| Zeile 53: | Zeile 53: | ||
| </ | </ | ||
| ==== SSH ==== | ==== SSH ==== | ||
| + | in / | ||
| + | < | ||
| + | # no default banner path | ||
| + | #Banner none | ||
| + | </ | ||
| + | auf folgendes ändern: | ||
| + | < | ||
| + | # no default banner path | ||
| + | Banner / | ||
| + | </ | ||
| + | In / | ||
| + | < | ||
| + | [root@server ~]# cat / | ||
| + | ############################################################################## | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | ############################################################################## | ||
| + | </ | ||
| ==== Postfix ==== | ==== Postfix ==== | ||
| folgendes in / | folgendes in / | ||
| Zeile 68: | Zeile 92: | ||
| ==== Sudoers ==== | ==== Sudoers ==== | ||
| < | < | ||
| - | # visudo -f / | + | [root@server ~]# visudo -f / |
| # Allows backuppc to do backups and restores | # Allows backuppc to do backups and restores | ||
| Zeile 83: | Zeile 107: | ||
| < | < | ||
| ==== Repo ==== | ==== Repo ==== | ||
| + | |||
| + | Für die CentOS7-Repos Base, Updates, Extras sowie für das Epel-Repo gibt es einen lokalen Spiegel. Um den lokalen Spiegel nutzen zu können, müssen die repo-Dateien angepaßt werden. | ||
| + | |||
| + | < | ||
| + | [root@server ~]# more / | ||
| + | # CentOS-Base.repo | ||
| + | # | ||
| + | # The mirror system uses the connecting IP address of the client and the | ||
| + | # update status of each mirror to pick mirrors that are updated to and | ||
| + | # geographically close to the client. | ||
| + | # unless you are manually picking other mirrors. | ||
| + | # | ||
| + | # If the mirrorlist= does not work for you, as a fall back you can try the | ||
| + | # remarked out baseurl= line instead. | ||
| + | # | ||
| + | # | ||
| + | |||
| + | [base] | ||
| + | name=CentOS-$releasever - Base (local) | ||
| + | baseurl=http:// | ||
| + | enabled=1 | ||
| + | gpgcheck=1 | ||
| + | gpgkey=file:/// | ||
| + | |||
| + | #released updates | ||
| + | [updates] | ||
| + | name=CentOS-$releasever - Updates (local) | ||
| + | baseurl=http:// | ||
| + | enabled=1 | ||
| + | gpgcheck=1 | ||
| + | gpgkey=file:/// | ||
| + | |||
| + | #additional packages that may be useful | ||
| + | [extras] | ||
| + | name=CentOS-$releasever - Extras (local) | ||
| + | baseurl=http:// | ||
| + | enabled=1 | ||
| + | gpgcheck=1 | ||
| + | gpgkey=file:/// | ||
| + | |||
| + | #additional packages that extend functionality of existing packages | ||
| + | [centosplus] | ||
| + | name=CentOS-$releasever - Plus | ||
| + | mirrorlist=http:// | ||
| + | # | ||
| + | gpgcheck=1 | ||
| + | enabled=0 | ||
| + | gpgkey=file:/// | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | [root@server ~]# more / | ||
| + | [epel] | ||
| + | name=Extra Packages for Enterprise Linux 7 - $basearch | ||
| + | baseurl=http:// | ||
| + | enabled=1 | ||
| + | gpgcheck=1 | ||
| + | gpgkey=http:// | ||
| + | </ | ||
| + | ==== Firewall ==== | ||
| + | |||
| + | |||
| + | Port 6556 für Überwachung | ||
| + | < | ||
| + | [root@virtserv]# | ||
| + | [root@virtserv]# | ||
| + | </ | ||
| + | ==== xinetd ==== | ||
| + | Zugriff von check_mk beschränken | ||
| + | ==== bashrc ==== | ||