diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3a8c0a2..f5d54b9 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -8,15 +8,9 @@ - - - - - - - - + + diff --git a/笔记文件/2.笔记/Adjust 临时记录.md b/笔记文件/2.笔记/Adjust 临时记录.md index 8509be8..bd19ca2 100644 --- a/笔记文件/2.笔记/Adjust 临时记录.md +++ b/笔记文件/2.笔记/Adjust 临时记录.md @@ -79,4 +79,5 @@ adjust账号数据相关:https://suite.adjust.com/datascape/overview 目前中台库,使用的配置是介个: -![[Pasted image 20250324141104.png]] \ No newline at end of file +![[Pasted image 20250324141104.png]] + diff --git a/笔记文件/2.笔记/Linux防火墙 firewall.md b/笔记文件/2.笔记/Linux防火墙 firewall.md new file mode 100644 index 0000000..d3ffe23 --- /dev/null +++ b/笔记文件/2.笔记/Linux防火墙 firewall.md @@ -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 端口测试]]先跑通 \ No newline at end of file diff --git a/笔记文件/2.笔记/SELinux.md b/笔记文件/2.笔记/SELinux.md new file mode 100644 index 0000000..add5cf8 --- /dev/null +++ b/笔记文件/2.笔记/SELinux.md @@ -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 # 恢复强制模式 +``` \ No newline at end of file diff --git a/笔记文件/2.笔记/go技术栈 参考.md b/笔记文件/2.笔记/go技术栈 参考.md index 1471f21..893bad2 100644 --- a/笔记文件/2.笔记/go技术栈 参考.md +++ b/笔记文件/2.笔记/go技术栈 参考.md @@ -1,3 +1,7 @@ #go -学习链接:https://www.yuque.com/aceld \ No newline at end of file +学习链接:https://www.yuque.com/aceld + +简单语法和设定参考: + +![[Pasted image 20250528113402.png]] \ No newline at end of file diff --git a/笔记文件/2.笔记/nginx端口转发 可能遇到的问题.md b/笔记文件/2.笔记/nginx端口转发 可能遇到的问题.md new file mode 100644 index 0000000..7a39980 --- /dev/null +++ b/笔记文件/2.笔记/nginx端口转发 可能遇到的问题.md @@ -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]]即可。 \ No newline at end of file diff --git a/笔记文件/2.笔记/nginx端口转发.md b/笔记文件/2.笔记/nginx端口转发.md index 266fe47..d1141c0 100644 --- a/笔记文件/2.笔记/nginx端口转发.md +++ b/笔记文件/2.笔记/nginx端口转发.md @@ -87,12 +87,16 @@ systemctl status nginx ![[Pasted image 20250509101119.png]] -查看nginx版本的,相关指令: +查看nginx版本,同时测试配置文件,是否正常可以跑通,相关指令: ``` bash nginx -t ``` +运行结果: + +![[Pasted image 20250528094006.png]] + 然后,就可以开始,修改nginx的相关配置了,跳转到对应目录,然后`nano`看一下,对应的配置文件 ``` bash diff --git a/笔记文件/2.笔记/youtube油管视频下载音频.md b/笔记文件/2.笔记/youtube油管视频下载音频.md new file mode 100644 index 0000000..ce606fc --- /dev/null +++ b/笔记文件/2.笔记/youtube油管视频下载音频.md @@ -0,0 +1,7 @@ +#杂七杂八常识 + +参考链接: +https://zhuanlan.zhihu.com/p/590818316 + +亲测可用链接: +https://cobalt.tools/ \ No newline at end of file diff --git a/笔记文件/2.笔记/安卓谷歌登录参考.md b/笔记文件/2.笔记/安卓谷歌登录参考.md index 196d9f8..790e97c 100644 --- a/笔记文件/2.笔记/安卓谷歌登录参考.md +++ b/笔记文件/2.笔记/安卓谷歌登录参考.md @@ -1,3 +1,4 @@ #安卓 -https://blog.csdn.net/qq_39940718/article/details/130029503 \ No newline at end of file +https://blog.csdn.net/qq_39940718/article/details/130029503 + diff --git a/笔记文件/2.笔记/系统分析法 临时记录.md b/笔记文件/2.笔记/系统分析法 临时记录.md new file mode 100644 index 0000000..49d47a9 --- /dev/null +++ b/笔记文件/2.笔记/系统分析法 临时记录.md @@ -0,0 +1,2 @@ +#灵感 + diff --git a/笔记文件/日记/2025_05_24_星期六.md b/笔记文件/日记/2025_05_24_星期六.md index 0528115..8e31351 100644 --- a/笔记文件/日记/2025_05_24_星期六.md +++ b/笔记文件/日记/2025_05_24_星期六.md @@ -21,7 +21,7 @@ # 今日任务 -- [ ] 下载一下 对应magic的歌单 +- [ ] 下载一下 车载歌单 --- # Journal diff --git a/笔记文件/日记/2025_05_27_星期二.md b/笔记文件/日记/2025_05_27_星期二.md index 43148a4..dc1bde1 100644 --- a/笔记文件/日记/2025_05_27_星期二.md +++ b/笔记文件/日记/2025_05_27_星期二.md @@ -25,7 +25,7 @@ - [x] 也拿switch盒子给盖伦 - [x] 跟slots项目组确认一下 iphone设备类型 - [ ] 完善virtualbox飞书文档 -- [ ] 完善centos7安装文档 +- [ ] 完善飞书centos7安装文档 - [ ] 在追光项目组 搭建一个对应的 安卓工程 & 直接使用Java代码文件 - [x] 把完善后的slot 灵动平台 客户端代码,同步到三消项目组 - [ ] 要完善一下 苹果 移动设备 设备标识 和市场营销名称的映射关系 diff --git a/笔记文件/日记/2025_05_28_星期三.md b/笔记文件/日记/2025_05_28_星期三.md new file mode 100644 index 0000000..52b001e --- /dev/null +++ b/笔记文件/日记/2025_05_28_星期三.md @@ -0,0 +1,37 @@ + +09:21 + +###### [[unity日常积累]] + +###### [[节奏天国]] + +###### [[帧同步王者荣耀]] + +###### [[从零开发跨平台通用日志插件]] + +###### [[通用异步网络通信库]] + +###### [[高性能定时系统实现]] + +###### [[学习资料]] + +###### [[其他]] + +#### [[看板]] + +# 今日任务 + +- [ ] 检查一下 谷歌上架工程,为什么会多出来一个活动 +- [ ] 在slot新加坡机子,搭建unity开发环境 +- [ ] 查询怎么填写谷歌商品名称 +- [ ] 登录谷歌账号,填写app信息 +- [ ] 升级三消 Adjust版本 +--- +![[Pasted image 20250528092154.png]] + +[[youtube油管视频下载音频]] +[[nginx端口转发 可能遇到的问题]] +[[系统分析法 临时记录]] +[[SELinux]] +[[Linux防火墙 firewall]] +# Journal diff --git a/笔记文件/附件/Pasted image 20250528092154.png b/笔记文件/附件/Pasted image 20250528092154.png new file mode 100644 index 0000000..dde15be Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528092154.png differ diff --git a/笔记文件/附件/Pasted image 20250528094006.png b/笔记文件/附件/Pasted image 20250528094006.png new file mode 100644 index 0000000..1012872 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528094006.png differ diff --git a/笔记文件/附件/Pasted image 20250528102100.png b/笔记文件/附件/Pasted image 20250528102100.png new file mode 100644 index 0000000..cc316d8 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528102100.png differ diff --git a/笔记文件/附件/Pasted image 20250528103019.png b/笔记文件/附件/Pasted image 20250528103019.png new file mode 100644 index 0000000..bffdb9a Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528103019.png differ diff --git a/笔记文件/附件/Pasted image 20250528103516.png b/笔记文件/附件/Pasted image 20250528103516.png new file mode 100644 index 0000000..64bb9e9 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528103516.png differ diff --git a/笔记文件/附件/Pasted image 20250528103859.png b/笔记文件/附件/Pasted image 20250528103859.png new file mode 100644 index 0000000..83a1c08 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528103859.png differ diff --git a/笔记文件/附件/Pasted image 20250528104106.png b/笔记文件/附件/Pasted image 20250528104106.png new file mode 100644 index 0000000..8c8d9a2 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528104106.png differ diff --git a/笔记文件/附件/Pasted image 20250528104152.png b/笔记文件/附件/Pasted image 20250528104152.png new file mode 100644 index 0000000..7abc442 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528104152.png differ diff --git a/笔记文件/附件/Pasted image 20250528104328.png b/笔记文件/附件/Pasted image 20250528104328.png new file mode 100644 index 0000000..843a4d6 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528104328.png differ diff --git a/笔记文件/附件/Pasted image 20250528104400.png b/笔记文件/附件/Pasted image 20250528104400.png new file mode 100644 index 0000000..879a6a5 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528104400.png differ diff --git a/笔记文件/附件/Pasted image 20250528104444.png b/笔记文件/附件/Pasted image 20250528104444.png new file mode 100644 index 0000000..c098890 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528104444.png differ diff --git a/笔记文件/附件/Pasted image 20250528104758.png b/笔记文件/附件/Pasted image 20250528104758.png new file mode 100644 index 0000000..c37e3aa Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528104758.png differ diff --git a/笔记文件/附件/Pasted image 20250528111213.png b/笔记文件/附件/Pasted image 20250528111213.png new file mode 100644 index 0000000..9f112b5 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528111213.png differ diff --git a/笔记文件/附件/Pasted image 20250528111455.png b/笔记文件/附件/Pasted image 20250528111455.png new file mode 100644 index 0000000..b900128 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528111455.png differ diff --git a/笔记文件/附件/Pasted image 20250528111529.png b/笔记文件/附件/Pasted image 20250528111529.png new file mode 100644 index 0000000..716f1b2 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528111529.png differ diff --git a/笔记文件/附件/Pasted image 20250528113402.png b/笔记文件/附件/Pasted image 20250528113402.png new file mode 100644 index 0000000..cef0109 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250528113402.png differ diff --git a/笔记文件/附件/youtube_zEr7k-_dMjo_audio.mp3 b/笔记文件/附件/youtube_zEr7k-_dMjo_audio.mp3 new file mode 100644 index 0000000..4be2513 Binary files /dev/null and b/笔记文件/附件/youtube_zEr7k-_dMjo_audio.mp3 differ