如何自己加入脚本并可用chkconfig查看 设置文件名为:case.sh #!/bin/bash#chkconfig: 35 90 10 在三和五模式中开启 . /etc/init.d/functions case $1 in start) action "服务开始启动.." /bin/true ...
分类:
其他好文 时间:
2018-11-02 21:50:37
阅读次数:
177
一 NFS常见服务管理1.1 启动NFS 1 [root@imxhy ~]# systemctl start nfs #CentOS7.x系列启动 2 3 [root@imxhy ~]# service nfs start #CentOS6.x系列启动1.2 状态查看 1 [root@imxhy ~... ...
分类:
其他好文 时间:
2018-11-01 13:38:19
阅读次数:
167
# 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # 永久关闭防火墙 chkconfig ip ...
分类:
其他好文 时间:
2018-11-01 11:40:01
阅读次数:
354
在linux下我们一般是需要了解我们的进程的状态的. 我们以mysql为例 service mysqld status 我这里是启动状态,可以看见pid chkconfig list +你的服务 可以看见是启动的,有on状态 pidof +你的服务 可以看见pid,说明,此时,mysql服务正在运行 ...
分类:
系统相关 时间:
2018-10-31 15:44:00
阅读次数:
216
1.查询防火墙状态 service iptables status 2.开启防火墙 service iptables start 3.关闭防火墙 service iptables stop 4.重启防火墙 service iptables restart 5.永久关闭防火墙 chkconfig ip ...
分类:
其他好文 时间:
2018-10-30 13:20:30
阅读次数:
144
PXE自动装机 因为自动装机没有IP地址需要使DHCP分发一个IP地址 TFTP就是FTP的一个变种 PXE自动装机需要桌面模式 假如不是桌面模式安装的PXE需要安装桌面模式软件包 yum groupinstall "Desktop" PXE搭建流程 准备CentOS6安装源 mount /dev/ ...
分类:
其他好文 时间:
2018-10-28 23:01:01
阅读次数:
212
现代Java服务端开发核心技术之分布式数据库中间件MyCAT入门 现代Java服务端开发核心技术 MyCAT系统环境搭建 如下列表展示了搭建MyCAT运行时环境所需要的软件及其版本说明。 软件名称软件版本 os centos7.5 JDK JDK1.8u191 MySQL MySQL5.7 Myca ...
分类:
数据库 时间:
2018-10-28 13:44:49
阅读次数:
260
1。临时关闭防火墙 service iptables stop (chkconfig iptables off) 临时selinux: setenforce 0 永久关闭selinux: vim /etc/sysconfig/selinux 将 SELINUX=disabled 2. 加载httpd ...
分类:
Web程序 时间:
2018-10-28 11:27:35
阅读次数:
145
克隆VMware 1、 关闭防火墙 2、 关闭selinux 3、 删除UUID和Mac地址 4、清空网卡缓存 5、关机 关闭防火墙 #service iptables stop #chkconfig iptables off 关闭selinux #setenforce 0 #vim /etc/sy ...
分类:
系统相关 时间:
2018-10-23 14:57:00
阅读次数:
143