Author: james

How to resize a Google Cloud drive

Writing this up as got caught by a wrong command on the actual Google docs – was resizing a disk from 100Gb to 300Gb. You resize the disk in the Google Cloud admin console. Then use “growpart” to resize the

read more

Create a Gmail SMTP App password for 2FA

This can be used for Thunderbird, the Mageplaza SMTP Magento2 plugin or any 3rd party Gmail app. Login to Gmail, then go to “Manage your Google Account”.Then click “Security” or go straight to https://myaccount.google.com/security 2 Step Verification should be turned

read more

How to SSH across servers without a password

A) Generate a new ssh private / public key pair. ssh-keygen -t rsa Generating public/private rsa key pair.Enter file in which to save the key (/home/user/.ssh/id_rsa):Enter passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved in /home/user/.ssh/id_rsa.Your

read more

WordPress Editing Tips

Here are some tips for editing your WordPress website. Logging In Logging into WordPress and trying some edits is a good way to learn. It is quite easy and you can always revert to a previous copy of the page,

read more

Install multiple Redis instances on ports 6379 and 6380 for Magento

Create the directory for the new instance $ sudo install -o redis -g redis -d /var/lib/redis2 Create a new configuration file $ sudo cp -p /etc/redis/redis.conf /etc/redis/redis2.conf Edit the new configuration file $ sudo nano /etc/redis/redis2.conf pidfile /var/run/redis/redis-server2.pid logfile /var/log/redis/redis-server2.log

read more