Archlinux国内镜像repo及文泉驿微米黑2.0beta版

今天更新时发现community 一直超时,连接不上,后去网易看了下,发现它的repo居然有community,于是加上了:

1
2
3
[admin@huangye pacman.d]$ cat community
#Server = ftp://ftp.archlinux.org/community/os/i686/
Server = http://mirrors.163.com/archlinux/community/os/i686/

把官方那个果断禁用掉了,网易的,速度那是没得说。

顺便分享一下其它几个速度比较快的,是用的基于python3的工具Reflector来查找的:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[admin@huangye pacman.d]$ cat mirrorlist
##
## Arch Linux repository mirrorlist
##

# reflector -f 6
# Generated by Reflector
# When:      2011-05-24 18:44:48 GMT
# Source:    https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2011-05-24 18:42:17 GMT
# Updated:   2011-05-24 17:54:22 GMT

Server = http://mirrors.163.com/archlinux/$repo/os/$arch
Server = http://mirror.bjtu.edu.cn/archlinux/$repo/os/$arch
Server = http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
Server = http://linux.cs.nctu.edu.tw/archlinux/$repo/os/$arch
Server = http://mirror.yongbok.net/archlinux/$repo/os/$arch
Server = ftp://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch


[archlinuxfr]
Server = http://repo.archlinux.fr/$arch

网易关于Archlinux的相关说明:
Archlinux镜像使用帮助

PS:
文泉驿微米黑出2.0beta版了,更新之。
sf被GxxFooW了,这里提供另外一个可下载地址:

http://pkgs.fedoraproject.org/repo/pkgs/wqy-microhei-fonts/wqy-microhei-0.2.0-beta.tar.gz/a124c5c6606f4f3b733d3477380e9d2f/wqy-microhei-0.2.0-beta.tar.gz

安装方法(引自其官方文档):

Installation for all users

First, extract the font files with

tar zxvf wqy-microhei*.tar.gz

Then, change to root user, move the extracted folder, “wqy-microhei”
under /usr/share/fonts/wenquanyi/ (If this dir does not exist, use
mkdir -p /usr/share/fonts/wenquanyi/ to create it first.)

Then edit /etc/X11/xorg.conf or /etc/X11/XF86Config-4
and find the section with FontPath. Append

FontPath /usr/share/fonts/wenquanyi/wqy-microhei

under any of the FontPath line, save this file.

Then, if your system has /etc/fonts/fonts.conf, edit
it and append

/usr/share/fonts/wenquanyi/wqy-microhei/

before

Restart X server and you should be able to use this font.

2. Installation for single user

If you do not have root access, you can also install this font
by copying wqy-microhei.ttf to ~/.fonts/ (If this folder
does not exist, create it first), then you can type

1
fc-cache ~/.fonts/

to activate this font.

Alternatively, if you are running KDE/GNOME, you can use
the font installer tool from the preference dialog and install
this font.

最后看下安装成功没:

1
2
3
4
5
6
7
8
[admin@huangye wenquanyi]$ fc-list | grep WenQuanYi
WenQuanYi Bitmap Song:style=Bold
WenQuanYi Micro Hei Mono,文泉驛等寬微米黑,文泉驿等宽微米黑:style=Regular
WenQuanYi Zen Hei,文泉驛正黑,文泉驿正黑:style=Regular
WenQuanYi Micro Hei,文泉驛微米黑,文泉驿微米黑:style=Regular
WenQuanYi Bitmap Song:style=Regular
WenQuanYi Zen Hei Mono,文泉驛等寬正黑,文泉驿等宽正黑:style=Regular
WenQuanYi Zen Hei Sharp,文泉驛點陣正黑,文泉驿点阵正黑:style=Regular
更多
No Responses Post a comment

Leave a Reply

Note: You may use basic HTML in your comments. Your email address will not be published.

Subscribe to this comment feed via RSS