部署 artifact jar...
Read More ⟶
部署 artifact jar 到maven中央仓库
使用python ssh 执行远程命令
python ssh 模块: paramiko
CentOS 组件安装:
yum install -y python-devel
yum install -y python-pip
yum install -y libffi-devel
pip install --upgrade pip
pip install paramiko
pip...
Read More ⟶
在windows7下安装php7和apache2.4
Windows 下
安装 VS2015
https://www.microsoft.com/zh-CN/download/details.aspx?id=48145
安装 Apache 2.4.18...
Read More ⟶
linux 安装 nginx
—- install nginx
# yum install -y httpd-devel pcre perl pcre-devel zlib zlib-devel GeoIP GeoIP-devel
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.36.tar.gz
wget...
Read More ⟶
iptables防火墙 只允许某IP访问某端口、访问特定网站
1.先备份iptables
# cp /etc/sysconfig/iptables...
Read More ⟶
flash 插件和独立播放器离线安装包下载地址
flash...
Read More ⟶
让JPA的Query返回Map对象
在JPA 2.0 中我们可以使用entityManager.createNativeQuery()来执行原生的SQL语句。...
Read More ⟶
为防火墙增加开放端口
/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
/etc/rc.d/init.d/iptables save
/etc/init.d/iptables restart
--centos 强制释放系统内存
# sysctl -w...
Read More ⟶
rsync服务的安装和使用
服务器端配置:
# yum -y install xinetd
# vi /etc/xinetd.d/rsync
将如下代码
service rsync
{
disable = yes
socket_type = stream
wait = no
user = root
server =...
Read More ⟶
redis安装和sentinel集群模式
install:
mkdir /data/download -p
cd /data/download
///You need tcl 8.5 or newer in order to run the Redis test
wget...
Read More ⟶