Linux共9篇

这是 Linux + Conda 安装 vLLM 100% 成功的唯一方法

你的旧 Conda 环境已经彻底污染,反复卸载重装没用!必须删除重建环境 + 用 Conda 安装 PyTorch(自带完整兼容的 CUDA/NCCL,从根源解决 undefined symbol 错误)!第一步:彻底删除坏掉的环境...
3个月前
07515

kvm常用运维命令

virsh是kvm虚拟机常用的管理工具,以下是一些常用的命令查看在运行的虚拟机:virsh list查看创建的所有虚拟机:virsh list --all2020是虚拟机的名称(示例)启动虚拟机:virsh start 2020关闭虚...
2年前
01408

centos7 国外vps提升权限使用root登录

1.修改root密码sudo passwd root2.开启root用户登录vi /etc/ssh/sshd_config 开启 PermitRootLogin yes3.重启sshsystemctl start sshd.service 
2年前
015810

ovh.com ovhcloud 开通服务器提升root权限 Ubuntu Server 22

Ubuntu Server 221.登录后台安装不要选密钥安装 2.安装后点击个人设置 Emails received 查看服务器密码3.提升账户rootsudo passwd root 启用root 修改 sudo nano /etc/ssh/sshd_config 添加或...
2年前
03059

linux网络防火墙-iptables 常用说明

一:前言1.常见的iptables的命令:## 查看规则iptables -nLiptables -nL -t nat 专门查看nat表iptables -nL -v --line-numbers -t filter 表filter带行号带流量数据iptables -nL --line-numbers...
2年前
06211

宝塔 centos 端口转发导致kvm虚拟机全部端口走母鸡ip问题

centos 端口转发导致kvm虚拟机全部端口走母鸡ip问题 1.关闭路由转发 [root@firewalld ~]# vim /etc/sysctl.conf net.ipv4.ip_forward = 1 [root@firewalld ~]# sysctl -p net.ipv4.ip_forward =...
3年前
01020

KVM安装方法

/etc/sysconfig/network-scripts/ 1桥接 yum -y install bridge-utils systemctl restart network 2添加网桥 brctl addbr br0 brctl addbr br1 3复制网络配置 cp 物理网卡 ifcfg-br0 4关闭 N...
3年前
01180

常用硬盘读写iops测试值

常用硬盘读写iops 7200转希捷 63iops 15000转硬盘 146iops 注意,hyper的限制IOPS会同时导致读写速度大幅度下降变成石头盘。 hyper的iops和硬盘本身的iops好像有些不同。 以下均为实测数据 测试...
3年前
01140

Linux服务器性能优化

一 linux服务器性能查看1.1 cpu性能查看1、查看物理cpu个数:cat /proc/cpuinfo |grep 'physical id'|sort|uniq|wc -l2、查看每个物理cpu中的core个数:cat /proc/cpuinfo |grep 'cpu ...
3年前
01140