replace default software sources with faster mirrors to speed up apt or yum downloads; 2. backup original source list and edit repository file to add local or optimized mirror; 3. update package index to apply changes and improve download performance.











