Fix grammar (#568)

* Fix grammar

* Other fixes

* Other fixes
This commit is contained in:
Angristan 2018-03-09 21:23:02 +01:00 committed by Eugen Rochko
parent 8d7c00412c
commit adc1f244e3
1 changed files with 10 additions and 10 deletions

View File

@ -8,7 +8,7 @@ Why you might need Elasticsearch
If you want to use Full-text search, you should setup Elasticsearch.
#### Note: If your VPS has not much memory, Elasticsearch can't be able to start. This guide also explains how to start with this case.
#### Note: If your VPS has not much memory, Elasticsearch may not be able to start. This guide also explains how to start if it's the case.
Installing Pre-required dependency
----
@ -111,11 +111,11 @@ Change these lines in `/etc/elasticsearch/jvm.options`:
***Please don't forget! This isn't necessarily the best configuration.***
#### Warning: The memory in this list, It's for Elasticsearch. It's not total memory of VPS.
#### Warning: The memory in this list is for Elasticsearch. It's not the total memory of the VPS.
Probably you can start Elasticsearch.
You can probably start Elasticsearch.
After changing these lines, Start Elasticsearch:
After changing these lines, start Elasticsearch:
```bash
sudo systemctl start elasticsearch
@ -137,11 +137,11 @@ ES_HOST=localhost
ES_PORT=9200
```
#### Note: You can configure the mastodon to use an Elasticsearch on the different server.
#### Note: You can configure Mastodon to use Elasticsearch on a different server.
If you want to use an Elasticsearch on the different server, You should change these.
If you want to use Elasticsearch on a different server, you should change these.
Change these line in `/etc/elasticsearch/elasticsearch.yml`:
Change these lines in `/etc/elasticsearch/elasticsearch.yml`:
```
# Set the bind address to a specific IP (IPv4 or IPv6):
@ -159,7 +159,7 @@ Restart Elasticsearch:
sudo systemctl restart elasticsearch
```
`.env.production` also need to be change.
`.env.production` also need to be changed.
```
# Optional ElasticSearch configuration
@ -176,11 +176,11 @@ cd live
RAILS_ENV=production bundle exec rails chewy:deploy
```
You need to restart mastodon.
You need to restart Mastodon.
Resources
-----
- [Install Elasticsearch with Debian Package](https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html)
- [Elasticsearch - Hardware](https://www.elastic.co/guide/en/elasticsearch/guide/current/hardware.html)
- [How to download and install prebuilt OpenJDK packages](http://openjdk.java.net/install/index.html)
- [How to download and install prebuilt OpenJDK packages](http://openjdk.java.net/install/index.html)