版本55和56间的区别
于2007-08-18 10:36:51修订的的版本55
大小: 4441
编辑: czk
备注:
于2007-08-18 10:40:30修订的的版本56
大小: 1001
编辑: czk
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 1: 行号 1:
[[TableOfContents]] = Linux操作系统 =
行号 30: 行号 30:






= 安装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:{{{
#!/bin/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: {{{
#!/bin/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配置 =
 *[http://man.chinaunix.net/linux/debian/debian_learning/ch09s12.html]

= 内核编译 =
 1. 下载内核:http://www.kernel.org/,解压缩
 1. 配置内核选项:{{{
cp /boot/config-`uname -r` ./.config
make menuconfig
}}}
 1. 编译内核:{{{
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
}}}
 1. 安装内核:{{{
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
}}}
 1. 修改引导文件:{{{
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
}}}
 1. 使用新内核重启

= 参考资源 =
 * [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://debian.ustc.edu.cn/]

 * [http://www.ubuntu.com/ Ubuntu Linux]
   * [http://www.ubuntu.org.cn/ Ubuntu中文社区]
   * [http://www.linuxsir.org/bbs/forumdisplay.php?f=100]
 * [http://www.linuxsir.org/ linuxsir论坛]
 * [http://www.linuxfans.org/nuke/modules.php?name=Forums]
 * [http://www.linuxforum.net/]
 * [http://www-128.ibm.com/developerworks/cn/linux/]
 * [http://bbs.chinaunix.net/]
 * [http://www.linuxedu.net/forum/]

Linux操作系统

  • ["Linux系统安装"]
  • ["Linux中文支持"]
  • ["Linux应用程序"]
  • ["Linux与Windows兼容性"]
  • ["Linux环境编程"]
  • ["Linux参考资源"]

Linux温州论坛

Linux温州论坛(邮件列表)成立,旨在为温州的Linux爱好者提供一个交流的平台。

订阅 linux-wz

电子邮件:

访问此论坛

Linux (2020-04-25 09:07:00由czk编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.