版本54和143间的区别 (跳过第89版)
于2007-08-18 10:30:29修订的的版本54
大小: 9275
编辑: czk
备注:
于2020-04-25 09:07:00修订的的版本143
大小: 7089
编辑: czk
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 1: 行号 1:
[[TableOfContents]] = Linux操作系统 =
行号 3: 行号 3:
 * ["Linux系统安装"]
 * ["Linux中文支持"]
 * ["Linux应用程序"]
 * ["Linux与Windows兼容性"]

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

{{{#!html
<table border=0 style="background-color: #fff; padding: 5px;" cellspacing=0>
  <tr><td>
    <img src="http://groups.google.com/groups/img/3/groups_bar_zh-CN.gif"
         height=26 width=132 alt="Google 网上论坛">
  </td></tr>
  <tr><td style="padding-left: 5px"> <b>订阅 linux-wz</b> </td></tr>
  <form action="http://groups.google.com/group/linux-wz/boxsubscribe">
  <tr><td style="padding-left: 5px;"> 电子邮件: <input type=text name=email>
           <input type=submit name="sub" value="订阅">
  </td></tr>
</form>
<tr><td align=right> <a href="http://groups.google.com/group/linux-wz">访问此论坛</a> </td></tr>
</table>
<<TableOfContents>>
行号 27: 行号 6:
}}} == Linux入门教程 ==

 * [[Linux桌面安装与基本配置]]
 * [[Linux服务器管理]]
 * [[http://forum.ubuntu.com.cn/about18360.html|Linux爱好者入门教程]]
 * [[http://www.ibm.com/developerworks/cn/linux/newto/|Linux新手入门]]
 * [[https://www.douban.com/group/topic/12121637/|完全用Linux工作]]
 * [[http://www.ee.surrey.ac.uk/Teaching/Unix/|Unix/Linux Tutorial for Beginners]]
 * [[https://blog.csdn.net/AlfredLu/article/details/1634054|Ubuntu全程安装配置手册]]
 * [[http://people.ubuntu.com/~happyaron/ubuntu-docs/precise-html/|Ubuntu 桌面指南]]

== 对比 ==

 * [[http://zh.wikipedia.org/w/index.php?title=%E8%A6%96%E7%AA%97%E8%88%87Linux%E7%9A%84%E6%AF%94%E8%BC%83&variant=zh-cn|微软视窗与Linux的比较]]
 * Linux不是Windows [[http://linux.oneandoneis2.org/LNW.htm|英文版]] [[https://forum.ubuntu.com.cn/viewtopic.php?t=67915|中文翻译版]] [[https://wiki.ubuntu.org.cn/Linux%E4%B8%8D%E6%98%AFWindows/zh|中文翻译版]]
行号 31: 行号 24:
= ubuntu读写ntfs分区 =
在source.list上加上
{{{
deb http://flomertens.keo.in/ubuntu/ dapper main
deb-src http://flomertens.keo.in/ubuntu/ dapper main
}}}
安装ntfs-3g
{{{
apt-get install ntfs-3g ntfs-3g-nautilus-tools
}}}
启动fuse模块
{{{
modprobe fuse
}}}
并在/etc/modules中加入一行
{{{
fuse
}}}
最后修改/etc/fstab,把对应ntfs的分区类型改成ntfs-3g,比如
{{{
/dev/hda1 /mnt/hda1 ntfs-3g defaults,nls=utf8,locale=zh_CN.utf8,umask=007,gid=46 0 1
}}}
== 基本概念 ==
 * 什么是[[http://zh.wikipedia.org/w/index.php?title=%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F&variant=zh-cn|操作系统]]?
   * 什么是[[http://zh.wikipedia.org/w/index.php?title=Unix&variant=zh-cn|UNIX]]
 * 什么是[[http://zh.wikipedia.org/w/index.php?title=%E8%87%AA%E7%94%B1%E8%BB%9F%E9%AB%94&variant=zh-cn|自由软件]]? 什么是[[http://zh.wikipedia.org/w/index.php?title=%E9%96%8B%E6%94%BE%E6%BA%90%E4%BB%A3%E7%A2%BC&variant=zh-cn|开放源代码]]?
   * 什么是[[http://zh.wikipedia.org/w/index.php?title=GNU&variant=zh-cn|GNU]]? [[https://www.gnu.org/|GNU官网]]
 * 什么是[[http://zh.wikipedia.org/w/index.php?title=Linux&variant=zh-cn|Linux]]? [[什么是Linux]]
   * 有哪些[[http://zh.wikipedia.org/w/index.php?title=Linux%E7%99%BC%E8%A1%8C%E7%89%88&variant=zh-cn|Linux发行版]]?
   * 什么是[[http://zh.wikipedia.org/w/index.php?title=Debian&variant=zh-cn|Debian]]? 什么是[[http://zh.wikipedia.org/wiki/Red_Hat_Linux|红帽linux]]?
   * 什么是[[http://zh.wikipedia.org/w/index.php?title=Ubuntu_Linux&variant=zh-cn|Ubuntu Linux]]?
     * Ubuntu[[http://zh.wikipedia.org/w/index.php?title=%E5%90%BE%E5%B8%AE%E6%89%98&variant=zh-cn|乌班图]]?
     * 什么是[[http://zh.wikipedia.org/w/index.php?title=Kubuntu&variant=zh-cn|Kubuntu]]? 什么是[[http://zh.wikipedia.org/w/index.php?title=Xubuntu&variant=zh-cn|Xubuntu]]?
 * 什么是[[http://zh.wikipedia.org/w/index.php?title=X_Window_System&variant=zh-cn|X Window系统]]?
   * 什么是[[http://zh.wikipedia.org/w/index.php?title=GNOME&variant=zh-cn|Gnome]]? 什么是[[http://zh.wikipedia.org/w/index.php?title=KDE&variant=zh-cn|KDE]]?
 * 什么是[[http://zh.wikipedia.org/w/index.php?title=Debian_Apt&variant=zh-cn|APT]]?
 * 什么是[[http://zh.wikipedia.org/w/index.php?title=%E9%A9%85%E5%8B%95%E7%A8%8B%E5%BC%8F&variant=zh-cn|驱动程序]]?
 * 什么是[[http://en.wikipedia.org/wiki/Mount_(Unix)|mount]]?
 * 什么是[[http://en.wikipedia.org/wiki/Root_directory|根目录]]?
 * 什么是[[http://en.wikipedia.org/wiki/Root_user|root用户]]?
 * 什么是[[http://zh.wikipedia.org/w/index.php?title=Vi|VI]]和[[http://zh.wikipedia.org/w/index.php?title=Vim|VIM]]?
 * 什么是[[http://zh.wikipedia.org/w/index.php?title=Wine|WINE]]?
 * [[http://www.linusakesson.net/programming/tty/index.php|The TTY demystified]]
行号 54: 行号 46:
= 虚拟机安装 =
 * Vmplayer虚拟机:安装vmware-player{{{
sudo apt-get install vmware-player
}}}在http://www.easyvmx.com/ 上创建一个虚拟机,然后用vmware-player运行它。
 * VirtualBox:先添加ubuntu-cn的源,然后安装virtualbox{{{
sudo apt-get install virtualbox
}}}
== 人物 ==

 * 谁是[[http://zh.wikipedia.org/w/index.php?title=Richard_Stallman&variant=zh-cn|Richard Stallman]]?

 * 谁是[[http://zh.wikipedia.org/w/index.php?title=%E6%9E%97%E7%B4%8D%E6%96%AF%C2%B7%E6%89%98%E7%93%A6%E8%8C%B2&variant=zh-cn|Linus Torvalds]]?

 * 谁是[[http://zh.wikipedia.org/w/index.php?title=%E5%9F%83%E9%87%8C%E5%85%8B%C2%B7%E6%96%AF%E8%92%82%E8%8A%AC%C2%B7%E9%9B%B7%E8%92%99&variant=zh-cn|Eric Raymond]]?
行号 63: 行号 55:
= 安装java =
{{{
apt-get install sun-java5-jdk
apt-get install sun-java5-plugin
update-alternatives --config java
}}}
== 参考资料 ==
行号 70: 行号 57:
配置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
}}}
 * [[http://www.pathname.com/fhs/pub/fhs-2.3.html|目录结构标准]]
 * [[https://www.fedorafaq.org/|The Unofficial Fedora FAQ]]
 * [[http://www.linuxguide.it/linux_commands_line_en.htm|Linux Command Line]]
 * [[https://forum.ubuntu.com.cn/viewtopic.php?p=434187|学习ubuntu必备的电子资料集合,电子书+视频]]
 * [[http://dz.adj.idv.tw/thread-275-1-1.html|Linux指令大全]]
 * [[http://www.debianhelp.co.uk/|Debian Linux Tutorials, Tips, System Administration Resources]]
 * [[https://ss64.com/bash/index.html|An A-Z Index of the Linux command line]]
 * [[https://imtx.me/archives/1738.html|Ubuntu Tweak五年之历程]]
 * [[https://imtx.me/archives/1766.html|谢谢大家,Ubuntu Tweak仍会继续]]
行号 78: 行号 67:
= 在linux下运行windows应用程序 =
安装wine
{{{
apt-get install wine
}}}
对wine进行配置。配置比较麻烦。Sidenet提供了一个脚本自动进行配置:http://sidenet.ddo.jp/winetips/config.html
 * [[https://www.debian.org/doc/debian-policy/|Debian Policy Manual]]
 * [[http://debian.ustc.edu.cn/]] 国内镜像
行号 85: 行号 70:
当前在zh_CN.utf8的字符编码环境下,并启动了scim输入法,再运行wine就会很慢。解决办法在http://huangjiahua.livejournal.com/71157.html  * [[https://www.kernel.org/doc/gorman/html/understand/understand016.html|Out Of Memory Management]]
 * [[http://wikigentoo.ksiezyc.pl/FAQ_Linux_Memory_Management.htm|FAQ Linux Memory Management]]
 * [[https://www.freshblurbs.com/blog/2007/01/25/how-profile-memory-linux.html|HOWTO: Profile Memory in a Linux System]]
 * [[http://manpages.ubuntu.com/manpages|Ubuntu命令说明]]
 * [[http://linux.chinaitlab.com/special/linuxcom|通用命令说明]]
 * [[https://fcitx-im.org/|Fcitx 小企鹅输入法]]
 * [[http://www.tldp.org/|Linux文档计划]]
 * [[http://www.kernel.org/|Linux内核官方网站]]
 * [[http://www.linux.org/|Linux新闻]]
 * [[http://www.linux.com/|Linux.com]]
 * [[http://www.linuxfromscratch.org/|Linux From Scratch]]
 * [[https://unetbootin.github.io/|UNetbootin]] UNetbootin 让你创建 Ubuntu 或者其他 Linux 发行版的可引导 Live U 盘,而无需烧录 CD。
 * [[https://clonezilla.org/|Clonezilla]] a partition and disk imaging/cloning program
行号 87: 行号 84:
在 [http://www.linuxgame.org/] 提供了一些脚本可以对wine进行方便的配置。 == Linux社区 ==
行号 89: 行号 86:
== 关于 wine 在 zh_CN.UTF-8 , Ubuntu/Debian 下慢 ==
wine 在 zh_CN.UTF-8 , Ubuntu/Debian 下启动个 notepad 都非常慢, 而 SUSE 下的却没问题。
看了下, 还是 请求 X core 字体的问题,在 zh_CN.UTF-8 下 wine 会请求 gbk-0 字体 ,
而通常 Ubuntu/Debian 都没 gbk-0 字体的, 即使有的话, 用 * 来匹配字体也是很慢的。
 * 提问的智慧 [[http://www.catb.org/%7Eesr/faqs/smart-questions.html|英文版]] [[https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way|中文翻译版]]
 * [[Linux服务器管理研讨活动]]
 * Linux温州论坛 https://groups.google.com/group/linux-wz
行号 94: 行号 90:
一个比较容易想到的是添加 GBK 字体 === 中文社区 ===
 * Ubuntu
    * [[https://wiki.ubuntu.org.cn/%E9%A6%96%E9%A1%B5|Ubuntu中文维基]]
    * [[https://forum.ubuntu.com.cn/|Ubuntu中文论坛]]
    * [[https://cn.ubuntu.com/|Ubuntu Linux中文官网]]
行号 96: 行号 96:
让 WQY 添加 GBK-0 字体
安装 wqy 后,加个文件/etc/X11/fonts/misc/xfonts-wqy.alias
写入
{{{
"-wenquanyi-wenquanyi bitmap song-medium-r-normal--0-0-100-100-p-0-gbk-0" "-wenquanyi-wenquanyi bitmap song-medium-r-normal--0-0-100-100-p-0-iso10646-1"
"-wenquanyi-wenquanyi bitmap song-medium-r-normal--0-0-75-75-p-0-gbk-0" "-wenquanyi-wenquanyi bitmap song-medium-r-normal--0-0-75-75-p-0-iso10646-1"
}}}
 * 其它
行号 104: 行号 98:
再执行
{{{
sudo update-fonts-alias misc
xset fp
}}}
这时候 wine 的反映速度就跟 zh_CN 下一样了 ( 启动个 notepad 或者 ms word 来看看 )

= 中文输入法 =
小企鹅输入法(五笔、拼音等)
{{{
apt-get install fcitx
}}}
scim(Smart Common Input Method)
{{{
apt-get install scim scim-tables-zh
}}}

在debian中安装scim后,输入法可能不会随着X启动而自动加载。可以在/etc/X11/Xsession.d/目录中添加文件95scim,内容如下:{{{
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
scim -d
}}}

在英文的locale下,无法使用scim中文输入,可以运行:{{{
sudo update-alternatives --config xinput-all_ALL
}}}选择scim

= 中文排序 =
让文件名是中文的文件按照拼音顺序排列:安装locale-pinyin:{{{
sudo apt-get install locale-pinyin
}}}然后设置LC_COLLATE=zh_CN@pinyin.utf8,可以通过在/etc/environment文件中添加这一行实现:{{{
LC_COLLATE="zh_CN@pinyin.utf8"
}}}然后重新登录就可以起作用了
    * [[http://www.linuxsir.org/|Linuxsir.org]]
    * [[http://bbs.chinaunix.net/|Chinaunix]]
    * [[http://www.linuxfans.org/|中国Linux公社]]
    * [[http://www.lupaworld.com/|LUPA社区]]
    * [[http://www.linuxeden.com/|Linux伊甸园]]
    * [[http://wenq.org|文泉驿中文字体计划]]
行号 139: 行号 106:
= adsl拨号 =
使用pppoeconf配置拨号的属性
{{{
pppoeconf
}}}
使用pon进行拨号
{{{
pon dsl-provider
}}}
使用poff断开
{{{
poff dsl-provider
}}}
=== 中国Linux社区IRC资源 ===
行号 153: 行号 108:
= 编辑排版 =
 * ["Emacs"]
 * ["TeX排版"]

= 聊天 =
使用gaim来上msn messenger, yahoo messenger, icq, google talk, aol等
{{{
apt-get install gaim
}}}
skype:在/etc/apt/source.list中填加
{{{
deb http://debian.bootsplash.de unstable main
}}}
然后安装
{{{
apt-get install skype
}}}

使用qq:
 * 使用lumaqq来上qq: http://lumaqq.linuxsir.org/
{{{
cd;mkdir tmp;cd tmp
wget -c http://download.ubuntu.org.cn/software/lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz
sudo tar zxvf lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz -C /opt/
wget -c http://download.ubuntu.org.cn/software/lumaqq_2005_patch_2006.02.02.15.00.zip
sudo unzip -o lumaqq_2005_patch_2006.02.02.15.00.zip -d /opt/LumaQQ/lib
sudo chown -R root:root /opt/LumaQQ/
sudo chmod -R 755 /opt/LumaQQ/
sudo vi /usr/share/applications/LumaQQ.desktop
}}}
添加如下行:

代码:
{{{
[Desktop Entry]
Name=LumaQQ
Comment=QQ Client
Exec=/opt/LumaQQ/lumaqq
Icon=/opt/LumaQQ/QQ.png
Terminal=false
Type=Application
Categories=Application;Network;
}}}
 * 使用openq: http://openq.linuxsir.org/
 * 使用eva: http://sourceforge.net/projects/evaq ubuntu上可以直接使用{{{apt-get install eva}}}安装

= 播放电影 =
在/etc/apt/source.list中填加
{{{
deb ftp://ftp.nerim.net/debian-marillat/ sid main
}}}
安装mplayer和解码器
{{{
apt-get install mplayer w32codecs
}}}

= 对数码相机的支持 =
命令行方式使用gphoto2
{{{
apt-get install gphoto2
}}}
图形界面使用gtkam
{{{
apt-get install gtkam
}}}
让普通用户有权限使用数码相机。比如让用户czk能用相机
{{{
gpasswd -a czk camera
}}}


= 休眠 =
查看系统支持哪些模式
{{{
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/]
    * PCHOME #Unix IRC: irc.pchome.net 6667 #unix #geekbone.
    * 中国Linux公社 IRC: irc.linuxfans.org 6667~6669 7000 #linuxfans #linuxer etc.
    * LinuxFire IRC: irc.linuxfire.com.cn 6667 #linuxfire #pda #gondson2 #80s
    * LinuxSir IRC: www.linuxsir.org 6667~6669 7000 #debianer #gentooer #chatroom etc.
    * 北大Linux俱乐部IRC: linux.pku.edu.cn 6667 #club
    * LUPA社区IRC: irc.lupaworld.com 6665-6669

Linux操作系统

1. Linux入门教程

2. 对比

3. 基本概念

4. 人物

5. 参考资料

6. Linux社区

6.1. 中文社区

6.2. 中国Linux社区IRC资源

  • PCHOME #Unix IRC: irc.pchome.net 6667 #unix #geekbone.
  • 中国Linux公社 IRC: irc.linuxfans.org 6667~6669 7000 #linuxfans #linuxer etc.
  • LinuxFire IRC: irc.linuxfire.com.cn 6667 #linuxfire #pda #gondson2 #80s

  • LinuxSir IRC: www.linuxsir.org 6667~6669 7000 #debianer #gentooer #chatroom etc.

  • 北大Linux俱乐部IRC: linux.pku.edu.cn 6667 #club
  • LUPA社区IRC: irc.lupaworld.com 6665-6669

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

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