apt stage server?

Discussion in 'Server Operation' started by mrspirytus, Mar 17, 2021.

  1. mrspirytus

    mrspirytus New Member

    Hello,
    First thing. I am not sure what I am about to ask is called. So I will just describe it.

    I have few Ubuntu machines x64 and arm based boards, where I would like to have them all on same release version. Not sure if this is possible but I would like to have local stage apt-get server whee all my local machines would point to this server. I would call it development server. All local machines would only be able to get updates available/cached from development server. This way I can guarantee all my development machines can be on same version. Then I could have Production Server? Getting updated from development server, and such server wold be apt-get gate keeper for all production machines.
    So here is scenario

    Dev server update it apt cache today, then all dev local machines would only get such updates. At some point when I am ready to release production I would update Production apt server from dev server so all production machines will only get that version. Then I would update dev server again to get new updates, etc

    Any details suggestions how to do this?

    Cheers
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    It's called a local repository, so google searches for 'local apt repository' or similar will get you going.
     
  3. mrspirytus

    mrspirytus New Member

    I did read few posts and they talking about hosting your own deb files. Even that this is interesting and I learned something. But I could not find a good link to setup like I described above. Is local apt only to setup your own deb files? Or it could be setup as a mirror/gate keeps? Like I am interested in?
    Cheers
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    caching proxy server for Debian archive files:
    https://packages.debian.org/buster/approx
    Package comes with docs and more info can be found using Internet Search Engines. I have not tried to add my own .deb packages to my approx host, so do not know if it works.
     

Share This Page