Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
61
rated 0 times [  61] [ 0]  / answers: 1 / hits: 100038  / 3 Years ago, tue, may 4, 2021, 9:46:40

I'd like to manage my home machines and laptops with Landscape, how can I do this?


More From » landscape

 Answers
2

For Ubuntu 16.04 or 14.04 LTS



You can install Landscape directly on a machine running Ubuntu 14.04 LTS, this is called "Landscape On Premises." It is free for up to 10 physical (or virtual) machines and 50 containers:



Deploying a single server



WARNING: landscape-quickstart modifies apache configuration files, DO NOT DO THIS ON AN EXISTING SERVER INSTALLATION without understanding what you are getting into.



Just install the Landscape Quickstart package:
Check here for changes to the below instructions:



sudo add-apt-repository ppa:landscape/17.03
sudo apt-get update
sudo apt-get install landscape-server-quickstart


After it finishes, access it with a browser like https://hostname.example.com/



Where hostname.example.com is the output of hostname -f on that machine, or just hostname if that fails to resolve.



Using Landscape



You should then see the web UI after filling in your name and contact details:



Account dashboard with 20 remaining registrations



Click on the link highlighted to add client machines:



Registration instructions



Follow those instructions on the client you want to join to Landscape. Note the following line:



sudo landscape-config --computer-title "My Web Server" --account-name standalone  --url https://<servername>/message-system --ping-url http://<servername>/ping


You can customize the title and so forth for each machine. See the landscape-config man page for more information.



After you type in the landscape-config command the client will ask you some questions, those are optional, you can just hit Enter until the client restarts, then you can accept the client in the web UI.



Registering clients with a self signed certificate:



The quickstart package installs a self-signed certificate that is generated on-the-fly.




  • Grab this file from the server: /etc/ssl/certs/landscape_server_ca.crt

  • Copy it somewhere on the client, for example, /etc/landscape/landscape_server_ca.crt

  • Change /etc/landscape/client.conf to include this line, pointing at the file you just copied: ssl_public_key = /etc/landscape/landscape_server_ca.crt



Then try to register again. (Thanks to panlinux for figuring this out)



Further Reading:




[#22387] Tuesday, May 4, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
puccop

Total Points: 66
Total Questions: 99
Total Answers: 93

Location: Aruba
Member since Sun, Nov 27, 2022
1 Year ago
;