Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Ant_Devops
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mayi-operation
Ant_Devops
Commits
ea17afae
Commit
ea17afae
authored
Feb 21, 2019
by
ChongmingDu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tuning arg
parent
5e75632c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
roles/base/files/init.sh
+2
-1
No files found.
roles/base/files/init.sh
View file @
ea17afae
...
@@ -44,9 +44,10 @@ fs.file-max = 65535
...
@@ -44,9 +44,10 @@ fs.file-max = 65535
net.ipv4.tcp_retries2 = 3
net.ipv4.tcp_retries2 = 3
net.ipv4.route.gc_timeout = 100
net.ipv4.route.gc_timeout = 100
vm.swappiness = 0
vm.swappiness = 0
vm.overcommit_memory = 1
EOF
EOF
sysctl
-p
&>/dev/null
sysctl
-p
&>/dev/null
echo
1024
>
/proc/sys/net/core/somaxconn
#Install docker-ce
#Install docker-ce
sudo
yum install
-y
yum-utils device-mapper-persistent-data lvm2
sudo
yum install
-y
yum-utils device-mapper-persistent-data lvm2
sudo
yum-config-manager
--add-repo
http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
sudo
yum-config-manager
--add-repo
http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment