Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
crack-elasticsearch-by-docker
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iman homayouni
crack-elasticsearch-by-docker
Commits
53fb744f
Commit
53fb744f
authored
8 months ago
by
iman homayouni
Browse files
Options
Downloads
Patches
Plain Diff
Update file crack_and_install.sh
parent
598ba97c
Branches
Branches containing commit
No related merge requests found
Pipeline
#19
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
crack_and_install.sh
+3
-3
3 additions, 3 deletions
crack_and_install.sh
with
3 additions
and
3 deletions
crack_and_install.sh
+
3
−
3
View file @
53fb744f
...
...
@@ -29,7 +29,7 @@ sysctl -w vm.max_map_count=262144
docker network create elastic
# create container in docker
docker run
-itd
--name
elastic0
-m
8GB
--net
elastic
-p
9200:9200 elasticsearch:
$version
docker run
-itd
--name
elastic0
-m
8GB
--net
elastic
-p
9200:9200
docker.homayouni.info/elasticsearch/
elasticsearch:
$version
# wait 60 second
sleep
60
...
...
@@ -64,14 +64,14 @@ docker run -itd \
-v
$(
pwd
)
/data:/usr/share/elasticsearch/data
\
-v
$(
pwd
)
/config:/usr/share/elasticsearch/config
\
-v
$(
pwd
)
/crack/x-pack-core-
$version
.crack.jar:/usr/share/elasticsearch/modules/x-pack-core/x-pack-core-
$version
.jar
\
elasticsearch:
$version
docker.homayouni.info/elasticsearch/
elasticsearch:
$version
# print msg in terminal
echo
"[>] Create elasticsearch done"
echo
"[>] Creating kibana"
# create kibana container
docker run
-itd
--name
kibana
--net
elastic
-p
5601:5601 kibana:
$version
docker run
-itd
--name
kibana
--net
elastic
-p
5601:5601
docker.homayouni.info/kibana/
kibana:
$version
# print msg in terminal
echo
"[>] Create kibana done"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment