User Tools

Site Tools


setup-config-debian-bullseye

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
setup-config-debian-bullseye [2022/07/21 20:23] adminsetup-config-debian-bullseye [2022/07/23 10:20] admin
Line 46: Line 46:
 a2ensite 01-kartbuilding a2ensite 01-kartbuilding
 #or symlink into /etc/apache2/sites-enabled #or symlink into /etc/apache2/sites-enabled
 +</code>
 +
 +=== Apache authentication htpasswd ===
 +Within a vhost, add:
 +<code>
 +        <Location />
 +                Order Allow,Deny
 +                Allow from all
 +                AuthName "Secure"
 +                AuthType Basic
 +                AuthUserFile /etc/apache2/secure/htpasswd
 +                require valid-user
 +                Allow from 127.0.0.1
 +        </Location>
 +</code>
 +To create a htpasswd file:
 +<code>
 +htpasswd -c /etc/apache2/htpasswd username
 </code> </code>
  
Line 67: Line 85:
 apt-get install fail2ban apt-get install fail2ban
 apt-get install links apt-get install links
 +</code>
 +==== chkrootkit ====
 +<code>
 +apt-get install chkrootkit
 +vi /etc/chkrootkit.conf
 +#change to:
 +RUN_DAILY="true"
 +RUN_DAILY_OPTS="-q"
 +DIFF_MODE="true"
 +
 +vi /etc/aliases
 +#add
 +root:           localuser
 +
 +#then run the following to take effect:
 +newaliases
 +
 +Now the user will get nightly emails with chkrootkit report.
 +
 +</code>
 +
 +
 </code> </code>
  
setup-config-debian-bullseye.txt · Last modified: 2022/07/24 16:18 by admin