1. gcc+Installation
1.1 Since fastdsf is implemented in c language, the gcc command is required during compilation to check whether the system has gcc installed. Check the command:
gcc -v
1.2 Installation command:
cd /usr/local/src/
rpm –i libstdc++-devel-4.4.7- 3.el6.i686. rpm
rpm -i gcc-c++-4.4.7-3.el6.i686.rpm
2. Install libevent
2.1 check command :ls -al /usr/lib | grep libevent, If it has been installed and the version is lower than
1.3, use the command: rpm -e libevent --nodeps to uninstall 2.2 Install libevent,
2.2.1 Copy libevent-1.4.14b-stable.tar.gz to the system path /usr/local/src/, use the command:
tar –zxvf libevent-1.4.14b-stable. tar.gz Extract 2.2.1 Execute the installation command:
cd
libevent-1.4.14b-stable./configure --prefix=/usr
m
akemake instal
lsoft connection:
ln -s /lib/libpcre.so.0.0.1 /lib/libpcre.so.1
3. Installation pcre
You need to install the PCRE library before installing nginx
The latest download address ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/tar –zxvf pcre- 8.32.tar.gz, the decompression directory is: pcre-8.32Then enter cd pcre-8.32 to configure, compile and install configure./configure CompilemakeInstallmake installFour. Installzlib
tar -zxvf zlib-1.2.5.tar.gz
cd zlib-1.2.5./configure makemakeinstall5. Install openSSL
libraryDownload page: http://www.openssl.org/source/
tar –zxvf openssl-1.0.0.tar.gz, the decompression directory is: openssl-1.0.0Then go to cd openssl-1.0.0 to configure, compile, installconfigure./configure or ./configcompile makeinstall The above introduces Fastdfs+nginx---(1) Preparation before installation, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.