自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

chkconfig httpd添加方法推薦

運維 系統(tǒng)運維
本篇報道向大家介紹了chkconfig httpd添加方法,希望對大家學習chkconfig httpd方面有所幫助,以下是此方法的具體實現(xiàn)

本篇報道向大家介紹了chkconfig httpd添加方法,希望對大家學習chkconfig httpd方面有所幫助,以下是此方法的具體實現(xiàn) 。

修改你的/etc/init.d/httpd腳本 在開始處#!/bin/bash之后的行后
插入
# chkconfig: 345 61 61
# description:Apache httpd
#符號不能去掉

啟用方法一:運行ntsysv 選中 httpd,就可以了

啟用方法二:
1、添加chkconfig httpd服務(wù):
[root@localhost ~]# chkconfig –add httpd
2、查看chkconfig httpd服務(wù):[root@localhost ~]# chkconfig –list|grep httpd
httpd 0:關(guān)閉 1:關(guān)閉 2:關(guān)閉 3:關(guān)閉 4:關(guān)閉 5:關(guān)閉 6:關(guān)閉
3、開機時自動運行httpd服務(wù):
[root@localhost ~]# chkconfig –level 345 httpd on
4、查看chkconfig httpd服務(wù)狀態(tài):
[root@localhost ~]# chkconfig –list|grep httpd
httpd 0:關(guān)閉 1:關(guān)閉 2:關(guān)閉 3:啟用 4:啟用 5:啟用 6:關(guān)閉

【編輯推薦】

  1. 輕松掌握Linux chgrp與chown命令 
  2. Linux Cat命令深度用法實例說明
  3. Linux Cat命令實際應用詳解
  4. Linux Cat命令三大主要功能詳解
  5. 詳解Linux chgrp和chown命令的用法


 

責任編輯:chenqingxiang 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-06-24 17:57:45

chkconfig h

2010-06-24 17:37:59

服務(wù)不支持chkcon

2010-06-11 11:28:39

Linux流量監(jiān)控

2010-06-21 16:33:08

Linux Arch

2023-11-30 16:29:16

PostgreSQL數(shù)據(jù)庫Kubernetes

2010-06-24 17:14:16

Linux chkco

2010-06-24 17:29:03

chkconfig 工

2010-06-24 17:45:04

suse chkcon

2010-05-31 16:42:42

SVN權(quán)限配置

2010-06-24 17:42:08

服務(wù)不支持chkcon

2010-06-24 17:32:10

chkconfig用法

2010-10-08 11:52:29

2010-05-24 14:50:20

Swap space

2009-12-03 16:21:51

網(wǎng)上Suse添加字體

2021-04-27 15:20:41

人工智能機器學習技術(shù)

2010-06-24 17:04:24

Linux chkco

2009-12-02 20:02:18

PHP實現(xiàn)頁面跳轉(zhuǎn)

2009-09-16 16:36:36

CCNA考試

2009-12-08 14:02:25

Windows 7小工

2010-04-06 16:12:25

Oracle約束
點贊
收藏

51CTO技術(shù)棧公眾號