forked from yacy/yacy_grid_mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request yacy#19 from nikhilrayaprolu/travisfinal
Fixes yacy#18 Now Yacy is able to connect with elastic search
- Loading branch information
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
cd /apache-ftpserver-1.1.0 | ||
adduser --disabled-password --gecos '' r | ||
adduser r sudo | ||
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | ||
chmod a+rwx /elasticsearch-5.5.0 -R | ||
su -m r -c '/elasticsearch-5.5.0/bin/elasticsearch -Ecluster.name=yacygrid &' | ||
cd /apache-ftpserver-1.1.0 | ||
./bin/ftpd.sh res/conf/ftpd-typical.xml & | ||
/rabbitmq_server-3.6.6/sbin/rabbitmq-server -detached | ||
sleep 5s; | ||
/rabbitmq_server-3.6.6/sbin/rabbitmq-plugins enable rabbitmq_management | ||
/rabbitmq_server-3.6.6/sbin/rabbitmqctl add_user yacygrid password4account | ||
echo [{rabbit, [{loopback_users, []}]}]. >> /rabbitmq_server-3.6.6/etc/rabbitmq/rabbitmq.config | ||
/rabbitmq_server-3.6.6/sbin/rabbitmqctl set_permissions -p / yacygrid ".*" ".*" ".*" | ||
elasticsearch-5.5.0/bin/elasticsearch -d -p pid -Ecluster.name=yacygrid | ||
cd /yacy_grid_mcp | ||
sleep 5s; | ||
gradle run |