Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
home_server:home_server_setup:other_services:aptcache [2019-12-21 Sat wk51 15:10] – baumkp | home_server:home_server_setup:other_services:aptcache [2022-01-16 Sun wk02 11:13] – baumkp |
---|
{{tag>Apt cache apt-cacher-ng}} | {{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===== |
| |
*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";%%'' |
| |
*''%%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 Index=== | |
++++Home Server Index|<pagelist&header> | |
*[[home_server:home_server_setup:summary]] | |
*[[home_server:home_server_setup:home_it_setup]] | |
*[[home_server:home_server_setup:Network_setup]] | |
*[[home_server:home_server_setup:kvm]] | |
*[[home_server:home_server_setup:vnc_setup]] | |
*[[home_server:home_server_setup:disk_check]] | |
*[[home_server:home_server_setup:other_services]] | |
</pagelist>++++ | |
| |
===Home Server Other Index=== | ---- |
++++Home Server Other Index|<pagelist&header> | |
*[[home_server:home_server_setup:other_services:index]] | |
*[[home_server:home_server_setup:other_services:timedate]] | |
*[[home_server:home_server_setup:other_services:aptcache]] | |
*[[home_server:home_server_setup:other_services:swap]] | |
*[[home_server:home_server_setup:other_services:bash]] | |
*[[home_server:home_server_setup:other_services:vim]] | |
*[[home_server:home_server_setup:other_services:symlinks]] | |
*[[home_server:home_server_setup:other_services:fail2ban]] | |
*[[home_server:home_server_setup:other_services:monit]] | |
*[[home_server:home_server_setup:other_services:tripwire]] | |
*[[home_server:home_server_setup:other_services:misc]] | |
</pagelist>++++ | |
| |
<- 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 -> |