随笔分类 -  系统|运维

摘要:需求 服务器密码不统一,运维管理困难,需要将服务器密码统一进行设置 修改服务器密码流程 安装需要的包 cd /opt/ wget https://sourceforge.net/projects/tcl/files/Tcl/8.4.19/tcl8.4.19-src.tar.gz --no-check 阅读全文
posted @ 2022-06-28 16:14 lixinliang 阅读(402) 评论(0) 推荐(0) 编辑
摘要:需求 由于服务器迁移,为维护方便,将统一使用vmware 平台管理虚拟机,因此需将kvm 虚拟机统一迁至vmware kvm 磁盘镜像转换 查看虚拟机 # virsh list --all Id Name State 180 CentOS7.8-x86_64-10.65.6.61 running 虚 阅读全文
posted @ 2022-05-19 13:54 lixinliang 阅读(2706) 评论(0) 推荐(0) 编辑
摘要:prometheus对接飞书告警 环境 名称 ip地址 cpu 内存 yz-feishu 10.65.6.91 4c 8G 飞书创建群组机器人,参考飞书官网 https://www.feishu.cn/hc/zh-CN/articles/360024984973 #备注:自定义机器人要增加ip 白名 阅读全文
posted @ 2022-03-23 16:24 lixinliang 阅读(5690) 评论(0) 推荐(0) 编辑
摘要:#centos7 部署 DNS 主从 环境 名称 ip地址 cpu 内存 yz-dns-master 10.148.100.81 4c 8G yz-dns-slave 10.148.100.82 4c 8G yz-dns-master 主配置 #配置dns 监牢模式 yum install bind 阅读全文
posted @ 2022-03-21 17:21 lixinliang 阅读(303) 评论(0) 推荐(0) 编辑
摘要:centos7 安装部署 jira7.4 环境 名称 ip地址 cpu 内存 confluence01 10.65.91.55 4c 8G 部署jira #安装jdk 1.8 环境 # cat /etc/profile JAVA_HOME=/usr/local/jdk1.8.0_201 JRE_HO 阅读全文
posted @ 2022-03-17 14:29 lixinliang 阅读(686) 评论(0) 推荐(0) 编辑
摘要:centos7 安装部署confluence wiki 6.3 环境 名称 ip地址 cpu 内存 confluence01 10.65.10.56 4c 8G 部署confluence #安装jdk 1.8 环境 # cat /etc/profile JAVA_HOME=/usr/local/jd 阅读全文
posted @ 2022-03-10 17:53 lixinliang 阅读(968) 评论(0) 推荐(1) 编辑
摘要:### centos7 部署一套opevpn - 需求 ``` 一套vpn 用于从公司或者家里直连机房服务器,账号密码用ldap 认证。 ``` - 环境 名称|ip地址|cpu|内存 --|:--:|:--|:-- openvpn server |10.65.10.56|4c|8G| 公网ip|1 阅读全文
posted @ 2022-03-09 11:42 lixinliang 阅读(10) 评论(0) 推荐(0) 编辑
摘要:### centos7 部署 ldap - 需求 名称|ip地址|cpu|内存 --|:--:|:--|:-- ldap master01|10.65.10.57|4c|8G| ldap master02|10.65.91.52|4c|8G| ldap keepalived vip|10.65.91 阅读全文
posted @ 2022-03-04 15:40 lixinliang 阅读(2540) 评论(1) 推荐(0) 编辑
摘要:注意: Docker 可以共享使用显卡,即多个docker 可以共享使用同一块显卡 环境 硬件:Tesla T4 八张显卡 系统:Centos7.9 操作系统 服务器安装完操作系统,并安装完显卡驱动 请参照:https://www.cnblogs.com/lixinliang/p/14705315. 阅读全文
posted @ 2022-02-09 11:44 lixinliang 阅读(1086) 评论(0) 推荐(0) 编辑
摘要:注意:kvm 虚拟机无法共享宿主机显卡,即只有8块显卡,那么只能提供给8个虚拟机使用 环境准备 硬件: 支持虚拟化,已安装kvm 平台 服务器显卡类型:Tesla T4 虚拟机镜像:ubuntu-16.04.4-desktop-amd64.iso 安装kvm 虚拟机 创建虚拟机 shell>qemu 阅读全文
posted @ 2022-01-24 15:01 lixinliang 阅读(889) 评论(0) 推荐(0) 编辑
摘要:###安装环境 系统版本:Centos7.9 安装方式: yum 安装 ###部署SVN 安装svn yum -y install subversion 检查版本 svnserve --version ###配置SVN 创建SVN库 mkdir -p /opt/svn 创建repo代码库 svnad 阅读全文
posted @ 2021-11-10 11:57 lixinliang 阅读(1874) 评论(0) 推荐(0) 编辑
摘要:## ubuntu 使用openvpn 客户端 ###安装依赖包 ``` apt-get install openvpn ``` ### 连接vpn ``` # 上传openvpn 客户端 my-office.ovpn 配置文件至服务器 # 创建认证文件 pass.txt root@pc-Syste 阅读全文
posted @ 2021-09-14 16:02 lixinliang 阅读(4) 评论(0) 推荐(0) 编辑
摘要:###安装依赖 yum -y install flex byacc libpcap ncurses ncurses-devel libpcap-devel gcc* ###下载源码包 wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.1 阅读全文
posted @ 2021-09-13 16:47 lixinliang 阅读(365) 评论(0) 推荐(0) 编辑
摘要:###glusterfs 分布式复制集群环境 10.65.91.51 glusterfs-test01 10.65.91.52 glusterfs-test02 10.65.91.53 glusterfs-test03 10.65.91.54 glusterfs-test04 10.65.91.55 阅读全文
posted @ 2021-08-04 16:34 lixinliang 阅读(536) 评论(0) 推荐(0) 编辑
摘要:prometheus 监控硬件 安装ipmitool 并加载相应模块 yum install ipmitool freeipmi -y modprobe ipmi_msghandler modprobe ipmi_devintf modprobe ipmi_poweroff modprobe ipm 阅读全文
posted @ 2021-07-16 13:36 lixinliang 阅读(5648) 评论(0) 推荐(0) 编辑
摘要:使用远控卡安装服务器操作系统 链接虚拟介质 ##选择浏览 ##选择安装镜像。此次安装使用 centos7.9 基础镜像源 ##随后点击映射设备 ##关闭进行重装 ##重启服务器,根据服务器面板提示按 F2 进入Bios ,选择 System BIos ##选择Boot Settings ##选择 U 阅读全文
posted @ 2021-05-14 12:56 lixinliang 阅读(5106) 评论(0) 推荐(0) 编辑
摘要:安装GPU驱动和CUDA工具包(nvidia) 环境 显卡型号: GPU 2080 ti *8 操作系统: CentOS Linux release 7.8.2003 (Core) docker 版本: 20.10.6 (18 版本不支持gpu) 软件下载 nvidia驱动 官方地址:https:/ 阅读全文
posted @ 2021-04-26 16:33 lixinliang 阅读(1229) 评论(0) 推荐(0) 编辑
摘要:etcd 部署 wget https://github.com/etcd-io/etcd/releases/download/v3.3.13/etcd-v3.3.13-linux-amd64.tar.gz tar -zxvf etcd-v3.3.13-linux-amd64.tar.gz cd et 阅读全文
posted @ 2021-03-11 16:47 lixinliang 阅读(351) 评论(0) 推荐(0) 编辑
摘要:节点规划 172.25.102.10 node1 172.25.102.39 node2 172.25.102.17 node3 部署过程 三个节点都执行 yum install etcd -y mkdir /data/etcd node1: 配置文件 $ cat /etc/etcd/etcd.co 阅读全文
posted @ 2021-03-11 16:34 lixinliang 阅读(177) 评论(0) 推荐(0) 编辑
摘要:准备节点 192.168.71.202 glusterfs01 192.168.71.203 glusterfs02 192.168.71.204 glusterfs03 192.168.71.205 glusterfs04 192.168.71.102 cpjf71-102 192.168.71. 阅读全文
posted @ 2021-03-05 14:59 lixinliang 阅读(350) 评论(0) 推荐(0) 编辑