Перейти до основного вмісту

Публікації

Оновлення firmware на DELL R710

Потрібно оновити firmware контролера PERC6i до останньої версії 6.3.3 На сайті DELL є файли оновлення для Windows і Linux, але на сервері встановлено ESXI 6.5. У форумах DELL є багато порад: 1. За допомогою openmanage та idrac, але в idrac express немає оновлення firmware контролера. 2. За допомогою bootable ISO (SSU) та repository manager, але в repository manager вже немає оновлення для такого старого сервера 3. ......... Тому найкращим варіантом виявилось створення завантажуючого USB накопичувача з CentOS7 Live CD Gnome з https://buildlogs.centos.org/centos/7/isos/x86_64/ а потім усі потрібні оновлення за допомогою другого USB накопичувача додати з https://www.dell.com/support/home/ru-rs/product-support/product/poweredge-r710/drivers Пораду знайшов у https://www.yinfor.com/2020/07/update-the-firmwares-on-my-dell-r710.html

Команда tail у Windows (DOS)

Для перегляду журналів у Windows відсутня Linux команда tail. Можна створити bat скрипт tail.bat на кшталт:  @echo off SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION rem tail.bat -d <lines> <file> rem tail.bat -f <file> rem ****** MAIN ****** IF "%1"=="-d" GOTO displayfile IF "%1"=="-f" GOTO followfile GOTO end rem ************ rem Show Last n lines of file rem ************ :displayfile SET skiplines=%2 SET sourcefile=%3 rem *** Get the current line count of file *** FOR /F "usebackq tokens=3,3 delims= " %%l IN (`find /c /v "" %sourcefile%`) DO (call SET find_lc=%%l) rem *** Calculate the lines to skip SET /A skiplines=%find_lc%-!skiplines! rem *** Display to screen line needed more +%skiplines% %sourcefile% GOTO end rem ************ rem Show Last n lines of file & follow output rem ************ :followfile SET skiplines=0 SET findend_lc=0 SET sourcefile=%2 :followloop rem *** Get the current

Міграція VM між серверами ESXI

Enable SSH Service on Source and Destination ESXI Servers To enable the SSH service, log in to the web interfaces for your ESXI servers. Then click on Host at the top right. Click Actions -> Services -> Enable Secure Shell (SSH) (if it is not already enabled). Enable SSH Client Service on Source ESXI Server. Log in to the SSH of the source ESXI server using the putty tool. You may need to run the below commands: esxcli network firewall ruleset list --ruleset-id sshClient Check if the SSH client service is enabled. If disabled, the command will return a result of ‘False’. If a ‘False’ response is returned, run this next command. If ‘False’ is not the returned response, proceed to the next step! esxcli network firewall ruleset set --ruleset-id sshClient --enabled=true Copy the VM from Source to Destination Before running the below commands, make sure the VM that will be migrated is turned off in the source ESXI server. Connect to your source ESXI server using putty or your favorite

Міграція з Proxmox на ESXI

Міграція https://www.rajaseelan.com/ posts/migrate-guest-vm-from- proxmox-to-vmware/ https://edywerder.ch/proxmox- to-vmware/# https://communities.vmware. com/t5/VMware-vSphere- Discussions/Migrating-from- KVM-to-VMware/td-p/2293576 https://blog.ktz.me/migrate- qcow2-images-from-kvm-to- vmware/ https:// possiblelossofprecision.net/? p=2293 Не завантажається (Switch the bios to EFI (or the other way around)) https://www.reddit.com/r/ Proxmox/comments/nbfjop/ export_proxmox_vm_for_use_ with_esxi/ Ковератція з IDE в SCSI https://cname.se/vmware- converting-a-virtual-ide-disk- to-a-virtual-scsi-disk/ https://www.virtualtothecore. com/convert-a-virtual-disk- from-ide-to-scsi/ https://www.wh33ly.nl/wp/?p= 495 https://kb.vmware.com/s/ article/1016192?sl ...

Заміна типу диска у виртуальної машини на Proxmox

Процедура встановлення Windows Server 2019 на Proxmox описано тут https://pve.proxmox.com/wiki/Windows_2019_guest_best_practices Якщо віртуальна машина Windows Server на Proxmox була встановлена неуважно (не згідно вказівок вище), то продуктивність роботи дискової системи при типу диску за замовчанням ide буде низька.  Тому потрібно вказати замість типу диску за замовчанням ide на  scsi.  Послідовність Installed all driver from the VirtIO ISO by running the "virtio-gt-win-x64" installer. Attached a new disk with SCSI bus. Wait for it to be detected within Disk Management, and it also showed up in the device manager. I shut down the VM. Remove the temporary disk Detach the main disk. Edit it and configure it at SCSI. Then adapt the boot order in the VM options to boot from scsi0 first. Boot the VM. Поради знайшов тут https://forum.proxmox.com/threads/change-virtio-block-bus-device-for-a-existing-vm-disk-to-scsi-bus-device.39358/ https://forum.proxmox.com/threads/change-guest-h

Драйвер для Ubuntu 20.04 для пристроїв TP-Link WiFi

В Ubuntu 20.04 не існує драйвера для пристроїв  TP-Link AC600, AC1300. Спочатку перевірити чи бачить система пристрій підключенний до USB за допомогою sudo lsusb У переліку має бути щось на кшталт "TP-Link 802.11ac WLAN adapter". * Для пристроїв, що використовують rtl8812au (Archer T2U) Потрібно встановити драйвер з git та компілювати sudo apt install git dkms  sudo git clone https://github.com/aircrack-ng/rtl8812au.git  cd rtl8812au  sudo make dkms_install Пораду знайшов тут https://askubuntu.com/questions/1376835/tp-link-ac600-archer-t2u-plus-driver-for-ubuntu-20-04 https://github.com/nlkguy/archer-t2u-plus-linux https://ostechnix.com/install-tp-link-ac600-archer-t2u-nano-wifi-usb-adapter-in-linux/ Деінсталіція описана у тих же першоджерелах. * Для пристроїв, що використовують rtl8821au (Archer T2U Plus) sudo apt install -y dkms git  sudo git clone "https://github.com/ivanovborislav/rtl8821au.git" /usr/src/rtl8821au-5.12.5.2  sudo dkms add -m rtl8821au -v 5.12.5.2

Встановлення мовного пакету інтерфейсу LibreOffice

Після встановлення LibreOffice в ElementaryOS за допомогою sudo apt install libreofice відсутній мовний інтерфейс. Для встановлення потрібно вказати sudo apt install libreoffice-l10n-uk Пораду знайшов тут https://www.linux.org/threads/how-to-change-language-libre-office-solved.38651/ А spell checking встановив за допомогою sudo apt-get install aspell-uk Пораду знайшов тут https://askubuntu.com/questions/72099/how-to-install-a-libreoffice-language-tools-spelling-check-thesaurus