PHP5 Interpreter Missing
Use following command in your shell:
#sudo apt-get install php5-cli
Add Service:
# update-rc.d apache2 defaults
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
admin on February 24th 2010 in General
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.
admin on February 24th 2010 in IT, Windows, Windows Server
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
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
Here a couple of quick and dirty examples:
sc \\REMOTEMACHINE query
sc \\REMOTEMACHINE start SERVICE_NAME
sc \\REMOTEMACHINE config SERVICE_NAME start= auto
1. Install Kernel Heaeders
2. Install VMWare Tools
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