• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Nil
    3. Best
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Best 2
    • Controversial 0
    • Groups 0

    Best posts made by Nil

    • FOG Server in LXC Container under PROXMOX 6

      Hi guys

      This post is the continuation of my request for help that I posted 6 weeks ago on this same forum
      Link here

      It worked for me, and I tested all the functionality that FOG offers and I did not encounter any problems.

      Proxmox 6.3-3
      LXC : Debian 10.7
      FOG : 1.5.9

      So here is how to install FOG (Normal / Storage) in an LXC Container under PROXMOX 6

      When creating the LXC Container uncheck the checkbox
      Unprivileged container

      a95a3b90-2358-4e22-8003-918621d0a387-image.png

      Otherwise it will be impossible to activate NFS as well as Nesting in the advanced options of the LXC.

      Then go to the options tab of the LXC.
      LXC > Options > Features> Edit

      Check the NFS & Nesting boxes.
      (As below) Restart the LXC.

      6765140b-63b9-44b9-a2be-476277d59bd8-image.png

      The LXC options :

      • NFS : of course for the NFS Server…
      • Nesting : if is not check you will have SQL issues

      And next perform a classic installation, and you will have a FOG Server running on a LXC Container

      On the wiki there is “way” to install FOG on a LXC but is a little “outdated”. And it is WAY EASIER to check a box in the GUI rather than modify the configuration file of the LXC it self 😄 (i think)

      posted in Tutorials
      N
      Nil
    • RE: Could not mount images folder /bin/fog.upload

      @Sebastian-Roth you were right the problem came from the LXC container.
      @george1421 I have run showmount -e 127.0.0.1 and he return me

      clnt_create: RPC: Program not registered
      

      Debian firewall was disabled and the firewall checkbox in the proxmox was unchecked.

      So I went to see the LXC container, I did a lot of research and I found 🙂

      LXC Container in proxmox are created in unpriviled (see checkbox)

      3ddbd238-1504-43b8-98d0-3d992d10a4ec-image.png

      It is necessary to uncheck this box to be able to activate the NFS
      Then in the container options (see screen)

      294eb582-80b4-4dfa-aabc-413d4b3c70ca-image.png

      Go to “Features” and Edit, here you can activate NFS in the WebUI (You can also in cmd line but i dont recommand to that).
      Check “NFS” for the NFS … and also “Nesting” otherwise you will get a MySQL error like

      Setting up and starting MySQL...............................Failed!
      

      (during the installation process) or the MySQL system will not start on an existing installation

      d9964c8c-a687-480c-881d-0ade52903991-image.png

      If like me you have an existing installation and you dont want to recreate all the ct from the start, in proxmox go to backup and backup your LXC Container, next restore it and be careful to uncheck the checkbox “Unpriviliged container” (see screen)

      031cd9b4-20f8-48b1-b7ad-b70c7a25d0bb-image.png

      Now uploading and deploying image works perfectly
      English is not my native language, I may have expressed myself poorly, do not hesitate to point it out to me.

      Thanks for your help guys.
      Have a nice day

      posted in FOG Problems
      N
      Nil
    • 1 / 1