The df utility displays the disk space usage on all mounted filesystem. The -T option prints the filesystem type as well. By default, df measures the size in 1K blocks, which could be a little difficult for a desktop user to decipher. Use the -h option to get the more understandable output: The VPS system
The scenario is to run the program inside of Ubuntu VPS. Input a URL the program will output the jpg file. The solution is to use wkhtmltoimage, which is a part of wkhtmtopdf. I used to use the old version wkhtmltopdf v0.12.3. Now it is not working anymore due to some reason I don’t know.
I have a VPS with Nginx as a web server and also a lot of web sites on it. It is on Digital Ocean. Here is the VPS basic information. SFO2 1GB Nanode Ubuntu Linux 18.04.2 Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz, 1 cores Nginx 1.15.9 All sites use one access.log file. The following
I just renewed the SSL certificate. The cheapest DV SSL certificate I found is from GoGetSSL.com. I paid by paypal. The price is so good. US$7.90 for two years. Comodo PositiveSSL. After I installed the certificate on my blog. I check the certificate by clicking on the lock icon on the address bar. It is
Here I run the PHP benchmark script on my Virtualbox guest OS Ubuntu 16.04. Every version of PHP I tested 7 times. So get rid of the highest one, and the lowest one. Get the average of the rest five scores. php5.6.39 The average is 5.13 seconds. php 7.1.25 The average is 1.859 seconds. php7.2
I use a Nginx as the reverse proxy. Here is the scenario. The original server is Server A. The reverse proxy is Server B. Web users are browser the website through Server B. The web log of Server A just received the IP address of server B. All users are shared one remote address. It
First I need to make sure my Nginx has the geoip module. Check it by entering the command below. My Nginx shown the results as below. I found –with-http_geoip_module=dynamic It is cool, I have the geoip module with my Nginx installation. Second, I need GeoIP country database. Here is the official site to download the
There is some files added to your git repository before you created .gitignore file. So they are already in the repos. Even you input the file name into .gitignore. It is still there. Every time you change this file. It will be tere. How to remove it? Step 1: Commit all your changes. It is
It is easy to get an A+ on your website. But it is a little bit hard to make a 4 parts, Certificate, Protocol Support, Key Exchange, and Cipher Strength, to be 100%. Most of time, I got A+ rating of my site. For individual scores, the last two are 90%. Let me break down.
Today, I received the email, regarding the life of Ubuntu 17.10. You will see it is end of life on July 19, 2018, means Today. If you are still using Ubuntu 17.10, you would better to upgrade to Ubuntu 18.04. This is a follow-up to the End of Life warning sent earlier this month to