在刚刚更新到最新的Windows 10版本(内部版本14316)之后,我立即开始使用WSL(适用于Linux的Windows子系统),该软件应该在Windows上运行Ubuntu安装。
也许我正在尝试通过在其上安装Apache来尝试不可能的事情,但是然后有人请向我解释为什么这不可能。
无论如何,在安装过程中(sudo apt-get install apache2),在正确下载并安装依赖项后,我收到以下错误消息:
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: No such file or directory
runlevel:/var/run/utmp: No such file or directory
* Starting web server apache2 *
* The apache2 configtest failed.
Output of config test was:
mktemp: failed to create directory via template '/var/lock/apache2.XXXXXXXXXX': No such file or directory
chmod: missing operand after '755'
Try 'chmod --help' for more information.
invoke-rc.d: initscript apache2, action "start" failed.
Setting up ssl-cert (1.0.33) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
WARN: / is group writable!
现在,我了解到似乎缺少一些文件夹和文件才能使Apache2正常工作。在开始更改可能会影响Windows安装的任何事情之前,我想问一下是否有其他方法?另外,我是否应该担心/可写组,或者这仅仅是Windows的标准行为?
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句