cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Blast34345
Engaged Sweeper II

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?

1 ACCEPTED SOLUTION
Blast34345
Engaged Sweeper II

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?

View solution in original post

5 REPLIES 5
Blast34345
Engaged Sweeper II

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?

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

Thank you for sharing the solution with others - appreciate it

Mister_Nobody
Honored Sweeper II

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now