摘要: linix CentOS7的防火墙换成了firewall了,这里做一些记录,下面是一些命令:添加例外端口:# firewall-cmd --add-port=8080/tcp删除例外端口:# firewall-cmd --remove-port=8080/tcp查看例外端口:# firewall-c 阅读全文
posted @ 2017-12-18 19:06 暗渡陈仓xy 阅读(2357) 评论(0) 推荐(0)
摘要: CentOS 配置防火墙操作实例(启、停、开、闭端口):注:防火墙的基本操作命令:查询防火墙状态:[root@localhost ~]# service iptables status停止防火墙:[root@localhost ~]# service iptables stop启动防火墙:[root 阅读全文
posted @ 2017-12-18 14:10 暗渡陈仓xy 阅读(3719) 评论(0) 推荐(0)
摘要: centOS 6.5关闭防火墙步骤 关闭命令: service iptables stop 永久关闭防火墙:chkconfig iptables off 两个命令同时运行,运行完成后查看防火墙关闭状态 service iptables status 阅读全文
posted @ 2017-12-18 14:04 暗渡陈仓xy 阅读(20558) 评论(0) 推荐(0)
摘要: linux配置java环境变量(详细) 一. 解压安装jdk 在shell终端下进入jdk-6u14-linux-i586.bin文件所在目录, 执行命令 ./jdk-6u14-linux-i586.bin 这时会出现一段协议,连继敲回车,当询问是否同意的时候,输入yes,回车。之后会在当前目录下生 阅读全文
posted @ 2017-12-18 13:57 暗渡陈仓xy 阅读(2083) 评论(0) 推荐(0)