In the last discussion of setting up a mirror of snap, which is 2 years ago, snap download
is recommended for internal servers. However, in my situation, it doesn’t work.
Description
For other package management tools like apt
, pypi
or conda
, which anyone could set up a mirror, modify some config file to switch download server. But for snap, after some googling, I failed to find any how-tos to do the same thing.
In China or any location far from US, snap downloads package SLOWLY. In my university in Beijing, I got 40-100KB/s speed when download/install a snap package. It will cost me over 15 min longer for a single snap install
command. If there are some way to set up a mirror, it will be convenient for me to issue a mirror sever, like Tuna, the server will download and sync through backbone network like CERNET from main server located in US. Now, the only solution for me is to set http_proxy
in CLI or use proxychains4
to speed up the procedure (save time but lost dollars for VPS).
Question
Thus, I’m curious about if any ways to set up a mirror, or any other alternative ways?
PS: Please let me know if I made some stupid mistakes XD