Posts

Showing posts from July, 2012

How to install Django

This document will get you up and running with Django. Install Python Being a Python Web framework, Django requires Python. It works with any Python version from 2.5 to 2.7 (due to backwards incompatibilities in Python 3.0, Django does not currently work with Python 3.0; see the Django FAQ for more information on supported Python versions and the 3.0 transition). Get Python at http://www.python.org . If you’re running Linux or Mac OS X, you probably already have it installed. Django on Jython If you use Jython (a Python implementation for the Java platform), you’ll need to follow a few additional steps. See Running Django on Jython for details. Python on Windows On Windows, you might need to adjust your PATH environment variable to include paths to Python executable and additional scripts. For example, if your Python is installed in C:\Python27\ , the following paths need to be added to PATH : C:\Python27\;C:\Python27\Scripts; Install Apache and mod_ws...

Installing Ruby 1.9 and Rails 3 on Windows

Install Ruby 1.9 The best and easiest way we've found to install Ruby on Windows is using the RubyInstaller . It's a self-contained Windows installer (an .exe file) that includes a Ruby language execution environment, a baseline set of RubyGems, and documentation. Installers are available for a number of popular Ruby versions. We'll be installing Ruby 1.9.2, the latest Ruby version that's supported for use with Rails 3. On the RubyInstaller downloads page , download the file named Ruby 1.9.2-p290 . You can either download the executable installer (recommended) or the 7-zip archive . The rest of the instructions assume you downloaded the executable installer. Once the executable installer has downloaded, use Windows Explorer to navigate to where you saved the .exe file and double-click it to start the installation process. Off you go, but pay attention to the prompts... ...

Internet Routing Protocols

Image
Internet Routing Fundamentals Routers Routers are devices which make it possible to "choose" the path that datagrams will take to arrive at the destination.   They are machines with several network interface cards each one of which is linked to a different network. So, in the simplest configuration, the router only has to "look at" what network a computer is located on to send datagrams to it from the originator. However, on the Internet the schema is much more complicated for the following reasons: ·          The number of networks to which a router is connected is generally large ·          The networks to which the router is linked can be linked to other networks that the router cannot see directly So, routers work using routing tables and protocols, according to the following model: ·          The router receives a frame from a machine co...

Internet Group Management Protocols

Image
Internet Group Management Protocol The Internet Group Management Protocol (IGMP) is a communications protocol used by hosts and adjacent routers on IP networks to establish multicast group memberships. IGMP is an integral part of the IP multicast specification. It is analogous to ICMP for unicast connections. IGMP can be used for online streaming video and gaming , and allows more efficient use of resources when supporting these types of applications. IGMP is used on IPv4 networks. Multicast management on IPv6 networks is handled by Multicast Listener Discovery (MLD) which uses ICMPv6 messaging in contrast to IGMP's bare IP encapsulation. Architecture A network designed to deliver a multicast service using IGMP might use this basic architecture: IGMP operates between the client computer and a local multicast router. Switches featuring IGMP snooping derive useful information by observing these IGMP transactions. Protocol Independent Multicast (PIM...