Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab gists with given topic

Entra


Tutti Nuovi Entra

All gists matching topic bash

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento
LiuShen's Avatar

LiuShen / Linux服务器添加SWAP虚拟内存

0 mi piace
0 forks
1 files
Ultima volta attivo 1744360515
在Linux服务器添加SWAP虚拟内存,提高服务器使用率
bash linux ram swap
1 #!/bin/bash
2
3 # ============================
4 # 创建一个 4GB 的 Swap 文件
5 # ============================
6
7 # 步骤 1:创建 4GB 的 Swap 文件
8 echo "步骤 1:创建 4GB 的 Swap 文件"
9
10 # 使用 fallocate 创建一个 4GB 的 swap 文件
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 14ms⋅

Italiano
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ 个人主页 ⋅ 站长博客