西风古道

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2017年5月9日

摘要: [root@localhost ~]# rpm -qa | grep quota quota-3.17-23.el6.x86_64 [root@localhost ~]# vgs VG #PV #LV #SN Attr VSize VFree VolGroup 2 3 0 wz--n- 97.65g 16.82g vms 2 2 ... 阅读全文
posted @ 2017-05-09 13:42 西风古道 阅读(212) 评论(0) 推荐(0) 编辑

2017年5月5日

摘要: CentOS6.8 min OpenLDAP 2.4.40 shell>yum install openldap* //直接使用yum方式安装 shell>iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 389 -j ACCE 阅读全文
posted @ 2017-05-05 10:49 西风古道 阅读(355) 评论(0) 推荐(0) 编辑

2017年4月26日

摘要: CentOS6.8 min 阅读全文
posted @ 2017-04-26 15:40 西风古道 阅读(116) 评论(0) 推荐(0) 编辑

2017年4月21日

摘要: https://www.broadcom.com/site-search?q=storcli shell>./storcli64 show ##查看控制器索引号 Ctl,当前为0 shell>./storcli64 /c0 show ##可查看Virtual Drives与Physical Driv 阅读全文
posted @ 2017-04-21 11:12 西风古道 阅读(804) 评论(0) 推荐(0) 编辑

2017年4月18日

摘要: ##将IP分割并存入arr数组shell>IP="192.168.2.1" shell>arr=($(echo $IP | awk -F. '{print $1,$2,$3,$4,$1"."$2"."$3}')) ##显示数组长度 shell>echo ${#arr[@]} ##显示数组的全部内容 shell>echo ${arr[@]} ##显示数组某下标内容 shell>echo ${arr... 阅读全文
posted @ 2017-04-18 13:26 西风古道 阅读(106) 评论(0) 推荐(0) 编辑

2017年4月13日

摘要: 代码摘录自网络,可参考 此处使用spring-mvc 阅读全文
posted @ 2017-04-13 14:02 西风古道 阅读(806) 评论(0) 推荐(0) 编辑

2017年3月22日

摘要: shell>wget http://download.redis.io/redis-stable.tar.gz shell>tar xvf redis-stable.tar.gz shell>mv redis-stable /usr/local/src shell>cd /usr/local/src/redis-stable shell>make shell>make install shel... 阅读全文
posted @ 2017-03-22 10:01 西风古道 阅读(100) 评论(0) 推荐(0) 编辑

2017年3月20日

摘要: org.springframework.boot spring-boot-starter-data-redis org.springframework.session spring-session import org.springframework.context.annotation.Configuration; import org.spring... 阅读全文
posted @ 2017-03-20 13:58 西风古道 阅读(135) 评论(0) 推荐(0) 编辑

2017年3月15日

摘要: spring boot 配置数据源 第一种使用DriverManagerDataSource 第二种 使用配置文件 在application.properties中添加: 第三种 直接使用数据连接池c3p0 在application.properties中添加: 阅读全文
posted @ 2017-03-15 10:04 西风古道 阅读(452) 评论(0) 推荐(0) 编辑

2017年3月14日

摘要: samba允许匿名用户访问 阅读全文
posted @ 2017-03-14 10:43 西风古道 阅读(562) 评论(0) 推荐(0) 编辑