How to Modify Template in Proxmox Ve

How to Modify Template im Proxox VE Sometime I wonder how to convert template back to vm and modify it and convert it back to vm? Here is the solution Convert Template to VM Delete template: 1 in vm config. sed -i 's/template:\ 1//g' /etc/pve/qemu-server/{vm-id}.conf Change access permission of VM disk cd /var/lib/vz/images/1{VM-ID}/ chattr -i * chmod 755 * Then covert it back to template

Install Proxmox VE 6.x

Install Proxmox VE 6.x After installed Proxmox VE 6.x, What we gone do ? Download Proxmox VE 6.x iSO file in Download iso images from here: Fixe Perl error waring export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 #locale-gen en_US.UTF-8 cat >> /etc/environment <<EOF LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 EOF Disable subscription Warning Disable subscription warning via script below 6.3 sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service Manually disable subscription warning cd /usr/share/javascript/proxmox-widget-toolkit cp proxmoxlib.

How to upgrade RHEL6 with yum repo of centos

How to upgrade RHEL6 with yum repo of centos Today I will show you how to setup rhel6 at proxmox VE. After installed REHL6.8,We didn’t have RHEL subscription,but how to get update and install software via yum ? The right answer is to change yum repo. Fix perl error export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 #locale-gen en_US.UTF-8 cat >> /etc/environment <<EOF LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 EOF Disable RHEL subsription subscription-manager config --rhsm.manage_repos=0 Chang yum repo to Centos 6 delete rhel yum software rpm -qa | grep yum rpm -qa | grep yum | xargs rpm -e --nodeps Download centos yum software mkdir -p /tmp/yum cd /tmp/yum wget http://mirrors.

How to Setup Cloud Init in Proxmoxve

How to setup cloud-init in prxmox ve Cloud-init can help us to deploy or change settings of linux virutal machine via api or manually by ourself. There are two ways to setup cloud-init: command line or change settings in GUI. Option 1: Download cloud-init image and setup with shell Please reference my blog Build Ubuntu 18.04 server with cloudinit support Option 2: Manually Setup cloud-init We can do this with 2 steps.

Build Ubuntu 18.04 server with cloudinit support

Build Ubuntu 18.04 with cloudinit support on proxmox VE To create a ubuntu images from iso file is not flexible for us to clone and deploy a new virtual machine. we can now setting networking, hostname or other configuration before boot the server with configuration. If we want to expand the capicity of the disk, we need a lot of command to reach the goal. With cloudinit images it is easy to do that.

How to Deploy Librenms With Docker-compose

How to deploy librenms with docker-compsoe Librenms is a very light and easy handle moniting software. It is suitable for us to monitoring server,network device, printers etc. via snmp. At now, docker is easy for software deployment. After deploy librenms in ubuntu vm, I have a try to deploy librenms with docker-compose. Download config files mkdir librenms-docker-compose cd librenms-docker-compose #Download .env file wget # Download docker-compose file wget # Download librenms.

How to Install driver of Mellanox ConnetcX 3 10Gbps Network Adpater in Promxox-VE 5.x or Debian 9

How to install dirver of mellanox ConnectX 3 10Gbps netowrk adapter in proxmox-ve 5.x or diban 9 To  Install dependencies software #dependencies apt-get -y install debhelper autotools-dev dkms zlib1g-dev python wget quilt python-libxml2 swig dpatch graphviz chrpath pve-headers Download driver for mellanox connectx 3 for debian 9.6 wget Install drivers tar -zxvf mlnx-en-4.6- cd mlnx-en-4.6- chmod +x install ./install --skip-distro-check Swell Mellanox EN Driver for Linux How-to Guide Install Mellanox Driver Proxmox VE 5.

How to Extend Ubuntu No Lvm Disk in Proxmox VE

