2016年6月

Build Hackrf Lib & Tools on Kali 2.0

Kali 2.0 has installed Hackrf driver, uninstall it first~

sudo apt-get remove hackrf

Install dependences:

sudo apt-get install git build-essential cmake libusb-1.0-0-dev liblog4cpp5-dev libboost-dev libboost-system-dev libboost-thread-dev libboost-program-options-dev swig pgk-config libudev-dev -y

- 阅读剩余部分 -

SSH issue: Slow connection

Situation 1

While I connecting to my server (Debian) via SSH, I have to wait at least 30 seconds to input password.

DNS resolution failed leads to the problem.

sudo /etc/ssh/sshd_config

Add or Modify this line

UseDNS no

It works in most situations.

- 阅读剩余部分 -

Install Redis Server on Ubuntu

A. apt-get install old version

You can easily install Redis 2.8 on Debian by this command:

sudo apt-get install redis-server

B. build latest version

To install the latest version, you need to build it by yourself.

sudo apt-get update
sudo apt-get install build-essential
wget http://download.redis.io/releases/redis-stable.tar.gz
tar xzf redis-stable.tar.gz
cd redis-stable
make test
make
sudo apt-get install tcl8.5
sudo make install

- 阅读剩余部分 -