Commit e8917773 authored by frank.chen's avatar frank.chen

dfgwf

parent db18c390
This diff is collapsed.
## /var/spool/cron/root
```
# 这里只在 nginx-1 使用
*/5 * * * * cd /data/appstore/IntimeStat/ && python main.py > /data/log/IntimeStat.log 2>&1
*/5 * * * * cd /data/appstore/IntimeStat/ && python ctr-keywords.py > /data/log/ctrKeywords.log 2>&1
```
## /etc/cron.d/monitor
*/5 * * * * root cd /data/appstore/shell/monitor/ && python UserdataServiceMonitor.py >> /var/log/monitor.log 2>&1
*/5 * * * * root cd /data/appstore/shell/monitor/ && python AppStoreLogMonitor.py >> /var/log/monitor.log 2>&1
*/5 * * * * root cd /data/appstore/shell/monitor/ && python ProcessAliveMonitor.py >> /var/log/monitor.log 2>&1
*/5 * * * * root cd /data/appstore/shell/monitor/ && python DataMonitor.py >> /var/log/monitor.log 2>&1
*/5 * * * * root cd /data/appstore/shell/monitor/ && python DiskMonitor.py >> /var/log/monitor.log 2>&1
*/5 * * * * root cd /data/appstore/shell/monitor/ && python CheckFolderSize.py >> /var/log/monitor.log 2>&1
## /etc/cron.d/thrift_watch
*/1 * * * * root /usr/local/bin/thrift_watch > /var/log/thrift_watch 2>&1
...@@ -51,17 +51,6 @@ pip install --upgrade setuptools ...@@ -51,17 +51,6 @@ pip install --upgrade setuptools
- cpt-bid - cpt-bid
- adx-web 的配置要改为新的 clb 内网地址。(待稳定以后再改) - adx-web 的配置要改为新的 clb 内网地址。(待稳定以后再改)
### 数据测试
- ssp nginx
- kafka
- cpt-bid
- kafka
- ssp-core
- avro
-ssp-notify
- kafka
- dmp 通知,dsp 通知
## 细节
### PATH
```
sudo chmod u+w /etc/sudoers
sudo vim /etc/sudoers
找到 secure_path
添加路径,保存
sudo chmod u-w /etc/sudoers
```
\ No newline at end of file
## 说明
- 三星媒体发送安装卸载数据。
- 10台ssp服务器。
- nginx 上的 php 模块。
## 安装 php
- php
```
若不指定安装路径,会导致配置文件路径怪异。
最好加上安装路径
./configure --enable-fpm --with-openssl --with-zlib --with-curl --enable-zip --prefix=/usr
make -j7 && make install
装完之后,需要配置 php-fpm 相关配置
/usr/local/etc/php-fpm.d/ 路径下,将 www.conf.default 复制,命名为 www.conf,并参考旧配置做适当修改
同理
/usr/local/etc/php-fpm.conf.default 也做类似操作。
```
- php 的库 laravel
```
下载 composer的安装脚本:https://getcomposer.org/installer
使用 php 执行:`php installer` 可能有点慢
mv composer.phar /usr/local/bin/composer
在 php 源码(/var/www/appstore-adsurvey)下执行:
composer install
composer update
composer install
php artisan key:generate
可能需要重启 php-fpm
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment