Wednesday, April 25, 2012

python notes

hey friends here is a book for u do do programming in python. it is easy to under stand and it will be use full for you friends
Python How to Program

Sunday, April 22, 2012

How to install Apache, PHP, MySQL and phpMyAdmin on Ubuntu 8.10.


Installing Apache
1. Open Terminal (Application -> Accessories -> Terminal) and execute the following command:
sudo apt-get install apache2
2. When the setup is complete you can check if the Apache is working properly by pointing your browser to http://localhost. If you see the text “It works!”, it means Apache is working just fine.
3. Towards the end of the installation if you see a message like this inside Terminal, “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName“, you can fix this by executing the following command. It will open Gedit (text editor).
gksu gedit /etc/apache2/conf.d/fqdn
4. When Gedit opens, type “ServerName localhost” inside the file and click Save. Then close the file.

Installing php5
1. Inside Terminal, execute the following command:
sudo apt-get install php5 libapache2-mod-php5
2. When setup is complete, you have to restart Apache so that php5 will work on Apache. Execute the following command in Terminal:
sudo /etc/init.d/apache2 restart
3. You can now test to see if php5 works with Apache. To do this you can create a new php file inside your /var/www/ folder. (The text in red is the filename. You can put any name.)
sudo gedit /var/www/nass.php
4. The command above will open Gedit. Just type in the following php code, save and close the file:
<? phpInfo(); ?>
5. Now point your browser to “http://localhost/nass.php” and see if you can see the text “yoo hooo!” and a lot of information about your php5 installation. If you see that, it means your have successfully installed php5.


Installing MySQL
1. Inside Terminal, execute the following command:
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
2. Towards the end of the installation you will be prompted to set your root or admin password (see pic below)
set root password

Installing phpMyAdmin
1. Inside Terminal, execute the following command:
sudo apt-get install phpmyadmin

che2 (see pic below).
2 During the installation you will be asked to select the webserver that would be used to run phpMyAdmin. Select Apa
choosing webserver

3. After the installation is over execute the following command to copy the phpmyadmin folder into the /var/www/ directory. (By default it is installed in /usr/share/phpmyadmin/ directory.)


sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin
4. Now you can go to the phpMyAdmin login page by pointing your browser to: http://localhost/phpmyadmin/index.php
The username for MySQL and phpMyAdmin is “root”. The password will be what you set in step 2 (under installing MySQL).
That’s it! Now you’ve successfully installed Apache 2 webserver, php5, MySQL and phpMyAdmin on Ubuntu.

Wednesday, April 4, 2012

IPL live streaming.for U

scorecard  old videos  Match schedule  Ranking

hi friends watch ipl streaming free. this is for you.

hi friends watch ipl streaming free. this is for you. watch all the


IPL Finals Rockings

Sunday, May 27, 2012, 08:00 p.m. 

Where

MA Chidambaram Stadium, Chennai 





After 53 days and 75 matches of riveting action, the last two teams left standing – the Kolkata Knight Riders and the Chennai Super Kings – go head-to-head in the title clash of DLF IPL 2012.

The Kolkata Knight Riders have been the most successful team in the competition so far, having won 69 percent of the 16 matches they’ve played. Gautam Gambhir’s side finished the league stage in second place and then defeated table-toppers Delhi Daredevils in the first playoff match. As a result, they directly qualified for the Final.

When the Chennai Super Kings finished their league engagements (they were the first team to play out all their 16 league fixtures) on May 17, they had left their fortunes in the hands of other teams. Thankfully for the defending champions – who looked far from a dominating team in the league stage – many results went their way and they sneaked into the playoffs in fourth place. In their two playoff matches though, CSK have brought their best game to the park and have been at their commanding best; they defeated the Mumbai Indians by 38 runs in the Eliminator and then thrashed the Delhi Daredevils by a mammoth 85 runs in Qualifier 2.

Both teams are evenly matched in terms of personnel and must be high on confidence heading into this contest. However, one must concede that the defending champions have the edge. And here’s why:

CSK will be playing at home and know the conditions on hand


CSK will have the crowd rooting for them


CSK have the momentum of two big wins behind them


CSK have played in three finals and know what it takes to win those big moments

The Kolkata Knight Riders start as underdogs; Gautam Gambhir’s boys are playing in an IPL final for the very first time. Will the underdogs be able to shrug off the rustiness from their break, stand up to the pressure of a title clash and cause an upset? Will we have a new IPL Champion? Only time will tell.

 
Animated Social Gadget - Blogger And Wordpress Tips