1.手動新增Windows service,In command mode key in


   sc.exe create ApacheService
   binPath= "C:\local\apache\bin\httpd.exe -k runservice"
   DisplayName= "Apache Server"


sc create是新增服務,如果要刪除則是delete


binPath=這邊是新增服務程式的路徑,注意,這邊binPath後面要空一格


DisplayName=這邊定義服務的名稱,也請注意,這邊在DisplayName後面也是要空一格。



 

arrow
arrow
    全站熱搜

    GordonSu 發表在 痞客邦 留言(0) 人氣()