Saturday, August 1, 2009

Virtualisation and Cloud Computing

https://help.ubuntu.com/community/SeamlessVirtualization
http://www.ubuntu.com/products/whatisubuntu/serveredition/technologies/virtualization
http://www.ubuntu.com/products/whatisubuntu/serveredition/cloud/UEC
http://www.ubuntu.com/products/whatisubuntu/serveredition/technologies/storage
http://fedoraproject.org/wiki/Virtualization_Quick_Start

Monday, January 26, 2009

Environment Synchronization

What is meant by Environment Synchronization in a typical SDLC ?

Maintaining and configuring the same set of configurations, systems, softwares across the development, QA, Staging and Production Servers and environments.

Why is it important to maintain environment synchronization?
When a build or a tar file goes from development Integrated environment to the qa for testing there should be only one change. i.e., the configuration of the url path and the directory paths.

Friday, January 2, 2009

Does any one know how many tables can a database have

Hi,

Does anyone know how many tables mysql5 can a database have.

Monday, December 22, 2008

Bridge Setting - ADSL - Airtel Router

Airtel braodband connection comes with the default router and the dynamic ip is assigned to the router. If you want to run a webserver and make it public, then ip has to assigned to the system connected to the router instead of router itself. This can be achieved through by changing the setting in Router Configuration.

Go to whatismyip.com and find out the dynamic ip assinged to the router.
http:///
Go to "Advanced Setup", "Wan" and change the settings to "bridge" connection.
Then setup a dialer from your system to connect to the broadband connection using the username and password provided by the airtel connection.

Note : username and password for setting wifi connection in vista is different from the dialer username & password.

with "www" and without "www" is considered as separate domain from ajax perspective

When you try to make XMLHTTPRequest to fetch the xml file. The requestor and the requested xml file should be in the same domain.

Once i unknowingly removed "www" from the variable. It was throwing the cross domain issue. Since the later part of the domain was same... felt difficult to know what the error was.

Vista Firewall & Port Settings for running a web server

Those who were using windows xp and other previous versions of windows operating system and recently upgraded to windows vista has to note an important point while running the servers. It may work well when you are trying to run the webserver locally, but when you want to share across lan or wan, then you should open the port (80) to the outside world through the windows firewall.

Step 1 : Goto Control Panel, Click / double click on the Windows Firewall in classic view

Step 2 : Click on the left hand side menu "Allow a program through Windows Firewall"

Step 3 : Click on the second tab "Exceptions"

Step 4 : Click on the add port and give the port details and a name.

thanks to chandrasing and his nmap tool which helped me to resolve this problem.

Wednesday, December 17, 2008

Google Chrome : How can a web page open a new tab in a separate process?

Google Chrome has a multi-process architecture, meaning tabs can run in separate processes from each other, and from the main browser process. New tabs spawned from a web page, however, are usually opened in the same process, so that the original page can access the new tab using JavaScript.

If you'd like a new tab to open in a separate process:

* Open the new tab with about:blank as its target.
* Set the newly opened tab's opener variable to null, so that it can't access the original page.
* Redirect from about:blank to any URL on a different domain, port, or protocol than that of the page spawning the pop-up. For example, if the page spawning the pop-up is on http://www.example.com/:
o a different domain would be http://www.example.org
o a different port would be http://www.example.com:8080
o a different protocol would be https://www.example.com

Google Chrome will recognize these actions as a hint that the new and old pages should be isolated from each other, and will attempt to load the new page in a separate process.

The following code snippet can be used to accomplish all of these steps:

var w = window.open();
w.opener = null;
w.document.location = "http://different.example.com/index.html";