添加nginx的官方安装源:
# vim /etc/apt/sources.list
然后:
deb https://nginx.org/packages/debian/ jessie nginx
deb-src https://nginx.org/packages/debian/ jessie nginx
然后:
添加nginx的官方安装源:
# vim /etc/apt/sources.list
然后:
deb https://nginx.org/packages/debian/ jessie nginx
deb-src https://nginx.org/packages/debian/ jessie nginx
然后:
挂载/home的磁盘目录扩容了好几次但很快又没可用空间了,很烦。 之后发现是Gitlab自动备份文件堆积成山……
# 查找超过800M大小文件
find . -type f -size +800M
# 查找超过800M大小文件,并显示文件信息
find . -type f -size +800M -print0 | xargs -0 ls -l
# 查找超过800M大小文件,并显示查找出来文件的具体大小
My:
Seed | Description |
---|---|
575221208 | 右双水泉,左上天然气 |
1407967392 | 右近气左下贴脸水 |
826721296 | 左脸水泉下近气,家多植,13虫 |
646438903 | 五泉,左上脸两气一水,,右上一水,正下一气。 |
339090353 | |
1075380404 | 左边是氯气和水泉 在左下 右边是两个天然气 都很近(除了水泉) |
setxkbmap -option "ctrl:swapcaps"
Ref:
半夜硬盘狂转,多半是updatedb.mlocate引起的。
/etc/cron.d/mlocate
移动到/etc/cron.monthly
chmod -x /etc/cron.d/mlocate
一劳永逸,需要的时候手动操作package main
import (
"fmt"
"math/rand"
"time"
"os"
)