Thursday, February 19, 2015

How to manage KVM virtual machines using virsh

virsh is a program which uses libvirt to manage KVM virtual machines (guests).

I’m going to show a summary of its main functions 

Show Hosts’ information:
  • Show a host’s info: virsh nodeinfo
  • Show KVM version installed: virsh version

Monday, February 9, 2015

Files displayed after ages on shared folders on win 7 desktops

File that a user adds to a remote folder is not displayed in Windows Explorer on a computer that is running Windows 7 or Windows Server 2008 R2

http://support.microsoft.com/hotfix/kbhotfix?kbnum=2769790&kbln=en-US

Consider the following scenario:
  • You open and then close a remote folder by using Windows Explorer on a computer that is running Windows 7 or Windows Server 2008 R2.
  • A user on a different computer adds a file to the remote folder.
  • You open the remote folder by using Windows Explorer again.

Monday, November 10, 2014

Brand your Spark Installation

This how-to explains how to brand your installation of Spark IM client with your company name and logo along with some other bits and bobs

Install Spark
Make sure that the latest version of Spark is installed on either a test machine or a single client machine that you will use to modify the install.
Find the file to edit
The next step is to find the file that you need to edit to brand spark. The following steps assume that you have installed Spark in the default directory...
Navigate to C:\Program Files\Spark\lib
Find the file 'spark.jar' and open it with WinRar (other archivers will work but WinRar tends to give best results)
NOTE: Open the .jar file, do NOT extract it.

How to configure Google Application Control with the Sophos UTM

Related Product: Web Protection
Related Version: Since version 9.2
What is Google Application control?
The Sophos UTM provides a feature to enforce a policy and limit access to the Google App services for specific domains only. This feature is useful for administrators who need to limit Google App access to their company domains only, and prohibit users from accessing their personal Google Apps.
What to do
Where to Configure: Webadmin on https://<IP of UTM>:4444
Related Section: Web Protection | Web Filter Profiles | Filter Actions
Note:
  • This feature is configurable per proxy Filter Action
  • If this feature is enabled, the HTTP proxy in the Sophos UTM adds a special header to the App login request for Google
  • The 'Decrypt and scan' option is required for 'HTTPS (SSL) traffic' for this feature to work

Monday, October 27, 2014

.NET Runtime Optimization Service causing CPU High Load on Windows Server 2012

This afternoon, i get issues with my Domain Controller, on Windows Server 2012 R2, having CPU High load and after checking in the Task Manager i noticed the service “NET Runtime Optimization Service” was running and getting most of the CPU load, even after a reboot.
After some research on internet, it seems to happen on servers where you have installed the .NET Framework 4.
To solve this issue :
Open a command prompt and change folder to this one “C:\Windows\Microsoft.NET\Framework

Tuesday, August 26, 2014

DenyHosts: Unblocking an IP address on Ubuntu Server


For best practice to hardening servers we typically install denyhosts to protect our servers. However, sometimes we get accidentally blocked out from our IP address. When we tried removing  blocked IP from /etc/hosts.deny, but it did blocked it again quickly. It appears that DenyHosts keeps track of the attempts somewhere on disk or memory. How do we remove own IP address from Deny Hosts?

Simply removing your IP from /etc/hosts.deny does not work since DenyHosts keeps track of the attempts in the
/var/lib/denyhosts/ directory. In order to remove your IP address you will need to do the following.

Monday, August 18, 2014

Install and configure SNMP on Ubuntu Linux Server


This guide describe how-to install and configure SNMP on Ubuntu for Monitoring tools like Zenoss, Cacti, Nagios, Op5 etc
1.Installation
root@server:~# sudo apt-get install snmpd
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libmpich1.0gf libdc1394-22 genisoimage linux-headers-2.6.27-7 libgfortran2
  dvd+rw-tools linux-headers-2.6.27-7-generic libcarp-clan-perl libxml-xql-perl libparse-yapp-perl
  rdate python-xml localechooser-data gcc-4.2-base libimage-size-perl libdebconfclient0 libvisual-0.4-0
  libmyth-python perlmagick libvisual-0.4-plugins libavdevice52