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
Now it is a php 7.2. Included in the Ubuntu 18.04. My site is running on this platform. I also want to try to run the php Benchmark test, and see how fast it is. -------------------------------------- | PHP BENCHMARK SCRIPT | -------------------------------------- Start : 2018-06-07 11:38:41 Server : firstname.lastname@example.org PHP version : 7.2.5-0ubuntu0.18.04.1 Platform
When I install the Ubuntu server and ssh to the server, the default shell is bash. It looks like below. I prefer to have a colorful terminal window. So I goole it and find the solution: open ~/.bashrc in an editor copy this and add it at the end of .bashrc file: PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] ' save
Based on the schedule of release, Ubuntu 18.04 LTS (Bionic Beaver) will be released on April 26, 2018, the day after tomorrow. Now, my all VPS is running on the Ubuntu 16.04 LTS. LTS is an abbreviation for “Long Term Support”. An LTS version is released every two years. So after Ubuntu 16.04 LTS, it
I have a VM using VirtualBox on Windows 10. The VM was created last year. Now I feel it is too small. I am going to increased the disk without damaging the data on it. The basic information of the VM. It is Ubuntu 16.04 server mode. It means no GUI installed. The original disk
I have a site, which use nginx as web server and php-fpm as php interpreter. Most of the files use html extension name. My nginx conf file has following section. But, when I enter the url such as https://example.com/sample.html, whose content is php script. It did not work. The solution is to change the config
It is a warning information when the cronjob running every night. This cronjob is used to update or re-index the phpBB powered forum, which is a Chinese forum. The whole error is a kind of a list of warning with same problem. How to solve the problem with the overrun buffer warning?