Skip to content

David Yin's Blog

Tech geek. Life geek.

  • Home
  • About & Contact
  • Advertise
  • Subscribe
  • Privacy Policy
  • Gallery 3 – G3Grey Theme
David Yin's Blog
  • Home
  • About & Contact
  • Advertise
  • Subscribe
  • Privacy Policy
  • Gallery 3 – G3Grey Theme

Category: L.A.M.P.

Posted on December 19, 2018January 19, 2019 L.A.M.P. Web & Network

How to pass the Real IP Address of client to Nginx Server

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...

Posted on December 14, 2018 L.A.M.P.

How to use GeoIP database to block a country in Nginx

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...

Posted on September 9, 2018 L.A.M.P.

Untrack files already added to git repository based on .gitignore

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...

Posted on August 11, 2018November 21, 2018 L.A.M.P.

How to get a perfect SSL Labs score

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...

Posted on July 19, 2018July 19, 2018 L.A.M.P.

Ubuntu 17.10 (Artful Aardvark) End of Life reached on July 19 2018

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....

Posted on June 7, 2018June 7, 2018 L.A.M.P.

php Benchmark test on php 7.2

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...

Posted on May 29, 2018May 29, 2018 L.A.M.P.

Color Scheme for the command line of bash

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...

Posted on April 24, 2018April 24, 2018 L.A.M.P.

Waiting for the Ubuntu 18.04 LTS

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...

Resize the partition
Posted on October 16, 2017October 16, 2017 L.A.M.P. Software

Extend VirutalBox disk of Ubuntu 16.04

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...

Posted on July 17, 2017April 20, 2018 L.A.M.P.

php-fpm can not use html as php

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...

Posted on May 29, 2017May 29, 2017 L.A.M.P. phpBB Mod & Tips

SphinxSearch WARNING: word overrun buffer, clipped!!!

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...

Posted on May 29, 2017May 29, 2017 L.A.M.P.

Bashrc is not loading? (Fixed)

I have the .bashrc file, but it is not loading when I connect my VPS through SSH. The content of .bashrc looks like below: It provides a colorful terminal look. How to fix the problem of .bashrc not loading?

Posted on May 7, 2017May 7, 2017 Hardware L.A.M.P.

Make a Bluetooth Speaker with Raspberry Pi with Bluetooth 4.0

I have tried to make a Bluetooth speaker with raspberry Pi three months ago. It was failed because of the old Bluetooth 2.0 USB device. It is too slow to get the smooth audio transferring. Now I have a new...

Posted on April 11, 2017April 20, 2018 L.A.M.P.

How to connect DBF file and read data by PHP script

Afte last post, my php-fpm support the dbase database file now.  Here is an example php script. $db = dbase_open('../db/clients.dbf',0); if ($db){ $record_numbers = dbase_numrecords($db); for ($i = 1; $i <= $record_numbers; $i++) { $row = dbase_get_record_with_names($db, $i); if (...

Posted on April 11, 2017April 11, 2017 L.A.M.P.

The simple way to install the dbase extension on php7.0

Here is the simple way to install the dbase extension. One command only.   sudo pecl install dbase-7.0.0beta1 It will install the extension for you. You just need to restart php7.0-fpm service. Check the php information. If your php is...

Posts pagination

← 1 … 5 6 7 8 9 … 20 →

Share

RSS
Facebook
fb-share-icon
Twitter
Post on X


Tags

"new features" "Windows 7" backup benchmark beta Blog bug calibre Canada Centos Code dreamhost error Firefox firmware fix freeware game Google how-to installation internet Linux MovableType MT MySQL performance PHP plugin release review router security server software SSD test tool ubuntu update upgrade voip VPS windows wordpress

Useful links

  • Alive Math Worksheet
  • Free InOut Board
  • Web Site Directory
  • Free Thinking
  • Dba notes
  • aw’s Blog
  • OneLaunch

Categories

  • 3D Printing (3)
  • Digest (79)
  • DreamHost Log (41)
  • Hardware (414)
  • Independent Thinking (28)
  • Insurance (5)
  • jQuery (9)
  • L.A.M.P. (292)
  • Money Maker (22)
  • My Life (145)
    • Journey of Faith (7)
    • Shanghai food (2)
  • Notes of MovableType (127)
  • phpBB Mod & Tips (15)
  • Reviews (176)
    • Freeware Review (43)
  • Save Money (2)
  • SEO & SEM (12)
  • Software (278)
  • Two Week Campaign (13)
  • Uncategorized (1)
  • Vehicles (16)
  • VOIP (38)
  • Web & Network (423)
  • WordPress Notes (54)

Archives

My Mastodon Social Account.
© 2025 David Yin's Blog / Powered by WordPress / Theme by Design Lab