Narzędzia użytkownika

Narzędzia witryny


default_debian

Różnice

Różnice między wybraną wersją a wersją aktualną.

Odnośnik do tego porównania

Nowa wersja
Poprzednia wersja
default_debian [2013/02/25 12:02] – utworzono kamildefault_debian [2019/02/11 14:54] (aktualna) kamil
Linia 1: Linia 1:
 +Dopisanie repozytorium non-free do pliku /etc/apt/sources.list, który ma wyglądać tak:
 +
 <file> <file>
-aptitude update +deb http://ftp.pl.debian.org/debian/ squeeze main non-free 
-aptitude install bzip2 unzip p7zip-full mc subversion subversion-tools telnet tcpdump ntpdate+deb-src http://ftp.pl.debian.org/debian/ squeeze main non-free 
 + 
 +deb http://security.debian.org/ squeeze/updates main non-free 
 +deb-src http://security.debian.org/ squeeze/updates main non-free 
 + 
 +# squeeze-updates, previously known as 'volatile' 
 +deb http://ftp.pl.debian.org/debian/ squeeze-updates main non-free 
 +deb-src http://ftp.pl.debian.org/debian/ squeeze-updates main non-free
 </file> </file>
 +
 +Lub możemy to zmienić za pomocą polecenia:
 +
 +<file>
 +cat /etc/apt/sources.list | sed "s/main/main non-free/g" > /etc/apt/sources.list.bak
 +mv /etc/apt/sources.list.bak /etc/apt/sources.list
 +</file>
 +
 +Instalacja podstawowych pakietów:
 +
 +<file>
 +apt update
 +apt install bzip2 unzip p7zip-full mc subversion subversion-tools telnet tcpdump ntpdate git rsync net-tools aptitude
 +</file>
 +
 +NTPDate
 +
 +<file>
 +echo "2 * * * * root ntpdate -u pool.ntp.org > /dev/null" >> /etc/crontab
 +/etc/init.d/crond reload
 +</file>
 +
default_debian.1361790171.txt.gz · ostatnio zmienione: 2018/07/16 11:47 (edycja zewnętrzna)