VM installs

More
1 year 6 months ago #3922 by andrew
Replied by andrew on topic Debian 12.9 based under Proxmox 7.4

It's alive!  Debian 12.9 running under Virtualization Station on my QNAP.  The installation instructions were outdated and had a bunch of syntax issues.  No big deal, Professor Google helped a lot.    I will probably make this my backup server due to my current backup crashing at weird times. 
Did you keep a note of which instructions you thought were wrong? I didn't have much trouble except due to the formatting where the contents of files then ran into the next command line commands so you had to keep your wits about you.

Please Log in to join the conversation.

More
1 year 6 months ago - 1 year 6 months ago #3923 by bitzerjd
Replied by bitzerjd on topic Debian 12.9 based under Proxmox 7.4
Notes, we don't need no stinking Notes.  Mid way through the process I thought, gee, I should really be writing this down.  From Memory... The Docker install (adding the repository) didn't work, I simply Googled install Docker on Debian 12 and followed the instructions.  Python Dev didn't install, the installer recommended a different version.  Pyatv required me to go to their website for instructions.  Visudo didn't like the suggested change.  Again, I googled how to do it, and it gave me a format that worked.  Finally the swap file add to fstab was a bit unclear, I modified mine and I didn't boot back up.  I need to modify it today.

Here is another example...at the end it says to run this "sudo cat /home/allonis/myServer/logs/myServer.log".  The problem is that it fails because it left out the "applications" directory.  It should say sudo cat /home/allonis/applications/myServer/logs/myServer.log.

My current issue is that the Live Log viewer doesn't connect.  The log is populated so I'm thinking it is a port issue (9001).  I need to work on it this morning.   Hmmm, also the Linux Terminal from the main web page doesn't work.  I think the log viewer and this issue is related.  Unfortunately, my Linux skills are at a hack and slash level.
Last edit: 1 year 6 months ago by bitzerjd.

Please Log in to join the conversation.

More
1 year 6 months ago - 1 year 6 months ago #3924 by cjisble
Replied by cjisble on topic Debian 12.9 based under Proxmox 7.4
Try this:

Shell In a Box

Allows access to a terminal window from the myServer webpage.

// ShellInABox
sudo apt install openssl shellinabox
sudo nano /etc/default/shellinabox

Change SHELLINABOX_ARGS="--no-beep --disable-ssl"

sudo systemctl restart shellinabox
Last edit: 1 year 6 months ago by cjisble.

Please Log in to join the conversation.

More
1 year 6 months ago #3925 by bitzerjd
Replied by bitzerjd on topic Debian 12.9 based under Proxmox 7.4
No difference. I had it installed and could fire up a terminal using the IPaddress:4200 command. when I add the --disable-ssl line, I lose access via the browser.

I tried opening up the 9001 port, but that didn't help.

Thanks for the suggestion!

Please Log in to join the conversation.

More
1 year 6 months ago #3926 by andrew
Replied by andrew on topic Debian 12.9 based under Proxmox 7.4

No difference. I had it installed and could fire up a terminal using the IPaddress:4200 command. when I add the --disable-ssl line, I lose access via the browser.

I tried opening up the 9001 port, but that didn't help.

Thanks for the suggestion!
I've solved the live log window not working. It's because not only do you need to install frontail but you need to create a service out of it, and the service unit doesn't exist.

So create the file /lib/systemd/system/frontail.service containing:
Code:
[Unit] Description=Frontail Log Viewer [Service] Type=simple User=allonis WorkingDirectory=/home/allonis/applications/myServer ExecStart=frontail --ui-highlight --disable-usage-stats /home/allonis/applications/myServer/logs/myServer.log KillMode=process Restart=on-failure [Install] WantedBy=multi-user.target

then run

sudo systemctl enable frontail
sudo systemctl start frontail
sudo systemctl status frontail

Please Log in to join the conversation.

More
1 year 6 months ago - 1 year 6 months ago #3927 by cjisble
Replied by cjisble on topic Debian 12.9 based under Proxmox 7.4
Interesting.  I didn't need to do this.  But if I check my machine, the frontail.service file does exist, with the contents described.

Perhaps this is because I used Ubuntu?

Looking back at my notes, I did need to enable and start frontail.  Perhaps enabling the service created the default frontail.service file?
Last edit: 1 year 6 months ago by cjisble.

Please Log in to join the conversation.

Time to create page: 0.197 seconds