Databases Reference
In-Depth Information
(2/3): httpd-2.2.2-1.2.i3 100% |=========================| 1.1 MB 03:14
(3/3): httpd-manual-2.2.2 100% |=========================| 846 kB 02:40
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : httpd ######################### [1/6]
Updating : mod_ssl ######################### [2/6]
Updating : httpd-manual ######################### [3/6]
Cleanup : mod_ssl ######################### [4/6]
Cleanup : httpd ######################### [5/6]
Cleanup : httpd-manual ######################### [6/6]
Updated: httpd.i386 0:2.2.2-1.2
Dependency Updated: httpd-manual.i386 0:2.2.2-1.2 mod_ssl.i386 1:2.2.2-1.2
Complete!
You'll see lots of interesting messages flash by; we haven't shown them all here. If all
goes well, you should see the reassuring
Complete
status message at the end. If the latest
version of a package is already installed,
yum
will tell you that it
Could
not
find
update
match
for
that package. To learn more about Fedora and configuring
yum
, visit the
Unofficial Fedora FAQ page (
http://www.fedorafaq.org
).
You can also download Red Hat or Fedora RPMs and install and upgrade them man-
ually just as you would the MySQL AB ones. For example, you can visit the web site
Fedora with the highest version number. Once you've downloaded the files, log in
under the root account by typing
su -
, and then install the RPM packages by typing in
this command (all on one line):
#
rpm --upgrade --verbose --hash \
mysql-server-5.0.22-2.1.i386.rpm \
mysql-5.0.22-2.1.i386.rpm \
httpd-2.2.2-7.i386.rpm \
php-5.1.4-8.1.i386.rpm
Installation on Mandriva
Mandriva, formerly known as Mandrake, is very easy to use for this topic (we use it
ourselves). MySQL, Apache, PHP, and Perl all come on the distribution CDs.
If you're installing Mandriva from scratch, choose the Expert installation option and
select the MySQL server and client packages.
If you already have a running Mandriva installation, you can check whether Apache,
PHP, and MySQL are already installed by typing:
$
rpm --query --whatprovides mysql mysql-client apache php php-mysql
MySQL-5.0.23-1mdv2007.0
MySQL-client-5.0.23-1mdv2007.0
apache-mpm-prefork-2.2.3-1mdv2007.0
apache-mod_php-5.1.4-1mdk