当前位置:网站首页>Based on the statistical QDirStat Qt directory
Based on the statistical QDirStat Qt directory
2022-08-04 03:06:00 【Yangpu Lao Su】
Whatever it says is free,It is estimated that this month will be indispensable
looks cheap,But waste your voice
什么是 QDirStat ?
QDirStat
是一个图形应用程序,Used to show where your disk space is going and help you clean it up.
说实话,Lao Su doesn't like this kind of belt very much vnc
、rdp
的应用,比较耗资源,It feels like running a virtual machine,The key is that the function is still single.
安装
在群晖上以 Docker 方式安装.
在注册表中搜索 qdirstat
,选择第二个 linuxserver/qdirstat
,版本选择 latest
.
Note the next version:1.8.20220430
卷
在 docker
文件夹中,创建一个新文件夹,将其命名为 qdirstat
,并在其中建两个子文件夹,分别是 config
和 data
文件夹 | 装载路径 | 说明 |
---|---|---|
docker/qdirstat/config | /config | 存放设置 |
docker/qdirstat/data | /data | The data whose disk usage information is to be analyzed |
/data
Limited by the graphical interface,The system directory cannot be selected,If you need to map the system's directory,Can be run in command line mode
端口
本地端口不冲突就行,不确定的话可以用命令查一下
# 查看端口占用
netstat -tunlp | grep 端口号
本地端口 | 容器端口 |
---|---|
5030 | 3000 |
3389 | 3389 |
如果只是在 Web
上使用,也可以删掉 3389
端口
3389
是RDP
The default port for the client;
环境
可变 | 值 |
---|---|
TZ | 设为 Asia/Shanghai |
PUID | 设为 1000 |
PGID | 设为 1000 |
命令行安装
如果你熟悉命令行,可能用 docker cli
更快捷
/data
It can also point to Synology's system directory,To prevent accidental deletion of files,It is recommended to add read-only after it,变为/path/to/data:/data:ro
# 新建文件夹 qdirstat 和 子目录
mkdir -p /volume2/docker/qdirstat/{
config,data}
# 进入 qdirstat 目录
cd /volume2/docker/qdirstat
# 运行容器
docker run -d \
--restart unless-stopped \
--name qdirstat \
-p 5030:3000 \
-v $(pwd)/config:/config \
-v $(pwd)/data:/data \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Asia/Shanghai \
linuxserver/qdirstat:latest
也可以用 docker-compose
安装,将下面的内容保存为 docker-compose
文件
version: "2.1"
services:
qdirstat:
image: linuxserver/qdirstat:latest
container_name: qdirstat
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
volumes:
- /volume2/docker/qdirstat/config:/config
- /volume2/docker/qdirstat/data:/data
ports:
- 5030:3000
restart: unless-stopped
然后执行下面的命令,在 portainer
中执行也是可以的
# 进入目录
cd /volume2/docker/qdirstat
# 将 docker-compose.yml 放入当前目录
# 一键启动
docker-compose up -d
运行
在浏览器中输入 http://群晖IP:5030
就能看到主界面,But dark,There is only a dot in the middle on the left
鼠标右键的菜单,xtem
和 XFCE Terminal
Both open the terminal
Choose rationally QdirStat
会出现界面,But actually nothing,Lao Su once suspected that there was not enough memory,但实际上不是.
Executing it in the terminal will prompt an error
qdirstat : error while loading shared libraries : libQt5Core.so.5 : cannot open shared object file : No such file or directory
问题处理
通过查阅资料,Lao Su found a solution,But the reason for the emergence of Synology is not clear,But Lao Su doubted it would still be DSM 6.1.7-15284
The kernel version is too low
# 升级源
sudo apt update -y
# 安装 strip
sudo apt install -y binutils
# 修改 ELF section
sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
Copy and paste the above content to the location in the following image,Then paste into the terminal again
After the execution is completed in sequence,再执行 qdirstat
就能看到界面了
目录的使用情况
参考文档
shundhammer/qdirstat: QDirStat - Qt-based directory statistics (KDirStat without any KDE - from the original KDirStat author)
地址:https://github.com/shundhammer/qdirstat
Docker Hub
地址:https://hub.docker.com/r/linuxserver/qdirstat
边栏推荐
- There are too many systems, how to realize multi-account interworking?
- There are n steps in total, and you can go up to 1 or 2 steps each time. How many ways are there?
- In a more general sense, calculating the displacement distance and assumptions
- Zabbix设置邮件告警+企业微信告警
- Ant - the design of the Select component using a custom icon (suffixIcon attribute) suffixes, click on the custom ICONS have no reaction, will not display the drop-down menu
- esp8266-01s刷固件步骤
- 4路双向HDMI综合业务高清视频光端机8路HDMI高清视频光端机
- 跨境电商看不到另一面:商家刷单、平台封号、黑灰产牟利
- 出海季,互联网出海锦囊之本地化
- FPGA parsing B code----serial 3
猜你喜欢
基于Qt的目录统计QDirStat
Dong mingzhu live cold face away, when employees frequency low-level mistakes, no one can understand their products
There are n steps in total, and you can go up to 1 or 2 steps each time. How many ways are there?
sqoop ETL tool
Polygon zkEVM network node
编写 BOLL 心得体会
【项目实现】Boost搜索引擎
STM8S project creation (STVD creation) --- use COSMIC to create a C language project
MySQL高级-读写分离-分库分表
三分建设,七分管理!产品、系统、组织三管齐下节能降耗
随机推荐
2022.8.3-----leetcode.899
三分建设,七分管理!产品、系统、组织三管齐下节能降耗
There are too many systems, how to realize multi-account interworking?
Architecture of the actual combat camp module three operations
大佬们,读取mysql300万单表要很长时间,有什么参数可以优惠,或者有什么办法可以快点
STM8S105K4T6------串口发送和接收
Rongyun "Audio and Video Architecture Practice" technical session [complete PPT included]
How to read the resources files in the directory path?
y86.第四章 Prometheus大厂监控体系及实战 -- prometheus存储(十七)
一个属于程序员的七夕节!
【观察】超聚变:首提“算网九阶”评估模型,共建开放繁荣的算力网络
How to drop all tables under database in MySQL
Development of Taurus. MVC WebAPI introductory tutorial 1: download environment configuration and operation framework (including series directory).
db2中kettle报错 Field [XXX] is required and couldn‘t be found 解决方法
4-way two-way HDMI integrated business high-definition video optical transceiver 8-way HDMI high-definition video optical transceiver
[QNX Hypervisor 2.2 User Manual] 10.3 vdev gic
STM8S project creation (STVD creation) --- use COSMIC to create a C language project
typescript type 和 interface 的区别
【翻译】Terraform和Kubernetes的交集
架构实战营模块三作业