会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
vicowong
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
下一页
[置顶]
Rocky10 编译安装 Asp.net Core_9 Nginx_1.28.0 Mariadb_11.8.3 Redis_8.2.0 (实测 笔记)
摘要: 一、查看硬件信息 1、查看物理cpu个数、核心数量、线程数grep 'physical id' /proc/cpuinfo | sort -u | wc -lgrep 'core id' /proc/cpuinfo | sort -u | wc -lgrep 'processor' /proc/cp
阅读全文
posted @ 2025-08-12 13:11 vicowong
阅读(27)
评论(0)
推荐(0)
[置顶]
Rocky9 Mariadb_10.9.4 使用SSL实现主从同步
摘要: 预备操作 # 主库IP:192.168.0.10数据库版本:Mariadb_10.9.4需要证书:/data/ca/ca-cert.pem/data/ca/server-cert.pem/data/ca/server-key.pem # 从库IP:192.168.0.20数据库版本:Mariadb_
阅读全文
posted @ 2022-12-30 12:06 vicowong
阅读(533)
评论(0)
推荐(0)
[置顶]
Rocky9 下安装与配置 Fail2ban
摘要: 一、确认firewalld安装 systemctl start firewalld && systemctl enable firewalldsystemctl status firewalld 查看firewalldfirewall-cmd --list-all 二、安装 fail2bandnf
阅读全文
posted @ 2022-12-22 12:30 vicowong
阅读(810)
评论(0)
推荐(0)
[置顶]
CentOS7 SWAP 设置 (实测 笔记)
摘要: 添加新硬盘 [root@centos ~]# fdisk -l 硬盘分区(硬盘只分一下区,按默认) [root@centos ~]# fdisk /dev/vdb n p 1 l 默认 w [root@centos ~]# ls –l /dev 格式化分区 [root@centos ~]# mkfs
阅读全文
posted @ 2017-01-05 14:50 vicowong
阅读(5500)
评论(0)
推荐(0)
[置顶]
定时任务crontab 例子
摘要: 查看定时任务格式 [root@centos ~]# vim /etc/crontab 1 SHELL=/bin/bash 2 PATH=/sbin:/bin:/usr/sbin:/usr/bin 3 MAILTO=root 4 5 # For details see man 4 crontabs 6
阅读全文
posted @ 2016-12-29 14:08 vicowong
阅读(271)
评论(0)
推荐(0)
2024年3月26日
memos 轻量级笔记服务
摘要: https://github.com/usememos/memos docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos neosmemo/memos:stable The ~/.memos/ directory wi
阅读全文
posted @ 2024-03-26 11:10 vicowong
阅读(162)
评论(0)
推荐(0)
docker 安装 (Rocky9 和 Ubuntu20.04)
摘要: docker 官方网址:https://www.docker.com/ docker 其它网址:https://docker.p2hp.com/ Rocky9 环境dnf install docker Ubuntu20.04 环境 curl -fsSL https://get.docker.com
阅读全文
posted @ 2024-03-26 11:10 vicowong
阅读(229)
评论(0)
推荐(0)
2023年4月24日
查看域名解析cname值的方法
摘要: 查看域名解析cname值的方法 win+R进入到命令提示符窗口后,在命令行中执行nslookup命令即可查看域名解析的值; 1)查询域名解析的cname值 nslookup -qt=CNAME www.baidu.com2)查询域名解析的A记录值 nslookup -qt=A baidu.com3)
阅读全文
posted @ 2023-04-24 15:30 vicowong
阅读(1507)
评论(0)
推荐(0)
2021年7月7日
fail2Ban ubuntu
摘要: 一、安装sudo apt-get install -y fail2ban 二、配置Fail2Ban 配置文件格式 INI,存于 /etc/fail2ban 目录: fail2ban.conf : fail2ban 程序运行的日志和数据库等参数。jail.conf : 禁止(ban)相关参数。filt
阅读全文
posted @ 2021-07-07 08:54 vicowong
阅读(438)
评论(0)
推荐(0)
2021年6月18日
VSCode 搭建 Vue项目 lite-server
摘要: VSCode搭建Vue项目 vscode vue 格式化 1.在 vscode 的extension中搜索 “vetur”插件,并安装,安装成功后重启编辑器。 2.设置,查找 vetur.editor.defaultFormatterEditor:Default Formatter 选择 Vetur
阅读全文
posted @ 2021-06-18 09:37 vicowong
阅读(562)
评论(0)
推荐(0)
2021年5月5日
CentOS7 改python3
摘要: yum install python3 -y cd /usr/bin ll python* python -V python3 -V mv python python.bak ln -s /usr/bin/python3 /usr/bin/python python -V vim /usr/bin/
阅读全文
posted @ 2021-05-05 18:07 vicowong
阅读(96)
评论(0)
推荐(0)
2020年5月29日
Bash 简介 (转)
摘要: Bash 简介 转自 https://wangdoc.com/bash/intro.html Bash 是 Unix 系统和 Linux 系统的一种 Shell(命令行环境),是目前绝大多数 Linux 发行版的默认 Shell。 目录 [隐藏] 简介 基本语法 模式扩展 引号和转义 变量 字符串操
阅读全文
posted @ 2020-05-29 09:17 vicowong
阅读(790)
评论(0)
推荐(0)
1
2
3
4
5
下一页
公告