ssh Permit root login
vi /etc/ssh/sshd_config #PermitRootLogin prohibit-password PermitRootLogin yes service sshd restart create a password for user root sudo su passwd
WeiterlesenKnowledgebase von Gerald Allerstorfer
vi /etc/ssh/sshd_config #PermitRootLogin prohibit-password PermitRootLogin yes service sshd restart create a password for user root sudo su passwd
WeiterlesenInstallation instructions for Ubuntu 16.04 and 18.04 LTS apt update && apt upgrade && apt -y install ntp ntpstat apt-get purge ntpdate vi /etc/default/ntp NTPD_OPTS=‘-g‘ The -g option enables ntpd
Weiterlesenremove sendmail netstat -putan | grep sendmail service sendmail stop apt-get purge sendmail* rm -rf /etc/mail install postfix & mailutils apt-get update && apt-get install postfix mailutils Paketlisten werden gelesen…
Weiterlesensudo visudo username ALL=(ALL) NOPASSWD: ALL Replace username with the username of the sudoer.
WeiterlesenThis manual is for Ubuntu 16.04. For Ubuntu 18 see How to rename the network interface on Ubuntu 18.04. vi /etc/default/grub GRUB_CMDLINE_LINUX=“net.ifnames=0 biosdevname=0″ update-grub Grub-Konfigurationsdatei wird generiert … Linux-Abbild gefunden: /boot/vmlinuz-4.4.0-21-generic
WeiterlesenMunin is a free and open-source monitoring tool. Munin is written in Perl. Update the system and install packages apt update && apt install munin-node -y allow access for munin
Weiterlesenapt-get update && apt-get install build-essential The following additional packages will be installed: binutils cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan2 libatomic1 libc-dev-bin libc6-dev
WeiterlesenInstallation instructions for Ubuntu 16.04 and 18.04. Add the official Webmin APT repository vi /etc/apt/sources.list.d/webmin.list deb http://download.webmin.com/download/repository sarge contrib Install official GPG key cd wget http://www.webmin.com/jcameron-key.asc apt-key add jcameron-key.asc rm
Weiterlesenvi /etc/rsyslog.conf # provides UDP syslog reception module(load=“imudp“) input(type=“imudp“ port=“514″) # provides TCP syslog reception module(load=“imtcp“) input(type=“imtcp“ port=“514″) restart syslog server service syslog restart check config netstat -tulpn | grep
WeiterlesenA common logrotate error if the mysql password is missing in /etc/mysql/debian.cnf Anacron job ‚cron.daily‘ on Ubuntu /etc/cron.daily/logrotate: mysqladmin: connect to server at ‚localhost‘ failed error: ‚Access denied for user
Weiterlesen