Monday, March 6, 2023

Install the gcloud CLI in our Laptop


Install the gcloud CLI

    The Google Cloud CLI works on Windows 8.1 and later and Windows Server 2012 and later.
  1. Download the Google Cloud CLI installer.

    Alternatively, open a PowerShell terminal and run the following PowerShell commands:

    (New-Object Net.WebClient).DownloadFile("", "$env:Temp\GoogleCloudSDKInstaller.exe")

    & $env:Temp\GoogleCloudSDKInstaller.exe
  2. Launch the installer and follow the prompts. The installer is signed by Google LLC.

    If you're using a screen reader, check the Turn on screen reader mode checkbox. This option configures gcloud to use status trackers instead of unicode spinners, display progress as a percentage, and flatten tables. For more information, see the Accessibility features guide.

  3. Cloud SDK requires Python; supported versions are Python 3 (3.5 to 3.9). By default, the Windows version of Cloud SDK comes bundled with Python 3. To use Cloud SDK, your operating system must be able to run a supported version of Python.

    The installer installs all necessary dependencies, including the needed Python version. While Cloud SDK installs and manages Python 3 by default, you can use an existing Python installation if necessary by unchecking the option to Install Bundled Python. See gcloud topic startup to learn how to use an existing Python installation.

  4. After installation is complete, the installer gives you the option to create Start Menu and Desktop shortcuts, start the Google Cloud CLI shell, and configure the gcloud CLI. Make sure that you leave the options to start the shell and configure your installation selected. The installer starts a terminal window and runs the gcloud init command.

  5. The default installation doesn't include the App Engine extensions required to deploy an application using gcloud commands. These components can be installed using the gcloud CLI component manager.

Troubleshooting tips:

  • If your installation is unsuccessful due to the find command not being recognized, ensure your PATH environment variable is set to include the folder containing find. Usually, this is C:\WINDOWS\system32;.
  • If you uninstalled the gcloud CLI, you must reboot your system before installing the gcloud CLI again.
  • If unzipping fails, run the installer as an administrator.


Thursday, December 15, 2022

GCP Organizational Structure


How to Structure Your Enterprise on the Google Cloud Platform

Google Workspace or  Cloud Identity structure 


Transfer or Migrate GWS a customer's subscriptions to your reseller


Transfer/Migrate GWS a customer's subscriptions to your reseller

Step-1: Collect Reseller ID from reseller admin panel : 

=>Account=>account settings=>Profile=> CustomerID => Collect CustomerID CXXDDEXXX

Step-2: Generate Transfer Token by visting bellow URL

Submit reseller's CustomerID to generate Token and COllect Transfer Token

Step-3: Create customers from channel services

=> Customers => Create customer => Transfer customer => Give Transfer Token and submit

Mail will come to admin with new customer ID:  C0NEW

Check by Login from GWS Admin Portal

Wednesday, December 14, 2022

Install SuiteCRM on Ubuntu


SuiteCRM is an open-source Customer Relationship Management (CRM) software solution that helps organize all the processes and activities concerning a company's sales, markets, and services administration

SuiteCRM will work with php-7.4 and lower version

STEP-1: Configure MariaDB for SuiteCRM

Login to MariaDB instance.

$ sudo mysql -u root

Create a new database named suitecrm.


Create a database user suitecrm and grant all permission of the database to the new user.

GRANT ALL ON suitecrm.* TO 'suitecrm'@'localhost' IDENTIFIED BY 'StrongPassword';

Flush privileges table.


Exit MariaDB console.


STEP-2: Download SuiteCRM

Download the latest stable version of SuiteCRM.

$ wget

Install unzip utility.

$ sudo apt install unzip

Unzip the downloaded zip files to directory /var/www/.

$ sudo unzip -d /var/www/

Rename the installation folder.

$ sudo mv /var/www/SuiteCRM-7.11.18/ /var/www/suitecrm

Then run the following commands to set the correct permissions.

$ sudo chown -R www-data:www-data /var/www/suitecrm/

