Blog Archives

How to reset Windows 10 password?

If you don’t do serious work on your computer, or you have not used your computer for a while, or you just get old, you’ll easily forget your password. How to reset your Windows 10 password? I mean, you almost

Posted in Webmaster Tools

How to backup Surface in Windows PE?

Recently, I bought an old Surface, for playing, not for productivity. So, before I get mess with the system when playing, I need to backup everything on the disk of the Surface. If I do mess with the system in

Posted in Webmaster Tools

ssh: connect to host xx.xx.xx.xx port xxxx: No route to host

If you meet this error when trying to connect to a server via ssh, you probably think there was a network error causing this. Maybe the ip configuration is not correct on the target server. But you can indeed ping

Posted in tips of hosting

iptables to harden server

Recently, I got iptables settings that seem to harden server.  

This comes from a newly-provisioned vps. The iptables block all ports of the server except the ssh port(22). If you change the ssh port from the default 22

Posted in tips of hosting

How to download wistia video?

You may see on a web page a video  that is hosted by wistia.com. I mean the web page is not one of wistia.com pages but the video is indeed served by wistia by embedded code. How to download it?

Posted in tips of hosting

.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/var/www/domainhostseotool.com/public_html/’ is executable

Interestingly, the owner:group of /var/www/domainhostseotool.com/public_html is apache:apache and the mode is 755 . The owner:group of /var/www/domainhostseotool.com/public_html/.htaccess is also apache:apache and the mode is 644. Why does it complain the file is not readable and/or the directory is not executable?

Posted in tips of hosting

Use yum on CentOS 7/8 after EOL

I’ve been wondering why every major release of CentOS breaks yum on older release. For example, after CentOS 6 is EOL, you cannot use yum on CentOS6; after CentOS 7 EOL, you cannot use yum to install a software on

Posted in tips of hosting

How to install Windows 10 on USB?

If you search “how to install Windows 10 on USB” on google, google will return all results about how to install Windows 10 from USB. Yes, google becomes more and more stupid since chatgpt becomes popular. I know how to

Posted in Webmaster Tools

How to convert MBR HDD installed with Windows 10 to GPT and make it bootable?

I have an old computer installed with Windows 10 on an MBR HDD. Now I got a new Dell PC. I move the MBR HDD to the new PC but it is not bootable. I turn off the secure boot

Posted in Webmaster Tools

How to clone drive using dd safely?

I’m not telling you how to use the following command to clone a drive to another drive: dd if=/dev/sda of=/dev/sdb bs=32M status=progress I’m warning you about the possible risk of doing this. The risk is not that it did not

Posted in Webmaster Tools