So -- Vorsicht, User!
v1.8.3-0betahabe ich noch 2-mal neu (re-)installiert, (1) auf der Textkonsole und (2) in X, Ergebnisse wie folgt:
(1) Konsole- Code: Select all
% su
Passwort:
root # chmod 755 xampp-linux-1.*-installer.run && ./xampp-linux-1.*-installer.run
Da hier
- Code: Select all
START /sbin/dwb "http://localhost.localdomain"
(dwb ist der Browser)
nicht wie unter X ausgeführt wird, habe ich den Initialstart daher explizit ausgeführt:
- Code: Select all
# links -g http://localhost
Die XAMPP-Seite erscheint, natürlich noch ohne explizites Einloggen. (Also gehe ich davon aus, dass XAMPP ordnungsgemäß gestartet ist, genauso, wie wenn ich explizit aufrufen würde -- genauso wie bei den vielen früheren Versuchen.)
--> Alles bis auf MySQL und die beiden letzen Komponenten sind aktiviert; unsichere Einstellungen.
Passwörter ändern bzw. setzen:
- Code: Select all
# /opt/lampp/lampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [ja]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Password protection active. Please use 'xampp' as user name!
XAMPP: MySQL is accessable via network.
XAMPP: Normaly that's not recommended. Do you want me to turn it off? [ja]
XAMPP: Turned off.
XAMPP: MySQL has to run before I can check the security.
XAMPP: MySQL has to run before I can check the security.
XAMPP: MySQL has a root passwort set. Fine! :)
XAMPP: The FTP password for user 'daemon' is still set to 'xampp'.
XAMPP: Do you want to change the password? [ja]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Reload ProFTPD...not running.
XAMPP: Done.
--> Danach ist bei "Status" alles deaktivert! -- Und seltsam ist dann diese Ausgabe:
- Code: Select all
XAMPP: Reload ProFTPD...not running.
XAMPP: Done.
Was soll die (mit oder ohne "Done") aussagen?
Alles dann gestoppt, deinstalliert, rebootet, nächster Versuch:
(2) X und X Terminal- Code: Select all
% su
Passwort:
root # chmod 755 xampp-linux-1.*-installer.run && ./xampp-linux-1.*-installer.run
Am Ende der Installation "Launch XAMPP" bestätigt (bin also weiterhin User "root"), d. h.
- Code: Select all
START /sbin/dwb "http://localhost.localdomain"
wird ausgeführt, also das automatische Script der BitNami-API.
--> Siehe oben: Alles bis auf MySQL und die beiden letzen Komponenten sind aktiviert; unsichere Einstellungen.
- Code: Select all
# /opt/lampp/lampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [ja]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Password protection active. Please use 'xampp' as user name!
XAMPP: MySQL is accessable via network.
XAMPP: Normaly that's not recommended. Do you want me to turn it off? [ja]
XAMPP: Turned off.
XAMPP: MySQL has to run before I can check the security.
XAMPP: MySQL has to run before I can check the security.
XAMPP: MySQL has a root passwort set. Fine! :)
XAMPP: The FTP password for user 'daemon' is still set to 'xampp'.
XAMPP: Do you want to change the password? [ja]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Reload ProFTPD...not running.
XAMPP: Done.
Dann als User "root" eingeloggt.
--> Alles deaktiviert.
Das bleibt auch nach einem Stoppen, Rebooten, Starten und Einloggen so!
-------------------------------------------------------------------------------Um auszuschließen, dass es sich um ein Problem der Beta-Version handeln könnte, habe ich v1.8.3 gestoppt und runtergeschmissen, und dann alles nochmal mit
XAMPP 1.8.2-1 durchexerziert (nur unter X getestet). Dafür habe ich nun einige nette Screenshots gemacht -- aber auch nur um letztendlich zu zeigen,
dass sich nichts geändert hat! Da sich die Oberflächen gleichen, kann man die Bildchen auch für 1.8.3-0 nehmen.
Tja, leider Pech -- Bildchen posten scheint hier auch nicht zu gehen~v1.8.2-1Nun der Reihe nach.
Nach dem Initialstart am Ende der Installation (denn der Installer bietet es ja an), d .h.
vor Passwort-Setzung bzw. Änderung:
--> Nur PHP, Perl, CGI und SSI sind aktiviert.
Diese dann gesetzt bzw. geändert:
- Code: Select all
# /opt/lampp/lampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [ja]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Passwords doen't match. Please try again.
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Password protection active. Please use 'xampp' as user name!
XAMPP: MySQL is accessable via network.
XAMPP: Normaly that's not recommended. Do you want me to turn it off? [ja]
XAMPP: Turned off.
XAMPP: MySQL has to run before I can check the security.
XAMPP: MySQL has to run before I can check the security.
XAMPP: MySQL has a root passwort set. Fine! :)
XAMPP: The FTP password for user 'daemon' is still set to 'xampp'.
XAMPP: Do you want to change the password? [ja]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Reload ProFTPD...not running.
XAMPP: Done.
XAMPP-Reload im Browser, muss mich einloggen:
--> "Status": wieder ALLES deaktiviert!
--> "Sicherheit": "pma" und "phpMyadmin" haben kein Passwort.
Wenn ich dann aber wie gefordert
- Code: Select all
"Zum Schließen dieser Sicherheitslücken einfach als root den folgenden Befehl aufrufen:
/opt/lampp/xampp security
Dadurch wird ein dialoggeführtes Programm gestartet, welches alle diese Sicherheitslücken schließen kann."
besagtes Programm ausführe, kommt aber nur das bei raus:
- Code: Select all
# /opt/lampp/xampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are secured by a password.
XAMPP: Do you want to change the password anyway? [nein]
XAMPP: MySQL is not accessable via network. Good.
XAMPP: MySQL has to run before I can check the security.
XAMPP: MySQL has to run before I can check the security.
XAMPP: MySQL has a root passwort set. Fine! :)
XAMPP: ProFTPD has a new FTP password. Great!
XAMPP: Do you want to change the password anyway? [nein]
XAMPP: Done.
Was soll denn das?
Btw.,
Feature-Request 1: Und wenn schon ein GUI, dann sollte es auch unter "Sicherheit" Buttons dafür geben, um die einzelnen Sicherheitseinstellungen direkt zu ändern!
Feature-Request 2: Ich finde eigentlich auch, dass es eine Auslog-Funktion geben sollte, anstatt nur das Fenster schließen oder den Browser killen zu können, wenn man XAMPP nicht mehr braucht.
Danach jedenfalls
- Code: Select all
# /opt/lampp/xampp stop
Stopping XAMPP for Linux 1.8.2-1...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...not running.
XAMPP: Stopping ProFTPD...not running.
und rebootet.
Danach unter X XAMPP gestartet (ob als xampp oder lampp, scheint egal zu sein, ist aber verwirrend):
- Code: Select all
# /opt/lampp/xampp start
Starting XAMPP for Linux 1.8.2-1...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
und im Browser
http://localhost eingegeben:
--> alles deaktiviert, egal, ob ich den browser als normaler User oder als "root" starte (was ja egal sein soll).
Dann als User "root" ausgeführt:
- Code: Select all
# /opt/lampp/xampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are secured by a password.
XAMPP: Do you want to change the password anyway? [nein]
XAMPP: MySQL is not accessable via network. Good.
XAMPP: MySQL has to run before I can check the security.
XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
XAMPP: Do you want to set a password? [ja]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL pma password.
XAMPP: Setting phpMyAdmin's pma password to the new one.
XAMPP: MySQL has to run before I can check the security.
XAMPP: MySQL has no root passwort set!!!
XAMPP: Do you want to set a password? [ja]
XAMPP: Write the password somewhere down to make sure you won't forget it!!!
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL root password.
XAMPP: Change phpMyAdmin's authentication method.
XAMPP: ProFTPD has a new FTP password. Great!
XAMPP: Do you want to change the password anyway? [nein]
XAMPP: Done.
--> Alles bleibt deaktiviert, weiterhin haben "pma" und "phpmyadmin" kein Passwort.
Daher ausgeführt
- Code: Select all
# /opt/lampp/xampp restart
Restarting XAMPP for Linux 1.8.2-1...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...not running.
XAMPP: Stopping ProFTPD...ok.
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
/opt/lampp/xampp restart 4,97s user 0,59s system 42% cpu 13,035 total
--> Weiterhin alles deaktiviert und "pma" und "phpmyadmin" kein Passwort. -- Dann XAMPP gestoppt, Systemneustart, XAMPP gestartet:
- Code: Select all
# /opt/lampp/xampp start
Starting XAMPP for Linux 1.8.2-1...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
Dann Firefox gestartet, in
http://localhost eingeloggt:
--> "Status": alles deaktiviert, aber bei "Sicherheitscheck" jetzt immerhin alles sicher.
Das heißt: DIESELBE SITUATION wie zu Beginn des Threads!
Bezüglich "Control Panel"Damit ist dann doch wohl
http://localhost/xampp im Browser als solches gemeint, und etwa keine besondere Unterseite, wo man die Komponenten bei "Status" ändern kann, wie erst dachte, oder? Das von
Windows sieht aber ganz anders aus, darum dachte ich, das gäbe es bei der Linux-Version auch...
Um Verwirrung zu vermeiden, bin ich grundsätzlich dafür, dass es explizite Screenshots bei der Online-Anleitung nicht nur für Windows, sondern für alle XAMPP-Versionen gibt!Jedenfalls funktioniert im X Terminal das
- Code: Select all
# /opt/lampp/xampp panel
Usage: xampp <action>
start Start XAMPP (Apache, MySQL and eventually others)
startapache Start only Apache
startmysql Start only MySQL
startftp Start only ProFTPD
stop Stop XAMPP (Apache, MySQL and eventually others)
stopapache Stop only Apache
stopmysql Stop only MySQL
stopftp Stop only ProFTPD
reload Reload XAMPP (Apache, MySQL and eventually others)
reloadapache Reload only Apache
reloadmysql Reload only MySQL
reloadftp Reload only ProFTPD
restart Stop and start XAMPP
security Check XAMPP's security
enablessl Enable SSL support for Apache
disablessl Disable SSL support for Apache
backup Make backup file of your XAMPP config, log and data files
oci8 Enable the oci8 extenssion
panel Starts graphical XAMPP control panel
immer noch nicht
Komisch ist aber auch diese Fehlermeldung bei der Demo "CD-Verwaltung", siehe unten:
- Code: Select all
Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /opt/lampp/htdocs/xampp/cds.php on line 64
Kann die Datenbank nicht erreichen!
Läuft MySQL oder wurde das Passwort geändert?
[attachment=][/attachment]
Ja, aber
MySQL läuft doch, s.o., und der Browser mit
http://localhost wurde erst gestartet,
nachdem während der vorigen Linux-Sitzung neue Passwörter angelegt wurden. Also ist diese Fehlermeldung/Warnung Blödsinn!
Tut mir leid, aber ich blick da überhaupt nicht durch!! Fehlen da noch irgendwelche Arbeitsschritte oder
Nachkonfigurationen? Fehlen noch Abhängigkeiten? (Falls das wichtig sein sollte: python3 (v3.3.2-1) und pygtk
(v2.24.0-3) sind installiert.) Das Fazit jedenfalls ist: weder XAMPP 1.8.2 noch 1.8.3 wollen (bei mir) nicht laufen, scheint ein systematischer Fehler zu sein! Ganz so einfach wie nach Anleitung vorzugehen ist es dann wohl doch nicht.
Vielleicht lässt sich XAMPP ja auf nem Windows-Rechner reibungsloser installieren, hab's noch nicht probiert und auch gerade keinen zur Hand.
Damit ist jetzt auch mal Ende mit dieser Odyssee. Nachdem jetzt hier aber meine Geduld langsam zuende ist, werde ich mich wohl für Linux mal nach ner anderen Lösung umsehen müssen, denn ich brauch jetzt echt dringend mal eine funktionierende Webserver-Umgebung!
Falls jemandem zu meinem XAMPP
bald noch was einfällt und ich die Muße dazu habe, kann ich es ja nochmal testen.
Edit:// NB: Erst stand bei meiner XAMPP-Version (eigtl. 1.8.3-0beta) "1.8.1", dann "Beta", und jetzt wieder "1.8.1" ...