RedHat5.4 安装PIDGIN

在redhat5.4环境下安装PIDGIN过程。

到官方下载repo文件复制到/etc/yum.repo.d/下,即为yum安装(http://www.pidgin.im/download/centos_rhel/
[root@redhatcui Server]# yum install pidgin
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package pidgin.i386 0:2.6.6-0.el5 set to be updated
–> Processing Dependency: libpurple = 2.6.6 for package: pidgin
–> Processing Dependency: libgtkspell.so.0 for package: pidgin
–> Processing Dependency: libpurple.so.0 for package: pidgin
–> Processing Dependency: perl(Purple) for package: pidgin
–> Running transaction check
—> Package gtkspell.i386 0:2.0.11-2.1 set to be updated
—> Package libpurple.i386 0:2.6.6-0.el5 set to be updated
–> Processing Dependency: libsilc-1.0.so.2 for package: libpurple
–> Processing Dependency: cyrus-sasl-md5 for package: libpurple
–> Processing Dependency: libsilcclient-1.0.so.1 for package: libpurple
–> Running transaction check
—> Package cyrus-sasl-md5.i386 0:2.1.22-5.el5 set to be updated
—> Package libpurple.i386 0:2.6.6-0.el5 set to be updated
–> Processing Dependency: libsilc-1.0.so.2 for package: libpurple
–> Processing Dependency: libsilcclient-1.0.so.1 for package: libpurple
–> Finished Dependency Resolution
libpurple-2.6.6-0.el5.i386 from pidgin has depsolving problems
  –> Missing Dependency: libsilc-1.0.so.2 is needed by package libpurple-2.6.6-0.el5.i386 (pidgin)
libpurple-2.6.6-0.el5.i386 from pidgin has depsolving problems
  –> Missing Dependency: libsilcclient-1.0.so.1 is needed by package libpurple-2.6.6-0.el5.i386 (pidgin)
Error: Missing Dependency: libsilc-1.0.so.2 is needed by package libpurple-2.6.6-0.el5.i386 (pidgin)
Error: Missing Dependency: libsilcclient-1.0.so.1 is needed by package libpurple-2.6.6-0.el5.i386 (pidgin)
You could try using –skip-broken to work around the problem
You could try running: package-cleanup –problems
                        package-cleanup –dupes
                        rpm -Va –nofiles –nodigest
The program package-cleanup is found in the yum-utils package.
出现两个error,根据错误信息到google上search。或者是根据libsilc-1.0.so.2到rpm.pbone.net下载相应rpm包。
搜索后,确定缺少的是libsilc-1.0.2-6.fc8.i386这个文件,rpm.pbone.net上面没有redhat所需的相关包,但是我们可以下载fedora的包进行安装。

[root@redhatcui ~]# wget -c ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/8/i386.newkey/libsilc-1.0.2-6.fc8.i386.rpm
–2010-03-11 15:17:48–  ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/8/i386.newkey/libsilc-1.0.2-6.fc8.i386.rpm
           => `libsilc-1.0.2-6.fc8.i386.rpm’
Resolving ftp.pbone.net… 85.14.85.4
Connecting to ftp.pbone.net|85.14.85.4|:21… connected.
Logging in as anonymous … Logged in!
==> SYST … done.    ==> PWD … done.
==> TYPE I … done.  ==> CWD /mirror/archive.fedoraproject.org/fedora/linux/updates/8/i386.newkey … done.
==> SIZE libsilc-1.0.2-6.fc8.i386.rpm … 422169
==> PASV … done.    ==> RETR libsilc-1.0.2-6.fc8.i386.rpm … done.
Length: 422169 (412K)

100%[===================================================================================================================>] 422,169      130K/s   in 3.2s   

2010-03-11 15:18:02 (130 KB/s) – `libsilc-1.0.2-6.fc8.i386.rpm’ saved [422169]

[root@redhatcui ~]# ll
total 1348
-rw——- 1 root root   1050 Mar 11 09:31 anaconda-ks.cfg
drwxr-xr-x 2 root root   4096 Mar 11 14:38 Desktop
-rw-r–r– 1 root root  22605 Mar 11 10:10 eioXpacklog.txt
-rw-r–r– 1 root root  27265 Mar 11 09:31 install.log
-rw-r–r– 1 root root   3671 Mar 11 09:30 install.log.syslog
-rw-r–r– 1 root root 422169 Mar 11 15:18 libsilc-1.0.2-6.fc8.i386.rpm
drwxr-xr-x 2 root root   4096 Mar 11 09:58 pic
-rw-r–r– 1 root root 833777 Feb 10 21:26 rarlinux-3.9.2.tar.gz
-rw-r–r– 1 root root    240 Mar 11 09:42 scsrun.log
[root@redhatcui ~]# rpm -ivh libsilc-1.0.2-6.fc8.i386.rpm
warning: libsilc-1.0.2-6.fc8.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6df2196f
Preparing…                ########################################### [100%]
   1:libsilc                ########################################### [100%]
[root@redhatcui ~]# yum install -y pidgin
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package pidgin.i386 0:2.6.6-0.el5 set to be updated
–> Processing Dependency: libpurple = 2.6.6 for package: pidgin
–> Processing Dependency: libgtkspell.so.0 for package: pidgin
–> Processing Dependency: libpurple.so.0 for package: pidgin
–> Processing Dependency: perl(Purple) for package: pidgin
–> Running transaction check
—> Package gtkspell.i386 0:2.0.11-2.1 set to be updated
—> Package libpurple.i386 0:2.6.6-0.el5 set to be updated
–> Processing Dependency: cyrus-sasl-md5 for package: libpurple
–> Running transaction check
—> Package cyrus-sasl-md5.i386 0:2.1.22-5.el5 set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
Package                                  Arch                           Version                                  Repository                            Size
=============================================================================================================================================================
Installing:
pidgin                                   i386                           2.6.6-0.el5                              pidgin                               1.5 M
Installing for dependencies:
cyrus-sasl-md5                           i386                           2.1.22-5.el5                             rpminstall                            45 k
gtkspell                                 i386                           2.0.11-2.1                               rpminstall                            30 k
libpurple                                i386                           2.6.6-0.el5                              pidgin                               8.5 M

Transaction Summary
=============================================================================================================================================================
Install      4 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 10 M
Downloading Packages:
(1/4): pidgin-2.6.6-0.el5.i386.rpm                                                                                                    | 1.5 MB     00:16     
(2/4): libpurple-2.6.6-0.el5.i386.rpm                                                                                                 | 8.5 MB     02:10     
————————————————————————————————————————————————————-
Total                                                                                                                         66 kB/s |  10 MB     02:36     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID a9464aa9
pidgin/gpgkey                                                                                                                         | 1.3 kB     00:00     
Importing GPG key 0xA9464AA9 “Stu Tomlinson <stu@nosnilmot.com>” from http://rpm.pidgin.im/RPM-GPG-KEY-pidgin
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : cyrus-sasl-md5                                                                                                                        1/4
  Installing     : libpurple                                                                                                                             2/4
  Installing     : gtkspell                                                                                                                              3/4
  Installing     : pidgin                                                                                                                                4/4

Installed:
  pidgin.i386 0:2.6.6-0.el5                                                                                                                                 

Dependency Installed:
  cyrus-sasl-md5.i386 0:2.1.22-5.el5                      gtkspell.i386 0:2.0.11-2.1                      libpurple.i386 0:2.6.6-0.el5                     

Complete!
[root@redhatcui ~]#

OK,安装完毕。

安装过程可能遇到更多的问题,RedHat下,包的依赖关系的确太繁琐,只能慢慢来。
Click ‘applications’-click’internet’-click ‘pingin internet messenger’, run successfully.

Linux下rar、zip文件的解压缩

在某些Linux系统中,可能对rar,zip压缩文件的解压缩支持,但是有的系统中,就不能对此种文件进行操作。我们可以再安装第三方软件,加以实现对rar、zip常用压缩格式的操作。我们用到得包为:rar for linux下载地址:http://www.rarlab.com/rar/rarlinux-3.9.1.tar.gz对其进行编译安装即可。 我的系统为RedHat5.4,在本环境下通过。[root@LinuxCUI software]# ll

total 60268

-rw-r–r– 1 root root  5046743 Feb  5 18:22 linuxqq-v1.0.2-beta1.i386.rpm

-rwxr-xr-x 1 root root   831871 Feb  7 14:18 rarlinux-3.9.1.tar.gz

-rwxr-xr-x 1 root root 55736553 May 16  2009 永中集成OfficeforLinux2009个人版.gz

[root@LinuxCUI software]# tar -zxvf rarlinux-3.9.1.tar.gz

rar/

rar/readme.txt

rar/default.sfx

rar/whatsnew.txt

rar/license.txt

rar/order.htm

rar/rar

rar/unrar

rar/rar_static

rar/technote.txt

rar/rarfiles.lst

rar/makefile

rar/rar.txt

[root@LinuxCUI software]# ls

linuxqq-v1.0.2-beta1.i386.rpm  rarlinux-3.9.1.tar.gz

rar                            永中集成OfficeforLinux2009个人版.gz

[root@LinuxCUI software]# ll

total 60276

-rw-r–r– 1 root root  5046743 Feb  5 18:22 linuxqq-v1.0.2-beta1.i386.rpm

drwxr-xr-x 2 1000 1000     4096 Dec 12 18:35 rar

-rwxr-xr-x 1 root root   831871 Feb  7 14:18 rarlinux-3.9.1.tar.gz

-rwxr-xr-x 1 root root 55736553 May 16  2009 永中集成OfficeforLinux2009个人版.gz

[root@LinuxCUI software]# cd rar

[root@LinuxCUI rar]# ls

default.sfx  makefile   rar           rar_static  readme.txt    unrar

license.txt  order.htm  rarfiles.lst  rar.txt     technote.txt  whatsnew.txt

[root@LinuxCUI rar]# make

mkdir -p /usr/local/bin

mkdir -p /usr/local/lib

cp rar unrar /usr/local/bin

cp rarfiles.lst /etc

cp default.sfx /usr/local/lib

[root@LinuxCUI rar]# make instal

make: *** No rule to make target `instal’.  Stop.

[root@LinuxCUI rar]# make install

mkdir -p /usr/local/bin

mkdir -p /usr/local/lib

cp rar unra

r /usr/local/bin

cp rarfiles.lst /etc

cp default.sfx /usr/local/lib ok!!!

在解压的时候可能会出现错误:是因为glibc版本的问题:错误信息:

[root@LinuxCUI]# rar -e 1.rar

rar: /lib/libc.so.6: version `GLIBC_2.7′ not found (required by rar)

解决方法。已经将解压后的rarforlinux中的rar_startic改名为rar并替换/usr/local/bin/rar文件

最新版;RAR 3.92 beta 1 for Linux

下载地址:http://www.rarlab.com/download.htm

Ubuntu9.10 QQ自动退出

在使用ubuntu QQ的时候,qq老自动退出,很是郁闷,以为是误操作,但是次数出现的多了,就不正常了
去网上找了一个,果然是qq有问题,修改一下文件,没什么问题了
用root用户登录 编辑 /usr/bin/qq

添加一行代码:export GDK_NATIVE_WINDOWS=true

即变成:
#! /bin/sh
export GDK_NATIVE_WINDOWS=true
cd /usr/share/tencent/qq/
./qq

保存退出,重新启动,没什么问题了

Could not open /dev/vmmon: No such device.

when i run vmware , i got a warning “Could not open /dev/vmmon: No such device.”.

VMware Workstation Error:
Could not open /dev/vmmon: No such device.
Please make sure that the kernel module `vmmon’ is loaded.

and when i click OK ,warning:

Failed to initialize monitor device.

click again:

Unable to change virtual machine power state: Cannot find a valid peer process to connect to

that’all
we know ,it’s kernel module have some problems, and i enter command in terminal:
root@ubuntu-venus:~# /etc/init.d/vmware start
Starting VMware services:
   VMware USB Arbitrator                                               done
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   VM communication interface socket family                            done
   Blocking file system                                                done
   Virtual ethernet                                                    done
   Shared Memory Available                                             done
root@ubuntu-venus:~# 
restart vmware , okay.