How to resize disk(no lvm) in proxmox ve Today I met a problem that I need to extend disk image for a ubuntu server which is a virtual machine hosted in proxmox ve. Resizing disk images First thing first, I need resize the disk images of the virtual machine.I can do it both in command line or via web management interface. Extend disk size of virtual machine via shell command # Extend disk size of virtual machine with vid 136 with 100G qm resize 136 virtio0 +100G Extend disk size of virtual machien via web interface "Datacenter" | "$Node" | $VIRTUAL_MACHINE | "HARDWARE" | "HARD DISK(SCSI0)" | "RESIZE DISK" | "size Increment(GiB) | "100" | "Resize disk"

How to Install Overture on VYOS 1.2.1 release

How to install overture on Vyos 1.2 I need to build a dns forwarding server to anti dns cache pollution.overture is a good choice for me. it writen in go with good performance. Here we go! Download ovrture you can check overture version from here Login vyos . sudo su overture_version=v1.6.1 sudo mkdir -p /tmp/overture-linux-amd64 cd /tmp sudo curl -fsSLO --compressed "$overture_version/" sudo unzip /tmp/ -d /tmp/overture-linux-amd64 cd /tmp/overture-linux-amd64 sudo curl -fsSLO https://raw.

Proxmox Ve How to Fixed Upgrade Error

How solove Proxmox VE 5.4 upgrade issue Today I’m trying to upgrade proxmox ve 5.3. to proxmox ve 5.4 version. But I failed. After install and uninstall proxmox-manager, Force to reboot and the node has kernel panic error. Then force reboot the node. At grub menu select second line to select an old pve kernel to boot proxmox-ve. ERROR 1:“No space left on device” error on latest upgrade If you met issue like this:

How to Import Disk to Ceph

Convert Disk to RAW #qcow2 qemu-img convert -f qcow2 xxx.qcow2 -O raw xxxx.raw #vmware qemu-img convert -f vmdk xxx-flat.vmdk -O raw xxx.raw Import RAW to ceph rbd list --pool ${ceph-pool-name} rbd import ./xxx.raw --pool ${ceph-pool-name} rbd rm ${old-file-rm} --pool ${ceph-pool-name] rbd mv xxx.raw ${old-file-rm) rbd list --poll ${ceph-pool-name}Reference 将qcow2格式的虚拟机文件导入到ceph池

Install Kubernetes on CentOS7

Install Kubernetes on Centos 7 Disable and stop firewall # Disable firewall service systemctl disable firewalld # Stop firewall service systemctl stop firewalld Install etcd and kubernetes Install etcd and kubernetes and it will also install docker. yum install -y etcd kubernetes Start service in order systemctl start etcd systemctl start docker systemctl start kube-apiserver systemctl start kube-controller-manager systemctl start kube-scheduler systemctl start kubelet systemctl start start kube-proxy

How to Install Centos 7 on Proxmox VE

How to Install CentOS 7 on Proxmox VE Today I want to deploy kubernetes ,follow the book, it need to install centos 7. Okay! Deploy a centos 7 firstly. Install Centos 7 Download latest image of centos 7 Download CentOS 7 images from Download centos 7 images form here:CentOS-7-x86_64-Minimal-1810.iso Install Centos 7 Uploading this images to datatstore of pve Create a centos 7 vm on pve boot and install

How to Compile Nginx With Source Code

How to compile nginx with source code Download source code Access to download latest stable version of nginx. wget tar -zxvf nginx-1.16.0.tar.gz Compile source code cd nginx-1.16.0 apt update && apt install -y gcc build-essential ./configure --prefix=/home/echowings/nginx make make install Trouble shooting PCRE missing error. ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using —without–http_rewrite_module option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using —with–pcre=&lt;path&gt; option.

Build Hyper-Converged Infrastructure With Ceph on PVE

Build Hyper-Converged Infrastructure with ceph on PVE" Ceph is really a king of SDS(Software Defin Storage). Opensource. After yeasr evolved, It is enterprise-ready. Today I will build a HCI with ceph on proxmox VE 5.x. It will end nightmare that someone or montoring system tell you that your service was down, you need be a fire fighter to fixed as soon as possible under tremendous pressure form your boss. With proxmox ve , We can say ‘no more!