<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 閱讀(4289) 評論(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)站導航:
     
    主站蜘蛛池模板: 在线看片免费人成视频福利| 亚欧乱色国产精品免费视频| 99热在线观看免费| 亚洲av永久无码精品秋霞电影影院 | 一本色道久久综合亚洲精品| 老司机午夜在线视频免费观| 国产免费观看网站| 黄色毛片免费观看| 中文亚洲AV片在线观看不卡| 天堂在线免费观看| 噜噜噜亚洲色成人网站∨| 精品女同一区二区三区免费站| 亚洲成人免费网址| 24小时日本在线www免费的| 色窝窝亚洲AV网在线观看| 亚洲人成国产精品无码| 成人一区二区免费视频| 亚洲Av无码专区国产乱码DVD| 18级成人毛片免费观看| 中日韩亚洲人成无码网站| 国产成人免费a在线视频app| 四虎永久在线精品免费一区二区| 亚洲人成精品久久久久| 国产成人精品免费视| 狠狠综合亚洲综合亚洲色| 久久久久亚洲AV成人网人人网站 | 免费一级毛片在线观看| 国产成人AV免费观看| 亚洲国产成人久久| 免费看男女下面日出水视频| 日韩免费高清播放器| 亚洲伊人久久精品| 亚洲熟妇少妇任你躁在线观看无码 | 日本免费在线中文字幕| 亚洲婷婷第一狠人综合精品| 亚洲国产综合久久天堂| 曰批视频免费40分钟试看天天| 亚洲av无码专区国产不乱码| 久久99国产亚洲高清观看首页| 男男AV纯肉无码免费播放无码| jizz18免费视频|