After the article: http://www.cnblogs.com/antarctican/p/3714422.html
First, install Mysql 5.1.73. Official: http://dev.mysql.com/downloads/file.php?id=450523
Http://cdn.mysql.com/Downloads/MySQL-5.1/mysql-5.1.73-linux-i686-glibc23.tar.gz
4. Install Tengine 2.0.4
When you view version, you are prompted that libssl.so.1.0.0 cannot find
?
1 2 |
[[email protected] tengine]# sbin/nginx -V sbin/nginx: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory |
LDD view, for not found
?
1 2 3 4 5 6 7 8 9 10 11 12 |
[[email protected] tengine]# ldd sbin/nginx
linux-gate.so.1 => (0x00880000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00f05000)
libdl.so.2 => /lib/libdl.so.2 (0x001ef000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00a0b000)
libpcre.so.0 => /lib/libpcre.so.0 (0x00c21000)
libssl.so.1.0.0 => not found
libcrypto.so.1.0.0 => not found
libz.so.1 => /lib/libz.so.1 (0x001f4000)
libc.so.6 => /lib/libc.so.6 (0x00208000)
/lib/ld-linux.so.2 (0x00d5b000)
libfreebl3.so => /lib/libfreebl3.so (0x00748000)
|
At this point, create a new. conf file in/etc/ld.so.conf.d/with the Libssl location:
?
1 |
[[email protected] tengine]# cd /etc/ld.so.conf.d |
?
1 |
[[email protected]]# touch www-libs.conf // *.conf 自动载入 |
?
1 |
[r[email protected]]# echo ‘/usr/local/lib‘ > www-libs.conf // 注:/usr/local/lib 为我 libssl.so.1.0.0 的位置 |
?
1 |
[[email protected]]# ldconfig |
Now you can see the version of Nginx and the module information