User Tools

Site Tools


sambalxc

From Proxmox GUI:

  1. expand node
  2. choose the “local” drive
  3. choose CT TEMPLATE
  4. click TEMPLATES
  5. select the latest DEBIAN (ie: debian 13 standard) and download
  6. still in “local” drive, click CREATE CT
  7. put a hostname (ie: samba-lxc)
  8. put password
  9. under TEMPLATE, choose the DEBIAN that was downloaded
  10. under DISKS, select “local-lvm” as storage drive
  11. give disk size (if possible 10GB or more)
  12. under CPU, give 1 cores
  13. under MEMORY give 256 / 256
  14. under NETWORK, select DHCP or specify STATIC IP

Once the container show up, select it and change features (under OPTIONS):

  • Nesting: checked
  • START AT BOOT: checked

Start the container

Once started, do the following from console:

apt update
apt install samba -y

after install, no shared setup yet, have to do nano /etc/samba/smb.conf**

Enable SSH:

# 1. Ensure the SSH server is installed
apt update && apt install openssh-server -y
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config
systemctl restart ssh

The DHCP IP address, check the IP from the NETWORK of the node

sambalxc.txt · Last modified: by jwan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki