MySQL-common-5.0.23-1mdv2007.0.i586.rpm \ apache-mod_php-5.1.4-2mdv2007.0.i586.rpm \ libmysql15-5.0.23-1mdv2007.0.i586.rpm \ perl-DBD-mysql-3.0006-1mdv2007.0.i586.rpm \ php-mysql-5.1.4-3mdv2007.0.i586.rpmInstalling under Debian-based systemsDebian Linux and its derivatives use Debian
.deb packages, rather than RPMs. The popular Ubuntu and Knoppix distributions are based on Debian.
To check whether Apache, PHP, and MySQL are already
installed on a Debian-basedLinux system, use the dpkg
--list command. If any packages aren’t present, the dpkg
program will let you know dpkg -list mysql-common mysql-server mysql-client apache2 php5No packages found matching mysql-client.
No packages found matching apache2.
No packages found matching php5.
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============-===============-====================================================
ii mysql-common 5.0.21-3ubuntu1 mysql database common files (e.g. /etc/mysql/my.cnf)
un
mysql-server (no description available)
On some older distributions, you may need to specify php4
rather than php5
To install MySQL, Apache, and PHP, you must first login as the root user by typing su -
, and then use the apt-get install command apt-get --verbose-versions install mysql-common mysql-server mysql-client apache2 php5
Reading package lists. Done
Building dependency tree. Done mysql-common is already the newest version.
The following extra packages will be installed:
apache2-common (2.0.55-4ubuntu2)
apache2-mpm-prefork (2.0.55-4ubuntu2)
apache2-utils (2.0.55-4ubuntu2)
libapache2-mod-php5 (5.1.2-1ubuntu3)
libapr0 (2.0.55-4ubuntu2)
libdbd-mysql-perl (3.0002-2build1)
libdbi-perl (1.50-1)
libnet-daemon-perl (0.38-1)
libplrpc-perl (0.2017-1)
mysql-client-5.0 (5.0.21-3ubuntu1)
mysql-server-5.0 (5.0.21-3ubuntu1)
php5-common (5.1.2-1ubuntu3)
ssl-cert (Suggested packages:
apache2-doc (2.0.55-4ubuntu2)
lynx (2.8.5-2ubuntu1)
www-browser ()
php-pear (5.1.2-1ubuntu3)
Share with your friends: