Posts

Showing posts from July, 2014

[Level 1] Install skype in CentOS 7.

If you want to install skype in CentOS 7. You need to download 32 bit library. Or you could lookup nux-desktop and it already has made for 32 bit libraries that required by skype. sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm; sudo yum localinstall http://download.skype.com/linux/skype-4.3.0.37-fedora.i586.rpm; Wish this helps. regards, Stanley Huang

[Level 1] How to install 32 bit java for Juniper VPN in CentOS.

## ## Precondition: you have to download 32 bit openjdk first! ## compat_32="compat-libstdc++-296" libs_for_vpn="xterm ld-linux.so.2 libstdc++.so.6 libz.so.1 libXext.so.6 libXrender.so.1" java_64_rpms="java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 icedtea-web-1.4.1-0.el6.x86_64" libs_for_java_32="giflib.i686 nss.i686 libpng12.so.0 libpulse.so.0 rhino" java_32_rpm_url="ftp://ftp.muug.mb.ca/mirror/centos/6.5/os/i386/Packages/java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.i686.rpm" java_32_rpm="`basename $java_32_rpm_url`" download_dir="/tmp" ## download 32bit java cd $download_dir; wget $java_32_rpm_url ## remove native openjdk sudo yum -y remove java-1.7.0-openjdk ## install 32 compatible libraries for app in $compat_32 do sudo yum -y install $app done ## install libraries for vpn for app in $libs_for_vpn do sudo yum -y install $app done ## install 64 bit java for app in $java_64_rpms do sudo yum -y

[Level 1] How to yum to install specific version in CentOS.

If you want to use yum to install specific version in CentOS. First, you have to use option "--showduplicates" to get duplicate versions # yum --showduplicates list java-1.7.0-openjdk Loaded plugins: fastestmirror, refresh-packagekit, security, versionlock Loading mirror speeds from cached hostfile * base: mirror01.idc.hinet.net * elrepo: ftp.ne.jp * epel: ftp.cuhk.edu.hk * extras: mirror01.idc.hinet.net * remi: remi.kazukioishi.net * rpmforge: ftp.riken.jp * updates: mirror01.idc.hinet.net Available Packages java-1.7.0-openjdk.x86_64 1:1.7.0.45-2.4.3.3.el6 base java-1.7.0-openjdk.x86_64 1:1.7.0.45-2.4.3.4.el6_5 updates java-1.7.0-openjdk.x86_64 1:1.7.0.51-2.4.4.1.el6_5 updates java-1.7.0-openjdk.x86_64 1:1.7.0.55-2.4.7.1.el6_5 updates java-1.7.0-openjdk.x86_64 1:1.7.0.65-2.5.1.2.el6_5 updates After you got the information of versions, then you could instal