Wednesday, November 9, 2011

Setup and Install Symfony 2.0 project

1. Download Symfony2

       * From Symfony website Click here or
       * Use Command line
            cd /var/www (web directory)
    wget -O symfony2.tgz

2.  Extract the files

       Use the command :  tar xfz symfony2.tgz

       A direcory 'Symfony' is created in /var/www directory.

3.  Goto http://localhost/Symfony/web/config.php to check the configation settings.

        The are some problems amd some recomentions are listed. Fix the these for better results.

4. Install and enable the SQLite3 or PDO_SQLite extension.

       Use the command :  sudo apt-get install php5-sqlite

5. Give permission to cache folder and logs folder

Use the command :  sudo chmod -R 777 /var/www/Symfony/app/cache
         Use the command : sudo chmod -R 777 /var/www/Symfony/app/logs

6. Set the “date.timezone” setting in php.ini* (like Europe/Paris).

            Open php.ini file and find ';date.timezone ='. Uncomment (remove ';') and give the appropriate timezone value from PHP’s list of timezones.(  as below.

date.timezone =Asia/Calcutta (As I am in India)

7. Install and enable a PHP accelerator like APC (highly recommended).

Use the command : sudo apt-get install php-apc

8. Install and enable the intl extension.

Use the command : sudo apt-get install php5-intl

9. Set short_open_tag to off in php.ini.

Open php.ini file and find 'short_open_tag = On'. Change it to 'short_open_tag = Off'

10. Restart apache

      sudo apache2ctl restart ( sudo /etc/init.d/apache2 restart )

Wednesday, August 17, 2011

References for a Software Engineer



Introduction to C Programming
C Optimization Tutorial
Compiling C and C++ Programs on UNIX Systems - gcc/g++
Building and Using Static and Shared C Libraries
Programming in C: UNIX System Calls and Subroutines Using C
C Programming Class Notes
ANSI C for Programmers on UNIX Systems
Sams Teach Yourself C in 24 Hours
Sams Teach Yourself C in 21 Days (4th Ed.)
The Standard C Library for Linux - Part 1: file functions
The Standard C Library for Linux - Part 2: character input/output
The Standard C Library for Linux - Part 3: formatted input/output
The Standard C Library for Linux - Part 4: Character Handling
The Standard C Library for Linux - Part 5: Miscellaneous Functions
Programming in C: A Tutorial
An Introduction to C Development on Linux
C Programming Course
C Language Tutorial
CScene: An Online Magazine for C and C++ Programming


C++ Tutorial
Understanding C++: An Accelerated Introduction
An Introduction to C++ Class Hierarchies
Introduction to Object-Oriented Programming Using C++
Compiling C and C++ Programs on UNIX Systems - gcc/g++
C++ FAQ Lite
C++ Programming Language Tutorials
Reducing Dependencies in C++
C++ Exception Handling
Part 1: Unicode
Part 2: A Complete String Class
Making C++ Loadable Modules Work
Sams Teach Yourself C++ in 21 Days (2nd Ed.)
C++ Portability Guide
C++ Tips
C++ Language Tutorial
CScene: An Online Magazine for C and C++ Programming
C++  Libraries FAQ


CGI Programming Tutorial
CGI Programming 101
CGI Manual of Style
CGI Developer's Guide
CGI Programming Unleashed
Sams Teach Yourself CGI Programming with Perl 5 in a Week (2nd Ed.)
CGI/Perl Tips, Tricks and Hints
A Tour of HTML Forms and CGI Scripts
Reading CGI Data: URL-Encoding and the CGI Protocol
CGI Programming FAQ

A Brief Tutorial on CORBA
CORBA 2.0 Specification
CORBA Tutorials 
Sams Teach Yourself CORBA in 14 Days
Linux Network Programming, Part 3 - CORBA: The Software Bus  
CORBA Program Development, Part 1
CORBA Program Development, Part 2
CORBA Program Development, Part 3


CSS2 Tutorial


CVS Tutorial
Concurrent Version System Tutorial


to Dynamic HTML


Emacs: The Software Engineer's ``Swiss Army Knife''
Emacs FAQ
GNU Emacs Lisp Reference Manual
Programming in Emacs Lisp
GNU Emacs Manual
A Tutorial Introduction to Emacs
EMACSulation: Internet-ready!
EMACSulation: Ediff - An Emacs interface to diff and patch
EMACSulation: Emacs as a Server
EMACSulation: Customizing Emacs
Basic Emacs
EMACSulation: Templating Mechanisms
Emacs Macros and the Power-Macros Package
Polyglot Emacs 20.4

Advanced Programming in Expect: A Bulletproof Interface
Automating Tasks with Expect
What Can you Expect?--A Data Collection Project Using Linux

Professional Programmer's Guide to Fortran 77
Fortran 90 and Computational Science 
User Notes on Fortran Programming
Fortran Programming for Physics and Astronomy
A Fortran 90 Tutorial
Using GNU Fortran
Fortran 90: A Course for Fortran 77 Programmers
Fortran 90 for the Fortran 77 Programmer
Introduction to Fortran


Tutorial Index
A Tutorial for Perl GIMP Users
A Scheme Tutorial for GIMP Users
GIMP Guide
The GIMP User Manual
Pseudo 3-D with GIMP
Graphical Photocomposition with GIMP
Creating Text with the GIMP
Creating Fire Effects with the GIMP
Creating and Editing Animations with GIMP
GIMP-Perl: GIMP Scripting for the Rest of Us
Writing a GIMP Plugin
GIMP: The RRU Tutorial
Script-Fu Tutorial
The Quick Start Guide to the GIMP, Part 1
The Quick Start Guide to the GIMP, Part 2
The Quick Start Guide to the GIMP, Part 3
The Quick Start Guide to the GIMP, Part 4


Application Programming Using the GNOME Libraries
Part 1: Everything You Need to Get Started
Part 2: Building a Sample Genealogy Program
Part 3: Adding File Saving and Loading Using libxml
Creating GTK+ Widgets with GOB: An Easier Way to Derive New GTK+ Widgets
Handling Multipel Documents: Using the GnomeMDI Framework
Livening Things Up: Graphics Made Easy Using the GNOME Canvas
Developing Gnome Applications with Python - Part 1

GDK Reference Manual
GLib Reference Manual
GTK+ Reference Manual
The GIMP Toolkit
GTK V1.2 Tutorial
Drawing and Event Handling in GTK
An Introduction to the GIMP Tool Kit


Constrained Dynamics
Continuum Dynamics
Differential Equation Basics
Energy Functions and Stiffness
Particle System Dynamics
An Introduction to Physically Based Modeling
Rigid Body Dynamics I
Rigid Body Dynamics II
Scientific Visualization Tutorials
Gnuplot - An Interactive Plotting Program
GIF Animation Tutorial


HTML Table Tutorial
HTML by Example
How to Use HTML 3.2
Creating a Client-Side Image Map
Advanced HTML: How to Create Complex Multimedia Documents for the Web
The ABCs of HTML
Sharky's Netscape Frames Tutorial

ILU Reference Manual
Using ILU with ANSI C: A Tutorial
Using ILU with Java: A Tutorial
Using ILU with Python: A Tutorial

ipchains: Packet Filtering for Linux 2.2
Setting Up IP Masquerade
Setting Up IP-Masquerading
Ipchains: Easy Links to the Net
Linux Networking Using Ipchains


Advanced 4.4BSD Interpprocess Communication Tutorial
UNIX Multi-Process Programming and IPC

Enterprise JavaBeans Tutorial
JavaBeans Short Course
Introduction to the JavaBeans API
JDBC Short Course
Essentials of the Java Programming Language, Part 1
Essentials of the Java Programming Language, Part 2
Writing Advanced Applications for the Java Platform
Fundamentals of Java Security
Fundamentals of Java Servlets
Introduction to the Collections Framework
Introduction to CORBA
Fundamentals of RMI
Java Language Specification
Java Tutorial: Servlet Trail
Java Virtual Machine Specification (2nd Ed.)
Glossary of Java and Related Terms
The Java Language Environment
Java Look and Feel Design Guidelines
Story of a Servlet: An Instant Tutorial
Introduction to Java
Java2D: An Introduction and Tutorial
Java Servlet Tutorial FAQ
Brewing Java: A Tutorial
Shlurrrppp ... Java: The First User-Friendly Tutorial on Java
Swing Tutorial
Swing: A Quick Tutorial for AWT Programmers  
Thinking in Java
Java RMI Tutorial
Java for C++ Programmers
The Advanced Jav/aJ2EE Tutorial
Hacking Java: The Java Professional's Resource Kit
JFC  Unleashed
Java Developer's Guide
Java Developer's Reference
Sams Teach Yourself Java in 21 Days (Professional
Reference Ed.)

Java Unleashed (2nd Ed.)
Java 1.1 Unleashed (3rd Ed.)
Java Game Programming Tutorial
Java Networking FAQ
Java Tutorial: A Practical Guide for Programmers
Sockets Programming in Java
Programming with Java - Part I
Programming with Java - Part II
Setting Up a Java Development Environment for Linux
Understanding Java
Beginner's Guide to JDK
GUI Development in Java
Java Servlets: An introduction to writing and running
Java servlets on Linux

Guru99 java tutorial 


Introductory JavaScript Tutorials
JavaScript Authoring Guide
Client-Side JavaScript 1.3 Guide
Client-Side JavaScript 1.3 Reference
Core JavaScript 1.4 Guide
Core JavaScript 1.4 Reference
Server-Side JavaScript 1.4 Guide
JavaScript FAQ
JavaScript Tutorial
The Way of JavaScript
Voodoo's Introduction to JavaScript
JavaScript Tutorial for Programmers
JavaScript Primer
EchoEcho JavaScript Tutorial
Sams Teach Yourself JavaScript 1.1 in a Week (2nd Ed.)


Common Lisp Hints
Common Lisp the Language (2nd Ed.)
Lisp FAQ
Lisp Programming Tutorial
Lisp Tutorial
LISP Tutorial
Common Lisp HyperSpec

Basic MIDI Tutorials
Tutorial on MIDI and Music Synthesis 

ML Tutorial
Programming in Standard ML '97
A Gentle Introduction to ML
Moscow ML Owner's Manual


An MPI Tutorial
Tutorial on MPI
MPI: Portable Parallel Programming for Scientific Computing
Tuning MPI Applications for Peak Performance
MPI: >From Fundamentals to Applications
MPI Tutorial
MPI: The Complete Reference
Introduction to Parallel Programming Using MPI
Basics of MPI Programming


Matlab Basics Tutorial
Matlab Summary and Tutorial
Matlab - Official Online Manuals in PDF


The Soar 8 Tutorial Home Page
8051 Assembly Tutorial
GNAT Reference Manual
MOO Programming Tutorial
Genetic Tutorial
Basic SUIF Programming Guide
Cosmology Tutorial
Relativity Tutorial
80x86 Assembly Language Programming Tutorial
ZPL Programming Guide
VHDL  Synthesis Tutorial 
Part 1: Overview
Part 2: The Lexical Analyzer
Part 3: The Parser
Part 4: The Symbol Table and Syntax Tree
Part 5: The Semantic Checker and Intermediate Code Generator
Part 6: Optimization
Part 7: The Virtual Machine
Part 8: Executable Code
Part 9: Advanced Subjects
A tutorial on character code issues
Imlib Programmer's Guide
Speech Analysis Tutorial
INTERCAL Programming Language Revised Reference Manual
Quantum Computation: A Tutorial
Modem Tutorial
Biotiming Tutorial


Introduction to Motif Application Development
X Window/Motif Programming
Motif FAQ
Motif/Lesstif Application Development
X/Motif Programming


OpenGL Programming Guide - The Red Book
NeHe OpenGL Tutorials
Advanced Graphics Programming Techniques Using OpenGL
Introduction to OpenMP
OpenGL: >From the Extensions to the Solutions
Designing and Building Parallel Programs
Tutorial Material on MPI
Tutorial on MPI
Parallel Programming - Basic Theory for the Unwary
Building a Beowulf System
High Performance Fortran in Practice
Java Personal OpenGL Tutorial (JPOT)
OpenGL Tutorial
Advanced OpenGL Texture Mapping
Linux Focus
What is OpenGL?
GLUT Programming: Windows and Animations
OpenGL Programming: Simple Polygon Rendering
OpenGL Programming: More About Lines
GLUT Programming: Windows Management
Programming with OpenGL: Advanced Rendering
Programming with OpenGL: Advanced Techniques
OpenGL Overview
HPF: Programming Linux Clusters the Easy Way


PHPKnowledge Base
PHP/MySQL Tutorial
PHP3 Introduction
PHP Tutorials
PHP Manual
PHP How-To Columns
An Introduction to PHP3


Advanced Tutorial on PVM 3.4
PVM: A User's Guide and Tutorial for Networked Parallel Computing
Parallel Processing using PVM


Pascal Programming OnLine Notes
Roby's Pascal Tutorial
Pascal Language Tutorial


Perl Modules
Perl man pages
Perl Tutorial
A Quick Introduction to Perl
Perl FAQ
HTMLified Perl 5 Reference Guide
Perl Regular Expression Tutorial
Save it With Perl: A CPAN Solution to Data Persistence
Introduction to Perl
The Perl Programming Language
Sams Teach Yourself Perl 5 in 21 Days (2nd Ed.)
Using Perl for Web Programming
Perl 5 Quick Reference
Perl Part III - Arrays
Perl Part II - Writing a Real Program
Perl Part I - Introduction
Perl Tutorial
Robert's Perl Tutorial
CGI/Perl Tips, Tricks and Hints
An Introduction to Perl
Embperl: Modern Templates
Perl Embedding
Network Programming with Perl


PostScript FAQ
PostScript Programming
About PostScript Errors
A First Guide to PostScript
PostScript Tutorial and Reference
PostScript III: The Operand Stack of PostScript: Arrays, Variables, Loops and Macro Definitions
PostScript II: The Operand Stack, Manipulations and Mathematical Operators
PostScript I: The Language


The Online POV-Ray Tutorial
Povray I: First Steps
Povray II: Basic Notions
Povray III: Design of Recursive Structures


Prolog Programming: A First Course
On-Line Guide to Prolog Programming
Prolog Programming Tutorial

Practical ILU with Python: A Tutorial
Learning to Program
Numeric Python Tutorial
Cheat Sheet: A Quick Reference Document for Newcomers
Text Processing in Python: Tips for Beginners
Using State Machines: Algorithms and Programming Approaches in Python
Tinkering with XML and Python: An Introduction to XML Tools for Python
The Other Scripting Language that Starts with a "P"
The  Dynamics of DOM: A Closer Look at Python's xml.dom Module
My First Web-Based Filtering Proxy: Converting Text to HTML Using Txt2Html
Instant Python
Instant Hacking: Learn How to Program With Python

The Whole Python FAQ
The What, Why, Who, and Where of Python
Extending and Embedding the Python Interpreter
Python Library Reference
Python Reference Manual
An Introduction to Python
Python Tutorial
Getting Started With Python


Remote Procecure Call - AIX Programming Concepts Guide
Protocol Compiling and Lower Level RPC Programming
Programming with Remote Procedure Calls - SCO 
RPC Programming Documents - Sun
RPC Programming Interface - DEC
Remote Procedure Calls in Linux


REXX/imc Tutorial
Advanced Object REXX Programming
Introduction to Object REXX Programming
Rexx FAQ
TCP/IP Socket Programming with REXX


Ruby Language FAQ
Ruby: A New Language
Thirty-seven Reasons I Love Ruby
The Ruby Programming Language
Ruby User's Guide
Ruby Language Reference Manual

An Introduction to SCSI Drivers
Advanced SCSI Drivers And Other Tales

SQL Tutorial and Interpreter
Introduction to Structured Query Language
Beginning MySQL Tutorial
Sams Teach Yourself SQL in 21 Days (2nd Ed.)
SQL Tutorial I - Introduction to SQL and Installation of PostgreSQL
MySQL: A Database Server
Setting Up a MySQL Based Website - Part 1
Setting Up a MySQL Based Website - Part II
PostgreSQL Tutorial
Using mSQL in a Web-Based Production Environment
Speaking SQL
Integrating SQL with CGI, Part 1
Integrating SQL with CGI, Part 2
PostgreSQL--the Linux under the Databases  
Beagle SQL, A Client/Server Database for Linux
NoSQL Tutorial
MySQL Introduction


NCSA HTTPd Server Side Includes
The Server Side Includes Tutorial
Programming in Standard ML '97: An On-Line Tutorial
SSI Tutorial


A Modest STL Tutorial
The Standard Template Library Tutorial
Introduction to STL, Standard Template Library
STL Tutorial


Introduction to Samba - Part 1: Key Concepts
More Adventures with Samba
Linux Networking: Exploring Samba
Using Samba to Mount Windows 95
Introducing Samba
Samba's Encrypted Password Support


Scheme Tutorial
A Scheme Tutorial for GIMP Users
Revised (4) Report on the Algorithmic Language Scheme
MIT Scheme Reference
DrScheme Programming Environment Manual
MzScheme Language Manual
Teach Yourself Scheme in Fixnum Days
Lecture  Notes on the Principles of Programming Languages
An Introduction to Scheme and Its Implementation
The Scheme Programming Language
Scheme FAQ
The PACT Scheme Language
Fundamentals of Computer Science I
Chez Scheme User's Guide
The Scheme Programming Language (2nd Ed.)


Basic Aspects of Squeak and the Smalltalk-80 Programming

IBM Smalltalk Tutorial


Daryl's TCP/IP

Introduction to the Internet Protocols
IP Next Generation Overview
IPv6: The New Internet Protocol
Understanding IP Addressing
Introduction to IP Multicast Routing
TCP/IP Tutorial and Technical Overview
An Introduction to TCP/IP Programming
TCP/IP FAQ - Part 1
TCP/IP FAQ - Part 2
TCP/IP: Introduction to the Internet Protocols 
Teach Yourself TCP/IP in 14 Days (2nd Ed.)
TCP/IP for Idiots Tutorial
T/TCP:TCP for Transactions
TCP/IP and IPX Routing Tutorial
Introduction to Programming with Tcl
Programming Using Tcl/Tk
Practical Programming in Tcl and Tk
Tcl/Tk Cookbook
Introduction to the Tcl/Tk Programming Language
The Tcl Syntax
Tcl/Tk Quick Reference Guide
comp.lang.tcl FAQ
Tcl/Tk Man Pages
Rapid Prototyping with Tcl/Tk
Tcl/Tk: The Swiss Army Knife of Web Applications


LaTeX for Secretaries


The UNIX Time-Sharing System
The Evolution of the UNIX Time-Sharing System
The UNIX Time-Sharing System - A Retrospective
UNIX - The Bare Minimum
Using the UNIX Operating System  
History of UNIX
UNIXhelp for Users
STScI UNIX Users Guide
UNIX System Administration
Compiling C and C++ Programs on UNIX Systems - gcc/g++
Manipulating Files and Directories in UNIX
Introduction to UNIX Signals Programming
UNIX and Multics
UNIX Man Pages Online
UNIX Unleashed  
UNIX Unleashed: System Administrator's Edition
UNIX Unleashed: Internet Edition
A Basic UNIX Tutorial
The UNIX Programming Environment
Introduction to UNIX
Intermediate UNIX Training
Coping with UNIX: An Interactive Survival Kit
Introduction to UNIX Course Notes
Advanced Introduction to UNIX
Basic Introduction to UNIX
Programming the Shell
Networking/Internet with UNIX
Learning UNIX


Introduction to VRML
VRML Primer and Tutorial
VRML Audio Tutorial
The Easy VRML Tutorial
VRML 97 Tutorial
Introduction to VRML 2.0
An Introduction to VRML
VRML 2.0 Tutorial


Securing X Windows
X Window Guide
Using X11 Windows
Looking Through X Windows
X Widget FAQ
Xlib Programming: A Short Tutorial
X Windows Version 11.5: A Concise Description
Beginning with X (Xt) FAQ FAQ
Configuring X
The 40 Most Common X Programming Errors (And How to Avoid Repeating Them)
X Window System Application Performance Tuning
Taming the X Display Manager (xdm)
Introduction to X Windows
XFree86 FAQ
Programming with XView
Developing Imaging Applications with XIE
X Window System Administration


eXternal Data Representation Overview for Programming
eXternal Data Representation - AIX Programming Concepts Guide
External Data Representation: Sun Technical Notes
External Data Representation: Technical Notes


Working with XML: The Java API for XML Parsing (JAXP) Tutorial
XQL Tutorial
Tutorial Introduction to XML
The XML Revolution: Technologies for the Future Web
An Introduction to Perl's XML::XSLT Module
XML Reference and Glossary
Extensible Markup Language (XML) 1.0
XUL Tutorial


The GNU Configure and Build System
Developing Software with GNU (w/ Learning Autoconf and Automake)
Autoconf: Creating Automatic Configuration Scripts
GNU Automake
Adding Fortran 77 Support to Automake


Debugging C and C++ Programs using gdb
Debugging with GDB (GNU Manual) 


The Elm Reference Guide
The Elm User's Guide
Email with the Elm Mailer
Elm Tutor

Compiler Construction Using Flex and Bison
How to Write a Simple Parser with Lex and Yacc
A Guide to Lex and Yacc
Creating an Input Language with the lex and yacc Commands
A Brisk Tutorial on Lex and Yacc
What Do Lex and Yacc Do?
The Roles of Lex and YACC
A Little Manual for Lex and Yacc
GNU Bison Manual
GNU Flex Manual
Compiler Construction Tools - Part I: JFlex and CUP
Compiler Construction Tools - Part II: Installing JFlex and
CUP - Specific Instructions
What is Lex? What is Yacc?
lex and yacc: Tools Worth Knowing

Introductory Tutorial on Make
A Brief Introduction to Make
Getting Started with Make - Part 1: The Basics
Getting Started with Make - Part 2
Tutorial on Make
Program Compilation - Writing Makefiles

A Brief Make Tutorial
Make - A Tutorial
GNU Automake Manual
GNU Make Manual
Quick and Dirty Make Tutorial
Building Projects with Imake


VDSL Tutorial
Cable Modem Tutorial
Tutorial: Insight Into Current Internet Traffic Workloads
Tutorial on Internet Monitoring
Frame Relay Tutorial


Serial Programming for POSIX Compliant Operating Systems
sed Script Archive
sed FAQ #2
Do It With sed
sed - A Non-Interactive Text Editor
Introduction to sed
Handy One-Liners for sed
sed FAQ #1
sed - The Stream Editor
sed Tutorial


UNIX Shell Patterns
Korn Shell Reference
UNIX Shell Programming Bourne and Korn Shells
A Brief Introduction To C Shell Variables
UNIX Shell Scripts
Writing UNIX Scripts
Part 1: Fundamental Programming in Bash
Part 2: More Bash Programming Fundamentals
Part 3: Exploring the Ebuild System
Working the the Shell Environment
pdksh (Public Domain Korn)
Shell Script Programming
C Shell Tutorial
Shell Differences FAQ
Z-Shell FAQ
GNU Bash Reference Manual
Bourne/Bash: Shell Programming Introduction
Functions and Aliases in Bash
Introduction to Shell Scripting
The Deep, Dark Secrets of Bash
bash (GNU)
csh (C)
ksh (Korn)
sh (Bourne)
zsh (Z)
Gettingthe Most from Your Shell
Shell Command Language Index
UNIX Bourne Shell Programming
Features of the TCSH Shell
Improve Bash Shell Scripts Using Dialog
Extending the Bash Prompt
Shell Functions and Path Variables, Part 1  
Shell Functions and Path Variables, Part 2
Shell Functions and Path Variables, Part 3


Introduction to Network Functions in C
Berkeley UNIX System Calls and Interprocess Communication
Using Internet Sockets
Beginner's Guide to Sockets
BSD Sockets: A Quick And Dirty Primer
Sockets Programming in Java
Introduction to Socket Programming
An Introduction to Socket Programming
Perl and Sockets
Linux Network Programming, Part 1 - BSD Sockets


Getting Started with POSIX Threads
LinuxThreads FAQ
Part 3: Improve Efficiency with Condition Variables
Part 1: A Simple and Nimble Tool for Memory Sharing
Part 2: The Little Things Called Mutexes
Multi-Threaded Programming with POSIX Threads
Threads FAQ
Multithreaded Programming
LinuxThreads Programming
Pthreads - Overview and Manual
What is Multi-Threading?
Thread-Specific Data and Signal Handling in Multi-Threaded Applications
Introduction to Multi-Threaded Programming
POSIX Thread Libraries


vi Tutorial
elvis Manual
An xtremely Quick and Simple Introduction to the Vi Text Editor
vim Reference Manual
Mastering the vi Editor
vi FAQ - Part 1
vi FAQ - Part 2
vim Editor FAQ
vi Quick Reference and Tutorial
Revisiting VIM
The vi/ex Editor

Note: This post is for my reference only.