Search This Blog

Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts

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

Friday, November 25, 2022

Growing a ext4 disk on a cloud / VMware VM

Normal I use GParted CD boot a VM to growing a Linux ext4 disk partition. Or using LVM. It's way easier on Windows VM. I tried cloud-utils tool on a Debian 10 VM on VMware ESXi 7. Just a bare ext4 partition without LVM. It should works on any other Cloud plantform like: AWS, Oracle or Google. Install cloud-utils after increase the disk size from the Cloud Control Console:
sudo apt-get install -y cloud-utils
################### ### Before ########## ###################
df -h
	Filesystem      Size  Used Avail Use% Mounted on
	/dev/sda1        16G   11G  4.2G  72% /
	/dev/sdb1       295G  247G   33G  89% /data
################### ### grow /dev/sdb1 ### ###################
echo 1 > /sys/class/block/sdb/device/rescan
growpart /dev/sdb 1
	CHANGED: partition=1 start=2048 old: size=629143552 end=629145600 new: size=880801759,end=880803807

resize2fs /dev/sdb1
	resize2fs 1.44.5 (15-Dec-2018)
	Filesystem at /dev/sdb1 is mounted on /data; on-line resizing required
	old_desc_blocks = 38, new_desc_blocks = 53
	The filesystem on /dev/sdb1 is now 110100219 (4k) blocks long.
################### ### grow /dev/sda1 ### ###################
echo 1 > /sys/class/block/sda/device/rescan
growpart /dev/sda 1
	CHANGED: partition=1 start=2048 old: size=33550336 end=33552384 new: size=83883999,end=83886047

resize2fs /dev/sda1
	resize2fs 1.44.5 (15-Dec-2018)
	Filesystem at /dev/sda1 is mounted on /; on-line resizing required
	old_desc_blocks = 2, new_desc_blocks = 5
	The filesystem on /dev/sda1 is now 10485499 (4k) blocks long.
################### ### After ########### ###################
df -h
	Filesystem      Size  Used Avail Use% Mounted on
	/dev/sda1        40G   11G   27G  29% /
	/dev/sdb1       413G  247G  146G  63% /data

Tuesday, March 30, 2021

compressing JPG files with ImageMagick using the Google Pagespeed Insights image optimization guidelines

for ImageMagick they recommend the following: Optimize Images  |  PageSpeed Insights  |  Google Developers
convert INPUT.jpg -sampling-factor 4:2:0 -strip [-resize WxH] [-quality N] [-interlace JPEG] [-colorspace Gray/sRGB] OUTPUT.jpg

-sampling-factor 4:2:0
-strip
-quality 85
-interlace JPEG
-colorspace sRGB
Command in ImageMagick:
convert puzzle.jpg -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace sRGB puzzle_converted.jpg