Leo on June 19th, 2009

I have found it on the IBM website: http://www-01.ibm.com/support/docview.wss?uid=isg3T1000653

PS: After configured it takes some time ( around 3-5 minutes ) to synchronize the time, so don’t worry it will work.

On client

1. Verify that you have a server suitable for synchronization. Enter:

# ntpdate -d ip.address.of.server

The offset must be less than 1000 seconds for xntpd to synch. If the offset is greater than 1000 seconds, change the time manually on the client and run the ntpdate -d again.

If you get the message, “no server suitable for synchronization found”, verify xntpd is running on the server (see above) and that no firewalls are blocking port 123.
2. Specify your xntp server in /etc/ntp.conf, enter:

# vi /etc/ntp.conf

(Comment out the “broadcastclient” line and add server ip.address.of.server prefer.)

Leave the driftfile and tracefile at their defaults.
3. Start the xntpd daemon:

# startsrc -s xntpd

(Use the -x flag if it is appropriate for your environment.)

4. Uncomment xntpd from /etc/rc.tcpip so it will start on a reboot.

# vi /etc/rc.tcpip

Uncomment the following line:

start /usr/sbin/xntpd “$src_running”

If using the -x flag, add “-x” to the end of the line. You must include the quotes around the -x.

5. Verify that the client is synched.

# lssrc -ls xntpd

NOTE: Sys peer should display the IP address or name of your xntp server. This process may take up to 12 minutes.

#apt-get install dmidecode
# dmidecode -s system-serial-number

it works!

Tags: , ,

How to remotely uninstall Symantec Endpoint Protection – SEP client

  1. download pstools from Microsoft websi
  2. tehttp://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
  3. Run against the target workstation
    C:\Temp\PsTools>psexec \\wks C:\WINDOWS\system32\msiexec.exe /q/x {PRODUCT_ID}

Remeber if you have password set you have to disable it.

{PRODUCT_ID} – You must get your product id from (Tip: find for Symantec ):
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

It is a number similar to this one:
{C1B0BDC8-9684-4036-90E1-F7DF0EE8C96D}

More information on Symantec website.

Leonardo

Tags:

Easy steps:

  1. All Programs->Control Panel->Display.
  2. Go to the Settings tab and click on the right down corner Advanced button.
  3. Go to the Troubleshoot tab and set Hardware Acceleration to Full.
  4. That is it!!

Leonardo

Tags: ,

In power shell command prompt type

[PS] C:\Documents and Settings\exservice\Desktop>Get-PublicFolder -Identity \ -recurse -Server srv-mail1 | Get-PublicFolderClientPermission -server servername > c:\non_extended_pflist.txt

[PS] C:\Documents and Settings\exservice\Desktop>Get-PublicFolder -Identity \ -recurse -Server srv-mail1 | Get-PublicFolderClientPermission -server servername | fl > c:\extented_pfpermlist.txt

Leonardo

Tags:

Leo on April 16th, 2009

vboxmanage clonevdi olddisk.vdi newdisk.vdi

Tags:

There is a small change to be made when installing OEL on Vmware Server
1. Install Vmware tools and check off the option regarding time synchronization with host machine.
2. Change kernel parameters according to your Linux version. See link below.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006427

Finally VMware has written an article about vmware, oracle enterprise Linux and other distros.

Leonardo Borda

Tags: ,

Leo on April 3rd, 2009
Source: http://subversion.tigris.org/faq.html#http-301-error

I can see my repository in a web browser, but ’svn checkout’ gives me an error about “301 Moved Permanently”. What’s wrong?

It means your httpd.conf is misconfigured. Usually this error happens when you’ve defined the Subversion virtual “location” to exist within two different scopes at the same time.

For example, if you’ve exported a repository as , but you’ve also set your DocumentRoot to be /www, then you’re in trouble. When the request comes in for /www/foo/bar, apache doesn’t know whether to find a real file named /foo/bar within your DocumentRoot, or whether to ask mod_dav_svn to fetch a file /bar from the /www/foo repository. Usually the former case wins, and hence the “Moved Permanently” error.

The solution is to make sure your repository does not overlap or live within any areas already exported as normal web shares.

It’s also possible that you have an object in the web root which has the same name as your repository URL. For example, imagine your web server’s document root is /var/www and your Subversion repository is located at /home/svn/repo. You then configure Apache to serve the repository at http://localhost/myrepo. If you then create the directory /var/www/myrepo/ this will cause a 301 error to occur.

Tags:

Source: http://ubuntuforums.org/showthread.php?t=791804

setup

1. sudo apt-get install apache2
2. sudo apt-get install openssl
3. sudo apt-get install ssl-cert

create ssl certificate:
sudo make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/private/localhost.pem

switch to apache sites configuration:
cd /etc/apache2/sites-available/

bakup the default configuration:
sudo cp default default.backup.date

be sure to listen the port 80 for the default:
sudo sed -i ‘1,2s/\*/*:80/’ default

create the ssl configuration:
sudo cp default ssl

set the ssl port:
sudo sed -i ‘1,2s/\*:80/*:443/’ ssl
sudo sed -i “3a\\\tSSLEngine On\n\tSSLCertificateFile /etc/ssl/private/localhost.pem” ssl

enable ssl:
sudo a2ensite ssl
sudo a2enmod ssl

restart apache2:
sudo /etc/init.d/apache2 restart

Tags: ,

1. You have to install qemu.
http://free.oszoo.org/ftp/qemu/win32/release/QemuInstall-0.7.2.exe

2. cd c:\Program files\qemu
qemu-img.exe convert -O vmdk hdd.vdi hdd.vmdk

Tags: