PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Setting Up Kasm On Linux Debian

Go down

Setting Up Kasm On Linux Debian Empty Setting Up Kasm On Linux Debian

Post by jamied_uk 18th January 2022, 16:09

Auto Installer

Code:
sudo apt install -y openssh-server && sudo apt update && sudo apt upgrade -y

After
you have ssh server you can remote into your ubunto via ssh and then install kasm from ssh this should work out better.


Code:
sudo apt install -y git && git clone https://github.com/jamieduk/Setup-Kasm.git && mv Setup-Kasm Kasm && cd Kasm && sudo chmod +x *.sh && ./Setup.sh

More info
https://github.com/jamieduk/Setup-Kasm


To disable app crash reporting bs

you must edit a file:

Code:
sudo nano /etc/default/apport



and replace the 1 with a 0

Code:
sudo systemctl disable apport



to re enable it

Code:
sudo systemctl enable apport

To totaly remove the bs

You can delete the service with

Code:
sudo apt purge apport




and install it again with

Code:
sudo apt install apport


Last edited by jamied_uk on 30th January 2022, 14:07; edited 4 times in total
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Setting Up Kasm On Linux Debian Empty Re: Setting Up Kasm On Linux Debian

Post by jamied_uk 18th January 2022, 16:44

Uninstalling Kasm

Auto uninstall

Code:
#!/bin/bash

#Uninstall¶

#    Stop All Kasm services.

sudo /opt/kasm/current/bin/stop

#    Remove any Kasm session containers.

sudo docker rm -f $(sudo docker container ls -qa --filter="label=kasm.kasmid")

#     Remove Kasm service containers.

export KASM_UID=$(id kasm -u)
export KASM_GID=$(id kasm -g)
sudo -E docker-compose -f /opt/kasm/current/docker/docker-compose.yaml rm

#    Remove the Kasm docker network.

sudo docker network rm kasm_default_network

#    Remove the Kasm database docker volume.

sudo docker volume rm kasm_db_1.10.0

#    Remove the Kasm docker images.

sudo docker rmi redis:5-alpine
sudo docker rmi postgres:9.5-alpine
sudo docker rmi kasmweb/nginx:latest
sudo docker rmi kasmweb/share:1.10.0
sudo docker rmi kasmweb/agent:1.10.0
sudo docker rmi kasmweb/manager:1.10.0
sudo docker rmi kasmweb/api:1.10.0

sudo docker rmi $(sudo docker images --filter "label=com.kasmweb.image=true" -q)

#    Remove the Kasm installation directory structure.

sudo rm -rf /opt/kasm/




~~~

Manually Uninstall

  • Stop All Kasm services.

Code:
sudo /opt/kasm/current/bin/stop




  • Remove any Kasm session containers.

Code:
sudo docker rm -f $(sudo docker container ls -qa --filter="label=kasm.kasmid")




  • Remove Kasm service containers.


Code:
export KASM_UID=$(id kasm -u)
export KASM_GID=$(id kasm -g)
sudo -E docker-compose -f /opt/kasm/current/docker/docker-compose.yaml rm




  • Remove the Kasm docker network.

Code:
sudo docker network rm kasm_default_network




  • Remove the Kasm database docker volume.

Code:
sudo docker volume rm kasm_db_1.10.0




  • Remove the Kasm docker images.


Code:
sudo docker rmi redis:5-alpine
sudo docker rmi postgres:9.5-alpine
sudo docker rmi kasmweb/nginx:latest
sudo docker rmi kasmweb/share:1.10.0
sudo docker rmi kasmweb/agent:1.10.0
sudo docker rmi kasmweb/manager:1.10.0
sudo docker rmi kasmweb/api:1.10.0




Code:
sudo docker rmi $(sudo docker images --filter "label=com.kasmweb.image=true" -q)


  • Remove the Kasm installation directory structure.

Code:
sudo rm -rf /opt/kasm/
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum