Raspberry 3 - Download Image funkt nicht
- Installation
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
Your browser (%browser%) is out of date. It has known security flaws and may not display all features of this and other websites. \
Learn how to update your browser'.
-
-
Die Config sieht so aus:
config.png -
Schau mal mit Putty unter
"sudo nano /etc/apache2/sites-available/000-default.conf"
ob nach
"/var/www/html"
das /html
entfernt wurde. -
hmmm, ich habe das "/var/www" komplett entfernt (Anleitung nicht richtig verstanden, sorry)
wie bekomme ich es wieder hinein?
Einfach reinschreiben?
In welche Zeile? -
Irgendwo rein: DocumentRoot /var/www
-
o.k., jetzt fordert mich Linux wieder heraus...
hab`s eingefügt...
STRG+O für "speichern"
und jetzt?
M-D für "DOS-Format" oder "M-M für Mac-Format", oder etwas anderes? -
Alt+D sollte gehen
-
so, habe es erfolgreich gespeichert, aber leider keine Änderung.
So sieht jetzt die Config-Datei aus:
config-2.png -
Schreib mal bitte vor das /var/www noch DocumentRoot
In der Zeile steht dann also; DocumentRoot /var/www
Und danach Apache neustarten. sudo service apache2 restart -
nach der Änderung kommt jetzt eine neue Fehlermeldung im Browser:
browser.png
Die Config sieht nun so aus:
config-4.png
Kann es noch ein Problem mit dem Passwort sein? (requirepass)
Sicherheit.png -
Was sagt sudo service apache2 status?
-
nix gutes...
status.png -
Dann schauen wir mal in den Log...
cat /var/log/apache2/error.log
(Nicht alles, sondern nur die letzten 20 Zeilen oder so -
sind insgesamt nur die ca. 20 Zeilen...
-
Fehler finden bei Apache ist immer so ne Sache...
sudo systemctl daemon-reload
Und dann mal sudo service apache2 status -l -
-
sudo apachectl configtest
-
-
Kannst du mal in der 000-default.conf von Apache die Zeile mit dem DocumentRoot über Tabs/Leerzeichen soweit einrücken, dass sie auf einer Linie mit den anderen Einträgen ist? Und dann Apache neustarten und nochmal probieren
-
-
Share
- Facebook 0
- Twitter 0
- Google Plus 0
- Reddit 0
-
Users Online 2
2 Guests