CME ROCKS
<<< TSECET APPLY >>> <<< APECET APPLY >>> <<< TSEAMCET APPLY >>> <<< TSPSC 1 TIME REGISTRATION HERE >>> <<< TSPSC RESULTS >>>

Wednesday, 3 February 2016

INSTALLATION OF WAMP SERVER IN WINDOWS..

  1. Download the WAMP Server
  2. I’ll give you simple steps for ‘Installation of WAMP Server’. We need to download the WAMP server Package .exe file from official WAMP server page. Choose file with Config of your system.
    Installation of WAMP Server- how to install wamp server - Step to install
    after select your file, It’ll ask following Popup. Don’t worry about this. Just click ‘you can download it directly’
    Installation of WAMP Server- how to install wamp server - Installation of WAMP Server - step to install
  3. Start Setup Wizard
  4. You’ll get below Setup Wizard window, When you Run WAMP server .exe file. It shows config of WAMP. Click ‘Next’ button to continue.
    Installation of WAMP Server- how to install wamp server - Step to install
    You should agree the license of WampServer before Installation of WAMP Server.
    Installation of WAMP Server- how to install wamp server - Step to install
  5. Select Destination and Icon
  6. Here, You should select the Server Location. Most of the server installing into C drive only. Me too installing into C drive. You can browse any other location and click ‘Next’.
    Installation of WAMP Server- how to install wamp server - Step to install
    And choose which icons you want.
    Installation of WAMP Server- how to install wamp server - Step to install
  7. Installing and Complate
  8. In ‘Ready to Install’ window, just click ‘Install’ button.
    Installation of WAMP Server- how to install wamp server - Step to install
    Now wait up-to finish the installing.
    Installation of WAMP Server- how to install wamp server - Step to install
    In following window, just leave Default value and Click ‘Next’.
    Installation of WAMP Server- how to install wamp server - Step to install
    Now Installation Process is almost done. Tic the Launch and Finish it.
    Installation of WAMP Server- how to install wamp server - Step to install
  9. Run WAMP Server.
  10. Just double click the Wamp Server icon. You’ll get following small icon inTaskBar. First it’s color is Red and change to Orange. At-last it goes to Green color. If green color comes, Your WAMP server running successful.
    Installation of WAMP Server- how to install wamp server - Step to install
    Now see your WAMP server Home Page with following URL ‘http://localhost/’.
    Installation of WAMP Server- how to install wamp server - Step to install
    Now Installation of WAMP Server is finished. If you get any problem,

How to install Lamp server on ubuntu 14.04

Ubuntu_featured
How to install Lamp server on ubuntu 14.04

How to install LAMP server on Ubuntu 14.04


LAMP stack is nothing but a combination of opensource softwares to make a webserver . LAMP refers to the first letters of Linux, ApacheMysql and PHP .
1. Apache2 installation
2. Mysql installation 
3. PHP installation 
4. Testing all together

Apache2 installation :

Step 1 » Type the below command for installing apache 2 package from repository .
krizna@leela:~$ sudo apt-get install apache2

This command will install apache2 and its dependencies  .
Step 2 » After installationm, Add the following line “ServerName localhost” to the/etc/apache2/apache2.conf file.
ServerName localhost
Step 3 » and restart apache service
krizna@leela:~$ sudo /etc/init.d/apache2 restart
Step 4 » Apache will start working with minimal configuration. Now Open your server-ip in the browser and You can see the apache ubuntu test page.( Default document root is located in this path /var/www/html )
Install lamp server ubuntu 14.04

Mysql installation :

Step 5 » Issue the below command to install mysql server with dependencies.
krizna@leela:~$ sudo apt-get install mysql-server
Step 6 » During installation it will prompt for a new password for mysql root . Give some strong password and retype the same password for confirmation.
Install lamp server ubuntu 14.04
Step 7 » After installation check the Database connection.
Check the service status .
krizna@leela:~# sudo /etc/init.d/mysql status
* /usr/bin/mysqladmin Ver 8.42 Distrib 5.5.35, for debian-linux-gnu on x86_64
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Server version 5.5.35-1ubuntu1
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/run/mysqld/mysqld.sock
Uptime: 1 min 12 sec
Threads: 1 Questions: 573 Slow queries: 0 Opens: 421 Flush tables: 1 Open tables: 41 Queries per second avg: 7.958

Service is already up , Now Type this command to login
krizna@leela:~# mysql -u root -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 42
Server version: 5.5.35-1ubuntu1 (Ubuntu)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
mysql>

Okay . Mysql server installation is over.

PHP installation :

Step 8 » Type the below command to install php5 .
krizna@leela:~$ sudo apt-get install php5 php5-mysql
Step 9 » Create a php file and paste the below code into the file to show the php configuration . Goto the default apache root path /var/www/html . create a new file phpinfo.php  and paste the below code and save it.
<?php
phpinfo();
?>  

Step 10 » Now restart the apache2 service .
krizna@leela:~$sudo /etc/init.d/apache2 restart
Step 11 » Now open the file in the browser ( Eg: http://yourip/phpinfo.php )
you can see the php information page as below.
and make sure you can see the mysql details in the php information page .
Install lamp server ubuntu 14.04
We have sucessfully configured Apache2 , mysql and php .

Testing All together :

We need to test mysql database connectivity using PHP code .
Step 12 » create a new file dbtest.php in the root path (/var/www/html) and paste the below code . kindly replace “password” with your mysql root password provided during mysql installation .

<?php
$con = mysql_connect("localhost","root","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
else
{
echo "Congrats! connection established successfully";
}
mysql_close($con);
?>

Step 13 » open the file in your browser ( http://yourip/dbtest.php ). Now you could see the page like below.
Install lamp server ubuntu 14.04
Good luck  thank you@http://www.krizna.com/