Installing Debian Server

From MPSWiki
Revision as of 12:37, 16 May 2022 by Svan (talk | contribs) (Created page with " 1. https://www.debian.org/download 2. load from usb (uefi) 3. all settings by default, create password 4. create user "user" and password (it need for debian, will not use) 5...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1. https://www.debian.org/download 2. load from usb (uefi) 3. all settings by default, create password 4. create user "user" and password (it need for debian, will not use) 5. Partition disks: 5.1. select "Guided - use entire disk" 5.2. select disk 5.3. "All files in one partition (recommended for new users)" 5.4. "Finish partitioning and write changes to disk" - Continue 5.5. "Write the changes to disks?" - Select "Yes" - Continue 6. "Configuring popularity-contest" - Select"No" - Continue 7. Software selection: unselect all, select only "SSH server" and "standard system utilities"

8. after all settings by default, reboot, remove usb and login root\password 8.1. allow root ssh:

 nano /etc/ssh/sshd_config
 uncomment and set: PermitRootLogin yes

8.2. setup static ip (if need)

 nano /etc/network/interfaces
   auto eth0
   iface eth0 inet static
       address 192.168.0.7
       netmask 255.255.255.0
       gateway 192.168.0.2

8.3. reboot

Proxmox: https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye 1. check /etc/hosts, for computer name should be real IP address, not a 127.0.0.1 2. install

 echo "deb [arch=amd64] http://download.proxmox.com/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
 wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg 
 apt update
 apt upgrade
 apt install proxmox-ve postfix open-iscsi
 during install proxmox - select "No configuration" and continue install

3. reboot

All done proxmox will avalable: https://ip_address:8006

Additional: remove licence warning 1. login using ssh and edit: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js replace: if (res === null || res === undefined || !res || res .data.status.toLowerCase() !== 'active') { to: if (false) {