This repository was archived by the owner on Jul 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Server Setup
Jillian edited this page Jan 26, 2016
·
5 revisions
The initial development box is on a Digital Ocean Droplet with
- 512MB
- 1 Core
- 20GB SSD Disk
- 1TB Transfer
- CentOS 7
- NGINX
- SOLR Search
See full documentation with additional details here
- Enable EPEL Repository
sudo yum install epel-release - Install NGINX
sudo yum install nginx - Start NGINX
sudo systemctl start nginx
This is a low-powered machine for testing, adding swap will allow for better/faster results
- Create 2GB of Swap space
sudo fallocate -l 2G /swapfile
- Set swapfile to root read only
sudo chmod 600 /swapfile
- Set up the swap space
sudo mkswap /swapfile
- Enable swap on boot up
sudo vi /etc/fstab- Add the following to bottom of the file
/swapfile swap swap sw 0 0
- install java
sudo yum install java-1.8.0-openjdk.x86_64
- create SOLR user
adduser solr
- get the latest version of Apache Solr by following the mirror and download the latest
-
cd /optsudo wget http://mirrors.advancedhosters.com/apache/lucene/solr/5.4.1/solr-5.4.1.tgz
-
- Extract and install
sudo tar -zxvf solr-5.4.1.tgz
Documentation - Design docs
SOLR
Test Server - Info about our test server
Test Server Setup - SOLR configuration tut
Misc.
Snippets - Useful snippets