现在位置: 首页 > 电脑相关 > 文章
+0°
2025年07月04日 电脑相关 ⁄ 共 106字
使用 cmd运行以下代码 netsh advfirewall firewall add rule name="Allow SMB TCP 445" dir=in action=allow protocol=TCP localport=445
阅读全文

+0°
使用命令行: 打开命令提示符或PowerShell(以管理员权限)。 执行以下命令: netsh advfirewall firewall add rule name="Allow ICMPv4-In" protocol=icmpv4:8,any dir=in action=allow 此命令将添加一个新的入站规则,允许ICMPv4 echo请求(ping请求)通过Windows防火墙    
阅读全文
+0°
2025年05月15日 电脑相关 ⁄ 共 106字
w32tm /config /manualpeerlist:"ntp.aliyun.com" /syncfromflags:manual /reliable:yes /update cmd输入time也可以手动修改时间      
阅读全文
+0°
问题背景:运行powershell脚本报错 因为此系统禁止运行脚本,如下图: CategoryInfoFullyQualifiedErrorld :lnauthorizedAccess     解决方法如下:   方法 1:检查当前执行策略 在 PowerShell 中运行以下命令,查看当前的执行策略: Get-ExecutionPolicy 常见的执行策略有: Restricted:默认策略,不允许运行任何脚本。 AllSigned:仅允许运行已签名的脚本。 RemoteSigned:允许运行本地脚本...
阅读全文
+1°
2024年04月03日 电脑相关 ⁄ 共 1359字
当地时间周一(4月1日),人工智能(AI)公司OpenAI宣布,将允许用户直接使用ChatGPT,而无需注册该项服务,这将让人们更加容易体验人工智能的潜力。 OpenAI表示,它将从周一开始逐步推出这一功能,让185个国家和地区的超1亿用户使用ChatGPT来学习新事物、寻找创意灵感,并获得问题的答案。2022年底,OpenAI正式发布了人工智能聊天机器人ChatGPT,随后在全世界掀起了人工智能狂潮,它可以模仿人类对话,并执行诸如创建长文本摘要、...
阅读全文
+0°
原文: Upcoming public IPv4 address charge Starting on 2024年5月1日, all new and existing Lightsail instances that include a public IPv4 address will be subject to our revised pricing. IPv6-only instances are now available for workloads that do not require a public IPv4 address. 中文: 即将到来的公共IPv4地址费用 从2024年5月1日开始,所有包含公共IPv4地址的新的和现有的Lightsail实例都将适用我们修订...
阅读全文
+0°
xshell ssh登录 输入用户名和密码 sudo -i切换到root 再次输入用户名和密码 fdisk -l查看启动分区 Device Boot Start End Sectors Size Id Type /dev/sdd1 2048 4982527 4980480 2.4G fd Linux raid autode /dev/sdd2 4982528 9176831 4194304 2G fd Linux raid autode /dev/sdd3 9437184 29627391 20190208 9.6G fd Linux raid autode /dev/sdd4 * 9177088 9308159 131072 64M 83 Linux 可以看到boot列 为* 即是...
阅读全文
+0°
问题背景:家里VMware上一台centos7机器网卡起不来,检查网卡配置文件/etc/sysconfig/network-scripts/ifcfg-ens33没问题 尝试使用systemctl service network restart和systemctl restart network均是报错:Restarting network (via systemctl): Job for network.service failed because the control process exited with error code.See "systemctl status network.service" and "journalctl -xe" for details. 最终排查是Netwo...
阅读全文

×