'm coming from Windows background.
I used to use WAMP / XAMPP on windows.
Now I 've switched to Ubuntu and 'm loving it.
I was trying to install Apache WebServer on my machine. I googled a bit and found the solution. I didn't knew installing Apache on Linux could be so easy.
- Go to Terminal Window.
- Type sudo apt-get install apache2
- Enter the root password when prompted.
- When installed, open your Web Browser and go to URL http://localhost , If it has been properly installed, you should see It Work's!
- Now try restarting the server, sudo /etc/init.d/apache2 restart . If you receive any error like
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting .apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName - Run the command gksu gedit /etc/apache2/conf.d/fqdn . This will open up GEdit. Enter the following in it: ServerName localhost
- Now you should be able to restart your Apache. Try it out :)
No comments:
Post a Comment