Linux添加静态路由
添加/删除路由单IProute add -host 172.16.1.1 gw 192.168.0.2
route add -host 172.16.1.1 dev eth0
route del -host 172.16.1.1网段route add -net 172.16.1.0/24 gw 192.168.0.2
route add -net 172.16.1.0 netmask 255...
阅读全文
添加/删除路由单IProute add -host 172.16.1.1 gw 192.168.0.2
route add -host 172.16.1.1 dev eth0
route del -host 172.16.1.1网段route add -net 172.16.1.0/24 gw 192.168.0.2
route add -net 172.16.1.0 netmask 255...
阅读全文
安装unixodbcCentOSyum install unixodbc
yum install unixodbc-develDebianapt install unixodbc
apt install unixodbc-dev重新编译Zabbix增加参数--with-unixodbc安装Microsoft ODBC 18下载rpm或者deb包,手动安装https://learn.micro...
阅读全文
现象虚拟机文件已经不存在,虚拟机列表中残留有无效的项目,无法直接从清单中移除解决方法进入hostd目录cd /etc/vmware/hostd查找无效的虚拟机vim-cmd vmsvc/getallvms如下,291、292、293就是无效虚拟机的编号Skipping invalid VM '291'
Skipping invalid VM '292'...
阅读全文
问题现象1. 首次增加环境变量后执行source ~/.bashrc使用正常2. 系统重启后失效,需要再次执行source ~/.bashrc解决方法在.bash_profie中增加# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ] ; then
source .bashrc
fi然后sou...
阅读全文
问题现象有次升级后出现的问题,语言栏出现“英语(美国) 美式键盘”,实际系统语言并未添加英语,添加英语后再删除,语言栏恢复正常,重启系统后问题依旧解决方法删除或重命名注册表项HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000409
阅读全文