安装Python
$ su -
# cd /usr/local/src
# wget http://www.python.org/ftp/python/2.7.1/Python-2.7.1.tgz
# tar zxvf Python-2.7.1.tgz
# cd Python-2.7.1
# vi Modules/Setup (zlib zlibmodule.c -のコメントアウトを解除する)
# ./configure --with-threads --enable-shared
# make
# make install
# echo /usr/local/lib | tee /etc/ld.so.conf.d/python2.7.conf
# /sbin/ldconfig
安装ufw
$ su -
# cd /usr/local/src
# wget https://launchpad.net/ufw/0.33/0.33/+download/ufw-0.33.tar.gz
# tar zxvf ufw-0.33.tar.gz
# cd ufw-0.33
# /usr/local/bin/python ./setup.py install
# chmod -R g-w /etc/ufw /lib/ufw /etc/default/ufw /usr/local/sbin/ufw
如何使用ufw