centos scim centos现在哪个版本最流行
linux虚拟机怎么安装vmware tools
Linux VMware Tools安装步骤简易版
Linux VMware Tools安装估计有点困难,我也在网上看了好多版本的Linux安装VMware Tools,方法都一样。但是自己在安装过程中,还是遇到了点问题。但是最终还是搞定。我运行的是VMware workstation 8.0.4, OS: CentOS 6.0
1.在CD-ROM虚拟光驱中选择使用ISO镜像,找到VMWARE TOOLS安装文件,如C:\program\VMware\VMware Workstation\Programs\linux.iso
当然这个ISO是你安装VMware workstation的目录下的Linux.iso,不是你的Linux OS镜像文件。VMware Tools一般都在这个文件里。
2.以管理员身份进入Linux,root账号
3.退出到windows,在虚拟机菜单栏中点击虚拟机->安装 VMWARE TOOLS子菜单,会弹出对话框,点击"确认"安装
4.挂载光驱:Mount-t iso9660/dev/cdrom/mnt
加载CDROM设备,这是如果进入/mnt目录下,你会发现一个文件:
VMwareTools-8.8.4-743747.tar.gz
这个就死VMware Tools的Linux软件包,也是我们刚才使用的WinISO打开的Liunx.ISO
有的虚拟机上估计执行mount/dev/cdrom/mnt/cdrom
如果提示如下错误,挂载点不存在。,[root@localhost/]#mount/dev/cdrom/mnt/cdrom
mount: mount point/mnt/cdrom dose not exist
请直接执行此命令:
mount/dev/cdrom/opt
cd/opt
或者应该可以使用自动挂载,直接进入
cd/misc/cd
5. copy此文件到临时文件夹
cp/mnt/mVMwareTools-8.8.4-743747.tar.gz/tmp
6.卸载CDROM,执行 umount/dev/cdrom
7.进入tmp文件目录并解压此文件包
cd/tmp
tar zxf vmware-linux-tools.tar.gz
解压默认到vmware-tools-distrib目录下:此时你可以使用ls-ll查看文件夹下的文件
8.进入vmware-tools-distrib,安装vmware tools.
./vmware-install.pl执行安装,
安装过程中他会一步一步的有问题回应,此过程中,你遇到后面显示[yes],[no],[yes][no]的直接输入yes,然后回车。其他的问题不管[]里面是什么,直接回车就好了,不要输入。
9.大约5分钟左右安装完成。执行init 6重启ok。
Linux VMware Tools安装步骤图文版,大家可以参考下
展台搭建机器视觉系统 windows7旗舰版电脑重装系统 arm9开发板科比球鞋机器视觉
虚拟机制作网页网页制作模板展台搭建科比球鞋电脑系统重装 windows7旗舰版
虚拟机网站开发安德玛篮球鞋展台搭建网站设计网站设计公司 html5网页模板
网站开发安卓软件开发电脑装win7系统 ios编程入门苹果刷机外置显卡现在做什么赚钱
html5网站 u盘安装系统 html5模板单片机电脑重装系统女装免费代理展台搭建
近视眼恢复恢复删除文件二合一平板电脑 u盘安装系统平板电脑排行榜 jordan电话呼叫系统
操作过程如下:
[root@localhost~]# cd/
[root@localhost/]# ls
bin dev home lost+found misc net proc sbin srv tftpboot usr
boot etc lib media mnt opt root selinux sys tmp var
[root@localhost/]# cd/media
[root@localhost media]# ls
VMware Tools
[root@localhost media]# cd VMware\ Tools/
[root@localhost VMware Tools]# ls
manifest.txt VMwareTools-8.1.3-203739.tar.gz
[root@localhost VMware Tools]# cp VMwareTools-8.1.3-203739.tar.gz/tmp
[root@localhost VMware Tools]# cd/tmp
[root@localhost tmp]# ls
gconfd-root scim-helper-manager-socket-root
keyring-lbbFvv scim-panel-socket:0-root
mapping-root scim-socket-frontend-root
orbit-root ssh-FmnVlj2751
scim-bridge-0.3.0.lockfile-0@localhost:0.0 virtual-root.ZxmHUV
scim-bridge-0.3.0.socket-0@localhost:0.0 VMwareTools-8.1.3-203739.tar.gz
[root@localhost tmp]# tar-zxf VMwareTools-8.1.3-203739.tar.gz
[root@localhost tmp]# ls
gconfd-root scim-panel-socket:0-root
keyring-lbbFvv scim-socket-frontend-root
mapping-root ssh-FmnVlj2751
orbit-root virtual-root.ZxmHUV
scim-bridge-0.3.0.lockfile-0@localhost:0.0 VMwareTools-8.1.3-203739.tar.gz
scim-bridge-0.3.0.socket-0@localhost:0.0 vmware-tools-distrib
scim-helper-manager-socket-root
[root@localhost tmp]# cd vmware-tools-distrib/
[root@localhost vmware-tools-distrib]# ls
bin doc etc FILES INSTALL installer lib vmware-install.pl
[root@localhost vmware-tools-distrib]#./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin] yes
The path"yes" is a relative path. Please enter an absolute path.
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories(rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path"/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
yes
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path"yes" is a relative path. Please enter an absolute path.
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path"/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]
The installation of VMware Tools 8.1.3 build-203739 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:"/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command:"/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [确定]
Virtual Printing daemon: [确定]
Unmounting HGFS shares: [确定]
Guest filesystem driver: [确定]
Found a compatible pre-built module for vmmemctl. Installing it...
Found a compatible pre-built module for vmhgfs. Installing it...
Found a compatible pre-built module for vmxnet. Installing it...
Found a compatible pre-built module for vmblock. Installing it...
[EXPERIMENTAL] The VMware FileSystem Sync Driver(vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no]
Found a compatible pre-built module for vmci. Installing it...
Found a compatible pre-built module for vsock. Installing it...
Found a compatible pre-built module for vmxnet3. Installing it...
Found a compatible pre-built module for pvscsi. Installing it...
Detected X.org version 7.1.
Host resolution detected as"1440 x 900".
Please choose one of the following display sizes that X will start with:
[1]"320x200"
[2]"320x240"
[3]"400x300"
[4]"512x384"
[5]"640x400"
[6]"640x480"
[7]"720x480"
[8]"800x480"
[9]"854x480"
[10]"720x576"
[11]"800x600"
[12]"1024x768"
[13]"1280x720"
[14]"1280x768"
[15]"1152x864"
[16]"1280x800"
[17]<"1366x768"
Please enter a number between 1 and 17:
[17] 12
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-128.1.16.el5 i686 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.18-164.el5#1 SMP Tue Aug 18 15:51:54 EDT 2009 i686
Build Date: 22 July 2009
Build ID: xorg-x11-server 1.1.1-48.67.el5
Before reporting problems, check
to make sure that you have the latest version.
Module Loader present
Markers:(--) probed,(**) from config file,(==) default setting,
(++) from command line,(!!) notice,(II) informational,
(WW) warning,(EE) error,(NI) not implemented,(??) unknown.
(++) Log file:"/tmp/vmware-config0/XF86ConfigLog.16172", Time: Thu Apr 1 02:40:28 2011
(++) Using config file:"/tmp/vmware-config0/XF86Config.16172"
The XKEYBOARD keymap compiler(xkbcomp) reports:
> Warning: Multiple symbols for level 1/group 1 on key
> Using XF86Sleep, ignoring XF86Standby
> Warning: Symbol map for key redefined
> Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
X is running fine with the new config file.
FreeFontPath: FPE"unix/:7100" refcount is 2, should be 1; fixing.
Creating a new initrd boot image for the kernel.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [确定]
Paravirtual SCSI module: [确定]
Guest filesystem driver: [确定]
Mounting HGFS shares: [失败]
Guest memory manager: [确定]
Guest vmxnet fast network device: [确定]
VM communication interface: [确定]
VM communication interface socket family: [确定]
Blocking file system: [确定]
File system sync driver: [确定]
Guest operating system daemon: [确定]
Virtual Printing daemon: [确定]
The configuration of VMware Tools 8.1.3 build-203739 for Linux for this running
kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.
To enable advanced X features(e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one(or more) of the following:
1. Manually start/usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.
To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at/media/VMware Tools. Ejecting device
/dev/hdc...
[root@localhost vmware-tools-distrib]#
centos7的桌面系统怎么安装语言包
一、系统语言的修改:
编译该目录下的内容#vi/etc/sysconfig/i18n
英文系统
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
中文系统
LANG="zh_CN.GB18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"
查看系统中有没有安装中文支持软件包
rpm-qa|grep fonts-chinese
二.安装中文支持
方法1.在安装光盘中找到一下包进行安装.
rpm-ivh fonts-chinese-3.02-9.6.el5.noarch.rpm
rpm-ivh fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
方法2.
yum install fonts-chinese
yum install fonts-ISO8859-2
先yum,如果没有包,再去手动安装
三.安装scim中文输入法
安装光盘内的
scim-1.4.4-39.el5.i386.rpm
scim-pinyin-0.5.91-16.el5.i386.rpm
scim-tables-0.5.6-7.i386.rpm IT网,
scim-tables-additional-0.5.6-7.i386.rpm
scim-tables-chinese-0.5.6-7.i386.rpm
安装第一个rpm包时,提示有依赖包需要安装。yum install即可。
接下来依次装上,reboot,中文输入法即可使用了。
如何在Linux中运行Win32下的软件
使用wine可以达到您要的效果,但不是100%成功,个别的软件会报dll错误。
以下是详细使用方法:
在安装前请确保你的系统中装有 gcc 3.x(推荐使用 3.2.x),很多读者反映在 gcc 2.9.x上编译存在问题。
wine的安装配置
wine的最新版本是 20030408,下面将介绍如何安装配置 wine。
1.下载 wine并解压缩:
请到 wine的官方网站下载最新的 tarball压缩文件包。或者,如果不想手工打中文输入法的补丁的话,可以直接下载打好补丁的 wine-20030408。(如果你是下载的这个已经打过补丁的,就可以跳过下一步)这个版本的文件名为 Wine-20030408.tar.gz
tar xvfz Wine-20030408.tar.gz
现在你可以在当前目录中看到一个名为 wine-20030408的目录。以下假设你将 wine解压缩到~/wine-20030408下,即你在你的home下,运行上述命令。
2.下载并应用中文输入法补丁:
如果你的手头上已经有一个现成的官方版本的 wine-20030408,那么你可以下载wine中文输入法补丁(包括中文复制、粘贴的支持),并将其存到~/wine-目录下。
应用之:
cd~/wine-20030408
patch-p1< xim_copyparse_0417.diff
注:这个patch也可以使用在最新的(20030410)CVS上。
3.编译安装 wine:
cd wine-20030408
./configure--prefix=/usr/local/wine
注意:强烈建议指定安装目录,此处为/usr/local/wine,这样后面会方便很多。
请检查此命令的输出,如果他没有找到一些需要的包,而你又希望使用那个包提供的功能时,请安装相应的 devel包(mandrake下的命名方法)。
一切正常后,编译并以root身份安装
make depend&& make&& make install
4.配置 wine:
在用户的HOME中建立目录和配置文件
cd
mkdir.wine
cp wine-20030408/documentation/samples/config.wine/
使用您习惯的文本编辑器,修改.wine/config使其反应您的系统状态。打开 config后,主要修改最前面的定义驱动器的部分。首先,删除对Drive A的设定的一行:([Drive A]的最后一行)
"Device"="/dev/fd0"
然后请根据你的机器的情况,修改剩余的驱动器。下面给出我的一部分
[Drive C]
"Path"="/backup/c_drive"
"Type"="hd"
"Label"="Dos Drive"
"Filesystem"="win95"
[Drive D]
"Path"="/mnt/d/"
"Type"="hd"
"Label"="My Home"
"Filesystem"="win95"
建议:不要将 c:指向一个存在的真实 windows盘,而是自己建立一个“假”的,比如,你想在/backup/c_drive下建立一个虚拟 windows的 c盘,则执行如下命令(执行以下命令一般需要root权限)
mkdir/backup/c_drive
cd/backup/c_drive
mkdir-p windows windows/Start\ Menu\
windows/Start\ Menu/Programs windows/Fonts windows/system32 windows/Desktop
ln-s/windows/system32 windows/system
为了可以运行不论处于你linux任何目录下的程序,建议添加一个盘,如下(盘符是你现有的下一个就可以了)
[Drive G]
"Path"="/"
"Type"="hd"
"Label"="root"
"Filesystem"="win95"
别的基本不需要修改,默认值就可以了。如果你的硬盘上有 NTFS格式的分区,请参阅常见问题。
注意:请根据你的系统来配置以上的目录,否则将无法启动运行wine。
5.配置共享库目录:
由于我们自己指定了安装目录,所以共享库不位于系统已知的目录中,为了告诉系统到哪里找,可以修改/etc/ld.so.conf文件,但是,一个更好的方案是使用 shell的环境变量:LD_LIBRARY_PATH。在一个 console中,执行命令
export LD_LIBRARY_PATH="/usr/local/wine/lib"
现在在这个 console中,你可以继续下一步了。(是不是觉得太麻烦了,每次要执行一个 windows程序就要这样做,不用担心,后面提供一个脚本,自动完成这些工作)
6.复制字体:
复制几个字体到 windows/Fonts下,推荐至少将 simsun.ttf复制/连接到这个目录下(不可一个字体都没有,否则会造成 X自动退出)。
7.测试你的 wine:
在命令行输入/usr/local/wine/bin/wine notepad,如果成功看到了记事本程序,则说明 wine已经可以正常工作了,试试中文输入,中文的复制和粘贴(目前仅支持wine与 KDE程序间中文的复制和粘贴,不支持gtk/gnome的程序);如果出现错误信息,请根据提示检查上面的各步。如果你得到的错误信息类似于找不到 libnt.dll.so或者 version.dll之类的,那么你应该是忘记了做步骤4;如果发生如下的错误:
spider c$ wine notepad
Invalid path L"e:\\" for L"temp" directory: does not exist.
Perhaps you have not properly edited or created your Wine configuration file,
which is(supposed to be)'/home/spider/.wine/config'.
/usr/local/wine/bin/wine-all notepad
说明你的[wine]下的"Temp"属性指向了一个不存在的目录,将其改为指向/tmp就可以了:如第4步,你将G指向/,则这样设置:"Temp"="G:\\tmp"
优化我们的 wine
现在,wine可以正常使用了,但是,还是太麻烦了,所以,我们来进行一些小小改进。同时,为了正常运行 xdict,我们也要作些关键性的调整。
1.下载 wine工具包,其中有一个名为 wine的文件,他的工作就是自动设定 LD_LIBRARY_PATH目录。如果你的安装目录不同于我的,那么请修改之。将其保存到/usr/bin下,并使其可以执行
chmod+x/usr/bin/wine
2.安装支持文件 dcom98:为了在 linux下安装使用 installshield做的 setup,必须要装这个东东,请在微软下载,并使用 wine dcom98.exe来安装。如果在复制完文件后报告错误:A newer version of DCOM95 or DCOM98 has been installed...,那么请先做下一步。
3.可以在本站下载常用的 win98 DLL包,并将其解压到你的虚拟C盘下的 windows/system32下面。
4.可以修改 windows的默认用户和默认的用户组织:打开~/.wine/system.reg中的RegisteredOrganization和 RegisteredOwner就可以了。
wine的自带工具以及使用技巧
本部份简要介绍几个 wine自带的工具及其功用(仅介绍比较常用的):
1. uninstaller:反安装已经安装的程序
在 console中输入: wine uninstaller,然后你就知道了
2. progman:程序管理器
wine progman,我觉得这个工具类似于 windows的任务条。
3. regedit:维护注册表
wine regedit:与windows的 regedit在功能和命令行参数上完全一样,不同仅仅是这个没有 GUI界面。使用这个工具可以安全的向注册表中导入信息。如果你想用 wine来玩 starcraft或 diable II,又想上战网的话,那么可以用它来导入注册表文件。
4. winecfg:图形配置工具
wine winecfg:可以使用这个工具来对 wine进行一些基本的配置。功能比较有限,聊胜于无吧。
5. winefile:资源管理器
wine winefile: windows下的资源管理器,想必是使用windows的用户最常使用的软件吧,这个就是那个的一个功能子集。
6. winemine: windows扫雷
wine winemine:对,就是 windows下的扫雷,在穷极无聊时的一种解决方案
7. regsvr32:自动注册动态连接库
wine regsvr32:某些软件安装时,出于某些原因可能要自己使用这个来注册几个DLL文件。
常见问题:
1.无法输入中文?
答:我的结论是,在 gbk或 gb2312时可以输入中文,但是在 gb18030下不行。请改变 locale为 GBK试一下。
2.退出wine时,出现如下错误:
Unhandled exception: privileged instruction in 32-bit code(0x414f56a8).
In 32-bit mode.
0x414f56a8(_end+0x406e0c in libGLcore.so.1): movl%gs:0x0,%eax
答:试试将 glx从 XF86Config配置文件中注释掉。
3.发生类似如下的错误: err:module:import_dll Module(file) COMCTL32.dll(which is needed by J:\Setup.exe) not found,怎么解决?
答:这类错误是由于在 c:\windows\system32(system)目录下找不到某个需要的 native的 DLL文件造成的(此例是 COMCTL32.dll)。解决方法是从一个真正的 windows安装盘下的相应目录copy过来一个。
4.如果一个分区是 NTFS的,安装的是 win2000/winxp,应如何设置 wine的driver部分?
答:不建议使用任何 NTFS分区上的文件,因为linux内核对 NTFS的支持,仅限于读,而如果要写入的话,是很危险的(所以默认的 mount是只读的)。因此,请使用 fat32分区或任何 linux格式的分区。
5.编译时发生错误?
答:首先请确保你的系统中装有 gcc 3.x(推荐使用 3.2.x);wine在 GNU/Linux主流发行版的较新版本中以及基于源代码的发行版中编译不成问题,但是在 FreeBSD下好像不可以。
6.在运行程序时总是得到类似如下的错误提示:
wine: chdir to/tmp/.wine-root/server-305-242e2: No such file or directory
答:这是因为你用root用户运行wine的问题。解决方案如下:退出 X,删除/tmp下所有东东,然后用普通用户运行wine。我的建议是,平时也不要使用 root,使用一个普通用户既安全又可以避免很多不必要的麻烦。另一个解决方案(出处)是在编译的时候指定参数:
./configure--with nptl--with-x--prefix=/usr/local/wine
后面的步骤与前述过程相同。
7.某某程序是否可以使用wine来运行?
答:关于某个英文软件是否可以在 wine下正常(或基本正常)的运行,大家可以到 winehq看看,如果找不到你关心的程序,可以到应用程序资料库搜索一下,看看其他用户的 comments,就知道是否有人运行成功了。
测试通过的输入法
尽管理论上,所有的输入法都应该没问题,但我认为这个部分可以让你知道你喜爱用的输入法是否已确认被支持。
以下是我测试过的输入法:(括号中为测试过的版本)
* xsim(0.3.9.4)
* chinput
* erb-fcitx(1.8.x)
* scim(0.4.0,0.3.1)
minichinput是由 chinput修改而成, fcitx是 erb-fcitx的基础,所以我觉得这2个输入法也应该没有问题。
现在的这个补丁已经不需要修改任何输入法,就可以正确的使用退格等键了,并且修正了在QQ中使用时,会crash的问题,请大家试用。如果先前你下载了旧补丁,你可以先取消掉(patch的-R参数)那个补丁,再应用这个新的就可以了。
如果您有好的建议和、或修改意见,请不吝赐教:)
如果你成功的安装上了,也请麻烦通知我一声,如果可能的话,我也希望你能告诉我你的运行环境:发行版及其版本号,KDE的版本,gcc的以及你所使用的输入法的名称和版本,多谢。
注:
以上在 mandrake 9.0, kde 3.0.3,gcc3.2
gentoo 1.4rc_2, kde 3.1.0, gcc 3.2
gentoo 1.4rc_3, kde 3.1.1, gcc 3.2.1
下测试通过。