Fedora7使用手记

来源:互联网 发布:2016淘宝c店死翘翘了 编辑:程序博客网 时间:2024/05/04 04:08

很痛苦啊,希望能慢慢习惯。 

1、安装系统时,选择的默认语言是英文,结果,中文显示乱码(4个数字的小方块)。

部分解决

没安装中文字体导致出现这种


a. 拷贝中文字体(安装)

 $ cd /usr/share/fonts

# mkdir chinese      (注意切换到root用户)

# cp SIMSUN.TTC /usr/share/fonts/chinese/

b. yum install wqy-bitmap-fonts


2、使用智能拼音输入中文(且解决程序界面中文乱码问题)

# vi /etc/sysconfig/i18n

LANG="zh_CN.UTF-8"
SYSFONT="latarcyrheb-sun16"

改成上面那样,按Ctrl+Alt+BackSpace重启X,就可以使用智能拼音输入中文了。而且也解决了程序界面中文的乱码问题,但是英文字体就难看了。

解决英文字体难看的方法(KDE)
settings->Appearance & Themes -> Fonts
[Adjust all fonts] -> 选DejaVu Sans 10,[Fixed Width ]选了Courier 10 pitch 10
选了这些之后,英文字体好看多了。

(Fedora7带的是scim-1.4.5)

$ rpm -qa | grep scim
scim-1.4.5-18.fc7
scim-qtimm-0.9.4-6.fc7
scim-libs-1.4.5-18.fc7
scim-m17n-0.2.1-1.fc7
scim-pinyin-0.5.91-16.fc7

 

3、安装Tight VNC Viewer

rpm -qip tightvnc-1.3.9-1.i386.rpm
Name        : tightvnc                     Relocations: (not relocatable)
Version     : 1.3.9                             Vendor: (none)
Release     : 1                             Build Date: 2007年05月02日 星期三 14时21分59秒
Install Date: (not installed)               Build Host: constmain
Group       : User Interface/Desktops       Source RPM: tightvnc-1.3.9-1.src.rpm
Size        : 350523                           License: GPL
Signature   : (none)
Packager    : Constantin Kaplinsky <const@tightvnc.com>
URL         : http://www.tightvnc.com/
Summary     : A remote display system.
Description :
Virtual Network Computing (VNC) is a remote display system which
allows you to view a computing 'desktop' environment not only on the
machine where it is running, but from anywhere on the Internet and
from a wide variety of machine architectures. TightVNC is an enhanced
VNC distribution. This package contains a client which will allow you
to connect to other desktops running a VNC or a TightVNC server.

#rpm -ivh tightvnc-1.3.9-1.i386.rpm

从Linux访问Windows,按F8可以调出一个菜单,可以发送Ctrl+Alt+Del组合键到远程机器。


4、linux下查找文件的几种方法,请参考http://www.5dlinux.com/article/show.asp?id=6478。


5、在Windows上用SecureCRT传送文件到Linux。用惯了迅雷下载,在Linux中下载文件简直是煎熬,有了这个方便很多啊。

请参阅:SecureCRT 中使用zmodem和Linux服务器交换文件!
http://wildwind.javaeye.com/blog/105702

http://hi.baidu.com/wangy0919/blog/item/ae18e9122a427bccc3fd78ae.html

6、安装JDK1.5

可参考:http://zhidao.baidu.com/question/16233157.html



7、安装Tomcat


8、先安装Wine,再安装和运行迅雷国际版Gigaget。

yum install wine //安装wine

yum setup.exe //安装迅雷

下载挺快,感觉比MultiGet还要快,就是程序界面不稳定。

以下是下载QQ的记录,总共花了4秒钟
Name:qq2007beta4.exe
Size:17.73MB
Type:
Progress:100%
Path:c:/windows/profiles/james/Desktop/
URL:http://download.xinhuanet.com/it/qq2007beta4.exe
Referer:
Starting Time:2007-09-06 15:57:57
Time Completed:2007-09-06 15:58:02
Time Spent:00:00:04
Average Speed:4.43MB/s
Comment:
Description:


9、安装QQ2007,这回可没这么好运,装完就可以用。
直接运行就出错,要你重启程序。

1) 拷贝mfc42.dll到 /home/james/.wine/drive_c/windows/system32

2) 移走 /home/james/.wine/drive_c/Program Files/Tencent/QQ下的TIMPlatform.exe

3) 建qq2007.reg文件,然后运行命令“regedit qq2007.reg”,qq2007.reg文件内容如下

 [HKEY_CURRENT_USER/Software/Wine/AppDefaults/QQ.exe/DllOverrides]
"riched20"="native"
"riched32"="native"

忠告:极不稳定,不要期望太高。
10、安装vsftp服务器。
vsftp配置大全---超完整版,http://www.syue.com/Linux/HTML/67791.html

11
[root@fc7 ~]# vi /etc/X11/xorg.conf

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "Monitor0"
ModelName "LCD Panel 1280x1024"
HorizSync 30-100
VertRefresh 60-80
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection



 参考
1、教你优化Fedora Core 4的中文字体显示,http://tech.ccidnet.com/art/302/20060724/651123_1.html

2、fedora core 4用putty显示中文乱码问题,http://blog.chinaunix.net/u/12895/showart.php?id=79394

3、Fedora 7 字体美化,http://www.linuxer.cn/bbs/viewthread.php?tid=3376

4、FC3下英文界面使用中文,http://blog.csdn.net/xianfengdesign/archive/2007/06/03/1636675.aspx

5、Linux下的下载工具,http://hi.baidu.com/eyea/blog/item/d77074cf3e303c3ff9dc6122.html

6、用 wine 安裝 qq2007,http://wiki.ubuntu.org.cn/index.php?title=Wine_qq2007&variant=zh-tw

7 http://www.xiyoulinux.cn/wiki/index.php?title=/etc/X11/xorg.conf&diff=prev&oldid=257

原创粉丝点击