This commit is contained in:
qiuqiu 2025-05-28 11:37:44 +08:00
parent 7ea37c506c
commit fb9b34bdeb
30 changed files with 205 additions and 15 deletions

12
.idea/workspace.xml generated
View File

@ -8,15 +8,9 @@
<component name="ChangeListManager">
<list default="true" id="fec10672-acda-4616-894b-a4b6f93aea6f" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/linux本地端口开启测试.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/linux本地端口开启测试.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/nginx端口转发.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/nginx端口转发.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/其他.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/其他.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/数据中台 临时记录.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/数据中台 临时记录.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/灵感_其他_第二章.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/灵感_其他_第二章.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/2.笔记/设置 TC 为系统默认的资源管理器.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/2.笔记/设置 TC 为系统默认的资源管理器.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/日记/2025_05_20_星期二.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/日记/2025_05_20_星期二.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/日记/2025_05_23_星期五.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/日记/2025_05_23_星期五.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/日记/2025_05_26_星期一.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/日记/2025_05_26_星期一.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/日记/2025_05_24_星期六.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/日记/2025_05_24_星期六.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/笔记文件/日记/2025_05_27_星期二.md" beforeDir="false" afterPath="$PROJECT_DIR$/笔记文件/日记/2025_05_27_星期二.md" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -44,7 +38,7 @@
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="cf.first.check.clang-format" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../code/git/lgcollecter" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../code/git/xframe" />
<property name="nodejs_package_manager_path" value="npm" />
<property name="settings.editor.selected.configurable" value="preferences.general" />
</component>

View File

@ -80,3 +80,4 @@ adjust账号数据相关https://suite.adjust.com/datascape/overview
目前中台库,使用的配置是介个:
![[Pasted image 20250324141104.png]]

View File

@ -0,0 +1,42 @@
#杂七杂八常识
通过[[nginx端口转发]]和[[nginx端口转发 可能遇到的问题]]处理后,内部访问,应该都是正常了,但是外部访问,有可能遇到,无法访问的情况
![[Pasted image 20250528111213.png]]
需要检查一下,防火墙相关设置;
在CentOS中开放端口访问权限主要涉及防火墙(firewalld)的配置。
``` bash
# 1. 查看防火墙状态
systemctl status firewalld
# 2. 如果防火墙未启动,启动防火墙
systemctl start firewalld
# 3. 开放81端口
firewall-cmd --zone=public --add-port=81/tcp --permanent
# 4. 重新加载防火墙配置
firewall-cmd --reload
# 5. 验证端口是否开放
firewall-cmd --list-ports
# 1. 关闭指定端口比如81端口
firewall-cmd --zone=public --remove-port=81/tcp --permanent
# 2. 重新加载防火墙配置使变更生效
firewall-cmd --reload
# 3. 验证端口是否已关闭
firewall-cmd --list-ports
```
![[Pasted image 20250528111455.png]]
外部刷新页面,可以看到,是正常了:
![[Pasted image 20250528111529.png]]
当然,也可以配合[[Telnet 端口测试]]先跑通

View File

@ -0,0 +1,36 @@
#杂七杂八常识
参考链接https://linux.vbird.org/linux_server/rocky9/0140selinux.php
![[Pasted image 20250528104106.png]]
![[Pasted image 20250528104152.png]]
查看当前状态:
``` bash
getenforce
```
当前生效的意思
![[Pasted image 20250528104328.png]]
![[Pasted image 20250528104400.png]]
查看详情:
``` bash
sestatus
```
![[Pasted image 20250528104444.png]]
开关设置:
0是关闭1是开启
``` bash
sudo setenforce 0
# 测试服务是否正常工作
sudo setenforce 1 # 恢复强制模式
```

View File

@ -1,3 +1,7 @@
#go
学习链接https://www.yuque.com/aceld
简单语法和设定参考:
![[Pasted image 20250528113402.png]]

View File

@ -0,0 +1,62 @@
#杂七杂八常识
在排查问题前,可以先安装好网络工具:
(需要提前设置好[[centos 7 额外软件库]])
``` bash
yum install net-tools
```
启动nginx的时候
``` bash
systemctl start nginx
```
可能会遇到,服务启动失败相关
![[Pasted image 20250528102100.png]]
根据提示可以输入指令查看nginx状态相关
``` bash
systemctl status nginx.service
```
可以看到,是权限问题:
![[Pasted image 20250528103019.png]]
也可以通过[[curl]]直接测一下端口
``` bash
curl -I http://localhost:82
```
可以看到,也是连接被拒绝的
![[Pasted image 20250528103516.png]]
还可以看一下nginx的错误日志
``` bash
nano /var/log/nginx/error.log
```
可以看到,也是权限被拒绝相关
![[Pasted image 20250528103859.png]]
这个权限设置,和[[SELinux]]有关,参考临时关闭后,重新,分别执行三指令:
``` bash
systemctl start nginx
curl -I http://localhost:82
netstat -tulpn | grep nginx
```
可以看到,打印信息,都是正常了
![[Pasted image 20250528104758.png]]
内部端口是通了,如果外部还没通,参考[[Linux防火墙 firewall]]即可。

View File

@ -87,12 +87,16 @@ systemctl status nginx
![[Pasted image 20250509101119.png]]
查看nginx版本,相关指令:
查看nginx版本,同时测试配置文件,是否正常可以跑通,相关指令:
``` bash
nginx -t
```
运行结果:
![[Pasted image 20250528094006.png]]
然后就可以开始修改nginx的相关配置了跳转到对应目录然后`nano`看一下,对应的配置文件
``` bash

View File

@ -0,0 +1,7 @@
#杂七杂八常识
参考链接:
https://zhuanlan.zhihu.com/p/590818316
亲测可用链接:
https://cobalt.tools/

View File

@ -1,3 +1,4 @@
#安卓
https://blog.csdn.net/qq_39940718/article/details/130029503

View File

@ -0,0 +1,2 @@
#灵感

View File

@ -21,7 +21,7 @@
# 今日任务
- [ ] 下载一下 对应magic的歌单
- [ ] 下载一下 车载歌单
---
# Journal

View File

@ -25,7 +25,7 @@
- [x] 也拿switch盒子给盖伦
- [x] 跟slots项目组确认一下 iphone设备类型
- [ ] 完善virtualbox飞书文档
- [ ] 完善centos7安装文档
- [ ] 完善飞书centos7安装文档
- [ ] 在追光项目组 搭建一个对应的 安卓工程 & 直接使用Java代码文件
- [x] 把完善后的slot 灵动平台 客户端代码,同步到三消项目组
- [ ] 要完善一下 苹果 移动设备 设备标识 和市场营销名称的映射关系

View File

@ -0,0 +1,37 @@
09:21
###### [[unity日常积累]]
###### [[节奏天国]]
###### [[帧同步王者荣耀]]
###### [[从零开发跨平台通用日志插件]]
###### [[通用异步网络通信库]]
###### [[高性能定时系统实现]]
###### [[学习资料]]
###### [[其他]]
#### [[看板]]
# 今日任务
- [ ] 检查一下 谷歌上架工程,为什么会多出来一个活动
- [ ] 在slot新加坡机子搭建unity开发环境
- [ ] 查询怎么填写谷歌商品名称
- [ ] 登录谷歌账号填写app信息
- [ ] 升级三消 Adjust版本
---
![[Pasted image 20250528092154.png]]
[[youtube油管视频下载音频]]
[[nginx端口转发 可能遇到的问题]]
[[系统分析法 临时记录]]
[[SELinux]]
[[Linux防火墙 firewall]]
# Journal

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.