版本1和30间的区别 (跳过第29版)
于2006-01-08 12:04:33修订的的版本1
大小: 24
编辑: 218
备注:
于2006-08-17 22:55:39修订的的版本30
大小: 4508
编辑: czk
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 1: 行号 1:
在这里详述 Linux. 以下使用的Linux发布版本为debian unstable或者ubuntu dapper
[[TableOfContents]]

= debian安装 =
事先在硬盘上准备一个未分区的空间,至少5G。最好先备份硬盘上的重要数据,或者使用完全空闲的硬盘。

下载debian安装光盘的镜像文件。完整版需要很多光盘。如果网络条件许可,使用网络安装版最方便:http://www.debian.org/distrib/netinst

将镜像刻录成光盘,使用这张光盘引导系统。引导后出来安装界面,安照提示一步一步完成即可。其中在选择apt源的时候,选择cn99的http服务器比较快。

详细安装过程参考debian安装手册 http://debian.linuxsir.org/book/d-i-manual/zh_CN/i386/zh_CN.i386.html/

= ubuntu 安装 =
ubuntu的source.list
{{{
deb http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse


#ntfs-3g & fuse-2.5 repo:
deb http://flomertens.keo.in/ubuntu/ dapper main
deb-src http://flomertens.keo.in/ubuntu/ dapper main

#skype
deb http://debian.bootsplash.de unstable main
}}}

= 在linux下运行windows应用程序 =
安装wine
{{{
apt-get install wine
}}}
对wine进行配置。配置比较麻烦。Sidenet提供了一个脚本自动进行配置:http://sidenet.ddo.jp/winetips/config.html

当前在zh_CN.utf8的字符编码环境下,并启动了scim输入法,再运行wine就会很慢。解决办法在http://huangjiahua.livejournal.com/71157.html

在 [http://www.linuxgame.org/] 提供了一些脚本可以对wine进行方便的配置。

= 中文输入法 =
小企鹅输入法(五笔、拼音等)
{{{
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
}}}

= 聊天 =
使用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/
 * 使用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
}}}

= 参考资源 =
 * [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发布版本为debian unstable或者ubuntu dapper TableOfContents

debian安装

事先在硬盘上准备一个未分区的空间,至少5G。最好先备份硬盘上的重要数据,或者使用完全空闲的硬盘。

下载debian安装光盘的镜像文件。完整版需要很多光盘。如果网络条件许可,使用网络安装版最方便:http://www.debian.org/distrib/netinst

将镜像刻录成光盘,使用这张光盘引导系统。引导后出来安装界面,安照提示一步一步完成即可。其中在选择apt源的时候,选择cn99的http服务器比较快。

详细安装过程参考debian安装手册 http://debian.linuxsir.org/book/d-i-manual/zh_CN/i386/zh_CN.i386.html/

ubuntu 安装

ubuntu的source.list

deb http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse


#ntfs-3g & fuse-2.5 repo:
deb http://flomertens.keo.in/ubuntu/ dapper main
deb-src http://flomertens.keo.in/ubuntu/ dapper main

#skype
deb http://debian.bootsplash.de unstable main

在linux下运行windows应用程序

安装wine

apt-get install wine

对wine进行配置。配置比较麻烦。Sidenet提供了一个脚本自动进行配置:http://sidenet.ddo.jp/winetips/config.html

当前在zh_CN.utf8的字符编码环境下,并启动了scim输入法,再运行wine就会很慢。解决办法在http://huangjiahua.livejournal.com/71157.html

在 [http://www.linuxgame.org/] 提供了一些脚本可以对wine进行方便的配置。

中文输入法

小企鹅输入法(五笔、拼音等)

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

聊天

使用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:

播放电影

在/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

参考资源

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

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