Monday, July 18, 2011

What is Apache Web Servers

Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix servers, the Apache Web server has been ported to Windows and other network operating systems (NOS). The name "Apache" derives from the word "patchy" that the Apache developers used to describe early versions of their software.The Apache Web server provides a full range of Web server features, including CGI, SSL, and virtual domains. Apache also supports plug-in modules for extensibility. Apache is reliable, free, and relatively easy to configure.Apache is free software distributed by the Apache Software Foundation. The Apache Software Foundation promotes various free and open source advanced Web technologies.
Following commands are usefull to install apache and phpmyadmin with
1.Installing Mysql:
yum install mysql mysql-server
chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start
 mysqladmin -u root password servertest //this is the root and its password that you required when first time login in phpmyadmin here "root" is user and "servertest" is password
2.Installing Apache2:
yum install httpd
chkconfig --levels 235 httpd on
/etc/init.d/httpd start
3.Installing PHP5:
yum install php
/etc/init.d/httpd restart
4.Getting MysQl support in PHP5:
yum search php
yum install php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml php-xmlrpc
/etc/init.d/httpd restart
5.Installing phpMyAdmin:
cd /var/www/html
wget http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/2.11.11.1/phpMyAdmin-2.11.11.1-english.tar.gz
tar xvfz phpMyAdmin-2.11.11.1-english.tar.gz
mv phpMyAdmin-2.11.11.1-english phpmyadmin
cd phpmyadmin
cp config.sample.inc.php config.inc.php
nano config.inc.php
a file will open just type and replace,cookies,with,http,
service httpd restart

No comments:

Post a Comment