- 博客(8)
- 收藏
- 关注
原创 Tomcat memcached-session-manager
项目地址 https://code.google.com/archive/p/memcached-session-manager/ Sticky Session, Non Sticky Session解释: A tomcat high-availability solution that additionally stores sessions in a memcached comp
2017-04-21 17:50:17 362
原创 linux sheel command
tee 命令详解 功能说明:读取标准输入的数据,并将其内容输出成文件 语 法:tee [-ai][--help][--version][文件...] linux | 命令详解 利用Linux所提供的管道符“|”将两个命令隔开,管道符左边命令的输出就会作为管道符右边命令的输入 $? 最后运行的命令的结束代码(返回值) echo -e 处理特殊字符 单引
2017-04-12 10:37:17 254
原创 centos7 yum mysql5.7 install
卸载centos7默认安装的MariaDB,因为和mysql有冲突 #rpm -qa | grep maria mariadb-libs-5.5.52-1.el7.x86_64 #yum remove mariadb-libs -y 下载最新的mysql官方yum源 https://dev.mysql.com/downloads/repo/yum/ 安装:yum l
2017-04-09 10:47:22 690
原创 linux Git maven Tomcat自动部署脚本
#define env export JAVA_HOME=/root/installer/jdk/jdk1.8.0_91 export MAVEN_HOME="/root/maven/apache-maven-3.3.9" export GIT_URL="[email protected]:summerzhang/pure-operation.git" export GIT_REPO=
2017-04-07 13:52:54 791
原创 linux git ssh配置
安装git 配置 git config --global user.name "" git config --global user.email "" 生成密钥 ssh-keygen -t rsa -C "[email protected]" 连续三次回车,如果不需要密码的话 最后在用户根目录下,看到.ssh/下有id_rsa, id_rsa.pub 把id_
2017-04-07 10:30:54 499
原创 linux crontab简单使用
服务启动停止 service crond start service crond stop service crond restart 查看状态 crontab -l 编辑root用户crontab crontab -u root -e 删除 crontab -r
2017-04-07 00:50:15 265
原创 linux 自动获取FTP服务器文件shell
#/bin/bash echo "zg ftp file audto download start" GET_DATE=`date -d '1 days ago' +%Y%m%d` GET_DIR=/home/weihu/zg-ftp-file/txt-file IP_ADDRESS=172.30.35.5 USER_NAME=rxc_ftp USER_PWD=ZGXT
2017-04-07 00:39:22 2257
原创 centos7 NFS服务安装和使用
NFS服务器端( 10.102.45.38 ): yum -y install nfs-utils rpcbind 启动NFS服务: service rpcbind start service nfs start vim /etc/exports 配置如下: /home/weihu/share/ 10.102.45.*(rw,sync,no_root_squash,n
2017-04-04 16:51:28 1920
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人