Skip to content

Hello Jack

  • Home

Day: March 2, 2021

How to add SWAP Space in Linux

HelloJack / 2021-03-022021-03-02 / Linux

Sometimes we need to add extra swap space in our Linux machine, so in this article, I’m going to show you how to add swap space to a Linux server.

We have two ways to adding swap space in Linux environment.

  1. Create swap space using the file.
free -m
swapon -s
dd if=/dev/zero of=/swap_file bs=1G count=1

Continue reading “How to add SWAP Space in Linux”

Recent Posts

  • Squid
  • centos mini_instal
  • net cmd
  • ubuntu
  • How to add SWAP Space in Linux

Categories

  • Centos7 (19)
  • Database (2)
  • Gentoo (6)
  • Linux (30)
  • Network (3)
  • Ubuntu (1)
  • Windows (1)

Recent Comments

    Archives

    • February 2024 (1)
    • July 2023 (1)
    • June 2022 (1)
    • May 2022 (1)
    • March 2021 (1)
    • February 2021 (1)
    • June 2020 (1)
    • May 2020 (1)
    • February 2019 (4)
    • December 2018 (1)
    • October 2018 (1)
    • August 2018 (2)
    • July 2018 (3)
    • June 2018 (18)
    March 2021
    M T W T F S S
    « Feb   May »
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  

    Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
    Powered by WordPress | Theme: Aeroblog