Blog Archives

How to embed images in an email?

We know that in html, an image is embedded with an img tag like <img src=”image.jpeg”/>. We put the image file name in the src attribute of the img tag. In email, however, there is no such concept as file.

Posted in tips of hosting

WordPress upgrade cheat sheet

I never upgraded wordpress before because I’m afraid the upgrade may break existing functionalities of my site. So I always add the following line to wp-config.php:

AUTOMATIC_UPDATER_DISABLED will prevent wordpress site from upgrading itself automatically. The result is  when

Posted in tips of hosting

How to prevent email going to spam?

Nowadays, it is hard to prevent email from going to junk mail if you intend to spam. Most mail servers on the internet deploy spam detection and filtering software that use complex algorithms to detect spammers. The software can tell

Posted in tips of hosting

How to add a DKIM record to DNS?

Adding a DKIM record is more complicated than adding a SPF record because it needs to create a public/private key pairs and it also needs to install a DKIM software and configure your mail server to cooperate with the DKIM

Posted in tips of hosting

SPF record syntax

Although adding an SPF DNS record won’t cost you 1 minute, understanding the format of SPF record is not easy. The SPF record is a TXT DNS record you can add through your domain registrar. Some registrars will name this

Posted in tips of hosting

You don’t have permission to access /awstats/awstats.pl on this server.

I wrote a post on installing awstats on CentOS. That post actually teaches you to install awstats on CentOS 6, where you need to download the awstats package from sourceforge and install it and its dependent software manually. Today, I

Posted in tips of hosting

Migrate WordPress website from CentOS 6 to CentOS 7

The migration arises from the need for php 7 support. I must admit I’ve been successfully fooled by the versioning of php and CentOS. My old system is CentOS6 where only php5 is supported. I mean you cannot use “yum

Posted in tips of hosting

How to create symbolic link in Linux?

Although the command to create a symbolic link in Linux is very simple, I never remember it. Every time I need to create a soft(symbolic) link in CentOS, I have to search google for the answer. In fact, the linux

Posted in tips of hosting

how to setup a website on firebaseapp?

I want to share some pdf files on a free website. I do not want to buy a domain name. I do not want to buy a hosting space. I want to use a free space. I do not want

Posted in tips of hosting

How to recover WinSCP stored password?

When setting up a new site in WinSCP, you have the option to save your password so you won’t be prompted to input  a password to login the site. This is convenient in most cases except you want to retrieve

Posted in tips of hosting