SMF - Just Installed!
sudo fdisk –lsudo fdisk /dev/sdbsudo pvcreate /dev/sdb1sudo pvdisplaysudo vgcreate vol /dev/sdb1vgdisplaysudo lvcreate —extents 100%FREE —name lvol0 vollvdisplaysudo lvrename /dev/vol/lvol0 /dev/vol/appsudo mkfs.xfs –f /dev/vol/app sudo mount –o,rw /dev/vol/app /appsudo vim /etc/fstab/dev/vol/app /app xfs defaults 0 0vmkfstools -i /vmfs/volumes/datastore1/VM1/disk_1.vmdk -d zeroedthick /vmfs/volumes/datastore1/VM1/disk_1_new.vmdkmysqladmin -u root password newpassmysqladmin -u root -p oldpassword newpassmysqladmin -u user-name -p oldpassword newpassmysql -u root -p
update user set password=PASSWORD(«newpass») where User='ENTER-USER-NAME-HERE';flush privileges;
quit/etc/init.d/mysql stopmysqld_safe —skip-grant-tables &mysql -u root use mysql;update user set password=PASSWORD(«NEW-ROOT-PASSWORD») where User='root';flush privileges;quit/etc/init.d/mysql stop/etc/init.d/mysql startmysql -u root -pobject network Internal_RDP_Server-1 host 192.168.1.1 nat (inside,outside) static interface service tcp 3389 -входящий порт- object network Internal_RDP_Server-2 host 192.168.1.2 nat (inside,outside) static interface service tcp 3389 -входящий порт- access-list inbound permit tcp any object Internal_RDP_Server-1 eq 3389 access-list inbound permit tcp any object Internal_RDP_Server-2 eq 3389 access-group inbound in interface outside Add-EsxSoftwareDepot -DepotUrl C:\ESXi\HPE-6_5.zipGet-EsxImageProfileNew-EsxImageProfile -CloneProfile HPE-ESXi-6.5.0-OS-Release-6* -Name "G7-ESXi"Get-EsxImageProfileRemove-EsxSoftwarePackage G7-ESXi hpe-smx-providerAdd-EsxSoftwareDepot -DepotUrl C:\ESXi\HPE-6_0.zipGet-EsxImageProfileGet-EsxSoftwarePackage | findstr smxadd-esxsoftwarepackage -imageprofile G7-ESXi -softwarepackage "hpe-smx-provider 600.03.11.00.9-2768847"Export-EsxImageProfile -ImageProfile G7-ESXi -ExportToIso -filepath "C:\ESXi\G7-ESXi.iso"dnf update -yvi /etc/yum.repos.d/MariaDB.repo# MariaDB 10.5 CentOS repository list - created 2020-05-29 08:37 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.5/centos8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1dnf makecachednf install -y MariaDB-serversystemctl enable --now mariadb.servicesystemctl status mariadb.service
mariadb -u rootЦитироватьWelcome to the MariaDB monitor. Commands end with ; or \g.Bye
Your MariaDB connection id is 4
Server version: 10.5.3-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
Set strong passwords for root and mysql users.
MariaDB [(none)]> alter user 'root'@'localhost' identified by 'Ahmer@1234';
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> alter user 'mysql'@'localhost' identified by 'Ahmer@1234';
Query OK, 0 rows affected (0.001 sec)
Reload the privileges tables.
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.001 sec)
List available databases in MariaDB server.
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| test |
+--------------------+
4 rows in set (0.001 sec)
Exit from MariaDB Shell.
MariaDB [(none)]> exit
tail /var/log/syslogtail -n 100 /var/log/syslogtail -f /var/log/syslog tail /var/log/syslog /var/log/Xorg.0.log tail -f -s 5 /var/log/syslog tail -q var/log/syslog /var/log/Xorg.0.log tail -c 500 /var/log/syslog tail -f /var/log/syslog | grep err tail -f --retry /var/log/syslog | grep err tail --follow=descriptor /var/log/syslog | grep err