forked from hychen/getfastmirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
42 lines (26 loc) · 871 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
== getfastmirror ==
get fast apt mirror around you in command line.
== Install ==
=== APT install ===
user@host$ sudo add-apt-repository ppa:ossug-hychen/getfastmirror
user@host$ sudo apt-get isntall getfastmirror
=== python way ===
user@host$ apt-get install python-setuptools
user@host$ ./setupt install
== How to use ==
# use fast mirror by local
user@host$ getfastmirror update -l zh_TW.UTF-8
# use fast mirror by network status
user@host$ getfastmirror update -t
# enabel/disable entries in APT source by filter file.
# this means your can use REGEX to disable/enable entries
user@host$ getfastmirror update -f filter.ini
Example of filter.ini
[disable-security]
uri = http://\w*security.ubuntu.com/ubuntu*
dist = \w*-security
action = disable
== Misc ==
mirror_test.py is from python-software-properties package.
== License ==
GPLv2