mysql sphinx nginx

 wget http://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
 rpm -ivh mysql57-community-release-el7-11.noarch.rpm
 yum install mysql-community-server
 service mysqld restart
 grep "password" /var/log/mysqld.log
 mysql -uroot -p'rjEKgl!VJ2O*'
 cd /etc/my.cnf
 vim /etc/my.cnf

default-storage-engine=INNODB
character-set-server=utf8
collation-server=utf8_general_ci

 service mysqld restart

 wget http://sphinxsearch.com/files/sphinx-2.2.10-1.rhel7.x86_64.rpm
 yum install postgresql-libs unixODBC
 rpm -Uhv sphinx-2.2.10-1.rhel7.x86_64.rpm
 cd /etc/sphinx/
 cp sphinx.conf sphinx1.conf
 vim sphinx.conf
 systemctl start searchd
 mysql -h127.0.0.1 -P9306
 wget http://nginx.org/download/nginx-1.8.1.tar.gz
 cp nginx-1.8.1.tar.gz ../
 tar -zxvf nginx-1.8.1.tar.gz
 yum install -y make cmake gcc gcc-c++
 yum install -y openssl openssl-devel
 cd nginx-1.8.1
 ./configure --with-http_dav_module
 make
 make install

posted @ 2018-11-08 09:32  110528844  阅读(115)  评论(0编辑  收藏  举报