dinggela 发表于 2018-12-26 06:24:10

搭建nginx + python + django +memcached+ mysql +fastcgi 环境

#cd /usr/local/src  #wget http://www.dbasky.net/tool/mysql-5.0.45.tar.gz
  #tar zxvf mysql-5.0.45.tar.gz
  #cd mysql-5.0.45
  #CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors \
  -fno-exceptions -fno-rtti" ./configure \
  --prefix=/usr/local/mysql --enable-assembler \
  --with- \
  --with-extra-charsets=gbk,gb2312,latin1 \
  --without-debug \
  --with-client-ldflags=-all-static \
  --enable-thread-safe-client \
  --without-server
  #make
  #make install
  #echo "PATH=/usr/local/mysql/bin:\$PATH" >> /etc/profile
  #echo "export PATH" >> /etc/profile
  #echo "/usr/local/mysql/lib/mysql" > /etc/ld.so.conf.d/mysql.conf
  #ldconfig

页: [1]
查看完整版本: 搭建nginx + python + django +memcached+ mysql +fastcgi 环境