Databases Reference
In-Depth Information
After unpacking 31.3MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 103699 files and directories currently installed.)
Removing mysql-client ...
Removing mysql-server ...
If you're unsure what to use for the package names, you can search for packages asso-
ciated with MySQL using the following command:
# dpkg --search "*mysql*" | cut --fields=1 --delimiter=":" | sort --unique
Installing MySQL, Apache, PHP, and Perl on Linux Using the XAMPP
Integrated Package
To install XAMPP on your Linux system, first visit the XAMPP home page ( http://www
.apachefriends.org/en/xampp.html) , follow the link to XAMPP for Linux, and download
the gzipped tar package. Switch to the superuser account:
$ su -
and create the directory /opt :
# mkdir --parents /opt
We're using the --parents option here to tell Linux not to complain if the directory
already exists.
Now change to this directory and extract the files from the package:
# cd /opt
# tar --gunzip --extract --file ~adam/xampp-linux-1.5.3a.tar.gz
Here, we've assumed that the downloaded file is in adam 's home directory ( ~adam ); use
the appropriate location on your system.
You can now start XAMPP by typing:
# /opt/lampp/lampp start
Starting XAMPP for Linux 1.5.3a...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
If there is already a running MySQL or Apache server running on your system, XAMPP
may complain during startup. If this happens, shut these down before trying to start
XAMPP again. Stop any existing MySQL or Apache server before starting XAMPP.
Now that the server's running, tighten up the security settings by typing:
# /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? [yes] n
XAMPP: MySQL is accessible via network.
 
Search WWH ::




Custom Search