Linux VPS一键添加/删除交换虚拟内存

说明:很多人的VPS服务器由于内存太小,会导致很多进程被杀掉,这时候就需要我们添加Swap虚拟内存了,这里就整了个一键脚本方便懒人或小白使用。

脚本

提示:脚本不支持OpenVZ架构,安装会自动退出。

运行命令:

wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh

然后根据选项进行操作,记得添加swap的时候填写纯数字,默认单位为M

请输入图片描述

评论

  1. joker
    Windows Chrome
    11月前
    2020-12-11 1:27:55

    Plus accounts via subscription their legitimate owner without any risk. Ann-Marie Axel Shifra

  2. sex filmleri
    Windows Chrome
    10月前
    2020-12-15 5:53:01

    Way cool! Some very valid points! I appreciate you writing this write-up and also the rest of the site is extremely good. Tobye Eugenius Hiram

    • William 博主
      Windows Chrome
      10月前
      2020-12-15 16:04:01

      Thank you, hope it helps you.

  3. porno
    Windows Chrome
    10月前
    2020-12-17 17:35:28

    I was studying some of your blog posts on this site and I think this website is very instructive! Continue posting . Corri Archie Bravin

  4. bahis
    Windows Chrome
    10月前
    2020-12-18 6:54:09

    Unquestionably believe that which you said. Your favorite reason seemed to be on the web the easiest thing to be aware of. Jillian Elvin Rutger

  5. erotik
    Windows Chrome
    10月前
    2020-12-18 13:37:23

    Wow! In the end I got a web site from where I know how to actually obtain helpful data regarding my study and knowledge. Margo Lodovico Pantin

  6. bahis
    Windows Chrome
    10月前
    2020-12-18 17:14:21

    Some really select articles on this web site , saved to my bookmarks . Lori Andres Jopa

    • William 博主
      Windows Chrome
      10月前
      2020-12-18 17:22:21

      Thank you, hope it helps you.

  7. erotik
    Windows Chrome
    10月前
    2020-12-18 19:04:22

    Six weeks is usually the recovery completion time. Nicole Krishnah Dumm

  8. erotik
    Windows Chrome
    10月前
    2020-12-18 21:23:23

    I do agree with you. nice article. thank you for sharing. Corabel Herc Rinaldo

    • William 博主
      Windows Chrome
      10月前
      2020-12-18 21:53:27

      Thanks

  9. erotik
    Windows Chrome
    10月前
    2020-12-19 0:22:12

    Hi there, this weekend is pleasant in support of me, since this moment i am reading this impressive educational article here at my house. Aileen Christophe Lady

  10. erotik
    Windows Chrome
    10月前
    2020-12-19 2:38:07

    Thank you for the good writeup. It in fact was a entertainment account it. Brittne Egor Frants

  11. bahis
    Windows Chrome
    10月前
    2020-12-19 14:03:21

    Your content is valid as well as informative in my personal opinion. You have truly done lots of research on this topic. Thanks for sharing it. Constancia Addison Blanca

  12. bahis
    Windows Chrome
    10月前
    2020-12-19 22:19:53

    I pay a visit everyday a few websites and blogs to read articles, however this webpage provides feature based writing. Deeyn Udall Aldora

  13. sikis
    Windows Chrome
    10月前
    2020-12-20 0:12:11

    Just want to say your article is as amazing. The clarity for your post is simply great and that i could assume you are knowledgeable on this subject. Linette Shae Chappell

  14. web-dl
    Windows Chrome
    10月前
    2020-12-20 15:29:50

    I am truly thankful to the holder of this website who has shared this enormous piece of writing at at this place. Ruthanne Aldus Pirzada

  15. yify
    Windows Chrome
    10月前
    2020-12-20 18:53:07

    I was looking at some of your articles on this website and I conceive this web site is really instructive! Keep on putting up. Gene Tanney Luke

  16. bluray
    Windows Chrome
    10月前
    2020-12-21 0:50:49

    I love looking through a post that will make people think. Also, thanks for allowing me to comment. Inna Delmor Herv

  17. bluray
    Windows Chrome
    10月前
    2020-12-21 4:13:28

    Very good blog article. Thanks Again. Keep writing. Doralyn Shaw Bordy

  18. web-dl
    Windows Chrome
    10月前
    2020-12-21 7:24:47

    For the reason that the admin of this site is working, no hesitation very rapidly it will be well-known, due to its quality contents. Barbi Josh Owen

  19. web-dl
    Windows Chrome
    10月前
    2020-12-21 14:15:35

    Hi mates, pleasant paragraph and fastidious arguments commented at this place, I am in fact enjoying by these. Coraline Morten Bonnette

  20. bedava
    Windows Chrome
    10月前
    2020-12-22 6:05:34

    Pam and I are excited to follow you on your journey. Erika Harwell Atlas

  21. bedava
    Windows Chrome
    10月前
    2020-12-22 20:44:33

    Excellent article! We are linking to this great article on our site. Keep up the good writing. Evelina Raimund Kallista

  22. ucretsiz
    Windows Chrome
    10月前
    2020-12-23 12:51:38

    You are my breathing in, I have few blogs and often run out from to brand. Glori Neel Norvell

发送评论 编辑评论


|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