易截截图软件、单文件、免安装、纯绿色、仅160KB

linux下控制台中乱码解决

      将中文版本的LINUX切换控制台到终端模式时候,部分命令和操作过程中显示乱码,主要是因为安装的过程中只选择了简体中文的支持,需要修改配置文件中的语言支持选项,加上英文支持即可。具体操作如下:
方法一: 修改系统配置(建议)
#vi /etc/sysconfig/i18n
  // 在文件中加入以下配置项
  LANG="zh_CN.GB18030"
  LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
  SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
  SYSFONT="lat0-sun16"
  //这样中文在SSH,telnet终端就可以正常显示了,支持了中文和英文编码
  //配置在机器重启后生效
方法二:shell命令
# export LANG="GB2312"
 // 当前字符集配置在当前会话中立即生效,
 //  缺陷: 只适用当前会话, 当开启新会话时需要重新执行该命令
方法三:修改用户级配置文件(root)
#vi ~/.bash_profile
LANG=zh_CN.GB18030
LANGUAGE=zh_CN.GB18030:zh_CN.GB2312:zh_CN
export LANG LANGUAGE


相关文档:

Linux Assembly "Hello World" Tutorial, CS 200

 
by Bjorn Chambless
Introduction
The following is designed familiarize the reader with programming in x86 (AT&T
style, that produced by gcc) assembly under Linux and how to interface assembly
and higher-level language code (i.e. C). The tutorial will also briefly cover
debugging yo ......

Linux的启动步骤


Load Bios
Read MBR's config to find out the os
Load the kernel of the os
init Process starts
execute /etc/rc.d /sysinit
start other modules (etc/modules.conf)
execute the run level scripts
execute /etc/rc.d/rc.local
execute /bin/login
shell started
......

Linux 虚拟化和 PCI 透传技术


 
 

别: 中级
M.
Tim Jones
, 自由作家
2009 年 11 月 19 日
处理器已经演变
为针对虚拟环境提高性能,但 I/O 方面发生了什么变化呢?了解一种名为设备(或 PCI)透传(passthrough)的 I/O
性能增强技术,这种创新技术通过使用来自 Intel® (VT-d) 或 AMD (IOMMU) 的硬件支持改进 PCI 设 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号