安装依赖 yum -y install policycoreutils openssh-server openssh-clients postfix 设置postfix开启自启并启动,postfix支持发信功能 systemctl enable postfix && systemctl start ...
分类:
其他好文 时间:
2020-02-08 14:09:47
阅读次数:
62
默认是使用本地Mock,如何和后端服务联调?默认是development模式,env.development内容如下: # just a flag ENV = 'development' # base api VUE_APP_BASE_API = '/dev-api' # vue-cli uses ...
分类:
其他好文 时间:
2020-02-08 13:57:44
阅读次数:
334
tomcat执行器(线程池)的优化 tomcat默认是没有启用线程池的,在tomcat中每一个用户请求都是一个线程,所以我们可以使用线程池来提高性能。tomcat的前段有一个调度线程,会将用户的请求放入线程池中,一定时间后线程池中的用户请求任务就变为工作线程。 1、开启线程池:打开server.xm ...
分类:
编程语言 时间:
2020-02-08 10:05:34
阅读次数:
63
``` 1.基本配置 配置dns解析或者hosts 关闭firewall selinux date -R ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime sudo echo 'LANG="en_US.UTF-8"' >> /etc/pr... ...
分类:
其他好文 时间:
2020-02-08 00:39:20
阅读次数:
73
freeradius 关联LDAP认证的配置文件为/etc/raddb/modules-enable/ldap文件中,如果增加过滤需要更改改文件的user{}里的filter部分: 举个例子添加rn=ra的过滤条件: 原来的表达式: filter = "(uid=%{%{Stripped-User- ...
分类:
其他好文 时间:
2020-02-08 00:29:21
阅读次数:
109
一、实验准备 使用HCL 跟VM、HCL 无法桥接到物理网卡,我使用VM 桥接到virtualbox 的网卡.ENSP跟GNS3 可以直接连接到物理网卡 网关配置在本地virtual 网卡 二、交换机配置: [H3C]info-center enable [H3C]info-center logho ...
分类:
Web程序 时间:
2020-02-07 18:35:04
阅读次数:
422
昨天某人使用SVN时,遇到这样的问题, Unable to connect to a repository at URL 'xxx'Error running context: An error occurred during authentication 解决办法: 0、如果你是win10系统,检 ...
分类:
Web程序 时间:
2020-02-07 10:47:49
阅读次数:
160
1.load sdk shell ./auto_load_user.sh 2.查看all端口状态 IVM:0>ifcs show devport 3.查看个别端口状态 IVM:0>ifcs show devport 6 4.enable/disable 端口 IVM:0>port enable 1- ...
分类:
其他好文 时间:
2020-02-06 20:07:51
阅读次数:
72
1.remote access control powerIpmitool -I lanplus -H 192.168.0.10 -U username -P Password chassis power offIpmitool -I lanplus -H 192.168.0.10 -U usern ...
分类:
其他好文 时间:
2020-02-06 14:35:44
阅读次数:
173
# 关闭 lightdm启动器 sudo systemctl disable lightdm # 重启即可看到效果 sudo shutdown -r now # 设置开机默认进入图形界面 sudo systemctl enable lightdm ...
分类:
其他好文 时间:
2020-02-06 11:01:37
阅读次数:
444