Python包管理
====================================================================================
python ------ rpm
pip ------ yum
安装setuptools
[root@localhost ~]# yum -y install git
[root@localhost ~]# git clone https://github.com/pypa/setuptools.git
[root@localhost ~]# cd setuptools
[root@localhost ~]# python setup.py install
实时解析nginx 访问日志ngxtop
1. 源码安装
[root@localhost ~]# wget https://github.com/lebinh/ngxtop/archive/master.zip -O ngxtop-master.zip
[root@localhost ~]# unzip ngxtop-master.zip