Ben Chuanlong Du's Blog

It is never too late to learn.

Chinese Locale in Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

First you have to make sure locales is installed. If not, you can install it using the following command (on Ubuntu/Debian).

sudo apt-get install locales

Ubuntu

# GB2312 encoding support
sudo …

Tips on NFS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Make sure nfs service is not blocked. Check iptables and "/etc/hosts.allow".

  2. Make sure nfs service is running on the server.

    sudo service nfs-kernel-server start

  3. You can choose the version …

Tips on arp-scan

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation

Ubuntu

wajig install arp-scan

Mac

brew install arp-scan

Usage

sudo arp-scan -l

sudo arp-scan -l -I network_interface

Package Management in Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

There are many different ways to install packages in Linux.

  1. Build From Source

  2. Pre-built Binary

  3. Use distribution specific tools. For example, you can use apt-get or wajig for Debian-based Linux Distributions …