Creating repositories under Ubuntu Landscape

I am just getting started with using Ubuntu Landscape. The plan is to use the quickstart version to gain experience with managing Ubuntu servers, 16 and 18, and to also create an on-site repository to limit traffic over the Internet from each asset.

We are currently using Landscape On Premise release 19.01.

I am going to list the steps I believe are to be correct for our Ubuntu 18, bionic, servers.

landscape-api create-distribution ubuntu

landscape-api create-series --pockets release,security,updates --components main,extras,restricted --architectures i386,amd64 --gpg-key secret-key --mirror-uri --mirror-series bionic bionic ubuntu

landscape-api sync-mirror-pocket release bionic ubuntu landscape-api sync-mirror-pocket security bionic ubuntu landscape-api sync-mirror-pocket updates bionic ubuntu

What else do I need to do after these commands? What needs to be corrected?

Very respectfully,

James

2 Answers

The issue was very much related to firewall rules. It seems that onedrive was a flagged security application.

Creating distribution, uploading a signing key, creating the series and syncing; that is pretty much it.

After that, it's a matter of waiting for the sync activity to complete, then configuring your machines to use the mirror. That can be done manually on each machine (by pointing to your Landscape server in /etc/apt/sources.list), or through landscape by assigning repository profiles to computers.

All of this is documented in the user guide:

11

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like