PART 1解决failed to write cache的问题
最近发神经把linux给格了,重装,装完中文支持,问题就来了,系统干什么都变得奇慢,并且在APT-GET的时候出现了如下的显示
Updating fontconfig cache…
/usr/share/fonts/X11: failed to write cache
/usr/share/fonts/X11/100dpi: failed to write cache
/usr/share/fonts/X11/75dpi: failed to write cache
/usr/share/fonts/X11/Type1: failed to write cache
/usr/share/fonts/X11/encodings: failed to write cache
。。
如果你的系统在APT的过程中也出现了这种情况,请继续往下看。
我在网上搜到了个脚本,用来解决这个问题,把下面的做成脚本运行或者直接复制到终端中运行,然后就搞定了。
#!/bin/bash
#
# 修正 Ubuntu 7.04 fc-cache failed to write cache 错误
#
sudo touch /usr/share/fonts
sudo touch /usr/share/fonts/X11
sudo touch /usr/share/fonts/X11/100dpi
sudo touch /usr/share/fonts/X11/75dpi
sudo touch /usr/share/fonts/X11/Type1
sudo touch /usr/share/fonts/X11/encodings
sudo touch /usr/share/fonts/X11/encodings/large
sudo touch /usr/share/fonts/X11/misc
sudo touch /usr/share/fonts/X11/util
sudo touch /usr/share/fonts/truetype
sudo touch /usr/share/fonts/truetype/arphic
sudo touch /usr/share/fonts/truetype/baekmuk
sudo touch /usr/share/fonts/truetype/freefont
sudo touch /usr/share/fonts/truetype/kochi
sudo touch /usr/share/fonts/truetype/openoffice
sudo touch /usr/share/fonts/truetype/thai
sudo touch /usr/share/fonts/truetype/ttf-arabeyes
sudo touch /usr/share/fonts/truetype/ttf-bengali-fonts
sudo touch /usr/share/fonts/truetype/ttf-bitstream-vera
sudo touch /usr/share/fonts/truetype/ttf-dejavu
sudo touch /usr/share/fonts/truetype/ttf-devanagari-fonts
sudo touch /usr/share/fonts/truetype/ttf-gentium
sudo touch /usr/share/fonts/truetype/ttf-gujarati-fonts
sudo touch /usr/share/fonts/truetype/ttf-kannada-fonts
sudo touch /usr/share/fonts/truetype/ttf-lao
sudo touch /usr/share/fonts/truetype/ttf-malayalam-fonts
sudo touch /usr/share/fonts/truetype/ttf-mgopen
sudo touch /usr/share/fonts/truetype/ttf-oriya-fonts
sudo touch /usr/share/fonts/truetype/ttf-punjabi-fonts
sudo touch /usr/share/fonts/truetype/ttf-tamil-fonts
sudo touch /usr/share/fonts/truetype/ttf-telugu-fonts
sudo touch /usr/share/fonts/type1
sudo touch /usr/share/fonts/type1/gsfonts
sudo touch /usr/share/X11/fonts
sudo touch /usr/share/X11/fonts/100dpi
sudo touch /usr/share/X11/fonts/75dpi
sudo touch /usr/share/X11/fonts/Type1
sudo touch /usr/share/X11/fonts/encodings
sudo touch /usr/share/X11/fonts/encodings/large
sudo touch /usr/share/X11/fonts/misc
sudo touch /usr/share/X11/fonts/util
sudo touch /usr/local/share/fonts
sudo touch /var/lib/defoma/fontconfig.d
sudo touch /var/lib/defoma/fontconfig.d/A
sudo touch /var/lib/defoma/fontconfig.d/B
sudo touch /var/lib/defoma/fontconfig.d/C
sudo touch /var/lib/defoma/fontconfig.d/D
sudo touch /var/lib/defoma/fontconfig.d/E
sudo touch /var/lib/defoma/fontconfig.d/F
sudo touch /var/lib/defoma/fontconfig.d/G
sudo touch /var/lib/defoma/fontconfig.d/H
sudo touch /var/lib/defoma/fontconfig.d/J
sudo touch /var/lib/defoma/fontconfig.d/K
sudo touch /var/lib/defoma/fontconfig.d/L
sudo touch /var/lib/defoma/fontconfig.d/M
sudo touch /var/lib/defoma/fontconfig.d/N
sudo touch /var/lib/defoma/fontconfig.d/O
sudo touch /var/lib/defoma/fontconfig.d/P
sudo touch /var/lib/defoma/fontconfig.d/R
sudo touch /var/lib/defoma/fontconfig.d/S
sudo touch /var/lib/defoma/fontconfig.d/T
sudo touch /var/lib/defoma/fontconfig.d/U
sudo touch /var/lib/defoma/fontconfig.d/V
sudo touch /var/lib/defoma/fontconfig.d/a
sudo touch /var/lib/defoma/fontconfig.d/j
sudo touch /var/lib/defoma/fontconfig.d/m
sudo touch /var/lib/defoma/fontconfig.d/u
PART 2启动系统后无法自动进行pppoe拨号 解决的问题
一般情况下,在使用sudo pppoeconf中选择自动拨号就应该好用,但偶这回就不好用了。。。
解决方法如下
在终端执行
sudo gedit /etc/network/interfaces
对配置文件进行编辑
然后把下面的文字添加到这个配置文件的结尾。
# added by pppoeconf
auto eth0
iface eth0 inet manual
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider
ubuntu7.04下pppoe不能自动拨号问题的解决
转载请注明出处:服务器评测 » ubuntu7.04下pppoe不能自动拨号问题的解决
相关推荐
- 40元超值特惠 ☆ ARP Thunder™ 独立服务器,4GB内存/80GB SSD+200GB SATA硬盘/5TB流量
- 【高性能主机】8GB DDR3内存 + 1Gbps带宽,支持/24 IPv4与/64 IPv6及反向解析,首发仅$54起!
- DEDICATED.COM 限时特惠:Intel® Xeon™ E3-1270v1/v2 独立服务器,16GB内存 + 256GB SSD,仅 $43.99/月
- 本周特惠:英特尔至强 E3-1265Lv3 服务器,月付仅39美元 | NetDynamics LLC 提供
- 价格直降:英特尔至强专业服务器,月付仅65美元起 • 覆盖美国与欧洲地区
- 迈沃云 • 高端主机服务商(始于2015年)• 欧洲独享服务器,尊享稳定与性能
- 【高性价比服务器】8GB内存 / 1Gbps带宽 / 足量IPv4与IPv6地址 / 反向解析支持 / 月付$54起
- Smile HaBangNet – 中国大陆、香港三网CN2 GIA及欧美独立服务器租用 – BGP高防、大带宽
服务器评测



