Cum creez fisierul sources.list?

26 views
Skip to first unread message

Creation

unread,
Jan 17, 2011, 12:17:38 PM1/17/11
to Debian România
Pentru incepatori probabil ca setarile default vor fi utile, le vor
permite sa aibe un sistem de operare stabil ce va beneficia update-uri
de securitate pentru cel putin 2ani. Totusi o data cu ajustarea la
distributie multi vor dori sa modifice fisierul sources.list, in care
se afla adresele repo-urilor ce contin pachetele distributiei. Pentru
a va usura munca va sugerez acest site: http://debgen.simplylinux.ch/index.php
El va genera fisierul sources.list si va ofera si comenzile necesare
obtinerii cheilor pentru unele repo-uri precum si locul unde trebuie
plasat acest fisier.

O data folosit acel site trebuie sa executati patru pasi:
1. deschideti un terminal si va logati ca root
2. navigati catre /etc/apt/; comanda este cd /etc/apt/
3. folosind un editor pico, nano sau vim creati fisierul
sources.list(exemplu pico sources.list) si apoi copiati ceea ce a
creat generatorul de repo-uri
4. salvati continutul fisierului sources.list si executati comanda
aptitude update

==Bonusul meu :P exemplu de fisier sources.list, pentru versiunea
Debian Testing:

#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

###### Debian Main Repos
deb http://ftp.ro.debian.org/debian/ testing main contrib non-free

##############################################################
##################### UNOFFICIAL REPOS ######################
##############################################################

###### 3rd Party Binary Repos

#### Debian Multimedia - http://www.debian-multimedia.org/
## Run this command: apt-get update && apt-get install debian-
multimedia-keyring && apt-get update
deb http://www.debian-multimedia.org/ testing main

#### Esmska - http://code.google.com/p/esmska/
## Run this command: wget -q -O - http://repo.palatinus.cz/repo.key |
apt-key add -
deb http://repo.palatinus.cz/testing /

#### Google Linux Software Repositories (testing) - http://www.google.com
## Run this command: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub
| apt-key add - && apt-get update
deb http://dl.google.com/linux/deb/ testing non-free

#### Skype - www.skype.com
## Run this command: gpg --keyserver pgp.mit.edu --recv-keys
0xd66b746e && gpg --export --armor 0xd66b746e | apt-key add -
deb http://download.skype.com/linux/repos/debian/ stable non-free

#### The Opera .deb Repository - http://deb.opera.com/
## Run this command: wget -O - http://deb.opera.com/archive.key | apt-
key add -
deb http://deb.opera.com/opera/ sid non-free

#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc
-O- | apt-key add -
deb http://download.virtualbox.org/virtualbox/debian squeeze non-free

#### Webmin - http://webmin.com/
## Run this command: wget -q http://www.webmin.com/jcameron-key.asc -
O- | apt-key add -
deb http://download.webmin.com/download/repository sarge contrib

#### Wine - http://www.winehq.org/
## Run this command: wget -O - http://www.lamaresh.net/apt/key.gpg |
apt-key add -
deb http://www.lamaresh.net/apt squeeze main


Sper sa va fie util !
Reply all
Reply to author
Forward
0 new messages