Mount Oracle Object Storage to Ubuntu Linux

Step 1. Install s3fs on an OCI compute instance running Ubuntu

SSH remotely into your Ubuntu server and run sudo apt update to update your system repository. Then type the command 

sudo apt install s3fs awscli -y 

to install S3fs on your system. To verify proper installation, run which s3fs and you should be able to see the path of the program.

Note: refer to our other tutorials  on how to create and connect to cloud compute instance through Bastion host.

Read more

Share

Submit the Google or Gmail Bulk Sender Form

Found this article quite useful!

Description

While Gmail does not offer up a contact path to discuss deliverability issues directly with a Google representative, there is a way for clients to reach out to Google to ask them to reconsider spam folder delivery.

Resolution

  • Go to the Bulk Sender Contact Form and follow these steps:Fill out the form with your contact info and select the checkbox for “Your messages are incorrectly classified as Spam or Phishing.”
  • Click the “next” button.
  • Fill out the Issue Summary and Issue Description fields.
  • Paste a full email message, with full headers, into the next field as directed. The email message must be one that was sent to a Gmail or Google Apps account. It must not be older than a few days old. It must include full email headers.

Read more

Share

imapsync Host2: says it has CAPABILITY for AUTHENTICATE LOGIN

Imapsync issues with passwords on Unix.

Q. On Unix, some passwords contain some weird *()$,”;&~ characters. Login fails.

R1. Enclose the password within single-quotes in the imapsync command line:

imapsync ... --password1 'passw*()`"$,;&rd~'

R2. Change the password to keep only f…ing normal character. Make it long and random if strong security is your concern.

R3. If R1 fails, with very old imapsync or old Mail::IMAPClient Perl module, try also using double-quotes within single-quotes. It will enclose the password within double-quotes in the imap LOGIN command:

imapsync ... --password1 '"passw*()`$,;&rd~"'

Old Mail::IMAPClient 3.37 is a bad horse having this issue solved by this double-quotes trick. fixed in 3.38 https://metacpan.org/changes/distribution/Mail-IMAPClient version 3.38: Tue Feb 9 02:48:21 UTC 2016
– rt.cpan.org#110273: failure to quote password values (regression introduced in 3.36 via fix for rt.cpan.org#100601)

Ref:
https://imapsync.lamiral.info/FAQ.d/FAQ.Passwords_on_Unix.txt

Share

Upgrading PHP 7.2 to 7.4 for WHMCS on CentOS 7

Lately  I needed an update of PHP (7.2 to 7.4) on my WHMCS CentOS 7 built box- here’re the process that I followed. But before that, I’m sharing my original post on setting up WHMCS on CentOS 7

Since I used remi repository to install version 7.2, I’ll be doing the same as well-

root@portal:~# yum-config-manager --enable remi-php74
root@portal:~# yum update

Now install PHP 7.4 with all necessary modules with the command below-

Read more

Share

Delete files older than 10 days using shell command

find is the common tool for this kind of task :

find ./my_dir -mtime +10 -type f -delete

EXPLANATIONS

./my_dir your directory (replace with your own)
-mtime +10 older than 10 days
-type f only files
-delete no surprise. Remove it to test your find filter before executing the whole command

Src: 
https://stackoverflow.com/questions/13489398/delete-files-older-than-10-days-using-shell-script-in-unix

Share

Use Putty as SOCKS proxy

I’ll need 2 programs to achieve this, assuming you already have access to a Linux box and you can connect using putty client. Need S/w packages are-

  1. Putty and
  2. SeaMonkey Browser

Follow the following steps-

  • Run Putty
  • Goto SSH > Tunnels and configure as required
    • Turn Tick ON- Local port accept connects from other hosts
    • Turn Tick ON- Remote ports do the same (SSH-2 only)
    • Type “8443” (I’ll using port 8443 to create tunnel) into “Source Port” and click “Add”. Upon hitting “Add” button the mid text box is shown as “D8443”
  • Key point here is to use “DYNAMIC” for destination section
  • Now connect to the SSH Server

Read more

Share

Install Xen Orchestra on Ubuntu / Debian

Step 1: Update System

Let’s start the installation by updating all the system packages:

sudo apt update

Also consider performing an upgrade:

sudo apt upgrade -y

Step 2: Install Node.js on Ubuntu / Debian

Install dependencies.

sudo apt install -y ca-certificates curl gnupg

Import GPG repository keys:

sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg

The next step is the installation of Node.js on Ubuntu / Debian Linux system:

Read more

Share