- 博客(4)
- 资源 (4)
- 收藏
- 关注
原创 Jetty安装脚本
#!/bin/bash#the script is how to install the jettyecho $1 $2 $3if [ $1 = "" ] || [ $2 = "" ] || [ $3 = "" ];then echo "error:Input the correct variables" exit else
2012-01-06 10:54:29 379
原创 Linux下ifconfig配置IP地址
静态修改方式:编辑文件/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0 //设备名称BOOTPROTO=static //获得IP的方式或依赖的协议,可以是static/dhcp/bootpBROADCAST=10.10.22.255 //广播地址,一般为本网段的最后一个IPIPADDR=10.10.22.145 //
2011-12-30 10:22:04 5686
原创 nginx基础配置
1.安装 nginx在安装之前首先要安装pcre-7.9.tar.gz # tar zxvf pcre-7.9.tar.gz # cd pcre-7.9 # ./configure # make && make install安装nginx # tar zxvf nginx-0.7.61.tar.gz # cd
2011-12-08 10:38:54 487
原创 python SSH登录远程主机脚本实例
刚学习python写的玩的,通过输入ip地址,关闭远程主机#!/usr/bin/env python import paramiko hostname = raw_input("Hostname : ")username = 'username' password = 'password' #port=22 if __name__=='__mai
2011-12-05 17:23:51 1847
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人