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

转载于:https://www.cnblogs.com/fengjunjie-w/p/9927285.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值