10-25-2023 03:16 PM
Is it possible to install Lans Agent on linux with no GUI to connect it to standalone Lansweeper Server?
Htre i see tutorial for Ubuntu with GNOME: https://community.lansweeper.com/t5/scanning-your-network/install-lsagent-on-a-linux-computer/ta-p/6...
But is it possible to install it to Ubuntu Server?
Where can i download agent and what is keys to install it?
Solved! Go to Solution.
10-26-2023 10:22 AM - edited 10-26-2023 10:39 AM
Thank you, Mister_Nobody
So, step-by-step:
cd /tmp/
wget https://cdn.lansweeper.com/download/10.4.2/1/LsAgent-linux.run
chmod +x LsAgent-linux.run
./LsAgent-linux.run --server 192.168.0.x --port 9524 --mode unattended
After install
Daemon parameters:
systemctl list-units --type service | grep Lans
systemctl status ls-agent.service
Move to LansAgent installation dir:
cd /opt/LansweeperAgent/
Config parameters are kept in:
nano /opt/LansweeperAgent/LsAgent.ini
Opened question is how uninstall LansAgent correctly?
10-26-2023 10:22 AM - edited 10-26-2023 10:39 AM
Thank you, Mister_Nobody
So, step-by-step:
cd /tmp/
wget https://cdn.lansweeper.com/download/10.4.2/1/LsAgent-linux.run
chmod +x LsAgent-linux.run
./LsAgent-linux.run --server 192.168.0.x --port 9524 --mode unattended
After install
Daemon parameters:
systemctl list-units --type service | grep Lans
systemctl status ls-agent.service
Move to LansAgent installation dir:
cd /opt/LansweeperAgent/
Config parameters are kept in:
nano /opt/LansweeperAgent/LsAgent.ini
Opened question is how uninstall LansAgent correctly?
10-26-2023 10:41 AM
I believe this is it: https://community.lansweeper.com/t5/archive/uninstall-linux-lsagent/td-p/38547
cd /opt/LansweeperAgent
chmod +x uninstall
./uninstall
System reboot and check if the service is still present and remove it:
systemctl disable LansweeperAgentService.service
systemctl reset-failed
10-26-2023 10:53 AM
Thank you for sharing the solution with others - appreciate it
10-26-2023 09:10 AM
Parameters for silent install
10-26-2023 09:09 AM
https://www.lansweeper.com/download/lsagent/ download page
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now