- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 centOS7 iptables防火墙配置脚本
#先检查是否安装了iptables service iptables status if [ $? -eq 0 ]; then echo "已安装了iptables" else #安装iptables yum install -y iptables #安装iptables-services yum install iptables-services #禁用/停止自带的firewall
2017-07-25 12:58:00 1013
原创 Shell脚本 centOS7中自动安装Tomcat7
#切换 sduo su tomcat_dir="/usr/local/tomcat" #创建tomcat文件夹 if [ ! -d "$tomcat_dir" ]; then mkdir $tomcat_dir fi cd $tomcat_dir #远程获取tomcat if [ ! -d "apache-tomcat-7.0.79.tar.gz" ]; then wget https
2017-07-25 08:33:32 379 1
原创 Shell脚本 centOS7中自动安装JDK
#切换到root权限 sudo su #create java dir java_file="/usr/local/java" if [ ! -d "$java_file" ]; then mkdir $java_file fi cd /usr/local/java if [ ! -f "jdk-8u131-linux-x64.tar.gz" ]; then wget --no...
2017-07-24 13:27:24 4787 2
第三方和包支付的实现
2015-08-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人