<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    海上月明

    editer by sun
    posts - 162, comments - 51, trackbacks - 0, articles - 8
       :: 首頁 :: 新隨筆 ::  :: 聚合  :: 管理

    apache 2.2 中的命令行啟動服務幫助

    Posted on 2007-01-13 11:35 pts 閱讀(4291) 評論(0)  編輯  收藏

    You can install Apache as a Windows NT service as follows from the command prompt at the Apache bin subdirectory:

    httpd -k install

    If you need to specify the name of the service you want to install, use the following command. You have to do this if you have several different service installations of Apache on your computer.

    httpd -k install -n "MyServiceName"

    If you need to have specifically named configuration files for different services, you must use this:

    httpd -k install -n "MyServiceName" -f "c:\files\my.conf"

    If you use the first command without any special parameters except -k install, the service will be called Apache2 and the configuration will be assumed to be conf\httpd.conf.

    Removing an Apache service is easy. Just use:

    httpd -k uninstall

    The specific Apache service to be uninstalled can be specified by using:

    httpd -k uninstall -n "MyServiceName"

    Normal starting, restarting and shutting down of an Apache service is usually done via the Apache Service Monitor, by using commands like NET START Apache2 and NET STOP Apache2 or via normal Windows service management. Before starting Apache as a service by any means, you should test the service's configuration file by using:

    httpd -n "MyServiceName" -t

    You can control an Apache service by its command line switches, too. To start an installed Apache service you'll use this:

    httpd -k start

    To stop an Apache service via the command line switches, use this:

    httpd -k stop

    or

    httpd -k shutdown

    You can also restart a running service and force it to reread its configuration file by using:

    httpd -k restart

    By default, all Apache services are registered to run as the system user (the LocalSystem account). The LocalSystem account has no privileges to your network via any Windows-secured mechanism, including the file system, named pipes, DCOM, or secure RPC. It has, however, wide privileges locally.


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 99精品视频免费观看| 美女巨胸喷奶水视频www免费| 亚洲毛片在线免费观看| 亚洲AV无码一区二区二三区软件| 国产精品美女久久久免费| 在线亚洲精品自拍| 好男人资源在线WWW免费| 亚洲国产美女精品久久久久∴| 日韩电影免费在线观看网站| 国产成人亚洲综合无码精品| 久久免费视频精品| 亚洲综合日韩中文字幕v在线 | 国产福利免费观看| 国产亚洲精品欧洲在线观看| 亚洲精品一级无码鲁丝片| 99视频在线免费观看| 亚洲日韩图片专区第1页| 免费A级毛片无码无遮挡内射| 久久亚洲最大成人网4438| 国产精品公开免费视频| 美女视频免费看一区二区| 亚洲一区二区三区偷拍女厕 | a毛片免费在线观看| 久久亚洲sm情趣捆绑调教| 在线视频观看免费视频18| 在线播放亚洲精品| 亚洲av之男人的天堂网站| 无码国产精品一区二区免费| 亚洲av无码一区二区三区人妖| 在线播放亚洲第一字幕| 色老头永久免费网站| 怡红院亚洲红怡院在线观看| 国产亚洲精久久久久久无码| 日韩亚洲国产高清免费视频| 免费高清A级毛片在线播放| 亚洲AV综合色区无码一区| 和日本免费不卡在线v| 九九免费观看全部免费视频| 亚洲精品在线播放| 亚洲男人天堂2020| 4399好看日本在线电影免费|