This is an old revision of the document!
root@hostX:~# dpkg -l
root@hostX:~# dpkg-query -L libpam-opie
root@hostX:~# dpkg-query -S /etc/ldap/ldap.conf
... deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted ...
root@hostX:~# apt-cdrom add
root@hostX:~# apt-get update
root@hostX:~# apt-cache search telnetd
root@hostX:~# apt-get install apt-file root@hostX:~# apt-file update root@hostX:~# apt-file search stddef.h
root@hostX:~# apt-cache show libpam-radius-auth
root@hostX:~# apt-cache depends ssh
root@hostX:~# apt-get install smbfs
root@hostX:~# apt-get remove heimdal-kdc
root@hostX:~# apt-get purge heimdal-kdc
root@hostX:~# dpkg-reconfigure exim4-config
root@hostX:~# export http_proxy="http://gate.isp.un:3128/"
root@hostX:~# apt-get install build-essential
root@hostX:~# apt-get source ffmpeg root@hostX:~# cd ffmpeg-*/ root@hostX:~/ffmpeg-0.cvs20070307# ./configure root@hostX:~/ffmpeg-0.cvs20070307# make root@hostX:~/ffmpeg-0.cvs20070307# make install
# /etc/init.d/ssh stop # apt-get remove openssh-server # apt-get install zlib1g-dev # apt-get install libssl-dev # wget http://ftp.chg.ru/pub/OpenBSD/OpenSSH/portable/openssh-5.2p1.tar.gz # tar -xf openssh-5.2p1.tar.gz # cd src/openssh-5.2p1 # ./configure --prefix=/usr # make # make install # make clean # /etc/init.d/ssh start
root@repository:~# apt-get install apt-mirror root@repository:~# cd /var/spool/ root@repository:/var/spool# mv apt-mirror/ /opt/ root@repository:/var/spool# ln -s /opt/apt-mirror/ apt-mirror root@repository:~# grep -v '^#' /etc/apt/mirror.list set nthreads 20 set _tilde 0 deb http://ru.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse clean http://archive.ubuntu.com/ubuntu root@repository:~# su - apt-mirror -c apt-mirror root@repository:~# apt-get install apache root@repository:~# ln -s /var/spool/apt-mirror/mirror/ru.archive.ubuntu.com/ubuntu /var/www/ubuntu
# cat /etc/apt/sources.list deb http://gate/ubuntu/ lucid main restricted deb http://gate/ubuntu/ lucid universe deb http://gate/ubuntu/ lucid multiverse
# apt-get -f install # dpkg --configure -a