- ["Linux系统安装"]
- ["Linux中文支持"]
- ["Linux应用程序"]
- ["Linux与Windows兼容性"]
- ["Linux环境编程"]
- ["Linux参考资源"]
Linux温州论坛
Linux温州论坛(邮件列表)成立,旨在为温州的Linux爱好者提供一个交流的平台。
订阅 linux-wz
电子邮件:
访问此论坛
安装java
apt-get install sun-java5-jdk apt-get install sun-java5-plugin update-alternatives --config java
配置java字体
wget http://paste.ubuntu.org.cn/d323 sudo mv /etc/java-1.5.0-sun/fontconfig.properties /etc/java-1.5.0-sun/fontconfig.properties.old sudo mv d323 /etc/java-1.5.0-sun/fontconfig.properties sudo chown root:root /etc/java-1.5.0-sun/fontconfig.properties
adsl拨号
使用pppoeconf配置拨号的属性
pppoeconf
使用pon进行拨号
pon dsl-provider
使用poff断开
poff dsl-provider
休眠
查看系统支持哪些模式
cat /sys/power/state
- suspend to disk(S4):
echo disk > /sys/power/state
- suspend to ram(S3):
echo mem > /sys/power/state
hp的笔记本从待机恢复后键盘鼠标失去响应的问题,可以在/etc/acpi/suspend.d中新建文件20-i8042-input.sh:
# Unbind the AT keyboard interface. if [ -f /sys/bus/platform/drivers/i8042/unbind ]; then echo -n "i8042" > /sys/bus/platform/drivers/i8042/unbind fi
在/etc/acpi/resume.d中新建文件80-i8042-input.sh:
# Rebind the AT keyboard interface. if [ -f /sys/bus/platform/drivers/i8042/bind ]; then echo -n "i8042" > /sys/bus/platform/drivers/i8042/bind fi
linux 进程管理api
- fork 创建新进程
- exec* 用一个新的程序代替当前运行的进程
- wait 等待子进程结束
moinmoin配置
内核编译
配置内核选项:
cp /boot/config-`uname -r` ./.config make menuconfig
编译内核:
make-kpkg clean fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
安装内核:
dpkg -i linux-image-2.6.18.1-custom_2.6.18.1-custom-10.00.Custom_i386.deb dpkg -i linux-headers-2.6.18.1-custom_2.6.18.1-custom-10.00.Custom_i386.deb
修改引导文件:
vi /boot/grub/menu.lst title Ubuntu, kernel 2.6.18.1-custom root (hd0,0) kernel /boot/vmlinuz-2.6.18.1-custom root=/dev/sda1 ro quiet splash initrd /boot/initrd.img-2.6.18.1-custom savedefault boot title Ubuntu, kernel 2.6.18.1-custom (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.18.1-custom root=/dev/sda1 ro single initrd /boot/initrd.img-2.6.18.1-custom boot
- 使用新内核重启
参考资源
[http://www.debian.org/ Debian Linux]
[http://planet.debian.org.hk/ debian香港]
[http://debian.linuxsir.org/main/?q=node/15 debian 安装手册]
[http://debian.linuxsir.org/book/faq/etony/ debian FAQ]
[http://debian.linuxsir.org/book/reference/lyoo/ debian 参考手册]
[http://debian.linuxsir.org/book/securing-howto/etony/ debian 安全手册]
[http://www.ubuntu.com/ Ubuntu Linux]
[http://www.linuxsir.org/ linuxsir论坛]