Archive for 'Allgemein'
Send Mail via ssmtp
1. Install ssmtp apt-get install ssmtp mailutils 2. Edit /etc/ssmtp/ssmtp.conf root=mailaddress@domain.xy> mailhub=mail.host.xy … #Custom settings UseSTARTTLS=YES AuthUser=mailaddress@domain.xy AuthPass=PasswordFromLineOverride=YES 3.Edit /etc/ssmtp/revaliases root:mailaddress@domain.xy:mail.host.xy
Posted: April 9th, 2019 under Allgemein.
Comments: none
Monitoring Software Raid on XenServer
1. Sync disks mdadm –detail /dev/md0 2. activate monitoring and create config file mdadm –verbose –detail –scan >> /etc/mdadm.conf 3. Setup mail connection /etc/ssmtp/ssmtp.conf root=your_mail@gmail.com mailhub=smtp.gmail.com:587 Hostname=your_hostname.yourdomain.sth UseTLS=YES TLS_CA_File=/etc/pki/tls/certs/ca-bundle.crt UseSTARTTLS=YES AuthUser=your_mail@gmail.com AuthPass=your_password FromLineOverride=YES 4. Append mail address in /etc/mdadm.conf … MAILADDR destination_mail@provider.sth MAILFROM your_mail@gmail.com 5. Test mail monitoring mdadm –monitor –scan –test –oneshot
Posted: Mai 10th, 2018 under Allgemein, Xen.
Comments: none
Install pigz on XenServer
1. Get pigz pigz-2.3.3-1.el7.centos.x86_64.rpm 2. Install pigz rpm -ivh pigz-2.3.3-1.el7.centos.x86_64.rpm
Posted: Mai 10th, 2018 under Allgemein, Xen.
Comments: none