Posted: March 8, 2012 at 11:32 pm | Tags: centos 5 latest version, centos 5.8, centos 5.8 32-bit, centos 5.8 32-bit download, centos 5.8 64-bit, centos 5.8 64-bit download, centos 5.8 download, centos 5.8 mirror, centos 5.8 release notes, centos 5.8 upgrade, centos 5.8 x64, centos 5.8 x86, upgrade to centos 5.8
Upgrade to CentOS 5.8
CentOS 5.8 has been released within the last 24 hours :)
To update your existing CentOS 5.x to CentOS 5.8, simply run the following command:
Ensure that you have only standard CentOS repositories enabled to avoid dependency issues.
If you are unsure, you can check what version of CentOS you have installed here.
For new installations, you can download the CentOS 5.8 32-bit or 64-bit ISO from here: http://isoredirect.centos.org/centos/5/isos/
Browser over to http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.8 for CentOS 5.8 release notes.
Posted: January 9, 2012 at 11:32 pm | Tags: kloxo, kloxo 64-bit, kloxo centos 64 bit, lxadmin 64-bit
As of Kloxo 6.1.7, it now supported on 64-bit CentOS systems !
For all of who wanted Kloxo on CentOS 5 64-bit can now do so. I have installed Kloxo on CentOS 5.7 64-bit and everything appears to working 100% !
Posted: November 9, 2011 at 5:25 pm | Tags: bash script duration, bash script execution time, shell script execution time, show bash script duration, show bash script execution time, show shell script execution time
Simple BASH script example for showing the elapsed time for a script to execute:
echo "Script execution took $time_elapsed seconds."
Posted: November 8, 2011 at 6:06 pm | Tags: CentOS 5 passwordless SSH, CentOS 6 passwordless SSH, Debian passwordless SSH, Linux passwordless SSH, Passwordless SSH, quick passwordless SSH, simple passwordless SSH, Ubuntu passwordless SSH
You have two servers, ServerA and ServerB – you would like ServerA to be able to SSH in to ServerB without a password. Use this simple tutorial to achieve this:
Step 1: Generate public key on ServerA
SSH in to ServerA and enter the following command. Keep pressing enter (accept the defaults) – do not enter a passphrase.
ssh-keygen -t dsa
This should have generated a file, /root/.ssh/id_dsa.pub
Copy the contents of the file above:
Step2: Copy ServerA’s public key to ServerB
SSH in to ServerB and paste the contents from /root/.ssh/id_dsa.pub from ServerA (above) in to /root/.ssh/authorized_keys on ServerB:
If the /root/.ssh directory does not exist, create it first:
Set the required permissions on the authorized_keys file:
chmod 0600 /root/.ssh/authorized_keys
Now try and SSH to ServerA from ServerB – you should not be prompted for a password. The same process can be used for other users, apart from root. If you want ServerB to have passwordless SSH access to ServerA, perform the same steps as above, but swap ServerA for ServerB the next time you do it.
Posted: October 19, 2011 at 2:48 pm | Tags: fix Invalid XSL format (or) file name, Invalid XSL format, Invalid XSL format (or) file name, windows 7 Invalid XSL format, wmic, wmic csv, wmic format, wmic format error, wmic hform, wmic htable, wmic Invalid XSL format, wmic mof, wmic windows 7, wmic windows 7 format, wmic xml
In Windows 7, there is a bug with wmic and the /format switch. When using the /format switch, you will get the error “Invalid XSL format (or) file name.”
C:\Tmp>wmic /output:C:\tmp\procinfo.html CPU get Description,
DeviceID, Manufacturer, MaxClockSpeed, Name, Status, SystemName /format:hform.xsl
Invalid XSL format (or) file name.
Windows looks for the XSL stylesheets but cannot find them, which produces the error above.
Copy *.xsl from x:\Windows\system32\wbem\en-US\ to x:\Windows\system32 – this can be done quicky from command prompt:
copy /y %WINDIR%\system32\wbem\en-US\*.xsl %WINDIR%\system32\
If you run your original wmic command (example in Section 1), there will be no errors and wmic will export data in the format required.