- Php >= 5.4 is already installed.
- Java 7 or greater is installed.
- PhpStorm 6 is installed
- Download PhpStorm 6.0.3 from here
- Uzip the downloaded file.
- Navigate to
bin
directory and execute./phpstorm.sh
. (Give execute permission tophpstorm.sh
if it is not already there)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package helloWorld; | |
import java.io.IOException; | |
import java.util.HashMap; | |
import java.util.Map; | |
import com.rabbitmq.client.AMQP; | |
import com.rabbitmq.client.BasicProperties; | |
import com.rabbitmq.client.Channel; | |
import com.rabbitmq.client.Connection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl http://localhost:8983/solr/discovery/update --data '<delete><query>*:*</query></delete>' -H 'Content-type:text/xml; charset=utf-8' | |
curl http://localhost:8983/solr/discovery/update --data '<commit/>' -H 'Content-type:text/xml; charset=utf-8' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XPUT localhost:9200/_template/logstash -d ' | |
{ | |
"template" : "logs-*", | |
"settings" : { | |
"index.analysis.analyzer.default.type": "simple", | |
"index.cache.field.type": "soft", | |
"index.compress.stored": true, | |
"index.merge.policy.max_merged_segment": "5g", | |
"index.query.default_field": "@message", | |
"index.refresh_interval": "5s", |
NewerOlder