21.3.1.3 Installing NDB Cluster Using .deb Files (original) (raw)
21.3.1.3 Installing NDB Cluster Using .deb Files
The section provides information about installing NDB Cluster on Debian and related Linux distributions such Ubuntu using the.deb
files supplied by Oracle for this purpose.
For NDB Cluster 7.5.6 and later, Oracle also provides an APT repository for Debian and other distributions. SeeInstalling MySQL NDB Cluster Using the APT Repository, for instructions and additional information.
Oracle provides .deb
installer files for NDB Cluster 7.5 and later for 32-bit and 64-bit platforms. For a Debian-based system, only a single installer file is necessary. This file is named using the pattern shown here, according to the applicable NDB Cluster version, Debian version, and architecture:
mysql-cluster-gpl-ndbver-debiandebianver-arch.deb
Here, ndbver
is the 3-partNDB
engine version number,debianver
is the major version of Debian (8
or 9
), and_arch
_ is one ofi686
or x86_64
. In the examples that follow, we assume you wish to install NDB 7.6.33 on a 64-bit Debian 9 system; in this case, the installer file is namedmysql-cluster-gpl-7.6.33-debian9-x86_64.deb-bundle.tar
.
Once you have downloaded the appropriate.deb
file, you can untar it, and then install it from the command line using dpkg
, like this:
$> dpkg -i mysql-cluster-gpl-7.6.33-debian9-i686.deb
You can also remove it using dpkg
as shown here:
$> dpkg -r mysql
The installer file should also be compatible with most graphical package managers that work with .deb
files, such as GDebi
for the Gnome desktop.
The .deb
file installs NDB Cluster under/opt/mysql/server-_`version`_/
, where version
is the 2-part release series version for the included MySQL server. For NDB 7.5 and later, this is always 5.7
. The directory layout is the same as that for the generic Linux binary distribution (see Table 2.3, “MySQL Installation Layout for Generic Unix/Linux Binary Package”), with the exception that startup scripts and configuration files are found in support-files
instead ofshare
. All NDB Cluster executables, such asndb_mgm, ndbd, andndb_mgmd, are placed in thebin
directory.