from root or sudo:
nano /etc/default/grub
find the row with GRUB_CMDLINE_LINUX_DEFAULT
and complete with:
“quiet video=hyperv_fb:1920×1080”
or the resolution you want; save and exit
update-grub
reboot the vm
from root or sudo:
nano /etc/default/grub
find the row with GRUB_CMDLINE_LINUX_DEFAULT
and complete with:
“quiet video=hyperv_fb:1920×1080”
or the resolution you want; save and exit
update-grub
reboot the vm
1. apt-get install mariadb-server
2.Setup rights for user root or zabbix or similar
3.mysql
4.create DB zabbix with collate utf8_bin
5.create user zabbix with correct rights on zabbix DB
6.apt-get install zabbix-server-mysql zabbix-frontend-php php-mysql
7./etc/init.d/mysql restart
8.a2enconf zabbix-frontend-php
9.nano /etc/php/7.3/apache2/php.ini
10.setup date.timezone in php.ini (Europe/Rome)
11.systemctl reload apache2
12.systemctl restart apache2
13.nano /etc/mysql/mariadb.conf.d/50-server.cnf
14.innodb_log_file_size = 500M
15.innodb_log_buffer_size = 800M
16.innodb_strict_mode = 0
17.cd /usr/share/zabbix-server-mysql/
18.gunzip *.gz
19.mysql -uzabbix -p zabbix < schema.sql
20.mysql -uzabbix -p zabbix < images.sql
21.mysql -uzabbix -p zabbix < data.sql
22./etc/init.d/mysql restart
23./etc/init.d/mysql restart
24. http://
25.apt-get install zabbix-agent
26.nano /etc/zabbix/zabbix_server.conf (DBPassword)
27.systemctl enable zabbix-server
28.reboot
require("/var/www/html/PHPMailer-master/src/Exception.php"); require("/var/www/html/PHPMailer-master/src/PHPMailer.php"); require("/var/www/html/PHPMailer-master/src/SMTP.php"); $mail = new PHPMailer\PHPMailer\PHPMailer(); $mail->IsSMTP(); $mail->SMTPAuth = false; $mail->SMTPSecure = false; $mail->SMTPAutoTLS = false; $mail->Host = ""; $mail->Port = 25; $mail->IsHTML(true); $mail->SetFrom("from@mydomain.tld"); $mail->Subject = "my subject"; $mail->Body = "my body"; $mail->AddAddress("to@anotherdomain.tld"); if(!$mail->Send()) { echo "Mailer Error: " . $mail->ErrorInfo; } else { echo "Message has been sent"; }
Pure Line theme by Theme4Press • Powered by WordPress Paolo Pizzolongo Chi è veramente ricco non ha bisogno dei soldi
Recent Comments