setup-config-debian-bullseye
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
setup-config-debian-bullseye [2022/07/21 23:10] – admin | setup-config-debian-bullseye [2022/07/24 15:18] (current) – admin | ||
---|---|---|---|
Line 65: | Line 65: | ||
htpasswd -c / | htpasswd -c / | ||
</ | </ | ||
+ | |||
+ | === Apache HTTPS Secure ssl === | ||
+ | Self Signed Cert | ||
+ | < | ||
+ | make-ssl-cert generate-default-snakeoil | ||
+ | |||
+ | < | ||
+ | |||
+ | ServerAdmin webmaster@localhost | ||
+ | DocumentRoot / | ||
+ | |||
+ | ErrorLog ${APACHE_LOG_DIR}/ | ||
+ | CustomLog ${APACHE_LOG_DIR}/ | ||
+ | |||
+ | SSLEngine on | ||
+ | SSLCertificateFile | ||
+ | SSLCertificateKeyFile / | ||
+ | < | ||
+ | SSLOptions +StdEnvVars | ||
+ | </ | ||
+ | < | ||
+ | SSLOptions +StdEnvVars | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | Ref: / | ||
===== MySQL migrations ===== | ===== MySQL migrations ===== | ||
Line 85: | Line 111: | ||
apt-get install fail2ban | apt-get install fail2ban | ||
apt-get install links | apt-get install links | ||
+ | </ | ||
+ | ==== chkrootkit ==== | ||
+ | < | ||
+ | apt-get install chkrootkit | ||
+ | vi / | ||
+ | #change to: | ||
+ | RUN_DAILY=" | ||
+ | RUN_DAILY_OPTS=" | ||
+ | DIFF_MODE=" | ||
+ | |||
+ | vi / | ||
+ | #add | ||
+ | root: | ||
+ | |||
+ | #then run the following to take effect: | ||
+ | newaliases | ||
+ | |||
+ | Now the user will get nightly emails with chkrootkit report. | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
</ | </ | ||
setup-config-debian-bullseye.1658445021.txt.gz · Last modified: 2022/07/21 23:10 by admin