摘要: 预备操作 # 主库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 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 一、确认firewalld安装 systemctl start firewalld && systemctl enable firewalldsystemctl status firewalld 查看firewalldfirewall-cmd --list-all 二、安装 fail2bandnf 阅读全文
posted @ 2022-12-22 12:31 vicowong 阅读(363) 评论(0) 推荐(0) 编辑
摘要: #*** /etc/my.cnf 配置文件 ***# [client]port = 3309socket = /usr/local/mysql/tmp/mysql.sock[mysqld]!include /usr/local/mysql/etc/mysqld.cnf # 包含的配置文件 ,把用户名 阅读全文
posted @ 2022-12-14 10:40 vicowong 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 一、查看硬件信息 1、查看物理cpu个数、核心数量、线程数grep 'physical id' /proc/cpuinfo | sort -u | wc -lgrep 'core id' /proc/cpuinfo | sort -u | wc -lgrep 'processor' /proc/cp 阅读全文
posted @ 2022-12-11 19:17 vicowong 阅读(607) 评论(0) 推荐(0) 编辑
摘要: Fatal glibc error:CPU does not support x86-64-v2 设置:至少需要用2核心才能启动安装。建议启用vbox的嵌套虚拟化 打开PowerShellPS C:\Program Files\Oracle\VirtualBox> .\vboxmanage modi 阅读全文
posted @ 2022-12-10 16:26 vicowong 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 查看硬件信息 主机 dmidecode|grep "Product Name" CPU cat /proc/cpuinfo |grep name 内存 cat /proc/meminfo 网卡 dmesg|grep -i eth 系统版本 cat /etc/redhat-release 查看物理cp 阅读全文
posted @ 2017-07-25 16:22 vicowong 阅读(2896) 评论(0) 推荐(0) 编辑
摘要: 环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7.0-1406-x86_64-DVD.iso 安装步骤: 1.准备 1.1 显示系统版本[root@centos ~]# cat /etc/redhat-release CentOS L 阅读全文
posted @ 2017-02-15 16:22 vicowong 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 添加新硬盘 [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 阅读(5389) 评论(0) 推荐(0) 编辑
摘要: 查看定时任务格式 [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 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7-x86_64-Minimal-1611.iso 数据库版本信息 : 10.1.20-MariaDB Source distribution 主服务器的IP:192.168.1.14 从 阅读全文
posted @ 2016-12-23 09:48 vicowong 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 基础部分设置 [root@centos ~]# vim /opt/nginx/conf/nginx.conf user www www;worker_processes auto;pid logs/nginx.pid;worker_rlimit_nofile 100000; events {use 阅读全文
posted @ 2016-12-09 15:06 vicowong 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7-x86_64-Minimal-1611.iso 安装步骤: 1.准备 1.0 查看硬件信息 查看物理cpu个数[root@centos ~]# grep 'physical id' / 阅读全文
posted @ 2016-01-07 14:47 vicowong 阅读(1939) 评论(0) 推荐(0) 编辑
摘要: 环境:系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡)LVS服务器(两台):系统:Centos7.0 64位(LVS+keepalived)LvsMaster:192.168.1.21 (主VIP:192.168.1.20 ,备VIP:192.168.1.18)LvsB... 阅读全文
posted @ 2015-03-17 11:40 vicowong 阅读(2911) 评论(0) 推荐(0) 编辑
摘要: 环境:系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡)系统版本:CentOS-7.0-1406-x86_64-DVD.iso安装步骤:1.准备1.1 显示系统版本[root@centos ~]# cat /etc/redhat-releaseCentOS Linux r... 阅读全文
posted @ 2014-12-18 11:27 vicowong 阅读(2588) 评论(0) 推荐(0) 编辑
摘要: 环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7.0-1406-x86_64-DVD.iso 安装步骤: 1.准备 1.1 显示系统版本[root@centos ~]# cat /etc/redhat-release CentOS L 阅读全文
posted @ 2014-12-11 10:00 vicowong 阅读(823) 评论(0) 推荐(0) 编辑
摘要: 环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7-x86_64-Minimal-1611.iso GIT服务器IP:192.168.1.10 SSH端口:默认为22 开发端1: GIT管理者,管理GIT服务器的成员和项目设置,同时也是 阅读全文
posted @ 2014-12-04 12:41 vicowong 阅读(4315) 评论(0) 推荐(0) 编辑
摘要: 环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7.0-1406-x86_64-DVD.iso 安装步骤: 1.虚拟系统安装 1.1 使用VMware 虚拟机,读入ISO进行安装。启动后进行安装界面 1.2 选择 Install Cen 阅读全文
posted @ 2014-07-11 14:58 vicowong 阅读(5820) 评论(0) 推荐(0) 编辑
摘要: 通过修改CentOS 6.5 的系统默认设置,对系统进行安全加固,进行系统的性能优化。环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G) 系统版本:Centos-6.5-x86_64(最小化安装)步骤: 1.关闭SELinux [root@centos ~... 阅读全文
posted @ 2014-04-11 16:42 vicowong 阅读(1499) 评论(0) 推荐(0) 编辑
摘要: 一.生成对称密钥(在客户机生成) ssh-keygen -t rsa ls /root/.ssh 二.配置系统使用密钥登录 1.把公钥复制到服务器 id_rsa.pub cd /root/.ssh ls 2.在服务器上,把证书信息导入到authorized_keys cd /root/.ssh ca 阅读全文
posted @ 2013-04-03 11:09 vicowong 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G) 系统版本:CentOS-6.5-x86_64-minimal.iso 安装步骤: 0.虚拟系统安装 0.1 使用VMware 虚拟机进行安装,进行安装界面 (分配内存必须大于1G,否则不会显示图型安装界面,网络设置使用“ 阅读全文
posted @ 2011-12-01 23:38 vicowong 阅读(9185) 评论(2) 推荐(1) 编辑
摘要: ### github 创建创建仓库 https://github.com/username/username.github.io.git打开 https://username.github.io/ ### 本机( Windows11)安装 Hugo extened打开 https://github. 阅读全文
posted @ 2024-04-23 14:45 vicowong 阅读(1) 评论(0) 推荐(0) 编辑
摘要: GPT-SoVITShttps://github.com/RVC-Boss/GPT-SoVITShttps://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e git clone https://github.com/RVC-Boss/GPT- 阅读全文
posted @ 2024-04-18 10:15 vicowong 阅读(20) 评论(0) 推荐(0) 编辑
摘要: git clone https://github.com/langgenius/dify.gitcd dify/docker/docker compose up -d 阅读全文
posted @ 2024-04-08 13:15 vicowong 阅读(34) 评论(0) 推荐(0) 编辑
摘要: # Welcome to Ubuntu 22.04.1 LTS lsb_release -aip addr | grep inet |grep ethnvidia-smi # 版本更新sudo apt update -ysudo apt install vim wget curl git -y # 阅读全文
posted @ 2024-03-29 17:41 vicowong 阅读(539) 评论(0) 推荐(0) 编辑
摘要: Conda 官方网址:https://www.anaconda.com/ ### python3 虚拟环境 # 创建虚拟环境 python3 -m venv venv # 进入虚拟环境 source venv/bin/activate # 退出虚拟环境 deactivate Rocky9 环境 dn 阅读全文
posted @ 2024-03-26 11:17 vicowong 阅读(11) 评论(0) 推荐(0) 编辑
摘要: # 基于Win11 Linux子系统 WSL2 Windows PowserShell 查看wsl的内核版本号 (要大于5.10.16.3)wsl cat /proc/version #在WSL检查是否能找到显卡(WSL2的显卡驱动,依赖windows上安装的显卡驱动)watch -n 0.5 nv 阅读全文
posted @ 2024-03-26 11:12 vicowong 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 一、安装 anacondacd /data/srcwget https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.shbash Anaconda3-2021.05-Linux-x86_64.sh -p /opt/anac 阅读全文
posted @ 2024-03-26 11:11 vicowong 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 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:11 vicowong 阅读(8) 评论(0) 推荐(0) 编辑
摘要: cat/etc/redhat-release dnf install tk tk-devel cd /data/srcwget https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tgztar -zxvf Python-3.11.4.tgz 阅读全文
posted @ 2024-03-26 11:10 vicowong 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(10) 评论(0) 推荐(0) 编辑