摘要: 1..NET Framework 项目和.net core项目区分: .net frame是windows单独,.net core是跨平台 2.查看服务器磁盘空间df -h,这里h指自动换算单位 [root@MiWiFi-RA70-srv backup]# df -h文件系统 大小 已用 可用 已用 阅读全文
posted @ 2025-11-12 09:34 爱晒太阳的懒猫。。 阅读(5) 评论(0) 推荐(0)
摘要: 1.systemctl start firewalld2.systemctl enable firewalld (开启开机自启防火墙) / systemctl disable firewalld3.systemctl list-unit-files | grep firewalld解读:system 阅读全文
posted @ 2025-09-28 08:56 爱晒太阳的懒猫。。 阅读(9) 评论(0) 推荐(0)
摘要: namespace SwiftCode.BBS.Extensions.AOP { public class BbLogsAOP : IInterceptor { public void Intercept(IInvocation invocation) { //invocation.TargetTy 阅读全文
posted @ 2025-09-18 17:55 爱晒太阳的懒猫。。 阅读(6) 评论(0) 推荐(0)
摘要: 虚方法 public class Animal { // 虚方法 public virtual void MakeSound() { Console.WriteLine("动物发出声音"); } } public class Dog : Animal { // 重写虚方法 public overri 阅读全文
posted @ 2025-09-18 16:34 爱晒太阳的懒猫。。 阅读(13) 评论(0) 推荐(0)
摘要: [Unit] Description=MedicTech Server # 服务描述,可以自定义 After=network.target network-online.target nss-lookup.target #前两个不用理解当作等待网络状态就绪,后一个是主机名或域名DNS的解析服务就绪, 阅读全文
posted @ 2025-09-11 23:13 爱晒太阳的懒猫。。 阅读(6) 评论(0) 推荐(0)
摘要: 1.中级mysql使用:1.精读高性能mysql, 2.常见的mysql场景处理2.中级js使用:1.精读冯羽的文章 阅读全文
posted @ 2025-07-25 11:10 爱晒太阳的懒猫。。 阅读(5) 评论(0) 推荐(0)
摘要: 1.EPEL-release软件包,非官方,常用软件源2.curl http://localhost 向本地80端口发送get请求虚拟主机:192.168.248.128 nginx配置80端口真实机中访问失败1.yum install epel-release2.yum install nginx 阅读全文
posted @ 2025-07-22 19:03 爱晒太阳的懒猫。。 阅读(5) 评论(0) 推荐(0)
摘要: 这里Custom是自定义中间件 if (env.IsDevelopment())//异常错误处理 { app.UseDeveloperExceptionPage(); app.UseDatabaseErrorPage(); } else { app.UseExceptionHandler("/Err 阅读全文
posted @ 2025-05-19 14:00 爱晒太阳的懒猫。。 阅读(33) 评论(0) 推荐(0)
摘要: 获得/bin/log文件夹下的所有文件,mv oldname.txt newname.txt重新命名文件名 DIR="/path/to/files" sufix=".txt" for file in $DIR/*.log ; do if [ -f "$file" ]; then mv "$file" 阅读全文
posted @ 2025-05-12 23:12 爱晒太阳的懒猫。。 阅读(13) 评论(0) 推荐(0)
摘要: 1. 服务管理脚本2. 日志处理脚本3. 部署脚本4. 数据库备份脚本5. 监控脚本6. 批量处理脚本7. 网络工具脚本 阅读全文
posted @ 2025-05-12 22:40 爱晒太阳的懒猫。。 阅读(9) 评论(0) 推荐(0)