使用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 ⟶

让JPA的Query返回Map对象

在JPA 2.0 中我们可以使用entityManager.createNativeQuery()来执行原生的SQL语句。...
Read More ⟶

当迷茫在高校里泛滥成灾

当迷茫在大学里泛滥成灾》——李开复 ...
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 ⟶