摘要:
配置服务器的三步:第1步:设置静态IP第2步:更改主机名第3步:关闭防火墙和selinuc# 清除防火墙配置,并停止# iptables -F --临时清除防火墙# /etc/init.d/iptables stop --停止防火墙服务# chkconfig iptables off --设置防火墙 阅读全文
摘要:
Shell自动 Mkdir -p /service/scripts/ 放置脚本的位置 脚本的必须的因素 1 脚本名字需要以.sh结尾命名 2脚本里的第一行必须写 #!/bin/bash 执行脚本的倆种方法 1sh或bash命令激活脚本 2给脚本可执行的x权限 chmod +x 然后以脚本绝对路径的方 阅读全文