Install FIO on Ubuntu/Debian:
sudo apt update
sudo apt install -y fio lshwInstall FIO on Fedora:
Install FIO on Ubuntu/Debian:
sudo apt update
sudo apt install -y fio lshwInstall FIO on Fedora:
This turned out to be easier than I thought it would, especially after struggling with Ubuntu.
Both procedures use a common debian.env file to hold environment variables applied in the script.
When installing Debian always be sure to select an apt mirror when prompted, if you don't you'll regret it.
In a file, debian.env:
Licensed to: ASIO Allsoftinone Quantity: 1 user Serial number: 1822-9597 License type: Pro Edition for Linux
First delete away trial mode:
sudo sed -i "s/keexjEP3t4Mue23hrnuPtY4TdcsqNiJL-5174TsUdLmJSIXKfG2NGPwBL6vnRPddT7tH29qpkneX63DO9ECSPE9rzY1zhThHERg8lHM9IBFT+rVuiY823aQJuqzxCKIE1bcDqM4wgW01FH6oCBP1G4ub01xmb4BGSUG6ZrjxWHJyNLyIlGvOhoY2HAYzEtzYGwxFZn2JZ66o4RONkXjX0DF9EzsdUef3UAS+JQ+fCYReLawdjEe6tXCv88GKaaPKWxCeaUL9PejICQgRQOLGOZtZQkLgAelrOtehxz5ANOOqCaJgy2mJLQVLM5SJ9Dli909c5ybvEhVmIC0dc9dWH+/N9KmiLVlKMU7RJqnE+WXEEPI1SgglmfmLc1yVH7dqBb9ehOoKG9UE+HAE1YvH1XX2XVGeEqYUY-Tsk7YBTz0WpSpoYyPgx6Iki5KLtQ5G-aKP9eysnkuOAkrvHU8bLbGtZteGwJarev03PhfCioJL4OSqsmQGEvDbHFEbNl1qJtdwEriR+VNZts9vNNLk7UGfeNwIiqpxjk4Mn09nmSd8FhM4ifvcaIbNCRoMPGl6KU12iseSe+w+1kFsLhX+OhQM8WXcWV10cGqBzQE9OqOLUcg9n0krrR3KrohstS9smTwEx9olyLYppvC0p5i7dAx2deWvM1ZxKNs0BvcXGukR+/g" /usr/lib/beyondcompare/BCompare
| #!/bin/bash | |
| # http://archives.postgresql.org/pgsql-admin/2010-05/msg00285.php | |
| # Output lines suitable for sysctl configuration based | |
| # on total amount of RAM on the system. The output | |
| # will allow up to 50% of physical memory to be allocated | |
| # into shared memory. | |
| # On Linux, you can use it as follows (as root): | |
| # | |
| # ./shmsetup >> /etc/sysctl.conf |
This cheatsheet shows how to install and configure multipath tools on Proxmox PVE Cluster where multiple nodes share single storage with multipath configuration, for example SAN storage connected to each of the nodes by two independent paths.
This cheatsheet has been tested on Proxmox 5.x.
I do not prepend sudo command to any of commands listed here, but keep in mind that nearly all commands requires su privileges, so use sudo if your account happen to not have root access.
| # This script will manually rip out all VMware Tools registry entries and files for Windows 2008-2019 | |
| # Tested for 2019, 2016, and probably works on 2012 R2 after the 2016 fixes. | |
| # This function pulls out the common ID used for most of the VMware registry entries along with the ID | |
| # associated with the MSI for VMware Tools. | |
| function Get-VMwareToolsInstallerID { | |
| foreach ($item in $(Get-ChildItem Registry::HKEY_CLASSES_ROOT\Installer\Products)) { | |
| If ($item.GetValue('ProductName') -eq 'VMware Tools') { | |
| return @{ | |
| reg_id = $item.PSChildName; |
| # based on | |
| # https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance | |
| # more infos: | |
| # https://docs.docker.com/v17.09/edge/engine/reference/commandline/run/ | |
| # building it | |
| cd ~/docker-images/OracleDatabase/SingleInstance/dockerfiles/11.2.0.2 | |
| docker build --force-rm=true --no-cache=true --shm-size=1G --build-arg DB_EDITION=xe -t "oracle/database:11.2.0.2-xe" -f Dockerfile.xe . |
| # ASN bazinda VPN scripti | |
| # 2018 Hazar | |
| :local VPNAddrList "vpnize-auto"; | |
| :local ASNlist { | |
| 202196="booking"; | |
| 43996="booking"; | |
| 14907="wiki"; | |
| 11820="wiki"; |
| # Removes ZeroTier One | |
| $Paths = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall', 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall' | |
| $ZeroTierOne = Get-ChildItem -Path $Paths | Get-ItemProperty | Where-Object { $_.DisplayName -like 'ZeroTier One' } | Select-Object | |
| $VirtualNetworkPort = Get-ChildItem -Path $Paths | Get-ItemProperty | Where-Object { $_.DisplayName -like 'ZeroTier One Virtual Network Port' } | Select-Object | |
| if ($ZeroTierOne) { | |
| Write-Output 'Uninstalling ZeroTier One...' | |
| foreach ($Ver in $ZeroTierOne) { | |
| $Uninst = $Ver.UninstallString | |
| cmd /c $Uninst /qn |