PROXMOX

Proxmox is type one hypervisor OperatingSystem.

⚠ Cution: Installing proxmox will remove all your hard disk data.

Index

Installation

Guide

firefox https://192.168.1.24:8006/

Removing local lvm storage

For Fully remove local_lvm use below method:

  1. remove local_lvm from host > storage, through browser
  2. Open proxmox terminal and run below command
lvremove /dev/pve/data
lvresize -l +100%FREE /dev/pve/root
resize2fs /dev/mapper/pve-root

Auto-turnoff display

nano /etc/systemd/logind.conf

edit below lines and also remove # from edited lines

HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore

Now resrarting systemd-login :

systemctl restart systemd-logind.service
nano /etc/default/grub

Change below lines from grub :

GRUB_TIMEOUT=0
GRUB_CMDLINE_LINUX="consoleblank=100"

Updating grub & system reboot :

update-grub
reboot

login via ssh key

fore more details of ssh key click hear..

Gerating ssh key:

ssh-keygen -f ~/proxmox -t ecdsa -b 521

Copying the Public Key to the Server:

ssh-copy-id -i ~/.ssh/proxmox.pub [email protected]
# enter server password
ssh [email protected]
rm -r ~/.ssh/id_*

Once the public key has been configured on the server, the server will allow any connecting user that has the private key to log in. During the login process, the client proves possession of the private key by digitally signing the key exchange.

Proxmox terminal in local terminal Using ssh

for using proxmox terminal by ssh you just need run to below command.

ssh [email protected]

VNC Client Access - Remote Display

For Official Proxmox VNC guidence click hear..

Configure VNC Access via Monitor

75 denotes the port, this will get added to the VNC base port of 5900, so in this case the VNC server listens on all addresses on port 5975.

change vnc 0.0.0.0:75,password
set_password vnc foobar1
expire_password vnc +30

note: the first "password" parameter after the IP address mustn't be replaced by a password but is the word "password" itself, this is just a boolean parameter telling QEMU that the server needs a password.

Configure VNC Access via Configuration File

args: -vnc 0.0.0.0:77

sftp

Managing files through ftp:

sftp://ip/root  # safe
sftp://ip/# full / directory
sftp://ip/var/lib/vz/template/iso #iso directory

using one of above sftp method you can got directory.

mount sftp as local folder:

sudo apt-get install sshfs
sudo sshfs -o allow_other [email protected]:/root/ /home/kaushal/Documents/Server-Storage

unomount sftp:

sudo umount Documents/Server-Storage

Proxmox update

For getting updates without any errors, we need to remove enrerprice repository.

removing enterprice repository :

rm -r /etc/apt/sources.list.d/pve-enterprise.list
apt update

Proxmox Paths and Locations of files

/var/lib/vz/dump # ISO Files
/var/lib/vz/template/iso # Images
/var/lib/vz/images # Templates
/var/lib/vz/template/cache # Cache