Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ppabc committed Apr 12, 2018
1 parent 771c3a5 commit 3b9e104
Show file tree
Hide file tree
Showing 8 changed files with 3,727 additions and 0 deletions.
552 changes: 552 additions & 0 deletions docker/1.12.sh

Large diffs are not rendered by default.

552 changes: 552 additions & 0 deletions docker/1.13.sh

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions docker/17.03.sh

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions docker/17.05.sh

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions docker/17.06.sh

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions docker/17.09.sh

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions docker/17.12.sh

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions shell/swap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

#注释:of=/home/swap,放置swap的空间; count的大小就是增加的swap空间的大小,1024就是块大小,这里是1K,所以总共空间就是bs*count=1000M
dd if=/dev/zero of=/root/swap bs=1024 count=1000000

#注释:把刚才空间格式化成swap各式
mkswap /root/swap

#注释:使刚才创建的swap空间
swapon /root/swap

#关闭swap
#swapoff

0 comments on commit 3b9e104

Please sign in to comment.