| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Introducing Dokkio, a new service from the creators of PBworks. Find and manage the files you've stored in Dropbox, Google Drive, Gmail, Slack, and more. Try it for free today.

View
 

Repositórios Seguros - Suse 10_2

Page history last edited by PBworks 12 years, 2 months ago

 

Script de Instalação de Repositórios Seguros - Open Suse 10.2

 

Este script instala alguns repositórios seguros para o Open Suse 10.2

 

Crie um arquivo:

# vi repositorios_seguros_OS-10.2.sh

 

Cole as linhas abaixo:

 

#!/bin/sh

 

# Make sure we are root.

 

if [ "$EUID" != "0" ]; then

echo "You must have root privileges to run this script!"

exit 1

fi

 

printf "################################################################################\n"

printf "YAST INSTALLATION SOURCES SETUP SCRIPT FOR openSUSE 10.2\n"

printf "by Scott Morris (2006-12-22)\n"

printf "http://www.suseblog.com/\n\n"

printf "You *MUST* be connected to the Internet for this script to work!\n\n"

printf "Though almost all repositories are added in a matter of seconds, the OSS\n"

printf "repository can take upwards of half an hour to download and parse through all\n"

printf "the metadata. It works fine, it just takes awhile on that repo. Please be\n"

printf "patient with that one.\n"

printf "################################################################################\n"

 

rug service-add http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.2/ --type=ZYPP "Guru"

rug service-add http://packman.iu-bremen.de/suse/10.2 --type=ZYPP "Packman"

rug service-add http://software.opensuse.org/download/editors/openSUSE_10.2/ --type=ZYPP "editors"echo

rug service-add http://software.opensuse.org/download/GNOME:/Community/openSUSE_10.2/ --type=ZYPP "GNOME-Community"

rug service-add http://software.opensuse.org/download/KDE:/Community/openSUSE_10.2/ --type=ZYPP "KDE-Community"

rug service-add http://software.opensuse.org/download/KDE:/KDE3/openSUSE_10.2/ --type=ZYPP "KDE3"

rug service-add http://software.opensuse.org/download/KDE:/Qt/openSUSE_10.2/ --type=ZYPP "KDE-QT"

rug service-add http://software.opensuse.org/download/openSUSE:/Tools/openSUSE_10.2 --type=ZYPP "openSUSE-Tools"

rug service-add http://software.opensuse.org/download/server%3a/monitoring/openSUSE_10.2/ --type=ZYPP "server-monitoring"

rug service-add http://software.opensuse.org/download/X11%3a/XGL/SUSE_Factory --type=ZYPP "XGL SUSE Factory"

rug service-add http://software.opensuse.org/download/X11:/xfce/openSUSE_10.2/ --type=ZYPP "xfce"

rug service-add http://software.opensuse.org/download/X11:/XGL/openSUSE_10.2/ --type=ZYPP "XGL"

rug service-add http://suse.mirrors.tds.net/pub/suse/update/10.2 --type=ZYPP "openSUSE-update"

rug service-add http://suse.osuosl.org/suse/update/10.2 --type=ZYPP "SUSE Update"

rug service-add http://download.videolan.org/pub/videolan/vlc/0.8.6/SuSE/10.2/ --type=ZYPP "Videolan"

printf "Adding non-oss repository. This may take a few minutes.\n"

rug service-add http://download.opensuse.org/distribution/10.2/repo/non-oss/ --type=ZYPP "openSUSE-10.2-non-oss"

printf "Adding OSS repository. This may take quite awhile. Rest assured that it hasn't locked up.\n"

rug service-add http://download.opensuse.org/distribution/10.2/repo/oss/ --type=ZYPP "openSUSE-10.2"

rug service-add http://mirrors.uol.com.br/pub/opensuse/distribution/10.2/repo/oss/ --type=ZYPP "UOL - openSUSE"

rug service-add http://mirrors.uol.com.br/pub/opensuse/distribution/10.2/repo/non-oss/ --type=ZYPP "UOL- openSUSE102 - non-oss"

 

printf "\nThe script has now finished.\n"

printf "For many more installation sources, please visit the following URL:\n"

printf "http://linux.wordpress.com/2006/12/20/opensuse-102-the-most-complete-list-of-repositories/\n\n\n"

 

 

 

Salve e saia: :x (no vi)

 

Mude as permições do arquivo:

# chmod a+x repositorios_seguros_OS-10.2.sh

 

Execute o arquivo

#sh repositorios_seguros_OS-10.2.sh  ou 

#./repositorios_seguros_OS-10.2.sh

 

 

fonte:   http://www.susebr.org/modules/smartsection/item.php?itemid=1

            http://www.susebr.org/forum/index.php/topic,2778.0.html

 

 

Comments (0)

You don't have permission to comment on this page.