I asked this before. The question was marked Duplicate. Unfortunately a newbie like me did not know it was a duplicate.
The ‘answers’ I did not understand. I am sorry to ask dumb questions. I deleted the question and ask again. More simple and shorter.
I want to start a ‘web site’ located on a USB stick. I started with the OS that came with my Raspberry Pi and then:
sudo apt-get update
sudo apt-get install apache2 -y
cd /var/www/html
sudo chown pi: index.html
leafpad index.htm
Replace everything in index.html with:
I double-clicked index.html and YES there was my web site everything worked. I hurried to my router and forwarded port 80 to my Pi. Got my phone out, switched off WiFi and in Chrome I typed the outside IP of my router. The almost empty page said Redirect. I can live with the fact that it skipped the meta line.
I am stuck here. If I double click the index.html then Chromium knows what to do. If I type localhost
on the Pi in Chromium then I think Apache kicks in and I am stuck like I was before with my phone.
Tried a lot - umount
, mount
, fdisk
, but nothing. Made www-data
member of a lot, even of root. No change. Tried to make Apache run as root. The default picture on my Pi desktop is a road. It leads to nowhere.
Or is there somebody that can explain in a view lines what to do? Please easy, Absolute beginner, first time user. If it can’t be done in a simple way, I will forget about it. So far I can’t deal with complicated answers.
regards Neef