稷然如此

  • 首页
  • 文章分类
    • AI
    • Android
    • Java
    • Golang
    • Shell
    • Vue
    • C#
    • Python
    • 数据库
    • 组件
    • 其他
    • Game
  • 常用命令
    • Docker
    • Git
    • Linux
  • 操作系统
    • CentOS
    • Ubuntu
    • Windows
    • Kylin
    • Euler
  • 工具
    • IntelliJ IDEA
    • Visual Studio Code
操作系统
CentOS

云服务器 + 家庭网络搭建 VPN + 域名访问

1.云服务器安装WireGuard 注意:CentOS 已经 EOL,ELRepo 也已停止支持,不支持以下方案。 1.1 装包 & 确认内核模块 yum install -y wireguard-tools modprobe wireguard && echo "内核模块 OK" 如果报 Module wireguard not found,装 ELRepo: yum install -y elrepo-release yum install -y kmod-wireguard modpr…

2026年11月1日 3点热度 0人点赞 Akim 阅读全文
Euler

OpenEuler Docker 安装 Gitlab

# ce 版为社区免费版,ee 版为企业收费版 docker pull gitlab/gitlab-ce:latest # 创建config、logs、data目录 mkdir /opt/gitlab/{config,logs,data} # 授权目录 chmod -R 755 /opt/gitlab # shm-size:GitLab 内部大量使用 Redis、PostgreSQL 以及多进程通信,官方文档以256M为例,Docker 不指定默认64M,50人以上团队建议2G docker run -d \ --…

2026年11月1日 6点热度 0人点赞 Akim 阅读全文
Euler

OpenEuler 安装 Nacos

Nacos 官网下载地址 这里我们放在 /opt 目录下,所以压缩包直接丢到这个目录 unzip nacos-server-2.5.4.zip # 这个必须开,要不将以本地缓存方式启动,连不上数据库读不了配置 spring.datasource.platform=mysql ### Count of DB: db.num=1 ### Connect URL of DB: db.url.0=jdbc:mysql://127.0.0.1:3306/nacos?characterEncoding=utf8&con…

2026年10月22日 70点热度 1人点赞 Akim 阅读全文
Python

Windows 修改 Python pip 缓存目录

pip 默认缓存目录: C:\Users\用户名\AppData\Local\pip 长时间使用会使 C 盘越来越小 # 在 C:\Users\用户名\AppData\Roaming 目录下新建目录 pip 文件夹 C:\Users\用户名\AppData\Roaming\pip # 在上面创建的 pip 目录下新建文件 pip.ini # C:\Users\用户名\AppData\Roaming\pip\pip.ini # 内容为: [global] cache-dir = D:/framework/pip pi…

2026年6月10日 375点热度 0人点赞 Akim 阅读全文
Euler

Open Euler 安装 tar

# 更新源 sudo yum update # 安装 sudo yum install tar

2026年5月28日 412点热度 1人点赞 Akim 阅读全文
Euler

Open Euler 安装 Git

1.安装 # 切换 root 用户 su root # 更新源 sudo yum update # 安装 Git yum install -y git 2.验证 git --version  

2026年5月28日 436点热度 0人点赞 Akim 阅读全文
Docker

Windows 使用 Docker Desktop 导致 WSL 镜像越来越大的解决方案

windows 11 docker desktop docker desktop 使用的 windows wsl 虚拟机,一般保存在 C:\Users\用户名\AppData\Local\Docker\wsl\disk 下(可以转移到其他盘)。这个虚拟机随着时间推移,构建的镜像越来越频繁,导致这个虚拟机占用的磁盘空间越来越大。 1.在 docker 运行的时候,执行以下命令(慎重!慎重!!慎重!!!因为会清空所有已构建的镜像): docker system prune -a --volumes 2.完全关闭 doc…

2026年5月8日 448点热度 0人点赞 Akim 阅读全文
Euler

OpenEuler 安装 PostgreSql

1.下载 地址:ftp 目录 2.创建用户组及目录 # 创建用户组 groupadd postgres # 创建用户 useradd -g postgres postgres -s /bin/bash # 创建根目录 mkdir -p /opt/postgresql-14.4 # 创建数据存储目录 mkdir -p /opt/postgresql-14.4/data # 授权 chown -R postgres:postgres /opt/postgresql-14.4 chown -R postgres:post…

2026年5月6日 360点热度 1人点赞 Akim 阅读全文
Vue

Windws 安装 nvm、nrm

git 地址:nvm # 查看 nvm 版本 nvm -v # 显示远程可安装 node 列表 nvm ls available # 安装指定 node 版本(版本可以直接输入大版本,比如20,会自动安装20大版本下的最新版本) nvm install [version] # 显示已安装 node 列表 nvm ls # 使用指定 node 版本 nvm use [version] # 卸载指定 node 版本 nvm uninstall [version] # 开启 node 版本管理 nvm on # 关闭 n…

2026年4月12日 461点热度 0人点赞 Akim 阅读全文
Windows

Windows 安装 WSL 环境

wsl 命令说明:微软 wsl 命令 wsl --install 2.安装 linux 操作系统 # 查看当前已安装虚拟机 wsl -l -v # 查看可以安装 Linux 发行版 wsl -l -o # 安装虚拟机 wsl --install -d Ubuntu-22.04 # 安装完成后,需要设置用户 ubuntu # 设置密码 123456 # 确认密码 123456 # 设置 root 用户密码 sudo passwd root # 输入 ubuntu 用户密码 123456 # 输入 root 用户密码 …

2026年4月9日 509点热度 0人点赞 Akim 阅读全文
12345

Akim

犇 骉
古法 AI 双修者
Java、C#、Python、Go、Android、Vue、Bootstrap

Copyright © 2026 aianran.com All Rights Reserved.

免责申明 | 隐私政策 | 服务条款 | 关于我们

黔ICP备2023008200号-1

贵公网安备 52010202003594号