Open terrylinooo opened 7 years ago
wget https://github.com/msgpack/msgpack-php/archive/msgpack-2.0.2.tar.gz
tar -xvf msgpack-2.0.2.tar.gz
phpize ./configure make make install
or
pecl install channel://pecl.php.net/msgpack-0.5.6
wget https://github.com/phpredis/phpredis/archive/2.2.8.tar.gz
tar -xvf 2.2.8.tar.gz cd phpredis-2.2.8 phpize ./configure --enable-redis-igbinary make make install
yum install libtool
http://stackoverflow.com/questions/22603163/automake-error-ltmain-sh-not-found
autoheader aclocal libtoolize --ltdl --copy --force automake --add-missing --copy autoconf ./configure make install
cd phpext ./configure --with-scws=/usr/local --with-php-config=$php_prefix/bin/php-config make make install
[scws] extension = scws.so scws.default.charset = UTF-8 scws.default.fpath = $prefix/etc
extension = v8js.so extension = msgpack.so extension = redis.so
; Load igbinary extension extension=igbinary.so
; Use igbinary as session serializer session.serialize_handler=igbinary
; Enable or disable compacting of duplicate strings ; The default is On. igbinary.compact_strings=On
; Use igbinary as serializer in APC cache (3.1.7 or later) ;apc.serializer=igbinary
[scws] extension = scws.so scws.default.charset = UTF-8 scws.default.fpath = $prefix/etc
yum install php-intl yum install php-mbstring
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \ "http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-x64.rpm"
yum localinstall jdk-8u111-linux-x64.rpm
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jre-8u111-linux-x64.rpm"
yum localinstall jre-8u111-linux-x64.rpm
https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html
Create a file called elasticsearch.repo in the /etc/yum.repos.d/ directory for RedHat based distributions, or in the /etc/zypp/repos.d/ directory for OpenSuSE based distributions, containing:
[elasticsearch-5.x]
name=Elasticsearch repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
And your repository is ready for use. You can now install Elasticsearch with one of the following commands:
yum install elasticsearch
chkconfig --add elasticsearch
Elasticsearch can be started and stopped using the service command:
service elasticsearch start
cat COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt >> bundle.crt
pecl install igbinary