Blog Archives

How to write on Medium?

The composition UI of Medium looks too simple: At the beginning, there are two places you can type: “Title” and “Tell your story…”. The title is just what you imagine – the title of your article, and what you type

Posted in SEO Tools

cannot connect to vpn

I cannot connect to a pptp vpn. The following errors occur when clicking the connect button in windows 10: The modem(or other connecting device) has reported an error A device attached to the system is not functioning A connection to

Posted in tips of hosting

wp_options’ is marked as crashed and last (automatic?) repair failed

Today, when I accessed my website, it showed “database connection failed”. I opened the mysql log file /var/log/mariadb//mariadb.log and saw the following error: wp_options’ is marked as crashed and last (automatic?) repair failed I tried to repair the wp_options table:

Posted in tips of hosting

mysqlcheck: Got error: 1045: Access denied for user ‘root’@’localhost’ (using password: YES) when trying to connect

This error occurs when I run the following command:

Note that the command prompts for a password, and I input the correct password for the user root. Why does it still deny the access for root? If you ran

Posted in tips of hosting

set up v2ray with ws+tls

The idea  is your computer running v2ray client sends traffic to an https website address like https://domainhostseotool.com/ray. This website returns normal website content except for location /ray. For this special location, the httpd server Apache behaviors as a reverse proxy

Posted in tips of hosting

journalctl Failed to open files: Protocol not supported

After upgrading systemd from V219 to v247, journalctl stops working: journalctl -u v2ray Journal file /var/log/journal/xxxx/user-1000.journal uses an unsupported feature, ignoring file. Use SYSTEMD_LOG_LEVEL=debug journalctl –file=/var/log/journal/xxxx/user-1000.journal to see the details. SYSTEMD_LOG_LEVEL=debug journalctl –file=/var/log/journal/xxxx/user-1000.journal Journal effective settings seal=no keyed_hash=yes compress=no compress_threshold_bytes=8B

Posted in tips of hosting

How to upgrade systemd on CentOS 7?

First, you should know how to check systemd version on Linux. The system version command is:

You will see the output is “systemd 219″ on CentOS 7. This version is too low for many software that depend on systemd.

Posted in tips of hosting

How to use pip to uninstall package and install specific version of package?

You must know how to install a package with pip:

This will install the package components mainly to /usr/local/lib/python3.6/site-packages/xxx/, as well as some files to /usr/local/bin/, /usr/local/share/man/ and /usr/local/share/polkit-1/actions/. pip3 install command installs the latest version of package. If

Posted in tips of hosting

Proftpd DefaultRoot

In proftpd.conf, there is a line

You can guess what DefaultRoot means. It means the default directory when an ftp client logs in. “DefaultRoot ~” means when a user connects and logs in ftp, it comes at his home

Posted in tips of hosting

Difference between hard link and symbolic link

I thought hard link is alias of a file and symbolic link is another file pointing to the linked file. So, I thought using symbolic link may be safer than using hard link. I thought “rm -f symlink” just delete

Posted in tips of hosting