Giter Site home page Giter Site logo

vos_blacknum_server's Introduction

vos_black_search

vos黑名单查询缓存

运行环境为Centos 6x/7x Redis

VOS3000客户机:

不需要安装环境。

vos机器运行的程序编译:

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build vos_search_up.go

功能: 查询vos3000的cdr文件内被叫有Black标志的数据上报到服务端,加入redis库里备查

运行:手动指定日期 ./vos_search_up -date 20220502

将vos_search_up 和 vos_search_up.sh 放入/root目录,并给777执行权限

加到crontab服务里,设定每天早上1点进行上报

0 1 * * * /root/vos_search_up.sh

黑名单服务器:

yum -y install redis

服务端程序编译:

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build vos_search_server.go

执行: ./vos_search_server 功能: 起服务监听9200端口,设置vos的url攺写,指向该服务进行黑名单查询

copy vos_serach_server.init /etc/init.d/vos_serach_server
chkconfig --add vos_search_server
chkconfig vos_search_server on
systemctl enable vos_serach_server

vos_blacknum_server's People

Contributors

eippbx avatar

Watchers

 avatar

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.