Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
doc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
frank.chen
doc
Commits
e8917773
Commit
e8917773
authored
May 13, 2025
by
frank.chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dfgwf
parent
db18c390
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
41 additions
and
30 deletions
+41
-30
ssp_投放端整理20250411.xlsx
doc-code/日志格式/ssp_投放端整理20250411.xlsx
+0
-0
ssp_投放端整理20250512.md
doc-code/日志格式/ssp_投放端整理20250512.md
+0
-0
ssp_投放端整理20250512.pdf
doc-code/日志格式/ssp_投放端整理20250512.pdf
+0
-0
ssp_投放端整理20250512.xlsx
doc-code/日志格式/ssp_投放端整理20250512.xlsx
+0
-0
nginx定时任务.txt
云迁移/我的计划/nginx定时任务.txt
+0
-19
prd部署TODO.md
云迁移/我的计划/prd部署TODO.md
+0
-11
sudo.md
通用/sudo.md
+10
-0
nginx-php.txt
部署/nginx-php.txt
+31
-0
No files found.
doc-code/日志格式/ssp_投放端整理20250411.xlsx
View file @
e8917773
No preview for this file type
doc-code/日志格式/ssp_投放端整理20250512.md
0 → 100644
View file @
e8917773
This diff is collapsed.
Click to expand it.
doc-code/日志格式/ssp_投放端整理20250512.pdf
0 → 100644
View file @
e8917773
File added
doc-code/日志格式/ssp_投放端整理20250512.xlsx
0 → 100644
View file @
e8917773
File added
云迁移/我的计划/nginx定时任务.txt
deleted
100644 → 0
View file @
db18c390
## /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
云迁移/我的计划/prd部署TODO.md
View file @
e8917773
...
...
@@ -51,17 +51,6 @@ pip install --upgrade setuptools
-
cpt-bid
-
adx-web 的配置要改为新的 clb 内网地址。(待稳定以后再改)
### 数据测试
-
ssp nginx
-
kafka
-
cpt-bid
-
kafka
-
ssp-core
-
avro
-ssp-notify
-
kafka
-
dmp 通知,dsp 通知
通用/sudo.md
0 → 100644
View file @
e8917773
## 细节
### 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
部署/nginx-php.txt
0 → 100644
View file @
e8917773
## 说明
- 三星媒体发送安装卸载数据。
- 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment