Fix IOS App outlook can’t show preview issue – “Open outlook to read your message”

Looks like it’s a bug. The fix is

  • Go into Outlook App settings and turn on Face ID at the bottom. Restart App
  • Go back into Outlook App settings and turn Face ID off at the bottom. Restart App
  • Go into iPhone settings, scroll down to Outlook, find Face ID setting. Turn it OFF
  • Open Outlook App.

Install ESXi 8 on Intel 12th CPU – “Fatal CPU mismatch on feature”

This problem is caused by the new architecture of Intel CPUs which are equipped with different types of cores – Performance-cores and Efficient-cores.

The parameter needs to be set prior to installation and the first boot of ESXi.

  1. When ESXi installation starts, press SHIFT+O to edit boot options.
  2. Append cpuUniformityHardCheckPanic=FALSE
  3. Press ENTER
  4. Install ESXi
  5. When the installation is finished, reboot the system and press SHIFT+O to edit the boot options again.
  6. Append cpuUniformityHardCheckPanic=FALSE and press ENTER
  7. To make the kernel option permanent, run the following command on your ESXi host:
    # esxcli system settings kernel set -s cpuUniformityHardCheckPanic -v FALSE
    
  8. We also have to enable kernel option ignoreMsrFaults to prevent PSOD during VM startups.
    # esxcli system settings kernel set -s ignoreMsrFaults -v TRUE

This setting allows ESXi to work with different P-Cores and E-Cores

Oracle Cloud – Resize a boot volume on Ubuntu

Via OCI Console, to edit a block volume (Boot volume), you will need to navigate:

 Block Storage –> Boot Volumes –> Boot Volume Details (edit)

Once you finish this part, a popup will show the commands to be performed on the Linux machine console

sudo dd iflag=direct if=/dev/oracleoci/oraclevda of=/dev/null count=1
echo "1" | sudo tee /sys/class/block/`readlink /dev/oracleoci/oraclevda | cut -d'/' -f 2`/device/rescan

As we are using ubuntu, we are not able to use Oracle tools oci-growfs. But it’s easy, just two command:
# growpart /dev/sda 1;
# resize2fs /dev/sda1

Done. now run df -h you should be able to see the new size.

Nginx: Use same port for http and https traffic

This is finally possible to do properly since 1.15.2. See the information here.

your nginx.conf add a block like this (outside the http block):

stream {
    upstream http {
        server localhost:8000;
    }

    upstream https {
        server localhost:8001;
    }

    map $ssl_preread_protocol $upstream {
        default https;
        "" http;
    }

    server {
        listen 8080;
        listen [::]:8080;
        proxy_pass $upstream;
        ssl_preread on;
    }
}

Then you can create your normal server block, but listening on these different ports:

server {
    listen 8000;
    listen [::]:8000;
    listen 8001 ssl;
    listen [::]:8001 ssl;
...