首页 vmtools安装

vmtools安装

举报
开通vip

vmtools安装一,Ubuntu安装后的一些配置 文章出处:http://www.diybl.com/course/6_system/linux/Linuxjs/20081020/150827.html 本人在安装vmware tools时发现了诸多问题,但最终还是顺利解决,针对网上比较普遍的方法,本人在此弄一个更为简便的操作指引,希望能给新手一点帮助。 第一步:进入系统后,点击虚拟机上的安装vmware tools,回到桌面回看到一个vmware tools的cdrom图标。 第二步:打开它,复制“vmwaretools......

vmtools安装
一,Ubuntu安装后的一些配置 文章出处:http://www.diybl.com/course/6_system/linux/Linuxjs/20081020/150827.html 本人在安装vmware tools时发现了诸多问 快递公司问题件快递公司问题件货款处理关于圆的周长面积重点题型关于解方程组的题及答案关于南海问题 ,但最终还是顺利解决,针对网上比较普遍的方法,本人在此弄一个更为简便的操作指引,希望能给新手一点帮助。 第一步:进入系统后,点击虚拟机上的安装vmware tools,回到桌面回看到一个vmware tools的cdrom图标。 第二步:打开它,复制“vmwaretools....tar.gz”,打开文件系统,打开home文件夹,打开当前用户为名的文件夹,粘贴vmwaretools....tar.gz,同时解压此文件“到此处”。 第三步:在此文件夹空白处点击右键,点击属性,在点击窗口中的“权限”,把里面所有“文件夹访问”的 内容 财务内部控制制度的内容财务内部控制制度的内容人员招聘与配置的内容项目成本控制的内容消防安全演练内容 改为“创建和删除文件”便可。 第四步:回到刚才目录,单击vmware-tools-distrib文件夹,然后打开终端(应用程序-附件-终端)。 第五步:在命令行输入“ls”后将列出文件夹文件;接着输入“cd vmware-tools-distrib”指定到此文件夹,接着输入“ls”列出此文件夹内容,接着输入“sudo ./vmware-install.pl”,输入用户密码便可开始安装了。 第六步:接下来N多的enter,N多的YES,自己慢慢按吧。 第七步:直到你看到---the vmware team就可关闭窗口,然后重新启动就可以焕然一新了。 Ubuntu安装后的一些配置 ubuntu安装后root用户是禁用的,首先使用以下命令 sudo passwd root 启用 root 帐号 (也就是 设置一个口令) 使用 当你使用完毕后屏蔽 root 帐号 使用sudo passwd root命令 也可以直接使用sudo -s -H命令切换到root下, 一、安装VMware Tools 首先说明一下我的版本,vmware station6.03 ubuntu8.04, 因为这个与版本有点关系,我经过了一两的探索发现了,详细见我的另一篇日志 进入到ubuntu中,点击 vm----install vmtools ,一会vm将会自动将镜像挂载上, 使用命令cd /tmp切换到tmp目录下 cp /media/cdrom/VM******.tar.gz ./(**号那些省了) 解压:tar zxvf VM****.tar.gz 进入解压后的目录 cd vm***lib 执行脚本: ./vm**install.pl # 安装过程的画面,全部使用默认值,一直按 Enter 就对了 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] Thepath "/usr/lib/vmware-tools" does not exist currently. This programisgoingto create it, including needed parent directories. Is thiswhatyou want? [yes] In which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] Thepath "/usr/share/doc/vmware-tools" does not exist currently.Thisprogram isgoing to create it, including needed parent directories.Isthis what you want? [yes] The installation of VMware Tools 5.5.1 build-19175 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: [ 确定 ] Trying to find a suitable vmhgfs module for your running kernel. The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel. pcnet32 30153 0 Unloading pcnet32 module Trying to find a suitable vmxnet module for your running kernel. The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel. Detected X.org version 6.8. 关闭控制台鼠标服务: [ 确定 ] 启动控制台鼠标服务: [ 确定 ] Please choose one of the following display sizes (1 - 13): # 显示分辨率,这里是以 1024x768 为例 # VMware Tools 安装的时候,会自动修改 X server 的配置文件 [1] "640x480" [2] [2] 3 X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: Linux 2.6.9-34.EL i686 [ELF] Current Operating System: Linux rd01.domain 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST 2006 i686 Build Date: 04 May 2006 Build Host: x8664-build.centos.org Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present OSKernel: Linux version 2.6.9-34.EL ( [email=buildcentos@build-i386]buildcentos@build-i386[/email] ) (gccversion3.4.5 20051201 (Red Hat 3.4.5-2)) #1 Wed Mar 8 00:07:35 CST 2006P 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.3131", Time: Mon Jun 12 20:57:34 2006 (++) Using config file: "/tmp/vmware-config0/XF86Config.3131" (WW) VMWARE(0): Failed to set up write-combining range (0xf0000000,0x1000000) X is running fine with the new config file. Starting VMware Tools services in the virtual machine: Switching to guest configuration: [ 确定 ] Guest filesystem driver: [ 确定 ] DMA setup: [ 确定 ] Guest operating system daemon: [ 确定 ] The configuration of VMware Tools 5.5.1 build-19175 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 XFree86 session. To use the vmxnet driver, restart networking using the following commands: /etc/init.d/network stop rmmod pcnet32 rmmod vmxnet depmod -a modprobe vmxnet /etc/init.d/network start Enjoy, --the VMware team [root@rd01 vmware-tools-distrib]# shutdown -r now # 修改完成之后,重新启动计算机,让 VMware Tools 生效 不过vm与ubuntu这两个版本的搭配,在共享文件上还是有点不尽人意,共享文件不能用,不过没关系 可以利用网络服务来使用 二、一些相关配置 1、安装ssh服务 sudo apt-get install openssh-server 按提示更新即可 2、安装minicom sudo apt-get install minicom 按提示安装即可 关于minicom有相关设置见我的另一日志《Redhat9.0下minicom设置》 3、安装tftpd服务器 ~$ sudo apt-get install tftpd-hpa tftp-hpa PS:说明一下,其中tftpd-hpa是服务器端,tftp-hpa是客户端 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 Reading state information... 完成 将会安装下列额外的软件包: openbsd-inetd 下列【新】软件包将被安装: openbsd-inetd tftp-hpa tftpd-hpa 共升级了 0 个软件包,新安装了 3 个软件包,要卸载 0 个软件包,有 14 个软件未被升级。 需要下载 93.4kB 的软件包。 After this operation, 377kB of additional disk space will be used. 您希望继续执行吗?[Y/n]Y 获取:1 http://cn.archive.ubuntu.com hardy/main openbsd-inetd 0.20050402-6 [34.9kB] 获取:2 http://cn.archive.ubuntu.com hardy/main tftp-hpa 0.48-1ubuntu1 [23.8kB] 获取:3 http://cn.archive.ubuntu.com hardy/main tftpd-hpa 0.48-1ubuntu1 [34.7kB] 下载 93.4kB,耗时 58s (1606B/s) 正在预设定软件包 ... 选中了曾被取消选择的软件包 openbsd-inetd。 (正在读取数据库 ... 系统当前总共安装有 95922 个文件和目录。) 正在解压缩 openbsd-inetd (从 .../openbsd-inetd_0.20050402-6_i386.deb) ... 选中了曾被取消选择的软件包 tftp-hpa。 正在解压缩 tftp-hpa (从 .../tftp-hpa_0.48-1ubuntu1_i386.deb) ... 选中了曾被取消选择的软件包 tftpd-hpa。 正在解压缩 tftpd-hpa (从 .../tftpd-hpa_0.48-1ubuntu1_i386.deb) ... 正在设置 openbsd-inetd (0.20050402-6) ... * Stopping internet superserver inetd [ OK ] * Not starting internet superserver: no services enabled. 正在设置 tftp-hpa (0.48-1ubuntu1) ... 正在设置 tftpd-hpa (0.48-1ubuntu1) ... 完成后 #apt-get install netkit-inetd 因为tftp是要inetd来控制的,而ubuntu类的系统,默认是没有安装inetd的,安装一下 修改/etc/inetd.conf #emacs /etc/inetd.conf tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot #:INTERNAL: Internal services #echo stream tcp nowait root internal #echo dgram udp wait root internal #chargen stream tcp nowait root internal #chargen dgram udp wait root internal #discard stream tcp nowait root internal #discard dgram udp wait root internal #daytime stream tcp nowait root internal #daytime dgram udp wait root internal #time stream tcp nowait root internal #time dgram udp wait root internal #tftp dgram udp wait nobody /usr/sbin/tcpd/usr/sbin/in.tftpd/tftpboot 重新加载inetd进程 #/etc/init.d/inetd reload 测试tftpd服务是否成功 tftp localhost tftp> put mydoc.tar.gz tftp> put test.log tftp> get test.log tftp> get mydoc.tar.gz tftp> 上述表明在主机上测试tftp成功 对tftpd服务器进行一些相关设置(以下这一部分转自网络上) 打开/etc/default/tftpd-hpa它的配置文件。 打开的话可用gpedit /etc/default/tftpd-hpa gpedit是一个默认安装的编辑器 #Defaults for tftpd-hpa RUN_DAEMON="no" OPTIONS="-l -s /var/lib/tftpboot" 修改设置如下: #Defaults for tftpd-hpa RUN_DAEMON="yes" OPTIONS="-l -s /home/zdreamx/tftpboot" 其中/home/zdreamx/tftpboot是自己设定的目录,可以根据情况修改。 选项参考 OPTIONS -l Run the server in standalone (listen) mode, rather than run from inetd. In listen mode, the -t option is ignored, and the -a option can be used to specify a specific local address or port to listen to.                             -a [address][:port] Specify a specific address and port to listen to when called with the -l option. The default is to listen to the tftp port specified in /etc/services on all local addresses. listen 的 ip address 和 Port -c Allow new files to be created. By default, tftpd will only allow upload of files that already exist. Files are created with default permissions allowing anyone to read or write them, unless the -p or -U options are specified. -s (决定tftp根目录)Change root directory on startup. This means the remote host does not need to pass along the directory as part of the trans- fer, and may add security. When -s is specified, exactly one directory should be specified on the command line. The use of this option is recommended for security as well as compatibility with some boot ROMs which cannot be easily made to include a directory name in its request. 重启OK 4、安装emacs编辑器 emacs 编辑器功能强大是进行开发中必不可少的工具之一 命令: sudo apt-get install emacs 我安装时的详细情况如下: sudo qpt-get install emacs [sudo] password for yys: sudo: qpt-get: command not found [email=yys@yys-desktop:~$]yys@yys-desktop:~$[/email] sudo apt-get install emacs 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 Reading state information... 完成 将会安装下列额外的软件包: emacs22-bin-common emacs22-common emacs22-gtk emacsen-common libgif4 liblockfile1 建议安装的软件包: emacs22 -el 下列【新】软件包将被安装: emacs emacs22-bin-common emacs22-common emacs22-gtk emacsen-common libgif4 liblockfile1 共升级了 0 个软件包,新安装了 7 个软件包,要卸载 0 个软件包,有 14 个软件未被升级。 需要下载 20.8MB 的软件包。 After this operation, 65.1MB of additional disk space will be used. 您希望继续执行吗?[Y/n]Y 获取:1 http://security.ubuntu.com hardy-security/main emacs22-common 22.1-0ubuntu10.1 [18.6MB] 获取:2 http://cn.archive.ubuntu.com hardy/main emacsen-common 1.4.17 [17.6kB] 获取:3 http://cn.archive.ubuntu.com hardy/main liblockfile1 1.06.2 [14.8kB] 获取:4 http://cn.archive.ubuntu.com hardy/main libgif4 4.1.6-4 [38.7kB] 获取:5 http://security.ubuntu.com hardy-security/main emacs22-bin-common 22.1-0ubuntu10.1 [163kB] 获取:6 http://security.ubuntu.com hardy-security/universe emacs22-gtk 22.1-0ubuntu10.1 [1950kB] 获取:7 http://security.ubuntu.com hardy-security/main emacs 22.1-0ubuntu10.1 [6338B] 下载 20.8MB,耗时 25min12s (13.7kB/s) 选中了曾被取消选择的软件包 emacsen-common。 (正在读取数据库 ... 系统当前总共安装有 95950 个文件和目录。) 正在解压缩 emacsen-common (从 .../emacsen-common_1.4.17_all.deb) ... 选中了曾被取消选择的软件包 emacs22-common。 正在解压缩 emacs22-common (从 .../emacs22-common_22.1-0ubuntu10.1_all.deb) ... 选中了曾被取消选择的软件包 liblockfile1。 正在解压缩 liblockfile1 (从 .../liblockfile1_1.06.2_i386.deb) ... 选中了曾被取消选择的软件包 emacs22-bin-common。 正在解压缩 emacs22-bin-common (从 .../emacs22-bin-common_22.1-0ubuntu10.1_i386.deb) ... 选中了曾被取消选择的软件包 libgif4。 正在解压缩 libgif4 (从 .../libgif4_4.1.6-4_i386.deb) ... 选中了曾被取消选择的软件包 emacs22-gtk。 正在解压缩 emacs22-gtk (从 .../emacs22-gtk_22.1-0ubuntu10.1_i386.deb) ... 选中了曾被取消选择的软件包 emacs。 正在解压缩 emacs (从 .../emacs_22.1-0ubuntu10.1_all.deb) ... 正在设置 emacsen-common (1.4.17) ... emacsen-common: Handling install of emacsen flavor emacs 正在设置 emacs22-common (22.1-0ubuntu10.1) ... 正在设置 liblockfile1 (1.06.2) ... 正在设置 emacs22-bin-common (22.1-0ubuntu10.1) ... 正在设置 libgif4 (4.1.6-4) ... 正在设置 emacs22-gtk (22.1-0ubuntu10.1) ... Byte-compiling add-on packages, please wait... done. 正在设置 emacs (22.1-0ubuntu10.1) ... Processing triggers for libc6 ... ldconfig deferred processing now taking place 5、进行升级 sudo apt-get updata 进行漫长的升级 也可以安装汉字库 apt-get install language-pack-zh language-pack-zh-base language-support-zh 在系统登陆界面的“选项”中可以选择系统默认语言;在启动菜单的“系统”->“系统管理”->“语言支持”中也可以修改系统默认语言支持; 6、网络安装zmodem传输协议 这个可能会用到,先装上吧,以后省事 sudo apt-get install lrzsz 我的安装情况如下: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 Reading state information... 完成 下列【新】软件包将被安装: lrzsz 共升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 40 个软件未被升级。 需要下载 97.0kB 的软件包。 After this operation, 262kB of additional disk space will be used. 获取:1 http://cn.archive.ubuntu.com hardy/universe lrzsz 0.12.21-4.1 [97.0kB] 下载 97.0kB,耗时 11s (8642B/s) 选中了曾被取消选择的软件包 lrzsz。 (正在读取数据库 ... 系统当前总共安装有 97736 个文件和目录。) 正在解压缩 lrzsz (从 .../lrzsz_0.12.21-4.1_i386.deb) ... 正在设置 lrzsz (0.12.21-4.1) ... 7、输入法的安装 当你在安装时选择中文时,scim平台已经给你安装好了。但是还是无法输入中文,需要安装中文输入法 安装五笔输入法 sudo apt-get install scim-tables-zh 这样同时也安装了二笔,仓颉之类的输入法,可以scim设置中将不用的输入法关闭,将需要用的输入法,如拼音,五笔激活。不然切换时会很辛苦。 安装全拼输入法 sudo apt-get install scim-pinyin 文章出处:http://www.diybl.com/course/6_system/linux/Linuxjs/20081020/150827_2.html 2,Ubuntu 8.04 修改分辨率[zz] 2008-09-24 16:07 原文来源于http://bbs.linuxpk.com/thread-19193-1-11.html 作者:闸闸℃ 在装Ubuntu 8.04硬盘版的过程中,对其3D周面特效极为羡慕,一直很想有自己的3D周面,在经过长时间的努力研究和探索中,我自己找到了一套能真正解决在 ubuntu 8.04安装硬盘驱动重启后分辨率过低且在分辨率设置栏中最高分辨率只有600*800的方法,为了方便大家能尽快解决分辨率问题,早日享受3D的震撼效果,我将自己实践经验与大家一起分享。 1.在终端里输入以下命令对文件进行编辑: sudo gedit /etc/X11/xorg.conf 2.输入超级管理员的密码。(如果之前是使用超级管理员账号登入的话,则自动跳过。) 3.找到“Section "Monitor" ”代码段,修改成下面的信息: Section "Monitor" Identifier "Generic Monitor" Option "DPMS" HorizSync 40-83(修改显示器水平刷新频率) VertRefresh 50-76(修改显示器垂直刷新频率,可以调整成显卡支持的最大值,比如我的设置为50-76) End Section (备注:保存后退出重启,你可以发现你的分辨率已经修改成1024*768,如果你还想要 1028*1024或者更高的分辨率,请看第四点。) 4.找到“Section "Screen"”代码段,在其中添加下列代码: SubSection "Display" Depth 16 des "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" dSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection 保存后重启,在分辨率设置的选项中便有1028*1024的分辨率。 ------------------------- Ubuntu高分辨率设置 昨天把用了三年多的Samsung 763MB下岗换了个Philips 200WS8,修改分辨率时发现Ubuntu最大的分辨率还是1024X768,原来要调整Ubuntu的分辨率,把nVIADIA显卡驱动后还需要手动 修改xorg.conf文件(X窗口配置文件): 1、安装nviadia显卡驱动,可以到nVIDIA官方下载驱动软件包安装,我使用的是Ubuntu自带的nVIDIA驱动,终端输入 sudo apt-get install nvidia-glx 2、备份并修改xorg.conf sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup.2007-6-30 sudo gedit /etc/X11/xorg.conf (1) 找到Section "Monitor"区段,带背景色处为修改部分 Section "Monitor"     Identifier    "Philips 200WS8"   显示器型号     Option        "DPMS"      HorizSync 30-93   (加入显示器水平刷新频率,数值在显示器的光盘手册或说明书可以找到)      VertRefresh 56-76 (加入显示器垂直刷新频率) (2) 找到到Section "Screen"区段,修改最后两个Subsection处(Depth 16和Depth 24),带背景色处为新增内容,我使用的是1440x900宽频分辨率 SubSection "Display"         Depth        16         Modes        "1440x900" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection     SubSection "Display"         Depth        24         Modes        "1440x900" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection 3、保存xorg.conf,重启Ubuntu,完成设置。 重启过程中显示器会自动调整分辨率,若没有自动调整,你也可以按下显示器的Auto按钮进行调整,或进入Ubuntu中点击 系统->首选项->屏幕分辨率 选择你想要的分辨率。 ----------------------- ubuntu在液晶显示器下的分辨率设置 自从我换了飞利浦190c7后,在windows下显示效果很棒,不过linux下已经仍然是1024@56的分辨率。但是在这个分辨率下字体非常不清楚。 我手动修改了xorg.conf,结果机器无法启动x windows。以至于让我弄了3个小时最终才搞好。目前我开始用1280来写这个文章了。分享一下。 最初xorg的修改无法影响显示器分辨率,通过以下几个地方的修改,重新激活了分辨率的修改。 解决方法: 直接去修改xorg.conf信息, 1、其中把 section "device"中的“普通显示器”修改为“LCD”,这个项目至关重要。整个文件中所有普通显示器全修改为LCD。但是当你用这个项目激活了修改选项后,就随便了。 2、在setion “monitor”中把HorizSync 按照你说明书修改为相应的水平扫描值,我的是30-83。 把VerRefresh修改为垂直扫描值,我的飞利浦190c7是56-76。如果是在不知道,请通过#把这两行注释掉。 3、如果你的显示器是宽屏请在section "sereen"中的 subsection "display"中添加 viewport 0 0.(不是宽屏千万不要加) 特别是最后一行,如果没有肯定无法启动机器。 修订了以上之后通过系统的首选项来设置分辨连就可以选择1280了,否则以前是绝对没有的。 自己的机器可以通过gtf 1280 1024 60 来查看相应的信息。 三,教你如何封端口,避免被侵犯!       21端口:21端口主要用于FTP(File Transfer Protocol,文件传输协议)服务。    23端口:23端口主要用于Telnet(远程登录)服务,是Internet上普遍采用的登录和仿真程序。    25端口:25端口为SMTP(Simple Mail Transfer Protocol,简单邮件传输协议)服务器所开放,主要用于发送邮件,如今绝大多数邮件服务器都使用该协议。    53端口:53端口为DNS(Domain Name Server,域名服务器)服务器所开放,主要用于域名解析,DNS服务在NT系统中使用的最为广泛。    67、68端口:67、68端口分别是为Bootp服务的Bootstrap Protocol Server(引导程序协议服务端)和Bootstrap Protocol Client(引导程序协议客户端)开放的端口。    69端口:TFTP是Cisco公司开发的一个简单文件传输协议,类似于FTP。    79端口:79端口是为Finger服务开放的,主要用于查询远程主机在线用户、操作系统类型以及是否缓冲区溢出等用户的详细信息。    80端口:80端口是为HTTP(HyperText Transport Protocol,超文本传输协议)开放的,这是上网冲浪使用最多的协议,主要用于在WWW(World Wide Web,万维网)服务上传输信息的协议。    99端口:99端口是用于一个名为“gram Relay”(亚对策延时)的服务,该服务比较少见,一般是用不到的。    109、110端口:109端口是为POP2(Post Office Protocol Version 2,邮局协议2)服务开放的,110端口是为POP3(邮件协议3)服务开放的,POP2、POP3都是主要用于接收邮件的。    111端口:111端口是SUN公司的RPC(Remote Procedure Call,远程过程调用)服务所开放的端口,主要用于分布式系统中不同计算机的内部进程通信,RPC在多种网络服务中都是很重要的组件。    113端口:113端口主要用于Windows的“Authentication Service”(验证服务)。    119端口:119端口是为“Network News Transfer Protocol”(网络新闻组传输协议,简称NNTP)开放的。    135端口:135端口主要用于使用RPC(Remote Procedure Call,远程过程调用)协议并提供DCOM(分布式组件对象模型)服务。    137端口:137端口主要用于“NetBIOS Name Service”(NetBIOS名称服务)。    139端口:139端口是为“NetBIOS Session Service”提供的,主要用于提供Windows文件和打印机共享以及Unix中的Samba服务。    143端口:143端口主要是用于“Internet Message Access Protocol”v2(Internet消息访问协议,简称IMAP)。    161端口:161端口是用于“Simple Network Management Protocol”(简单网络管理协议,简称SNMP)。    443端口:43端口即网页浏览端口,主要是用于HTTPS服务,是提供加密和通过安全端口传输的另一种HTTP。    554端口:554端口默认情况下用于“Real Time Streaming Protocol”(实时流协议,简称RTSP)。    1024端口:1024端口一般不固定分配给某个服务,在英文中的解释是“Reserved”(保留)。    1080端口:1080端口是Socks代理服务使用的端口,大家平时上网使用的WWW服务使用的是HTTP协议的代理服务。    1755端口:1755端口默认情况下用于“Microsoft Media Server”(微软媒体服务器,简称MMS)。    4000端口:4000端口是用于大家经常使用的QQ聊天工具的,再细说就是为QQ客户端开放的端口,QQ服务端使用的端口是8000。    5554端口:在今年4月30日就报道出现了一种针对微软lsass服务的新蠕虫病毒——震荡波(Worm.Sasser),该病毒可以利用TCP 5554端口开启一个FTP服务,主要被用于病毒的传播。    5632端口:5632端口是被大家所熟悉的远程控制软件pcAnywhere所开启的端口。    8080端口:8080端口同80端口,是被用于WWW代理服务的,可以实现网页浏览。    关闭的端口有,135,137,138,139,445,1025,2475,3127,6129,3389,593,还有tcp.     具体操作如下:默认情况下,Windows有很多端口是开放的,在你上网的时候,网络病毒和黑客可以通过这些端口连上你的电脑。     为了让你的系统变为铜墙铁壁,应该封闭这些端口,主要有:TCP 135、139、445、593、1025 端口和 UDP 135、137、138、445 端口,一些流行病毒的后门端口(如 TCP 2745、3127、6129 端口),以及远程服务访问端口3389。下面介绍如何在WinXP/2000/2003下关闭这些网络端口:     第一步,点击“开始”菜单/设置/控制面板/管理工具,双击打开“本地安全策略”,选中“IP 安全策略,在本地计算机”,在右边窗格的空白位置右击鼠标,弹出快捷菜单,选择“创建 IP 安全策略”(如右图),于是弹出一个向导。在向导中点击“下一步”按钮,为新的安全策略命名;再按“下一步”,则显示“安全通信请求”画面,在画面上把“激活默认相应规则”左边的钩去掉,点击“完成”按钮就创建了一个新的IP 安全策略。     第二步,右击该IP安全策略,在“属性”对话框中,把“使用添加向导”左边的钩去掉,然后单击“添加”按钮添加新的规则,随后弹出“新规则属性”对话框,在画面上点击“添加”按钮,弹出IP筛选器列表窗口;在列表中,首先把“使用添加向导”左边的钩去掉,然后再点击右边的“添加”按钮添加新的筛选器。     第三步,进入“筛选器属性”对话框,首先看到的是寻址,源地址选“任何 IP 地址”,目标地址选“我的 IP 地址”;点击“协议”选项卡,在“选择协议类型”的下拉列表中选择“TCP”,然后在“到此端口”下的文本框中输入“135”,点击“确定”按钮(如左图),这样就添加了一个屏蔽 TCP 135(RPC)端口的筛选器,它可以防止外界通过135端口连上你的电脑。     点击“确定”后回到筛选器列表的对话框,可以看到已经添加了一条策略,重复以上步骤继续添加 TCP 137、139、445、593 端口和 UDP 135、139、445 端口,为它们建立相应的筛选器。     重复以上步骤添加TCP 1025、2745、3127、6129、3389 端口的屏蔽策略,建立好上述端口的筛选器,最后点击“确定”按钮。     第四步,在“新规则属性”对话框中,选择“新 IP 筛选器列表”,然后点击其左边的圆圈上加一个点,表示已经激活,最后点击“筛选器操作”选项卡。在“筛选器操作”选项卡中,把“使用添加向导”左边的钩去掉,点击“添加”按钮,添加“阻止”操作(右图):在“新筛选器操作属性”的“安全措施”选项卡中,选择“阻止”,然后点击“确定”按钮。     第五步、进入“新规则属性”对话框,点击“新筛选器操作”,其左边的圆圈会加了一个点,表示已经激活,点击“关闭”按钮,关闭对话框;最后回到“新IP安全策略属性”对话框,在“新的IP筛选器列表”左边打钩,按“确定”按钮关闭对话框。在“本地安全策略”窗口,用鼠标右击新添加的 IP 安全策略,然后选择“指派”。     重新启动后,电脑中上述网络端口就被关闭了,病毒和黑客再也不能连上这些端口,从而保护了你的电脑
本文档为【vmtools安装】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_186436
暂无简介~
格式:doc
大小:101KB
软件:Word
页数:0
分类:互联网
上传时间:2013-01-09
浏览量:10