Posts Tagged ‘Βοηθήματα’

Another option you can employ is xkill. This is preinstalled in Ubuntu, but you can install it via the Terminal (which you can open with CTRL + ALT + T) if necessary. When called, xkill will enable you to close any desktop app. Install it with the following command:

sudo apt-get install xorg-xkill

Once this is done, run xkill by simply typing

xkill

Your mouse pointer will then display a cross (or a skull), and all you need to do is left-click on the offending application.

If it’s not possible to close your unresponsive app with any of these desktop-focused methods, the solution might be the command line…

1) Download a driver for linux from Samsung. Samsung M2070 Linux Printer/Scanner Driver (15.87 MB) is at http://www.samsungdrivers.net/samsung-m2070-driver/

2) Unzip your downloaded file.

3) Make sure about the location of the directory which contains a file named » install.sh «. It must be in downloads/XXXX(You named!!)/ uld.

I repeat. » install.sh » is in ULD.

4) Open TERMINAL to go to the directory which has » install.sh » in it.

cd downloads

cd XXXX

cd uld

5) Install a driver by command.

sudo ./install.sh

Note that you have to hit «Enter» many many times to reach the line which asks you to choose y/n. Go slow. Otherwise you’ll have to go back to the directory of ULD and command again.

Εγκατάσταση XAMPP σε GNU/Linux

Posted: 15 Δεκεμβρίου 2011 in linux, wordpress
Ετικέτες: , ,

Βήμα 1ο – Μεταφόρτωση
Κατεβάζουμε τον συμπιεσμένο φάκελο από την ιστοσελίδα του XAMPP – http://www.apachefriends.org/en/xampp-linux.html
# http://www.apachefriends.org/download.php?xampp-linux-1.7.4.tar.gz

Βήμα 2ο – Εγκατάσταση
1)Ανοίγουμε ένα τερματικό και συνδεόμαστε σαν root

Κώδικας:
su

Change the permissions to the installer

chmod 755 xampp-linux-*-installer.run

Run the installer

sudo ./xampp-linux-*-installer.run

That’s all. XAMPP is now installed below the /opt/lampp directory.

 

Βήμα 3ο – Εκκίνηση
# Για να ξεκινήσουμε το XAMPP γράφουμε
/opt/lampp/lampp start

# Εφόσον όλα τα προηγούμενα έχουν γίνει σωστά τότε θα λάβουμε ένα μήνυμα όπως το παρακάτω:

Κώδικας:
Starting XAMPP 1.7.4...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

Βήμα 4ο – Δοκιμή
# Για να δοκιμάσουμε ότι το XAMPP λειτουργεί κανονικά, ανοίγουμε έναν browser και γράφουμε την παρακάτω διεύθυνση:
http://localhost ή http://127.0.0.1

Βήμα 5ο – Ρυθμίσεις
Για την μερική ασφάλιση της εγκατάστασης εκτελούμε την εντολή:

Κώδικας:
/opt/lampp/lampp security

Με αυτό θα προσθέσουμε κωδικούς πρόσβασης στα βασικά στοιχεία και λειτουργίες του XAMPP.

Βασικές Εντολές
Εκκίνηση

Κώδικας:
/opt/lampp/lampp start

Σταμάτημα

Κώδικας:
/opt/lampp/lampp stop

Επανεκκίνηση

Κώδικας:
/opt/lampp/lampp restart