<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 中的命令行啟動服務(wù)幫助

    Posted on 2007-01-13 11:35 pts 閱讀(4290) 評論(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.


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


    網(wǎng)站導航:
     
    主站蜘蛛池模板: 国产亚洲精品xxx| 亚洲尤码不卡AV麻豆| 亚洲中文字幕无码av在线| 久99久精品免费视频热77| 亚洲激情中文字幕| 中文字幕免费高清视频| 亚洲黄色网址大全| 7x7x7x免费在线观看| 亚洲jjzzjjzz在线观看| 18禁止观看免费私人影院| 亚洲乱码一二三四区乱码| 午夜时刻免费入口| 美女被爆羞羞网站在免费观看| 亚洲&#228;v永久无码精品天堂久久| 美女露隐私全部免费直播| 亚洲中文字幕丝袜制服一区| 精品熟女少妇aⅴ免费久久| 亚洲av色影在线| 日韩免费一区二区三区在线| 亚洲人成人伊人成综合网无码| 亚洲JIZZJIZZ中国少妇中文| 中国一级特黄的片子免费 | 黑人精品videos亚洲人| 午夜无码A级毛片免费视频| 亚洲一区二区三区播放在线| 国产精品二区三区免费播放心| 国产精品美女久久久免费| 亚洲av无码乱码国产精品| 日韩av无码成人无码免费| 污网站在线观看免费| 精品无码一区二区三区亚洲桃色| 亚洲AV无码乱码在线观看裸奔 | 97无码免费人妻超级碰碰碰碰| 亚洲Aⅴ在线无码播放毛片一线天| a级毛片免费高清毛片视频| 亚洲影院在线观看| 日韩免费无砖专区2020狼| 99久久免费国产特黄| 久久亚洲精品国产精品婷婷| 亚洲无线一二三四区手机| 永久在线免费观看|