centos安装altas

时间:2021-03-02 13:21:17

centos6.6  atlas2.2.1

atlas项目 https://github.com/Qihoo360/Atlas/releases

yum -y install gcc make ncurses-devel readline-devel

rpm -ivh Atlas-2.2.1.el5.x86_64.rpm

ldd /usr/local/mysql-proxy/bin/mysql-proxy

(提示缺少/usr/lib/libcrypto.so.6库函数)

yum provides libcrypto.so.6(查看哪个包提供)

yum install openssl098e-0.9.8e-18.el6_5.2.i686(或者直接yum install libcrypto.so.6)

#提示还是找不到libcrypto.so.6

for 32 bit:
ln-sf /usr/lib/libssl.so.10 /usr/lib/libssl.so.6
ln-sf /usr/lib/libcrypto.so.10 /usr/lib/libcrypto.so.6
for 64bit
ln-sf /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.6
ln-sf /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.6

#ok

/usr/local/mysql-proxy/bin/mysql-proxyd test start