Blog Archives

How to check the release and version of linux?

You definitely need a command to check the release and version of Linux on your server. The keywords you use to find the answer are probably: how to check the release version of linux how to check the redhat release

Posted in tips of hosting

how to restart a service when it is down?

It is a common issue for webmasters that a service such as httpd/mysqld crashes now and then. You can not monitor the status of the services manually. Firstly, I solved this problem by writing a monitoring script. The script uses

Posted in tips of hosting

nslookup and dig illustrated

nslookup(on windows) and dig(on linux) are two indepensible tools for system administrator to debug DNS problems. However, the two DNS tools are not easy to use as other commands. First of all, if you issue the following commands to try

Posted in tips of hosting

How to install vnc server on memory limited VPS?

There have been enough articles on how to install vnc server on CentOS6, CentOS7, or ubuntu, debian. But all of those guides tell you to install a desktop such as gnome, kde, before installing vncserver. The first step of their

Posted in tips of hosting

how to configure postfix to stop sending “Undelivered Mail Returned to Sender” emails thoroughly

Completely disabling postfix to send the  “Undelivered Mail Returned to Sender” emails seems not an easy thing to do. Postfix sends this kind of notification emails in many situations such as the recipients are not found, the destination host is

Posted in tips of hosting

http homepage and https homepage, which one google prefer?

You may think google prefers https homepage rather than the http homepage. Nowadays, it seems a common sense that https webpage ranks better than http webpage because it is more “secure”. And google, in its official documents, admits https page

Posted in tips of hosting

Ip-based virual host and name-based virtual host in apache

The authority documents on ip-based virtual host and name-based virtual host are here and here, respectively. But like other official apache documents, the information there is also obscure. You must think hard, guess hard, and do tons of experiments to

Posted in tips of hosting

How to hide IP address when sending emails?

How to configure postfix to hide the client IP address when sending email? By default, postfix will add a “Received:” header to emails it receives. The “Received:” header leaks the privacy such as your home IP address and your computer

Posted in tips of hosting

What email headers does postfix add to emails?

A simple email client does not add too many headers to the email it is sending. Typically only the following headers appear in the message to be sent: “From:”,”To:”, “Subject:”,”MIME-Version:”, “Date:”,”Content-Type:”,”Content-Transfer-Encoding:”. But when you receive the email, you’ll find many

Posted in tips of hosting

What is BCC and how is it implemented?

I occasionally receive some special emails in my email box. Checking the emails I could not find my email  address listed in the “To:” header of the emails. Why can I receive those emails that are not destined to my

Posted in tips of hosting