yum -y install nfs-utils nfs4-acl-tools nfs-utils-lib
yum -y install gcc gcc* libtool libtools-ltdl libtool-ltdl-devel cmake ncurses ncurses-devel
cd openssl-1.0.2d/
./config shared
make
make test
make install
echo "/usr/local/ssl/lib" >> /etc/ld.so.conf
ldconfig


cd db-6.1.26/
dist/configure --prefix=/usr/local/bdb
make
make install
echo "/usr/local/bdb/lib" >> /etc/ld.so.conf
mkdir /usr/include/db
ln -s /usr/local/bdb/include/db.h /usr/include/db/db.h
ln -s /usr/local/bdb/include/db.h /usr/include/db.h
ldconfig

groupadd mysql
useradd -r -g mysql mysql
cd mysql-5.6.22/
cmake .
make
make install
cd /usr/local/mysql/
chown -R mysql.mysql .
scripts/mysql_install_db --user=mysql
chown -R root .
chown -R mysql data/
cp support-files/mysql.server /etc/init.d/mysqld
service mysqld start
service mysqld start
bin/mysql -h 127.0.0.1


export CPPFLAGS="-I/usr/local/mysql/include"
cd cyrus-sasl-2.1.26/

./configure --enable-anon --enable-plain --enable-login --enable-sql --disable-krb4 --disable-otp --disable-cram --disable-digest --with-mysql=/usr/local/mysql/lib/ --without-pam --without-saslauthd --without-pwcheck --with-dblib=berkeley --with-bdb-libdir=/usr/local/bdb/lib --with-bdb-incdir=/usr/local/bdb/include --with-openssl=/usr/local/ssl --with-plugindir=/usr/local/lib/sasl2

相关文章:

  • 2021-06-17
  • 2021-10-26
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2021-11-22
  • 2021-11-12
猜你喜欢
  • 2021-12-16
  • 2021-11-02
  • 2022-12-23
  • 2021-11-21
  • 2021-12-04
  • 2021-07-24
  • 2022-12-23
相关资源
相似解决方案