The Gentoo Linux operating system (pronounced/mongod zookeeper ntu kernel/) is a Linux meta release version based on the Portage package management system. This project and its products are named after the babaya penguin. The Gentoo package management system is designed to be modular, portable, easy to maintain, flexible, and optimized for user machines. Packages can generally be built from the source code, which continues the port tradition. For convenience, some large software packages are also provided to pre-compile binary files in multiple architectures.
Unlike most GNU/Linux releases, Gentoo Linux provides you with a large number of application source code. Each part of Gentoo Linux can be re-compiled and built on the end user's system, even including the most basic system library and compiler itself. The software is provided through dependency description and source code image. Gentoo Linux provides a large number of software for users to choose from. The standard source code image contains 30 GB of data. Selection not only exists in the overall aspect of the software, but also in the software. Because you can compile software locally, you can specify parameters and variables.
The advantage of specifying parameters is not only that users understand the settings, but also that users can improve the performance of hardware. In addition, you can use your favorite patches or plug-ins to adjust the software features. For example, the current Gentoo Linux kernel release includes 35 types.
Due to the significant differences in the installation methods of the system and application software, the Gentoo Linux community has a deep discussion on the installation content. Even if you do not use Gentoo Linux, you can understand the internal settings of the software by understanding the parameter selection. Configuration settings of the application software are recorded in the ebuild file and managed by the ebuild and emerge commands.
The following describes how to compile and install MySQL 5.1.x in Gentoo:
./configure \--prefix=/usr/local/mysql \--enable-assembler \--without-debug \--with-mysqld-ldflags=-all-static \--with-charset=utf8 \--with-extra-charsets=all \--with-unix-socket-path=/usr/local/mysql/mysql.sock \--enable-thread-safe-client \--with-mysqld-user=mysql \--with-plugins=partition,heap,innobase,myisammakemake install
Ps:
Add default-storage-engine = INNODB under my. cnf [mysqld.
Show engines after restart.