Search This Blog

Tuesday, October 8, 2024

VMware Workstation Pro Free for Personal Use Now


















VMware Workstation Pro: Now Available Free for Personal Use: Details

Direct Download link: ( Require create a broadcom Account ) 

Allocate 100% memory in VMware workstation prevent huge VMEM file

VMware Workstation creates VMEM files size eque to the memory settings of the VM.

To prevent create the VMEME file I set memory allocate to 100%.

First power off the VM.

Then open the [VM_NAME.vmx] file under the VM folder.

Add or update these parameters:
 
MemTrimRate = "0"
prefvmx.minVmMemPct = "100"
mainMem.useNamedFile = "FALSE"
sched.mem.pshare.enable = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"

Fix keyboard lag/input delay on Ubuntu, Debian and Redhat in VMware workstation 17

I experiencing this problem with Ubuntu, Debian, Redhat in VMware workstation version 17.

I tried all these, none works:
  • Enhanced keyboard on and off
  • Turned 3D Acceleration on and off
  • Install VMware Tools Desktop
  • Set memory allocated to 100%

Finally, turn on the "Virtualize IOMMU (IO memory management unit) under [Virtualization engin] under "Processors" like this fixed the issue.

Tuesday, July 23, 2024

Bash scrip check if another instance of my shell script is running

#!/bin/bash

# Check if another instance of my shell script is running
if [[ `pgrep -f $0` != "$$" ]]; then
	echo "Another instance of shell already exist! Exiting"
	echo "[$(date)] : $0 : Process is already running with PID $pid"
	exit 1
fi

# Rest of the script goes here
echo "[$(date)] : $0 : is now running..."
Explanation: 
  1. $0 gives filename of your running script.
  2. $$ gives PID of your running script.
  3. pgrep searches for process by name and returns PID.
  4. pgrep -f $0 searches by filename, $0 being the current bash script filename and returns its PID.

Monday, June 10, 2024

How to create a super admin user without a Google Workspace subscription

You can use many Google services without a Google Workspace subscription.

However, managing those services for your domain requires a super admin account.

You need to create a super admin, and does not need to have access to Gmail, Google Calendar, Google Meet, or core services that are provided by Google Workspace.


Option One: Set up for Cloud Identity Free as a Google Cloud admin

Go to the following sign-up page: https://workspace.google.com/gcpidentity/signup?sku=identitybasic

Follow the guided instructions.


Option Two: Switch to Cloud Identity Free subscription: Add the Cloud Identity Free subscription:
  1. Add the Cloud Identity Free subscription:
    1. Go to Menu > Billing > Get more services and click on Cloud Identity
    2. At the left, click the category of the subscription you want to add.
    3. At the subscription, click the appropriate option.
    4. Get Started.
  2. After that, you will turn off the Automatic Licensing
    1. In your Google Admin console.  
    2. Go to MenuBilling > License settings.
    3. At the left, click the name of the organization.
    4. Point to your subscription > click Edit.
    5. Click the down arrow and select On or Off.
    6. Click Override.
  3. If you have created the user already, you can remove the license to the existing user. 
    1. In your Google Admin console.  
    2. Go to MenuDirectory > Users.
    3. Click the name of the user you want to manage.
    4. Scroll down and click the user’s License section.
    5. Click any service to display the on/off switches in the Status column.
    6. Next to a service, in the Status column, click the switch to remove a license.
    7. Click Save.


Reference: Set up Cloud Identity as a Google Cloud admin How to create a super admin user without a Google Workspace subscription