.bashrc环境变量重启后失效
问题现象1. 首次增加环境变量后执行source ~/.bashrc使用正常2. 系统重启后失效,需要再次执行source ~/.bashrc解决方法在.bash_profie中增加# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ] ; then
source .bashrc
fi然后sou...
阅读全文
问题现象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
阅读全文
修改/etc/lftp.conf,增加set net:timeout 5
set net:max-retries 3
set net:reconnect-interval-base 5
阅读全文
GitHub:https://github.com/okand/zabbix-whois-expiry环境要求Python3(模块:py-zabbix、python-whois)下载以下文件域名whois检查脚本zabbix-whois-check.py自动发现脚本zabbix-whois-discovery.py监控模板zabbix-whois-template.xml1. 检查Zabbi...
阅读全文
第三方方案GitHub:https://github.com/selivan/https-ssl-cert-check-zabbix本次使用的是单主机多域名SSL监控,所以从advanced目录进行下载basic为单主机单域名监控,需要在主机配置中定义宏,其他与advanced类似下载以下文件SSL检查脚本ssl_cert_check.sh多域名配置ssl_cert_list用户参数配置us...
阅读全文