摘要: 1.检查防火墙端口是否开放了firewall-cmd --list-ports2.检查ip是否能够ping3.补充问题场景:之前是可以远程连接的且没配置没变过,4.关闭了防火墙(systemctl stop firewalld)后,成功访问到了5.现有状态,只启用了firewalld,没启用ipta 阅读全文
posted @ 2025-12-15 15:52 爱晒太阳的懒猫。。 阅读(2) 评论(0) 推荐(0)
摘要: 1.systemctl的文件,user/lib/systemd/system下或/etc/systemd/system 2.创建文件 查看systemctl下所有运行进程systemctl list-units --type=service --state=running #systemctl li 阅读全文
posted @ 2025-12-14 17:36 爱晒太阳的懒猫。。 阅读(4) 评论(0) 推荐(0)
摘要: 一.以mysql容器为例子1.sudo mkdir -p /home/mysql_data #创建新文件夹2.sudo chown -R 999:999 /home/mysql_data # 将目录所有权设为MySQL容器内使用的用户(通常是999:999) 将 /home/mysql_data 目 阅读全文
posted @ 2025-12-08 23:33 爱晒太阳的懒猫。。 阅读(7) 评论(0) 推荐(0)
摘要: 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 爱晒太阳的懒猫。。 阅读(6) 评论(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 爱晒太阳的懒猫。。 阅读(10) 评论(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 爱晒太阳的懒猫。。 阅读(8) 评论(0) 推荐(0)
摘要: 1.中级mysql使用:1.精读高性能mysql, 2.常见的mysql场景处理2.中级js使用:1.精读冯羽的文章 阅读全文
posted @ 2025-07-25 11:10 爱晒太阳的懒猫。。 阅读(6) 评论(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)