$ sudo chmod -R 755 /var/www/suitecrm/

Install PHP modules required by SuiteCRM.

sudo apt install php-imagick php7.4-fpm php7.4-mysql php7.4-common php7.4-gd php7.4-imap php7.4-json php7.4-curl php7.4-zip php7.4-xml php7.4-mbstring php7.4-bz2 php7.4-intl php7.4-gmp

Edit the PHP configuration file to set a limit for upload file size. The default maximum file size for uploading is 2MB.

$ sudo nano /etc/php/7.4/fpm/php.ini

Find the line upload_max_filesize = 2M around line 840. Change the value like below. Save and close the file.

upload_max_filesize = 20M

Restart PHP-FPM.

$ sudo systemctl restart php7.4-fpm

Restart Nginx.

$ sudo systemctl restart nginx

STEP-3: Configure Nginx for SuiteCRM

Create a virtual host for SuiteCRM.

$ sudo vi /etc/nginx/conf.d/suitecrm.conf

server {

    listen 80;

    listen [::]:80;


    root /var/www/suitecrm;

    error_log /var/log/nginx/suitecrm.error;

    access_log /var/log/nginx/suitecrm.access;

    client_max_body_size 20M;

    index index.php index.html index.htm index.nginx-debian.html;

    location / {

        # try to serve file directly, fallback to app.php

        try_files $uri /index.php$is_args$args;


    location ~ \.php$ {

        include snippets/fastcgi-php.conf;

        fastcgi_pass unix:/run/php/php7.4-fpm.sock;

        #Note: If you install SuiteCRM on iRedMail server, you should use the TCP socket instead.



    location ~* ^/index.php {

        # try_files $uri =404;

        fastcgi_split_path_info ^(.+\.php)(/.+)$;

        # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini

        fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;

        #Note: If you install SuiteCRM on iRedMail server, you should use the TCP socket instead.


        fastcgi_index index.php;

        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

        include fastcgi_params;

        fastcgi_buffer_size 128k;

        fastcgi_buffers 256 16k;

        fastcgi_busy_buffers_size 256k;

        fastcgi_temp_file_write_size 256k;


    # Don't log favicon

    location = /favicon.ico {

        log_not_found off;

        access_log off;


    # Don't log robots

    location = /robots.txt  {

        access_log off;

        log_not_found off;


    # Deny all attempts to access hidden files/folders such as .htaccess, .htpasswd, .DS_Store (Mac), etc...

    location ~ /\. {

        deny all;

        access_log off;

        log_not_found off;




Test the Nginx configuration.

$ sudo nginx -t

Reload Nginx for the changes to take effect.

$ sudo systemctl reload nginx


STEP-4: Finish Installation of SuiteCRM from web

To finish the SuiteCRM installation, go to your browser address bar, type in http://IPaddress/install.php for SuiteCRM to access the web install wizard. For example:

You have successfully installed SuiteCRM on your server. Use suitecrm as your database name, localhost as your host name, suitecrm as user and StrongPassword as your password. Modify the StrongPassword value with the actual password you used. You can now create your account and begin using SuiteCRM.

STEP-5: Configure CRONTAB

sudo crontab -e -u www-data

... and add the following line to the crontab file:

*    *    *    *    *     cd /var/www/suitecrm; php -f cron.php > /dev/null 2>&1

STEP-6: ACCESS SUITECRM admin usernam and password

IF you need to change URL: Edit the config.php file from the site’s root directory and update the following line with the new URL:
  'site_url' => '',hostname =

Thursday, December 1, 2022

Bulk or Marketing Email Tools // cloud bulk mail solutions


Marketing Mail or Bulk Email Solutions


1) AWS SES : 

Amazon Simple Email Service (SES) lets you reach customers confidently without an on-premises Simple Mail Transfer Protocol (SMTP) system.

Amazon SES is a cloud email service provider that can integrate into any application for bulk email sending. Whether you send transactional or marketing emails, you pay only for what you use. Amazon SES also supports a variety of deployments including dedicated, shared, or owned IP addresses. Reports on sender statistics and a deliverability dashboard help businesses make every email count.

2) Sendgrid:

SendGrid delivers your transactional and marketing emails through the world's largest cloud-based email delivery platform. Send with confidence. 

SendGrid (also known as Twilio SendGrid) is a Denver, Colorado-based customer communication platform for transactional and marketing email.

3) Mailgun : 

Managed email delivery for high-volume senders

Sending millions of emails a month requires an extra level of diligence to achieve and maintain optimal deliverability and performance. Our experts help you get more emails delivered, with a strategy customized to your needs.

4) Mailchimp: 

5) Sendinblue 

Tuesday, November 22, 2022

Security Command Center of GCP



Security Command Center is Google Cloud's centralized vulnerability and threat reporting service. Security Command Center helps you strengthen your security posture by evaluating your security and data attack surface; providing asset inventory and discovery; identifying misconfigurations, vulnerabilities and threats; and helping you mitigate and remediate risks

To use Security Command Center, you must have an Identity and Access Management (IAM) role that includes appropriate permissions:

  • Security Center Admin Viewer lets you view Security Command Center.
  • Security Center Admin Editor lets you view Security Command Center and make changes.

The Threats dashboard helps you review potentially harmful events in your organization's Google Cloud resources.

  • Threats by severity shows the number of threats in each severity level.
  • Threats by category shows the number of findings in each category across all projects.
  • Threats by resource shows the number of findings for each resource in your organization.

The threats dashboard displays results for the time period you specify in the drop-down list. The drop-down list has several options between 1 hour and "all time," which shows all findings since the service was activated. The time period you select is saved between sessions.

Scan with SCC and store logs will store in Cloud storage ->

** Security Health Analytics scans run in three modes:

Batch scan: All detectors are scheduled to run for all enrolled organizations two or more times a day. Detectors run on different schedules to meet specific service level objectives (SLO). To meet 12- and 24-hour SLOs, detectors run batch scans every six hours or 12 hours, respectively. Resource and policy changes that occur in between batch scans are not immediately captured and are applied in the next batch scan. Note: Batch scan schedules are performance objectives, not service guarantees.

Real-time scan: Supported detectors start scans whenever CAI reports a change in an asset's configuration. Findings are immediately written to Security Command Center.

Mixed-mode: Some detectors that support real-time scans might not detect changes in real time in all supported assets. In those cases, configuration changes for some assets are captured immediately and others are captured in batch scans. Exceptions are noted in the tables on this page.

Route GWS MAILBOXes from On prem postfix mail server // Hybrid Google GWS Solution

Edit transport file for ON-PREM POSTFIX


vi /etc/postfix/transport


########### GWS MAIL Boxes ##############

#########################################   smtp:[]:25          smtp:[]

postmap /etc/postfix/transport


Edit transport file for ON-PREM ZIMBRA server


su - zimbra

vi /opt/zimbra/common/conf/transportfile [Create new file]   smtp:[]:25

postmap /opt/zimbra/common/conf/transportfile

zmprov ms `zmhostname` zimbraMtaTransportMaps "lmdb:/opt/zimbra/common/conf/transportfile,proxy:ldap:/opt/zimbra/conf/"

[For Checking : zmlocalconfig   |grep -i postfix_transport_maps]

postfix reload

tail -f /var/log/zimbra.log


From GWS admin panel use Route and also Default route for the incoming route

Check USB Port Speed from Linux Server


#Check USB Port Speed from Linux Server: 

 cat /sys/bus/usb/devices/usbX/speed

Here X will be 1 or 2 or 3 , usb1 or usb2 or usb3 

if  give you the bus speed of the root hub(s) in Mbps: 

either 1.5, 12, indicate USB1 (low speed or full speed)

either 480, indicate USB2

either 5000 or 10000, indicate USB3

#Create specific size file and check read write speed in linux

dd if=/dev/zero of=test bs=1G count=1

this will carete a 1Gb file name will be test