JavaScript 全栈工具链-bun
Posted on
Subversion (SVN)与ldap集成
Posted on
centos7+基于timedatactl+ntp实现时间同步
Posted on
金融衍生品-期货
Posted on
CentOS7中图形化Server with GUI vs GNOME Desktop
Posted on
在 CentOS 7 中,Server with GUI 和 GNOME Desktop 是两种不同的安装包组(Package Groups),它们决定了你操作系统安装后的功能重心和软件集成程度。
1.核心对比表
| 特性 | Server with GUI | GNOME Desktop |
|---|---|---|
| 定位 | 带有图形界面的生产级服务器 | 通用桌面工作站 |
| 基础包 | 包含服务器所需的网络、存储管理工具 | 包含桌面环境所需的全套办公及娱乐软件 |
| 默认软件 | 偏向管理工具 (如 Cockpit, NetworkManager) | 包含 LibreOffice, 媒体播放器, 邮件客户端等 |
| 资源占用 | 相对较轻,后台运行的冗余服务较少 | 较高,包含大量桌面组件和 GUI 应用 |
| 适用场景 | 需要 GUI 管理但主要运行服务的服务器 | 日常办公、开发环境或个人电脑 |
桐柏-太白顶
Posted on
centos7安装图形化gnome
Posted on
1.环境检查及yum配置
1.1check os info
cat /etc/*release
1.2centos7.9 base + epel
# CentOS-Base.repo 7.9.2009
[base]
name=CentOS-$releasever - Base - mirrors.aliyun.com
baseurl=https://mirrors.aliyun.com/centos-vault/7.9.2009/os/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates - mirrors.aliyun.com
baseurl=https://mirrors.aliyun.com/centos-vault/7.9.2009/updates/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras - mirrors.aliyun.com
baseurl=https://mirrors.aliyun.com/centos-vault/7.9.2009/extras/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus - mirrors.aliyun.com
baseurl=https://mirrors.aliyun.com/centos-vault/7.9.2009/centosplus/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
cat epel.repo
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://mirrors.aliyun.com/epel/7/$basearch
failovermethod=priority
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
baseurl=http://mirrors.aliyun.com/epel/7/$basearch/debug
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=0
[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
baseurl=http://mirrors.aliyun.com/epel/7/SRPMS
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=0
绘图ComfyUI概述
Posted on
ComfyUI是一个基于 节点(Node-based)图形编排 的 Stable Diffusion 可视化工具。
核心特征:
- 节点化(Graph-based DAG):类似数据流引擎(类似 Airflow / NiFi 思想)
- 完全可编程 pipeline:每个节点 = 一个函数
- 高度可控:参数、流程、分支全部显式化
- 天然适合自动化 / SRE 场景
哈希密码算法Argon2
Posted on
高带宽内存 HBM(High Bandwidth Memory)
Posted on
密码生成单向不可逆-bcrypt算法
Posted on
BCrypt 是一种基于 Blowfish 加密算法的密码哈希函数,由 Niels Provos 和 David Mazières在 1999 年提出,设计目标是安全地存储密码。
核心特点
自适应成本因子(Cost Factor / Work Factor)
- 可以调整计算难度,随着硬件性能提升,逐步增加迭代次数
- 默认成本因子通常为10(5+),每增加 1,迭代次数翻倍(2¹⁰ → 2¹¹ → 2¹² …)
自动加盐(Salt)
- 每次哈希都自动生成一个随机的 16 字节 salt
- 防止彩虹表攻击(rainbow table attack)
单向不可逆
- 只能验证,不能还原原始密码
