September, 2012

Useful Perl commands

September 27, 2012 Jordansphere FreeBSD

a) Delete tabs from file perl -i -pe ‘s/[ \t]+//’ myfile  

More

perl tabs vi file,

Creating a 32bit DSN for Windows 64bit

September 26, 2012 Jordansphere VMware

Scenario: I needed to re-create a 32 bit DSN as I was moving a VMware Update Manager database from SQL 2005 Express bundled to SQL 2008 R2 Standard on a standalone machine. To invoke the 32 bit DSN go to the following in Windows Explorer or Run box: %systemdrive%\Windows\SysWoW64\Odbcad32.exe

More

32bit DSN ODBC Windows 265 bit SQL 2008 SQL 2005 Express bundled,

Enabling SNMP in Windows 2008

September 25, 2012 Jordansphere Windows

First of all you may need to add the “feature” from Server Manager Now go to Services (in Administrative Tools) Right click the SNMP Service and select properties . Go to the Security tab Edit the settings to your needs. In this case I have allowed the host 172.17.19.100 access to this host and kept the Community name as the default public […]

More

SNMP Windows 2008 Enabling,

What SQL Native Client Version is currently installed?

September 24, 2012 Jordansphere MS SQL

Scenario: I want to move vCenter DB from the bundled SQL 2005 express to a standalone SQL 2008.  The SQL Native Client required for the upgrade is 10.0   To check what version you have running (on SQL 2005): Run regedit -> Computer->HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft SQL Native Client/Current Version.   As you see from the screenshot I […]

More

MS SQL Native Client,

The SSL password dilemma when starting Apache

September 12, 2012 Jordansphere FreeBSD

OS: Linux Software: Apache 2.x Dilemma: You have set a passphrase on your SSL certificate. Upon starting Apache the default behaviour is interactively type the password in. This obviously has an impact on boot and when you need to automatically restart Apache. If this doesn’t fit your model then there are 2 options: 1) Remove the […]

More

How to disable SELinux.

September 6, 2012 Jordansphere Linux

OS: Centos 6 Whenever something isnt working properly – its normally due to SELinux ! One example I recently had was when I tried to simply FTP to a newly created internal server. After having a quick look over the vsftpd config I swiftly moved onto my next suspect: SELinux. Before I show you how […]

More

Powered by WordPress. Designed by elogi.