Databases Reference
In-Depth Information
and will install the packages. You may be prompted to install other related packages,
depending on what's already available on your system, but in most cases, it should be
painless.
If you have a fast Internet connection, you can also configure urpmi to download and
install the very latest packages from the Internet. This is very convenient because you
don't have to spend time digging up your installation CDs. More importantly, the latest
version of a package generally has patches for known bugs and security vulnerabilities.
To set up Internet downloads, you'll first need to tell urpmi where to find the packages.
The easiest way to do this is to go to http://easyurpmi.zarb.org ; this site will ask you a
few questions and then provide you a list of commands you need to type in as the system
root user to configure the sources (Figure 2-9 shows how this site looks.) From time to
time, you should update the urpmi indexes by logging in as the system root user and
typing:
# urpmi.update -a
Whichever approach—CDs or the Internet—you use, you just need to type urpmi
package_name as the root user to fetch and install the required packages.
$ urpmi mysql mysql-client apache php php-mysql
One of the following packages is needed:
1- MySQL-5.0.23-1mdv2007.0.i586 : MySQL: a very fast and reliable SQL database
engine (to install)
2- MySQL-Max-5.0.23-1mdv2007.0.i586 : MySQL - server with extended functionality
(to install)
3- MySQL-NDB-4.1.12-4.3.20060mdk.i586 : MySQL - server with Berkeley DB, Innodb
and NDB Cluster support (to install)
What is your choice? (1-3) 1
To satisfy dependencies, the following packages are going to be installed:
MySQL-5.0.23-1mdv2007.0.i586
MySQL-client-5.0.23-1mdv2007.0.i586
MySQL-common-5.0.23-1mdv2007.0.i586
apache-mod_php-5.1.4-2mdv2007.0.i586
libmysql15-5.0.23-1mdv2007.0.i586
perl-DBD-mysql-3.0006-1mdv2007.0.i586
php-mysql-5.1.4-3mdv2007.0.i586
Proceed with the installation of the 7 packages? (39 MB) (Y/n) Y
ftp://somehost.net/somedir/libmysql15-5.0.23-1mdv2007.0.i586.rpm
ftp://somehost.net/somedir/perl-DBD-mysql-3.0006-1mdv2007.0.i586.rpm
ftp://somehost.net/somedir/MySQL-common-5.0.23-1mdv2007.0.i586.rpm
ftp://somehost.net/somedir/MySQL-client-5.0.23-1mdv2007.0.i586.rpm
ftp://somehost.net/somedir/MySQL-5.0.23-1mdv2007.0.i586.rpm
ftp://somehost.net/somedir/apache-mod_php-5.1.4-2mdv2007.0.i586.rpm
installing
libmysql15-5.0.23-1mdv2007.0.i586.rpm
MySQL-client-5.0.23-1mdv2007.0.i586.rpm
MySQL-common-5.0.23-1mdv2007.0.i586.rpm
perl-DBD-mysql-3.0006-1mdv2007.0.i586.rpm
MySQL-5.0.23-1mdv2007.0.i586.rpm
apache-mod_php-5.1.4-2mdv2007.0.i586.rpm
 
Search WWH ::




Custom Search