home_server:home_server_setup:other_services:aptcache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
home_server:home_server_setup:other_services:aptcache [2020-03-22 Sun wk12 17:22] – [Set Up and Ubuntu APT Cache] baumkphome_server:home_server_setup:other_services:aptcache [2023-04-30 Sun wk17 17:43] (current) – external edit 127.0.0.1
Line 1: Line 1:
-{{tag>Apt cache apt-cacher-ng apt update apt upgrade apt-get}}+{{tag>linux ubuntu debian Apt cache apt-cacher-ng apt update apt upgrade apt-get}}
 =====Set Up and Ubuntu APT Cache===== =====Set Up and Ubuntu APT Cache=====
  
Line 16: Line 16:
   *The default cache directory is: ''/var/cache/apt-cacher-ng'' and can be changed in the configuration file.   *The default cache directory is: ''/var/cache/apt-cacher-ng'' and can be changed in the configuration file.
   *The default log directory is: ''/var/log/apt-cacher-ng'' and can be changed in the configuration file.   *The default log directory is: ''/var/log/apt-cacher-ng'' and can be changed in the configuration file.
-  *The clients can access apt-cacher-ng cache by adding the following line into the new file: ''sudo vim /etc/apt/apt.conf.d/02proxy'',+  *The clients can access apt-cacher-ng cache by adding the following line into the new file: ''sudo vim /etc/apt/apt.conf.d/02proxy'', also check ''sudo vim /etc/apt/apt.conf.d/00aptproxy'':
     *''%%Acquire::http::Proxy "http://192.168.1.1:3142";%%''     *''%%Acquire::http::Proxy "http://192.168.1.1:3142";%%''
  
Line 23: Line 23:
     *''%%deb https://deb.nodesource.com/node_10.x bionic main%%'' to ''deb %%http://https///deb.nodesource.com/node_10.x bionic main%%''     *''%%deb https://deb.nodesource.com/node_10.x bionic main%%'' to ''deb %%http://https///deb.nodesource.com/node_10.x bionic main%%''
     *''%%deb-src https://deb.nodesource.com/node_10.x bionic main%%''to ''%%deb-src http://https///deb.nodesource.com/node_10.x bionic main%%''     *''%%deb-src https://deb.nodesource.com/node_10.x bionic main%%''to ''%%deb-src http://https///deb.nodesource.com/node_10.x bionic main%%''
 +
 +For ''sudo do-release-upgrade''  change ''sudo vim /etc/update-manager/meta-release''
  
 ---- ----
  
 <- home_server:home_server_setup:other_services:timedate|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:swap|Next -> <- home_server:home_server_setup:other_services:timedate|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:swap|Next ->
  • /app/www/public/data/attic/home_server/home_server_setup/other_services/aptcache.1584868926.txt.gz
  • Last modified: 2023-04-30 Sun wk17 17:44
  • (external edit)