Use SeFlow local mirror on Debian and CentOS

SeFlow give you opportunity to use local mirror for CentOS and Debian. With local mirror you will safe bandwidth and updating time.

To activate local mirror you can use our berlos.sh script.

# wget http://www.seflow.it/download/ecloud/berlos.sh
# chmod 755 berlos.sh
# ./berlos.sh --add-mirror

System will check if you use CentOS or Debian and will configure accordly.

If you want do manual installation:

Replace file /etc/yum.repos.d/CentOS-Base.repo with:

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS- - Base
baseurl=http://mirrors.seflow.it/CentOS//os//
enabled=1
gpgcheck=0

[updates]
name=CentOS- - Updates
baseurl=http://mirrors.seflow.it/CentOS//updates//
enabled=1
gpgcheck=0

[extras]
name=CentOS- - Extras
baseurl=http://mirrors.seflow.it/CentOS//extras//
enabled=1
gpgcheck=0

[centosplus]
name=CentOS- - Plus
baseurl=http://mirrors.seflow.it/CentOS//centosplus//
enabled=0
gpgcheck=0

[contrib]
name=CentOS- - Contrib
baseurl=http://mirrors.seflow.it/CentOS//contrib//
enabled=0
gpgcheck=0

[cr]
name=CentOS- - CR
baseurl=http://mirrors.seflow.it/CentOS//cr//
enabled=0
gpgcheck=0


For debian 6 squeeze) replace file /etc/apt/sources.list with:

deb http://mirrors.seflow.it/debian/ squeezemain contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib






Posted - Tue, Dec 18, 2012 7:32 PM. This article has been viewed 2168 times.
Online URL: http://kb.seflow.it/article/use-seflow-local-mirror-on-debian-and-centos-18.html