αν και μου φαίνεται περίεργοfloral έγραψε:/opt/xampp/xampp start


Συντονιστής: konnn
αν και μου φαίνεται περίεργοfloral έγραψε:/opt/xampp/xampp start
floral έγραψε:
Ναι, ο νέος φάκελος μέσα στο /opt λέγεται lampp
Και μέσα στο htdocs του lampp, υπάρχει ο φάκελος xampp και ένα αρχείο index.php το οποίο λέει ότι υπάρχει πρόβλημα με την εγκατάσταση του xampp
Όταν δίνω localhost
παιρνωέγραψε:It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
και όταν δίνω localhost/xampp/index.php (δοκίμασα και το ίδιο με lampp)έγραψε:Not Found
The requested URL /lampp/index.php was not found on this server.
Apache/2.2.14 (Ubuntu) Server at localhost Port 80
έγραψε:Το αρχείο /opt/xampp/xampp start δεν βρέθηκε. Ελέγξτε τη διαδρομή και προσπαθήστε ξανά.
έγραψε:Έβαλα και το : /opt/lampp/lampp start
konnn έγραψε:/opt/xampp/xampp start
bash: /opt/lampp/htdocs/xampp: is a directory
localhost...
έγραψε:# Δημιουργούμε ένα φάκελο (π.χ. mysite) στο /opt/lampp/htdocs (π.χ. /opt/lampp/htdocs/mysite) όπου θα αποθηκεύουμε όλα τα αρχεία του site μας.
Εικόνα
# Κάνουμε δεξί κλικ στο νέο φάκελο που δημιουργήσαμε και αλλάζουμε τα permissions ("Ιδιότητες" -> "Δικαιώματα"):
Ιδιοκτήτης : <το όνομα χρήστη σας>
Προσπέλαση φακέλου: Δημιουργία και διαγραφή αρχείων
Προσπέλαση αρχείου: Ανάγνωση και εγγραφή
Ομάδα : <η ομάδα σας>
Προσπέλαση φακέλου: Δημιουργία και διαγραφή αρχείων
Προσπέλαση αρχείου: Ανάγνωση και εγγραφή
Άλλοι
Προσπέλαση φακέλου: Προσπέλαση αρχείων
Προσπέλαση αρχείου: Μόνο για ανάγνωση
Το πεδίο "Να επιτρέπεται η εκτέλεση αρχείου ως πρόγραμμα" δεν το πειράζουμε.
Κάνουμε κλικ στο "Εφαρμογή εφαρμογή δικαιωμάτων στα εσώκλειστα αρχεία" και έπειτα στο "Κλείσιμο".
έγραψε:* Step 2: Installation
After downloading simply type in the following commands:
1. Go to a Linux shell and login as the system administrator root:
su
2. Extract the downloaded archive file to /opt:
tar xvfz xampp-linux-1.7.4.tar.gz -C /opt
Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.
Warning 2: already installed XAMPP versions get overwritten by this command.
That's all. XAMPP is now installed below the /opt/lampp directory.
έγραψε:su: Authentication failure
floral έγραψε:Λοιπον, προσπάθησα να ακολουθήσω τα βήματα που δίνονται εδώ : http://www.apachefriends.org/en/xampp-linux.html#374
Στοέγραψε:* Step 2: Installation
After downloading simply type in the following commands:
1. Go to a Linux shell and login as the system administrator root:
su
2. Extract the downloaded archive file to /opt:
tar xvfz xampp-linux-1.7.4.tar.gz -C /opt
Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.
Warning 2: already installed XAMPP versions get overwritten by this command.
That's all. XAMPP is now installed below the /opt/lampp directory.
Τί ειναι το linux shell που πρέπει να γράψω su ?
Το έγραψα στο τερματικό, μου ζήτησε τον κωδικό μου, τον έδωσα και μου λέειέγραψε:su: Authentication failure
Γιατί
έγραψε:****@///-laptop:~$ opt/lampp/lampp start
bash: opt/lampp/lampp: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
****@///-laptop:~$ opt/lampp/xampp start
bash: opt/lampp/xampp: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος