Ankündigung

Einklappen
Keine Ankündigung bisher.

Edomi in Proxmox LXC container.

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • McKajVah
    antwortet
    Zitat von Keepcurry Beitrag anzeigen
    Das hätte ich auch erwartet.

    Ich habe alles 2 mal Punkt für Punkt abgearbeitet. Gleiches Ergebnis. Nach dem Kopieren des Installationsscripts musste ich von Hand noch 2 Zeilenumbrüche einfügen damit es funktioniert. Evtl. gab's da noch mehr Probleme. Habe die Datei mit Notepad++ geöffnet und dann per CP per Konsole in nano eingefügt.
    Strange... I tried it once again and it works without problems.... Also no editing if script should be necessary. (The script is not mine, I just copied it from the Edomi Wiki).

    Are you sure you downloaded the correct Centos6 template?


    -Kaj

    Einen Kommentar schreiben:


  • Keepcurry
    antwortet
    Das hätte ich auch erwartet.

    Ich habe alles 2 mal Punkt für Punkt abgearbeitet. Gleiches Ergebnis. Nach dem Kopieren des Installationsscripts musste ich von Hand noch 2 Zeilenumbrüche einfügen damit es funktioniert. Evtl. gab's da noch mehr Probleme. Habe die Datei mit Notepad++ geöffnet und dann per CP per Konsole in nano eingefügt.

    Einen Kommentar schreiben:


  • vento66
    antwortet
    kleez dann erzähl mal Keepcurry was Du anders gemacht hast als er. Weil, wenn 2 das selbe tun, sollte auch das Ergebniss das selbe sein.

    Einen Kommentar schreiben:


  • kleez
    antwortet
    Habe es so ausgeführt. Funktioniert perfekt und für mein Test-Edomi mit Abstand die beste Variante. Vielen Dank für die hervorragende Anleitun und das "robuste" Installationsscript

    Einen Kommentar schreiben:


  • Keepcurry
    antwortet
    Ich habe mich mal daran gemacht, das Ganze zu testen. Vor der Edomi-Installation erscheint eine Fehlermeldung, dass die Centos-Version nicht passt. Habe es trotzdem installiert, aber Edomi startet nicht und hängt in einer Bootschleife.

    Einen Kommentar schreiben:


  • ease
    antwortet
    Ferengi dein Container von "damals" läuft noch immer tadellos. Wirklich eine feine Sache und spart einiges an Ressourcen...

    Einen Kommentar schreiben:


  • Ferengi
    antwortet
    schön das mein altes abgeändertes Installationsskript noch Verwendung findet, wie man am Dateinamen Sieht ist es allerdings noch von 1.38, also doch nicht mehr ganz aktuell. Eventuell müsste man es mal mit dem aktuellen Installaltionsskript vergleichen, nicht das es vielleicht doch zu Problemen kommt da irgend was fehlt.

    Einen Kommentar schreiben:


  • Keepcurry
    antwortet
    Hey Kaj. That's great. Thank you very much! I'll try this next week.

    Einen Kommentar schreiben:


  • starwarsfan
    antwortet
    Very cool, thx a lot for sharing!

    Einen Kommentar schreiben:


  • McKajVah
    hat ein Thema erstellt Edomi in Proxmox LXC container..

    Edomi in Proxmox LXC container.

    Here is a small tutorial on how I setup Edomi in a Proxmox LXC container. I am no expert in this what so ever and other users may have a better way...

    I used to run Edomi in a virtual machine but had some problems due to slow hardware. With an LXC container, it’s now running perfect without any problems as it is essentially running on the hardware directly. It also uses a lot less memory, around 350MB in LXC compared to almost 2GB in a virtual machine in my case….

    Everything I have tried seems to be working great except the Console window in the Edomi admin page (not really a problem since you can open the console in Proxmox).

    This is using Proxmox version 5.2.


    You need to download the correct container template first.
    download-1.png

    Then create LXC Container.

    Decide if you want to run as a privileged or unprivileged container. Privileged=less problems but less secure...

    If you run as unprivileged container you will get some error messages about board serial and product_uuid. I don't think it should matter, but not sure.
    Create-11.png

    Select correct template.
    Create-2.png

    Do not change any of the network settings.
    Create-4.png

    After it's created, change some of the settings.
    Settings-11.png

    Then start the Container and select correct Console type (this is so we can copy/paste later)
    Startup-1.png

    Now login as root and then:

    Copy file for correct timezone using command "cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime". Confirm overwrite with yes.
    Check with "date" command to confirm correct timezone.

    Then update system with "yum -y update".

    Install some small programs we need with "yum install -y wget unzip nano".


    *If you decide to run as unprivileged container edit tty.conf as below

    To get rid of annoying error message in console, run "nano /etc/init/tty.conf"
    Comment out/change to:

    #respawn
    #instance $TTY
    #exec /sbin/mingetty $TTY


    Ctrl-O to save and Ctrl-X to exit nano
    .


    Download Edomi with command "wget https://srv-file7.gofile.io/download...I-Beta_162.zip "

    Unzip Edomi with command "unzip EDOMI-Beta_162.zip"
    Run command "chmod 777 edomi/ -R" to set correct privileges.

    Change directory with "cd edomi/Install"

    Make backup of install script with "mv install.sh install.sh.bak"

    Now we need to make new install script with command "nano install.sh"
    Copy text from script file https://drive.google.com/open?id=0Bx...GY0UHU2SWNMbzA into newly created install.sh
    Ctrl-O to write and Ctrl-X to exit nano.

    Run command "chmod 777 install.sh" to set correct privileges.

    And finally run "sh install.sh" to install Edomi as normal and start playing...


    A big thanks to Christian for creating this fantastic software.

    -Kaj

    edit: Changes to running as a privleged/unprivileged container.
    Zuletzt geändert von McKajVah; 06.10.2019, 01:17.
Lädt...
X