Howto use yum CentOS DVD To install packages directly from the DVD one must do: # vi /etc/yum.repos.d/CentOS-Media.repo enabled=1 # mkdir /media/cdrom # mount /dev/cdrom /media/cdrom # yum –disablerepo=* –enablerepo=c5-media install pacakge-name
How can I configure GlassFish to use a 64-bit JVM?
If you need to break the 2GB or 4GB heap memory size(depending on your OS/JVM combinaison) the maximum barrier for your GlassFish-powered application, you can move to a 64-bit JVM. The following applies to the GlassFish “developer” and “cluster” profiles. To […]
How to setup timezone on glassfish
How to setup timezone on glassfish/jvm Download http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/tzupdater-1_3_33-2010l.zip?BundledLineItemUUID=IXeJ_hCvlacAAAErQScpGPRn&OrderID=97KJ_hCvNGcAAAErNCcpGPRn&ProductID=T56J_hCwuZIAAAEre0AZ1adz&FileName=/tzupdater-1_3_33-2010l.zip Application Server > JVM Settings > JVM Options Add JVM Option -Duser.timezone=Brazil/East Configuration –> System settings user.timezone = Brazil/East Restart glassfish # service glassfish stop # java -jar tzupdater.jar -u -v # […]
Compare float in bash
Compare float in bash If you have a regular if and one of the integers has a float value like 1.200 you will get an error message. The best way to do is using the bc command. Like: $ echo […]
Varnish 2.1.3
Varnish 2.1.3 – Use it! by Kristian on July 30, 2010 “We just released Varnish 2.1.3. And it’s good. I am a person who value stability, predictability and stability over pretty much everything else. I will gladly use 3-year old […]
refused smux peer: oid >SNMPv2-SMI::enterprises.674.10892.1
In my ESX server after installing Dell Open Manager we are getting this message on the syslog: “refused smux peer: oid >SNMPv2-SMI::enterprises.674.10892.1” The solution: The openmanage install should have appeneded this line to # vi /etc/snmp/snmd.conf #(comment) Allow Systems Management […]
Move wordpress directory
How to change the working directory of WordPress The good news is that you don`t have to reinstall WordPress. If the database and URL remains the same, you will have to copy only the files and the database. If you […]
