How to install NTP on Linux Debian
#apt-get install ntp
Edit the config file to adjust it:
#vi /etc/ntp.conf
Restart the service to make it run:
#service ntp restart
Manual Sync:
#ntpd -q –g
To overwrite the HW Clock:
#hwclock –systohc
#apt-get install ntp
Edit the config file to adjust it:
#vi /etc/ntp.conf
Restart the service to make it run:
#service ntp restart
Manual Sync:
#ntpd -q –g
To overwrite the HW Clock:
#hwclock –systohc
Well most people use Dropbox or iCloud to sync their data. It works very good but I don’t like the idea to have my data stored on some other server. I like to have more control and this is the main reason why I give OwnCloud a shot.
Installation
I installed it on debian and the setup instructions from the homepage did not work for me. When I tried to install it I got following message:
E: Unable to locate package php-xml
E: Unable to locate package php-mbstring
E: Unable to locate package php5-zip
This solution worked for me:
#apt-get update
#apt-get upgrade
#apt-get install apache2 php5 php5-json php5-gd php5-sqlite curl libcurl3 libcurl3-dev php5-curl php5-common php-xml-parser
#apt-get install sqlite
Important: Of course replace the links whit the newest ones on the homepage: http://owncloud.org/
#wget http://download.owncloud.org/releases/owncloud-4.0.4.tar.bz2
#tar -xjf owncloud-4.0.4.tar.bz2
#cp -r owncloud /var/www
#chown -R www-data:www-data /var/www
#service apache2 restart
Point your browser to it and login with:
admin admin
After those steps I installed the client on my Windows PC and recognized that it didn’t sync. The problem was that the time on the client and and on the server was not the same. So make sure it is!
It creates a 128 bit checksum which is unique. So if two files are not identical they won’t have the same md5 checksum. You can use it to check if the file which you have download has not been manipulated or is corrupted.
Output of one file:
# md5sum sample.txt
d41d8cd98f00b204e9800998ecf8427e sample.txt
Output of multiple files:
# md5sum *.txt
5aa6788f9355e26bd8aef7303dda97fe sample2.txt
d41d8cd98f00b204e9800998ecf8427e sample.txt
You can create your own md5 file and verify it afterwards:
# md5sum sample.txt > verify.md5
# md5sum –c verify.md5
Well many people don’t know about this function. Let’s say you found a really nice picture but you don’t know from who it is.
Just go to:
1. http://www.google.com/imghp
2. Upload the picture
3. Do a Google Picture search and you might find out
admin on June 11th 2012 in IT, Search Engine
Today i tried to install VMWare vSphere PowerCLI and got the vbscript error message.
Follow this steps to solve the problem:
1. Create a backup
2. Delete following registry entries:
Win32 Bit
HKCU\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}
HKCU\SOFTWARE\Classes\CLSID\{F414C260-6AC0-11CF-B6D1-00AA00BBBB58}
Win64 Bit
HKCU\SOFTWARE\Classes\Wow6432Node\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}
HKCU\SOFTWARE\Classes\Wow6432Node\CLSID\{F414C260-6AC0-11CF-B6D1-00AA00BBBB58}
3. Run CMD as an Administrator
4. regsvr32 vbscript.dll
5. regsvr32 jscript.dll
admin on June 4th 2012 in IT, PowerShell, Windows