月度归档:2017年09月

主流和非主流的Tracker

最近打算换Tracker,因为以前Tracker的Report让我有点不爽,不能按Offer 或者Network 生成Report,用相同Tracker 小伙伴每天手工算账,真是让人心酸呀。。。因为以上的原因,我决定换Tracker。所以开始在各个aff论坛搜索好用的Tracker,不搜不知道,一搜吓一跳。现在的Tracker太多了。稍微整理了一下,如下所示:

Self-Hosted Tracker:

  • Imobitrax
  • CPVLab
  • Prosper202
  • FunnelFlux
  • KeitaroTDS
  • Binom
  • Pixelk
  • Cpatracker
  • Octotracker
  • Thrive

SAAS Tracker:

  • Voluum
  • Bevo Media
  • Adsbridge
  • TrackingDesk
  • Offerit
  • clickbakers
  • Newbidder
  • Thrive
  • BeMob
  • Peerclick
  • ClickMeter

虽然说现在SAAS的tracker是个大的趋势,但是竞争很激烈,而且有的traffic跑这个实在是亏本。。。所以Self-Hosted Tracker也一直有人在开发,比较有意思的是,现在恶螺丝人开发了很多的Self-Hosted Tracker,有的比如Octotracker还是俄文的,没有翻译成英文。。。虽然有高级的Self-Hosted Tracker,但是开心版的iMobitrax还是占领了很多份额(iMobitrax实在是过时了,太落后了,就像二战时期的航母。。。)。

install lsyncd on Centos7/Debian 8

Centos7安装Lsyncd

1. 安装lsyncd依赖包
yum install lua lua-devel pkgconfig gcc asciidoc
2. 安装lsyncd rpm资源,并安装lsyncd
rpm -iUvh http://mirror.centos.org/centos/7/extras/x86_64/Packages/epel-release-7-9.noarch.rpm
yum install lsyncd

3.配置lsyncd

4. 复制lsyncd配置文件
cp /usr/share/doc/lsyncd-2.1.5/examples/lrsync.lua /etc/lsyncd.conf

5. 编辑lsyncd配置文件
vim /etc/lsyncd.conf

----
-- User configuration file for lsyncd.
--
-- Simple example for default rsync.
--
settings {
logfile ="/var/log/lsyncd.log",
statusFile = "/tmp/lsyncd.stat",
statusInterval = 1,
}
sync {
default.rsync,
source="/usr/blues/",
target="192.168.16.144::backup",
rsync = {
rsh ="/usr/bin/ssh -l root -i /root/.ssh/id_rsa",
binary = "/usr/bin/rsync",
archive = true,
compress = true,
verbose = true
}
}

6.启动服务,并设置开机启动

1). 启动lsyncd服务
systemctl start lsyncd
2). 启动完成查看lsyncd状态,确保lsync启动成功
systemctl status lsyncd
3). 设置开机启动
systemctl enable lsyncd

———————————————————————————————-

Debian 8安装lsyncd:

环境安装:

apt-get install luarocks
apt-get install lua-socket
apt-get install lua-filesystem
apt-get install -y lua5.1 liblua5.1-dev pkg-config rsync asciidoc
#lfs和sockets用来调试,luarocks用来安装别的模块的开发环境,intellij idea的社区版+lua插件


apt-get install lsyncd

mkdir /etc/lsyncd
touch /etc/lsyncd/lsyncd.conf.lua
mkdir /var/log/lsyncd
touch /var/log/lsyncd/lsyncd.{log,status}

vim /etc/lsyncd/lsyncd.conf.lua

配置文件:
----
-- User configuration file for lsyncd.
--
-- Simple example for default rsync.
--
settings {
logfile ="/var/log/lsyncd.log",
statusFile = "/tmp/lsyncd.stat",
statusInterval = 1,
}
sync {
default.rsync,
source="/usr/blues/",
target="192.168.16.144::backup",
rsync = {
rsh ="/usr/bin/ssh -l root -i /root/.ssh/id_rsa",
binary = "/usr/bin/rsync",
archive = true,
compress = true,
verbose = true
}
}

启动lsyncd:
service lsyncd restart