"deb http://download.proxmox.com/debian/ceph-nautilus buster main" | tee /etc/apt/sources.list.d/ceph.list apt update && apt dist-upgrade apt update apt install ifupdown2 net-tools vim proxmox-ve postfix open-iscsi -y sed 's/^/#/' /etc/apt/sources.list.d/pve-enterprise.list init...
首先编辑GRUB配置文件: root@pve:~# vim /etc/default/grubroot@pve:~#root@pve:~# cat /etc/default/grub# If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.# For full documentation of the options in this file, see:# info -f grub -n 'Simple configu...
root@pve:~# vim /etc/default/grub root@pve:~# root@pve:~# cat /etc/default/grub # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration' GRUB_...
hostnamectl set-hostname dcs-edge1.pealog.comecho"192.168.1.1 pea-edge1.pealog.com pea-edge1"|tee-a /etc/hosts bash: sudo: command not found报错 apt install sudo -y dpkg-source报错 apt install dpkg-dev vim -y 更换SSH端口 sed -i's%#Port 22%Port 66%'/etc/ssh/sshd_config system...
root@pve:~# vim/etc/default/grub root@pve:~# root@pve:~# cat/etc/default/grub # If you changethisfile,run'update-grub'afterwards to update #/boot/grub/grub.cfg.# For full documentationofthe optionsinthisfile,see:# info-f grub-n'Simple configuration'GRUB_DEFAULT=0GRUB_TIMEOUT=5GRUB_...
root@pve:~# vim /etc/default/grubroot@pve:~#root@pve:~# cat /etc/default/grub# If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.# For full documentation of the options in this file, see:# info -f grub -n 'Simple configuration'GRUB_DEFAULT=0...
Networking will not work. 1. 则说明ip转发没有打开,需要通过如下方式打开: vim /etc/sysctl.conf #配置转发 net.ipv4.ip_forward=1 #重启服务,让配置生效 systemctl restart network #查看是否成功,如果返回为“net.ipv4.ip_forward = 1”则表示成功 sysctl net.ipv4.ip_forward 1. 2. 3. 4. 5. 6....
## 修改 cpufrequtils 配置文件vim/etc/init.d/cpufrequtils## 在配置文件中修改调度器ENABLE="true"GOVERNOR="schedutil"## 修改本行的调度器为 schedutilMAX_SPEED="0"MIN_SPEED="0" 按键进入编辑模式,键退出编辑模式,命令保存退出。 因为该配置文件很长,教程中留下一份配置好文件Fox_PVE_Cpufrequtils.conf...
root@pve:~# vim /etc/default/grubroot@pve:~#root@pve:~# cat /etc/default/grub# If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.# For full documentation of the options in this file, see:# info -f grub -n 'Simple configuration'GRUB_DEFAULT=0...
installed this packages: htop, wget, netcat, net-tools, dnsutils, screen, pwgen, expect, mailutils, mlocalte, rsync, bash-completition, snmpd, telnet, traceroute, ftp, zip, unzip, vim, xauth, zabbix-agent All these action are done with ansible, and the playbook is already tested on ot...