TheTwister
Posts: 8
Joined: Fri Dec 29, 2017 6:39 pm

installing Lighttpd

Sat Apr 14, 2018 10:30 pm

Hi there,

I am trying to install lighttpd on to a Pi 3 after i have run the command, i can't find the path /var/www/html/.

Any ideas?

User avatar
DougieLawson
Posts: 33352
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: installing Lighttpd

Sat Apr 14, 2018 11:00 pm

sudo mkdir -p /var/www/html
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

TheTwister
Posts: 8
Joined: Fri Dec 29, 2017 6:39 pm

Re: installing Lighttpd

Sun Apr 15, 2018 12:20 pm

I'm trying to move some files to there but i am getting
'/var/www/html/*' is not a directory.

sudo mv /home/pi/transfer/* /var/www/html/*

Does that look correct?

User avatar
rpdom
Posts: 12654
Joined: Sun May 06, 2012 5:17 am
Location: Ankh-Morpork

Re: installing Lighttpd

Sun Apr 15, 2018 12:37 pm

TheTwister wrote:
Sun Apr 15, 2018 12:20 pm
I'm trying to move some files to there but i am getting
'/var/www/html/*' is not a directory.

sudo mv /home/pi/transfer/* /var/www/html/*

Does that look correct?
Leave off the last *

Code: Select all

sudo mv /home/pi/transfer/* /var/www/html/
if that doesn't work, it suggests you haven't created the /var/www/html directory correctly.

Return to “General programming discussion”

Who is online

Users browsing this forum: No registered users and 5 guests