Tag Archives: linux

shutdown now 返回”Give root password for maintenance”

shutdown now现在被用来进入维护模式(maintenance)
应用shutdown -h

gentoo备份

ghost据说不能备份ReiserFS格式的分区,故使用tar备份成bz2格式。
tar -cjpvf /mnt/wind/linux.tar.bz2 / –exclude=/mnt
tar -xjpvf /mnt/wind/linux.tar.bz2 -C /

gentoo问题集

1.[S]无网络情况下apache启动不了
修改/etc/init.d/apache2,照如下改。
depend() {
need net.lo
use mysql dns logger netmount postgresql
after sshd
}
2.[S]OpenOffice和netscape-flash里中文表现为乱码(其实是方块)
把/etc/fonts/conf.d/49-sansserif.conf 改为 99-sansserif.conf
这个问题是字体的匹配顺序问题。
3.[S]在WEP ASCII加密的无线网络中接入不了
编辑/etc/conf.d/net,然后重启。

# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
#config_eth0=(”dhcp”)
#config_wlan0=(”dhcp”)
config_TPLINKHQ=(”dhcp”)
modules=(”iwconfig”)
key_TPLINKHQ=”[1] s:96833 key [1] enc open”
preferred_aps=(”TPLINKHQ”)
iwconfig_wlan0=”mode managed”
associate_order_wlan0=”forcepreferred”