每个人都有自己的知识体系。
Toggle navigation
Home
随笔
C#/.Net
树莓派 / Raspberry
皓月汉化组
Beego
Golang
OxideMod
apache
haproxy
windows
Java
Objective-C
日语/罗马音歌词/日语常识
MongoDB
python
电学
公告
Minecraft服务器-公告
NanoPi
C4D (CINEMA 4D)
生活
推流/m3u8/rtmp/rtsp
Unity3d
ffmpeg
数据结构
区块链
tarui
UnityForPSVita
About Me
Archives
Tags
范例: 树莓派追加swap交换空间,防止内存不足
2017-11-04 09:22:43
739
0
0
akiragatsu
执行以下命令 xbian@xbian:/#sudo dd if=/dev/zero of=/swapfile1 bs=1024 count=524288 xbian@xbian:/#sudo mkswap /swapfile1 xbian@xbian:/#sudo chown root:root /swapfile1 xbian@xbian:/#sudo chmod 0600 /swapfile1 xbian@xbian:/#sudo swapon /swapfile1 xbian@xbian:/#sudo vi /etc/fstab 添加以下内容到fstab文件尾 /swapfile1 swap swap defaults 0 0 查看是否有swap空间 $ free -m ok,重启后就可以用了
Pre:
获取系统环境变量、以获取“Path”作为范例
Next:
皓月日报:商店功能上线
0
likes
739
Weibo
Wechat
Tencent Weibo
QQ Zone
RenRen
Submit
Sign in
to leave a comment.
No Leanote account?
Sign up now.
0
comments
More...
Table of content
No Leanote account? Sign up now.