Last active
          August 29, 2015 14:16 
        
      - 
      
- 
        Save coalwater/97a083ddc28d4c9aef7d to your computer and use it in GitHub Desktop. 
    installing elasticsearch
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.5.2.deb | |
| sudo dpkg -i elasticsearch-1.5.2.deb | 
  
    
      This file contains hidden or 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
    
  
  
    
  | sudo /bin/systemctl daemon-reload | |
| sudo /bin/systemctl enable elasticsearch.service | 
  
    
      This file contains hidden or 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
    
  
  
    
  | sudo /usr/share/elasticsearch/bin/elasticsearch | 
  
    
      This file contains hidden or 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
    
  
  
    
  | sudo /etc/init.d/elasticsearch start | 
  
    
      This file contains hidden or 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
    
  
  
    
  | sudo service elasticsearch start | |
| #[....] Starting elasticsearch (via systemctl): elasticsearch.serviceFailed to start elasticsearch.service: Unit elasticsearch.service failed to load: No such file or directory. | |
| # failed! | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment