Read More
Read More
Read More
Read More
Read More
Read More
LeBlanc’s law: "Later equals never".
Summary The world witnessed the popularity of containerized applications. Docker provides good isolation and is of good portability. It also could be the basic item in a distributed system. In this post, I introduced how to create a WordPress site in docker; how to migration WordPress; how to make the site secure via SSL; how…
Summary In this post, I will introduce how to install the SSL certificate for WordPress. Conclusion I did some research and tried different methods. Now I will provide the simplest ways. Apply for an SSL certificate; Download the certificate and sent it to the server; Do the following command: sudo yum install mod_ssl; Add a…
Summary In this post, I will introduce how to update PHP for WordPress. Conclusion As usual, I present the following snippets first. sudo yum remove php-common mod_php php-cli sudo yum install epel-release sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum install yum-utils sudo yum-config-manager –enable remi-php72 sudo yum install php php-mysql –y sudo systemctl restart httpd Details…
Summary In this post, I will introduce a solution for remote desktop control. It is totally free and has great performance. Note: It seems Google Chrome Remote Desktop does not support gdm. But I am quite sure it works if you use lightdm which is also the default display manager in Ubuntu. Conclusion As usual,…
Summary In this post, I will introduce how to send files from a server to a local machine. Details 1. Use SCP SCP is a well-known command. scp a.zip nanzhou@mydestop.com: 2. Use Iterm and SZ&RZ Install Iterm Iterm with tmux helps me a lot. Install lrzsz in the server and the desktop. sudo brew install…
Summary In this post, I will introduce how to “ping” a specific port in a host. Details Usually to test the connectivity, we will use the command ping. However, ping will typically send ICMP ECHO_REQUEST packets to network hosts. In ICMP, there are no ports. But in many cases (especially when we have a server…