Archive for February, 2010

PHP5 Interpreter Missing

Use following command in your shell:
#sudo apt-get install php5-cli

No Comments »

admin on February 25th 2010 in IT, Linux

Get services to start up in Linux

Add Service with default runlevels:
# update-rc.d apache2 defaults

Add Service with custom runlevels:
# update-rc.d apache2 start 50 2 3 4 5 . stop 50 0 1 2 3 4 5 6 .

Remove Service:
# update-rc.d -f apache2 remove

More Infos you can get here:
http://www.debuntu.org/how-to-manage-services-with-update-rc.d

No Comments »

admin on February 24th 2010 in General

See all Volume Shadow Copy Providers installed

Command Prompt Command:
> Vssadmin List Providers

In the registry you will find them here:
HK\LM\System\Currentcontrolset\services\VSS\Providers

I had some trouble with our Backup System today and noticed that that another VSS was installed. After removing the Acronis Registy entry it worked like a charm.

No Comments »

admin on February 24th 2010 in IT, Windows, Windows Server

Switch on and Off Monitor from cmd

We have a monitor at our work which we use to monitor our company’s state. But how lazy I am I was looking for a quick solution to switch off and on this screen. So I don’t need to do this task anymore each morning;-) I did some research on the net but didn’t found a solution to do it with the Windows inbuilt functions. Then I discovered this great command prompt tool: Nircmd. It offers a lot of other functions. Just copy it into your Windows System 32 folder and you can simply run the command “nircmd monitor off” to switch off your screen. I used Windows Task Planer to run it each morning (switch on) and evening (switch off). Check out this great tool which offers heaps of other functions:
http://www.nirsoft.net/utils/nircmd.html

No Comments »

admin on February 18th 2010 in IT, Windows

sync time in debian with a ntp server

1. Install
apt-get install ntpdate

2. Create a new file in /etc/cron.hourly
#!/bin/bash
/usr/sbin/ntpdate your_timeserver >> /var/log/ntpdate.log

3. Give the file run rights
chmod +x file_name

No Comments »

admin on February 16th 2010 in IT, Linux

Start Windows Services Remote and change start up type

Here a couple of quick and dirty examples:
sc \\REMOTEMACHINE query
sc \\REMOTEMACHINE start SERVICE_NAME
sc \\REMOTEMACHINE config SERVICE_NAME start= auto

It is important to have a space between start= and auto with the last command!

No Comments »

admin on February 12th 2010 in IT, Windows

Install VMWare tools in debian

1. Install Kernel Heaeders

  1. Get the Kernel version and remember it with:
    uname-r
  2. apt-get install linux-headers-[Kernel Version]

2. Install VMWare Tools

  1. Choose “install and upgrade VMWTools in VMWare” in your VM menu
  2. mount /dev/hda /media/cdrom
  3. cd /media/cdrom/
  4. cp VMWareTools[whateverversion]tar.gz /tmp/
  5. cd /tmp
  6. tar xvzf VMWareTools[whateverversion]tar.gz
  7. umount /media/cdrom/
  8. cd /tmp/vmware-tools-distrib/
  9. make a symlink:
    ln –s /usr/src/linux-headers-[Kernel Version] /usr/src/linux
  10. apt-get install gcc-4.1
  11. change using gcc version:
    export CC=/usr/bin/gcc-4.1
  12. I had make and killall missing on my installation so can you get it:
    apt-get install psmisc make
  13. ./vmware-install.pl

3. Uninstall VMWare Tools
After a failed installation of VMWare Tools I got following message:
A previous installation of VMWare Software has been detected… You may want to re-install VMWare Tools.

The solution was to run the uninstaller first and run the VMWare setup again:
1. ./vmware-uninstall.pl

No Comments »

admin on February 2nd 2010 in Linux, VMWare




Check out new movies online website. Download and buy movies now.
1