Giter Club home page Giter Club logo

secon's Introduction

#网站安全监控平台 2.0版

yum -y install net-snmp net-snmp-devel net-snmp-utils

yum -y install dos2unix ntpdate

同步时间 ntpdate 210.167.182.10

yum -y install python-devel python-setuptools python-pycurl python-simplejson MySQL-python libevent libevent-devel

easy_install greenlet easy_install gevent

安装 dos2unix /usr/local/mntrwork_v22/bin/.sh chmod 744 /usr/local/mntrwork_v22/bin/.sh

开机启动 echo "/usr/local/mntrwork_v22/bin/startup.sh" >> /etc/rc.local

程序检测 crontab -l > mycrontab echo "*/1 * * * * /usr/local/mntrwork_v22/bin/startup.sh > /dev/null 2>&1" >> mycrontab crontab mycrontab rm -rf mycrontab chkconfig crond on service crond restart

#步骤:

1.python check.py

2.进入src文件夹,解压对应的包,执行:python setup.py install or easy_install xxx

3.报错:

Traceback (most recent call last): File "main_dns.py", line 5, in import handler_cache as mcache File "/root/secon/handler_cache.py", line 5, in import handler_model as modelJob File "/root/secon/handler_model.py", line 6, in import lib.secon_mysql_lib as mysql File "/root/secon/lib/secon_mysql_lib.py", line 4, in import sys, MySQLdb ImportError: No module named MySQLdb

解决方法:yum install MySQL-python

secon's People

Contributors

crazw avatar

Watchers

 avatar  avatar

Forkers

crysisx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.