码迷,mamicode.com
首页 >  
搜索关键字:chkconfig    ( 1438个结果
samba4.8配置windows共享目录
一、安装 安装:yum install samba 设置开机自启:chkconfig --level 3 smb on 开启服务:service smb start 测试: 点击确定后弹出登录对话框,表示安装和服务启动成功。 二、更改配置文件 打开配置文件:vim /etc/samba/smb.co ...
分类:Windows程序   时间:2019-01-06 12:02:19    阅读次数:240
memcached的安装
如果没出现这个界面,那么就需要安装memcache数据库。 在centos下安装也是非常简单的。 yum -y install memcached 该命令用来安装memcached,不必关心其中各个安装包之间的依赖。命令执行结果如下图所示: 配置memcache数据库参数: 1、chkconfig ...
分类:系统相关   时间:2019-01-06 11:19:19    阅读次数:210
centos6+如何对外开放80,3306端口号或者其他端口号
1.查看防火墙对外开放了哪些端口 2.centos6.0防火墙操作: 配置文件:/etc/sysconfig/iptables 开启某个端口号有两种方式:一种是命令方式,一种是修改配置文件方式 查看防火墙状态:chkconfig iptables --list 开启防火墙(重启后永久生效):chkc ...
分类:其他好文   时间:2019-01-03 20:10:35    阅读次数:216
CentOS 7.0设置防火墙
CentOS 7.0设置防火墙 CentOS 7.0默认使用的是firewall作为防火墙, 使用systemctl来管理服务和程序,包括了service和chkconfig 1、查看默认防火墙状态(关闭后显示not running,开启后显示running) [root@localhost ~] ...
分类:其他好文   时间:2019-01-01 18:56:26    阅读次数:254
centos7 常用防火墙命令(转)
1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 : ...
分类:其他好文   时间:2018-12-25 11:26:47    阅读次数:131
nginx
#!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # description: NGINX is an HTTP(S) server, HTTP(S) reverse ... ...
分类:其他好文   时间:2018-12-23 11:01:49    阅读次数:130
elasticsearch启动脚本
#!/bin/sh#chkconfig: 2345 80 05#description: elasticsearch export JAVA_HOME=/usr/local/javaexport JRE_HOME=/usr/local/java/jreexport CLASSPATH=.:$JAVA ...
分类:其他好文   时间:2018-12-17 18:59:44    阅读次数:208
Linux 部署或升级openssh
运维Linux系统,部署或升级openssh是经常面临的事,以下已redhat6和redhat7为例。 在redhat6中部署openssh会有什么坑,在编辑openssh源码包时会报一些类似的错误,如下: checking OpenSSL header version... 10000003 (O ...
分类:系统相关   时间:2018-12-17 11:45:35    阅读次数:449
hadoop 的HA集群搭建
1.关闭防火墙 1.1 查看防火墙状态 service iptables status 1.2 关闭防火墙 service iptables off 1.3 关闭防火墙开机启动 chkconfig iptables off 2.关闭selinux vi /etc/selinux/config 将 S ...
分类:其他好文   时间:2018-12-12 00:20:48    阅读次数:174
计划任务
一,循环执行 1、crond服务管理与访问控制 service crond restart chkconfig crond on 2、用户的crontab设置 crontab [选项] 选项: -e: 编辑crontab定时任务 -l: 查询crontab任务 -r: 删除当前用户所有的cronta ...
分类:其他好文   时间:2018-12-11 19:52:57    阅读次数:226
1438条   上一页 1 ... 18 19 20 21 22 ... 144 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!