mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-05 16:07:23 +08:00
24 lines
819 B
XML
24 lines
819 B
XML
|
<sect2>
|
||
|
<title>Installation of mysql</title>
|
||
|
|
||
|
<para>For security reasons, running the server as an unpriviledged user and group is strongly encouraged:</para>
|
||
|
|
||
|
<screen><userinput>groupadd mysql &&
|
||
|
useradd -c mysql -d /dev/null -g mysql -s /bin/false mysql</userinput></screen>
|
||
|
|
||
|
<para>Build and install mysql by running the following commands:</para>
|
||
|
|
||
|
<screen><userinput>cp configure configure.old &&
|
||
|
sed -e "s%mysql-test/Makefile%%" -e "s% mysql-test%%" configure.old > configure &&
|
||
|
./configure --prefix=/usr \
|
||
|
--sysconfdir=/etc \
|
||
|
--libexecdir=/usr/sbin \
|
||
|
--localstatedir=/var/mysql \
|
||
|
--enable-thread-safe-client \
|
||
|
--without-debug \
|
||
|
--without-bench &&
|
||
|
make &&
|
||
|
make install</userinput></screen>
|
||
|
|
||
|
</sect2>
|