no index.lighttpd.html IN / var / www / html

我提前道歉,因为我的英语不好。我想通过烧瓶和LightTPD来远程控制覆盆子PI 3B +。

sudo apt-get更新

sudo apt-get升级

sudo apt-get安装python-pip

Sudo pip安装瓶

sudo apt-get安装lighttpd

sudo apt自身垂涎

在上面的命令后,创建/ var / www / html文件夹。此外,lighttpd.conf是在/ etc / lighttpd /中创建的,但是,index.html和index.lighttpd.html不是在/ var / www / html中创建的,因此即使我在web上打开localhost,lighttpd不会出来或’40 …没有找到错误’。

I’ve tried a lot of things.
I tried again several times after initializing the sd card.
I received the lighttpd file directly through the ‘git clone’ without using the pip, but the result was the same.

– SUDO APT安装LightTPD LightTPD-Doc Sudo APT-Get安装Python3-Flask

此外,使用了所有上述命令。 lighttpd.conf文件似乎也没有问题。

server.document-root        = "/var/www/html"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/var/log/lighttpd/error.log"
server.pid-file             = "/var/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"
server.port                 = 80

What should I do?

what do you want to control ? and why do you need flask and lighttpd ?User3732793
I want to control RCCAR of Raspberry Pie through the web.Firetomato

回答 0