1 先查询防火墙状态 /etc/init.d/iptable status 2 关闭防火墙 /etc/init.d/iptable stop (执行2次怕1次关不上) 3 查看是否开机自动启动 (数字3项) [root@oldboy-09 ~]# chkconfig | grep iptables ...
分类:
系统相关 时间:
2019-01-25 11:48:21
阅读次数:
170
安装FTP软件 查看软件是否安装 上述表示已经安装了vsftpd软件 安装软件 使用rpm或者yum安装vsftpd*文件 具体安装方法请参考yum安装 修改运行环境 关闭并禁用防火墙 service iptables stop #关闭防火墙,但是重启不生效 chkconfig iptables .... ...
分类:
其他好文 时间:
2019-01-25 01:12:01
阅读次数:
200
1、环境介绍 服务器:CentOS 6.8 其中:2 台 namenode、3 台 datanode JDK:jdk-8u191-linux-x64.tar.gz hadoop:hadoop-3.1.1.tar.gz 节点信息: 2、配置hosts ...
分类:
其他好文 时间:
2019-01-24 00:33:28
阅读次数:
197
CentOS6关闭防火墙使用以下命令, //临时关闭service iptables stop//禁止开机启动chkconfig iptables off CentOS7中若使用同样的命令会报错, stop iptables.serviceFailed to stop iptables.servic ...
分类:
其他好文 时间:
2019-01-23 21:31:24
阅读次数:
188
Linux命令service - 系统服务管理(转) Linux命令service - 系统服务管理(转) 用途说明 service命令用于对系统服务进行管理,比如启动(start)、停止(stop)、重启(restart)、查看状态(status)等。相关的命令还包括chkconfig、ntsys ...
分类:
其他好文 时间:
2019-01-19 20:05:35
阅读次数:
542
```shell
#!/bin/bash
#
# nginx Start nginx # chkconfig: - 85 15
# description: The nginx is an efficient web server
# processname: nginx
# config: /us... ...
分类:
其他好文 时间:
2019-01-18 17:27:37
阅读次数:
195
1、 启动VSFTP服务器 A:cenos下运行:yum install vsftpd B. 登录Linux主机后,运行命令:”service vsftpd start”C. 要让FTP每次开机自动启动,运行命令: “chkconfig --level 35 vsftpd on” 2、设置FTP权限 ...
分类:
系统相关 时间:
2019-01-16 16:49:04
阅读次数:
180
安装步骤 点击下一步,如下图; 接上图; 接上图; 接上图 接上图; 接上图; 接上图; 接上图 接上图; 接上图; 接上图; 接上图; 接上图; 接上图; 点击 完成; 启动虚拟机进行安装; 发现报错: Determing IP information for eth0...failed;no l ...
分类:
系统相关 时间:
2019-01-14 14:47:32
阅读次数:
242
1.永久性生效,重启后不会复原 开启: chkconfig iptables on 关闭: chkconfig iptables off 2.即时生效,重启后复原 开启: service iptables start 关闭: service iptables stop 3.在不关闭防火墙的情况下选择 ...
分类:
系统相关 时间:
2019-01-13 14:24:46
阅读次数:
228
一、cron是开机自动启动的 [root@localhost ~]# chkconfig --list | grep "cron" crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off 可以看到 crond 在系统的3级别是自动启动的。3级、5级是常用的级别 [ro ...
分类:
其他好文 时间:
2019-01-13 14:24:39
阅读次数:
269