DOS命令:
查看当前mtu值:netsh interface ipv4 show subinterfaces
修改mtu值为1450:netsh interface ipv4 set subinterface “本地连接” mtu=1450 store=persistent
ps:”本地连接”代表你的网卡名。
simple-local-avatars
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/tangjiankang.top/wp-includes/functions.php on line 6114DOS命令:
查看当前mtu值:netsh interface ipv4 show subinterfaces
修改mtu值为1450:netsh interface ipv4 set subinterface “本地连接” mtu=1450 store=persistent
ps:”本地连接”代表你的网卡名。
命令格式:for /l %i in (181,1,209) do netsh interface ip add address “网卡名” 192.168.1.%i 255.255.255.0
如:for /l %i in (1,1,254) do netsh interface ip add address “本地连接” 192.168.1.%i 255.255.255.0
ps:(1,1,254)代表增加192.168.1.1到192.168.1.254整个段
192.168.1.%i代表这个段
255.255.255.0网关
例:
开放80端口:firewall-cmd –zone=public –add-port=80/tcp –permanent
重启:systemctl restart firewalld.service
1.centos6单用户模式:
开机任意键;e, kernel; e;空格键入 1 or s or S or single,回车; b 。
2.centos 7破解密码:
开机任意键; e,将 ro 改为 rw init=/sysroot/bin/sh,ctrl+x;
依次输入:chroot /sysroot 回车,passwd root 回车 ,touch /.autorelabel,exit,reboot
3.ubuntu修改root密码:
ESC -recovery mode 键入e–把ro recovery nomodeset 改成rw single init=/bin/bash,F10
。。。
关闭端口:netsh advfirewall firewall add rule name=”规则名” dir=in protocol=tcp localport=端口号1,端口号2,端口号3…. action=block
打开端口:netsh advfirewall firewall add rule name=”规则名” dir=in protocol=tcp localport=端口号1,端口号2,端口号3…. action=allow
附2003/2012安装密钥:
2003:FJ8DH-TQPYG-9KFHQ-88CB2-Y7V3Y
2012:NB4WH-BBBYV-3MPPC-9RCMV-46XCB(standard)
BH9T4-4N7CW-67J3M-64J36-WW98Y(Datacenter)