Learning Mysql


Installing Under Linux | 25



Download 4.24 Mb.
View original pdf
Page31/366
Date04.08.2023
Size4.24 Mb.
#61806
1   ...   27   28   29   30   31   32   33   34   ...   366
Learning MySQL
Installing Under Linux | 25

recommends that the apt-get method be used instead we describe the recommended approach in this chapter Install a system-wide or local server using using a compressed directory (known as a gzipped tar archive) from the MySQL AB website. This directory has all the necessary MySQL files ready to run in place you don’t need to run an installer program or place the files in a particular location on disk Install a system-wide or local server by downloading the MySQL source code from the MySQL AB website and compiling the executable programs yourself. This is the most time-consuming way of setting up Linux, but is the most flexible for power users Install a system-wide server using packages created by your Linux distribution you can download these from the Web or install them from your Linux CDs.
• Install a system-wide server by downloading the XAMPP integrated package. Note that XAMPP is not designed for use as a local server, and significant effort is required to get around this limitation.
We’ll describe each of these approaches in detail. If you’re not sure which approach is most suitable for you, we recommend you first try to use the packages provided by your
Linux distribution.
Installing MySQL on Linux Using RPM Packages from MySQL AB
First, go to the MySQL AB downloads page following the instructions in the Downloading MySQL from the MySQL AB Web Site section, and scroll down the list to the part of the page with the label Linux x RPM downloads The x indicates the processor type almost all PCs today use x processors. If you have a more advanced type, such as an AMD bit processor, you should find the appropriate part of the downloads page.
Pick RPM packages for both the MySQL server and the client, taking care that you select the correct version for your Linux distribution and your processor. These will be called something like MySQL-server-5.0.22-0.i386.rpm and MySQL-cli
ent-5.0.22-0.i386.rpm. Packages with higher CPU numbers, such as i or i, are better tuned for newer machines, but won’t work on older machines.
If you intend to do server benchmarking and testing, you may need to download the benchmark and test suites package (with a name like MySQL-
bench-5.0.22-0.i386.rpm); however, you won’t need them for this book.
To install the RPM files, you’ll need to login as the system root user. Open a terminal program and use the su - command to login as the root user su -
#

Download 4.24 Mb.

Share with your friends:
1   ...   27   28   29   30   31   32   33   34   ...   366




The database is protected by copyright ©ininet.org 2024
send message

    Main page