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
tar xvfz phpMyAdmin-
mv phpMyAdmin- phpmyadmin
cd phpmyadmin
a file will open just type and replace,cookies,with,http,
service httpd restart

No comments:

Post a Comment