摘要: root> show configuration | display set 配置按set行显示,查看的配置为未commit的配置(commit check)root# set system services ssh 全局开启SSH服务root# set system root-authentica 阅读全文
posted @ 2017-12-07 14:53 風£飛 阅读(593) 评论(0) 推荐(0)
摘要: 1、邮件发送配置[root@Zabbix ~]# yum -y install mail #如有mail命令则不用安装[root@Zabbix ~]# vim /etc/mail.rc# Display the recipients of messages sent by the user hims 阅读全文
posted @ 2017-12-07 14:21 風£飛 阅读(398) 评论(0) 推荐(0)
摘要: 更改squid错误页面时间不对的问题解压源码包,进入此路径/usr/local/squid/share/errors/zh-cn(需要更改该目录下的所有文件find -type f |xargs sed -i 's#%T#%t#g'),编辑ERR_ACCESS_DENIED文件 Squid命令常用参 阅读全文
posted @ 2017-12-07 11:38 風£飛 阅读(795) 评论(0) 推荐(0)
摘要: https://www.bhzhu203.com/2016/11/11/centos%E5%AE%89%E8%A3%85cisco-ipsec-vpn%E6%96%B9%E5%BC%8F/http://sunweiwei.com/1948/ Point_to_Point_IPSEC配置Cisco_R 阅读全文
posted @ 2017-12-07 11:34 風£飛 阅读(26) 评论(0) 推荐(0)
摘要: 1. 设置IP地址、网关ee /etc/rc.conf ifconfig_em0="inet 192.168.21.173 netmask 255.255.255.0" #设置IP地址,子网掩码defaultrouter="192.168.21.2" #设置网关hostname="FreeBSD" 阅读全文
posted @ 2017-12-07 11:11 風£飛 阅读(686) 评论(0) 推荐(0)
摘要: FreeBSD路由协议配置root@BSD:~ # pkg install quaggaroot@BSD:/usr/local/share/examples/quagga # lsbgpd.conf.sample ospfd.conf.sample vtysh.conf.samplebgpd.con 阅读全文
posted @ 2017-12-07 10:54 風£飛 阅读(17) 评论(0) 推荐(0)
摘要: FreeBSD使用手册 root@BSD:~ # bsdconfig root@BSD:~ # bsdinstallroot@BSD:~ # ee /etc/ssh/sshd_config #开启root用户密码登陆PermitRootLogin yesPasswordAuthentication 阅读全文
posted @ 2017-12-07 10:51 風£飛 阅读(635) 评论(0) 推荐(0)
摘要: 1、下载需要的echo模块https://github.com/openresty/echo-nginx-module/tags# wget https://github.com/openresty/echo-nginx-module/archive/v0.60.tar.gz# tar zxvf v 阅读全文
posted @ 2017-12-07 10:42 風£飛 阅读(1673) 评论(0) 推荐(0)