Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
启动时在Windows10子系统上启动Apache_Windows_Debian - Fatal编程技术网

启动时在Windows10子系统上启动Apache

启动时在Windows10子系统上启动Apache,windows,debian,Windows,Debian,我已经在Debian上为Windows 10 Linux子系统设置了Apache2,但我想从Windows启动开始 我已经在/etc/init.d上创建了启动脚本,但它不是从Windows启动开始的 能做吗 没关系,我已经找到了答案: 基本上设置一个启动Apache的.sh文件,然后在Windows上设置一个在启动时运行的编程任务,并调用bash.exe,参数指向.sh 无论如何,谢谢你:)

我已经在Debian上为Windows 10 Linux子系统设置了Apache2,但我想从Windows启动开始

我已经在
/etc/init.d
上创建了启动脚本,但它不是从Windows启动开始的


能做吗

没关系,我已经找到了答案:

基本上设置一个启动Apache的
.sh
文件,然后在Windows上设置一个在启动时运行的编程任务,并调用
bash.exe
,参数指向
.sh

无论如何,谢谢你:)