This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
ubuntu_server_setup [2020/07/23 11:31] mstraub [Oracle Java] |
ubuntu_server_setup [2021/02/11 13:50] mstraub [Greeting] |
||
---|---|---|---|
Line 78: | Line 78: | ||
* [[https://help.ubuntu.com/community/AutomaticSecurityUpdates]]\\ | * [[https://help.ubuntu.com/community/AutomaticSecurityUpdates]]\\ | ||
* [[https://help.ubuntu.com/16.04/serverguide/automatic-updates.html]] | * [[https://help.ubuntu.com/16.04/serverguide/automatic-updates.html]] | ||
- | |||
- | ==== Ubuntu <= 14.04 ==== | ||
- | Unattended-Upgrade::Remove-Unused-Dependencies seems to be broken in Ubuntu 14.04. This entry in ''/etc/crontab'' should do the trick by daily executing autoremove: | ||
- | |||
- | <code> | ||
- | 0 0 * * * root apt-get autoremove -y >> /var/log/autoremovecronjob.log 2>&1 | ||
- | </code> | ||
- | |||
Line 109: | Line 101: | ||
# http://patorjk.com/software/taag/#p=display&h=1&f=Calvin%20S&t=my-server-name | # http://patorjk.com/software/taag/#p=display&h=1&f=Calvin%20S&t=my-server-name | ||
+ | # http://patorjk.com/software/taag/#p=display&h=1&v=0&f=ANSI%20Regular&t=my-server-name | ||
echo "┌┬┐┬ ┬ ┌─┐┌─┐┬─┐┬ ┬┌─┐┬─┐ ┌┐┌┌─┐┌┬┐┌─┐" | echo "┌┬┐┬ ┬ ┌─┐┌─┐┬─┐┬ ┬┌─┐┬─┐ ┌┐┌┌─┐┌┬┐┌─┐" | ||
echo "│││└┬┘───└─┐├┤ ├┬┘└┐┌┘├┤ ├┬┘───│││├─┤│││├┤ " | echo "│││└┬┘───└─┐├┤ ├┬┘└┐┌┘├┤ ├┬┘───│││├─┤│││├┤ " | ||
Line 116: | Line 109: | ||
# figlet my-server-name | # figlet my-server-name | ||
</file> | </file> | ||
+ | |||
+ | Don't forget to make the file executable. | ||
===== More Resources ===== | ===== More Resources ===== | ||
[[http://plusbryan.com/my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers]]\\ | [[http://plusbryan.com/my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers]]\\ | ||
[[https://www.thefanclub.co.za/how-to/how-secure-ubuntu-1204-lts-server-part-1-basics]] | [[https://www.thefanclub.co.za/how-to/how-secure-ubuntu-1204-lts-server-part-1-basics]] |