查看是否可以重定位 rpm -qpi xx.rpm,
看relocaton那块的提示
提示:rpm -qpl xx.rpm查看原始包安装位置
例如:
easwy:~$ rpm -qpl ext3grep-0.10.0-1.el5.rf.i386.rpm
/usr/bin/ext3grep
/usr/share/doc/ext3grep-0.10.0
/usr/share/doc/ext3grep-0.10.0/INSTALL
/usr/share/doc/ext3grep-0.10.0/LICENSE.GPL2
/usr/share/doc/ext3grep-0.10.0/NEWS
/usr/share/doc/ext3grep-0.10.0/README
上面的命令列出了每一个文件即将被安装的位置,现在我们只需要重新用–relocate参数把安装目录定位一下就可以了:
rpm -i --relocate /usr/bin=/home/easwy/bin --relocate /usr/share/doc=/home/easwy/doc ext3grep-0.10.0-1.el5.rf.i386.rpm
有的包如果都是在一个目录下,则可以如下操作:
rpm -i --prefix newpath xxx.rpm安装到新的位置。
修改语言选项后中文乱码问题
RHEL5.8下安装disk6中server目录中的 几个语言包。
1.修改.bash_profile中的PATH环境变量增加/sbin
2.yum install compat-gcc-34
会安装以下4个包,大约35Mb
glibc-kernheaders
3. yum install compat-gcc-34-c++
4.yum install compat-libstdc++-33 (RHEL5.8已经安装,可以省略)
5.yum install pdksh
6.yum install libXp
7.rpm -ivh ibm-java2-i386-sdk-5.0-5.0.i386.rpm
8.vi .bash_profile中的PATH环境变量增加/opt/IBM/java2-386-50/jre/bin
GUI工具Instance Administration tool运行
/opt/ibm/ldap/6.1/sbin/idsxinst
运行报错
错误如下:
Symptom: TDS INSTALLATION ISSUE TO BE DOCUMENTED IN INSTALLATION GUIDE
The idsxinst installer displays the following error message:
The java class could not be loaded
java.lang.unsatisfiedLinkError:cfgadminjni (Not found in
java.library.path)
You are unable to proceed further with the installation.
修补方式,参见
http://www-01.ibm.com/support/docview.wss?uid=swg24028828
先安装gsk7bas64-7.0-4.28.x86_64.rpm,再安装补丁
=========================================
IBM补丁包说明
Where can I learn about fix terminology?
The following are common fix related terms used in Fix Central:
Group
A collection of related fixes created for our customers’ convenience. For example, they may be fixes that IBM recommends most customers install for a specified level of the product (that is, the release of the product on a specified operating system), or for a particular solution, involving updates to more than one product. This collection is a reference to these fixes, but not an actual repackaging of those fixes.
Fix Pack
A cumulative collection of all fixes available to registered customers since the last release of the product. It can include fixes that have not been previously released and can span multiple products or components. Usually, a fix pack can be applied on top of any earlier maintenance.
Refresh Pack
A cumulative collection of all of the function and fixes that have been made available since the last major release of the product. The function and fixes might not have been previously released, and they can span multiple products or components. A refresh pack can be usually be applied on top of any earlier maintenance.
Interim Fixes
A tested and verified fix. It can contain fixes for one or more product defects (APARs). If a given fix is listed in a fix pack for the affected product, we recommend that the fix pack be applied, rather than the interim fix. However, there may be cases where your situation calls for the installation of an individual interim fix
For additional information see acronyms, abbreviations, and other terminology related to software support.