Archive for the ‘Operating Systems’ Category

WAMP 2.0 is not working with windows 7 beta ? (solved)

Hi friends, tonight is the first day I am installing WAMP 2.0 in my fresh installation of Windows 7 beta. Installation of WAMP was normal and fine. No any problem detected.

OOOOoops!

WAMP server is not starting.. MySQL has been started. Apache got sucked. I was searching throught the whole web including WAMP forum. No benifit. I am putting my all inspection lens into my OS to find the person who is blocking my Apache from start. First I checked in services for any IIS instance. No services like that. Then firewall. No. It is completely open for inbound and outbound for my localhost.

I checked the event lot. I could find the following message in event log.

The Apache service named reported the following error:
>>> (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 .

Then who was it?

It was Skype which I installed first. There is a compatibility issue between Windows7 and Skype. I am getting the warning message while startup of skype each time. So my guess was ok.

Windows 7 warning over Skype

Windows 7 warning over Skype

Just closed it. Everything works fine ! Thanks friends!!

Update :

Please read the 5th comment of me to find the final solution for running skype & wamp 2.0 on windows7 parallely.

http://www.qtf.com.qa

How to setup a local webserver (LAMP) in fedora 9

In this post I am going to write how I was setting up my local webserver in Fedora 9. The server was build up with Apache, MySQL and PHP. Generally known as LAMP.

I am not going to write articles with hundred of lines for each command rather going to show the steps what I did. I believe it will help to many like me.

Important : Before starting to use the command, change the user to root (eg: type su at the command-line and enter the password for the root account)

Step 1. Installig MySQL

First install the MySQL. Use the yum command as follows.

yum install mysql mysql-server

If you want MySQL server with graphical user interface, use the following command instead

yum install mysql mysql-server mysql-administrator mysql-gui-common

Then we need to add the service to auto start and start the MySQL service.

1
2
3
chkconfig --add mysqld
chkconfig mysqld on
/etc/init.d/mysqld start

Now need to setup password for root account

mysqladmin -u root password PASSWORD

Replace the PASSWORD with your password.

Step 2. Installing Apache

Type the following command

yum install httpd

This will install the Apache webserver in the system. After installation, the service must be set to start automatically and start it.

1
2
chkconfig httpd on
service httpd start

Step 3. Installing PHP

Following command will install the PHP and the necessary component to work with MySQL database.

yum install php php-mysql

Now we successfully setup the LAMP in local system. To ensure the installation, restart httpd

service httpd restart

and then create a PHP script under /var/www/html/index.php and enter this ( <?php phpinfo(); ?> ). Open up the web browser and type http://localhost/

Additional Packages

yum install php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc

Thats it, next post I will show how to setup the phpMyAdmin to manage mysql database.