openvpn中server.conf和client.conf配置文件详解

Server使用的配置文件server.conf—————————–#申明本机使用的IP地址,也可以不说明;local a.b.c.d#申明使用的端口,默认1194port 1194#申明使用的协议,默认使用UDP,如果使用HTTP proxy,必须使用TCP协议;proto tcpproto udp#申明使用的设备可选tap和tun,tap是二层设备,支持链路层协议。#tun是ip层的点对点协议
阅读全文

还原大备份mysql文件失败的解决方法

设置以下几个参数的值后就正常了,以下语句也可以在mysql的控制台上执行 .show variables like '%timeout%';show variables like '%packet%';set global max_allowed_packet=99328000;set global wait_timeout=2880000;set global i
阅读全文

mysql 报错This function has none of DETERMINISTIC解决方案

本文章向朋友们介绍开启bin-log日志mysql报错:This function has none of DETERMINISTIC, NO SQL解决办法,创建存储过程时出错信息:ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration an
阅读全文

多网卡指定IP分别访问网卡(windows添加静态路由)

两个网卡已经设置好优先级有两块网卡,网段分别是192.168.10 和 192.168.1,需要指定通过192.168.1 网段访问 172.25.100.125, 这样设置下就好:route add 172.25.100.125 mask 255.255.255.255 192.168.1.1 route add 192.1
阅读全文

解决Windows Server 2022 安装后无法使用无线与音频 问题

1.无线运行powershell,输入命令:install-windowsfeature Wireless-Networking之后重启。运行cmd输入:sc config WlanSvc start= auto && sc start Audiosrv2.音频服务运行cmd输入:sc config Audiosrv start= auto&
阅读全文

PVE虚拟主机无法关机或者无法重启解决办法

如果第一次安装使用,发现虚拟机无法通过后台的关机按钮关机或者重启很有可能是开启了 QEMU 功能,这个是虚拟机的一个管理软件1)如果是Linux ,如 centos,需要在centos中安装qemu-guest-agentyum install qemu-guest-agent -y service qemu-guest-agent start安
阅读全文

常用ADB命令

adb devices查看连接计算机的设备adb install<apkfile>安装apkadb install-r<apkfile>覆盖安装adb install-s<apkfile>把apk安装到sd卡adb uninstall<packagename>卸载APKadb uninstall-k<packagename>卸载app但保
阅读全文

PS允许未签名脚本

管理员身份打开PowerShell输入命令set-executionpolicy remotesigned
阅读全文

ERROR command failed: pnpm install --reporter silent --shamefully-hoist @vue/cli-service

npm i pnpm@6 -g Using the PNPM 7.x version causes an error, PNPM 6.32.14 can successfully create a project
阅读全文

linux下防火墙常用命令

1、查看防火墙状态systemctl status firewalld 2、如果不是显示active状态,需要打开防火墙systemctl start firewalld3、# 查看所有已开放的临时端口(默认为空)# firewall-cmd --list-ports# 查看所有永久开放的端口(默认为空)# firewall-cmd --list-ports --permanent# 添
阅读全文