- Open Terminal Emulator you use.
- Run Update command.
- sudo apt-get update
- Install Apache.
- sudo apt-get install apache2
- Start the service.
- sudo service apache2 start
- Check whether It's working or not
- http://localhost/
Use these command to start, stop and restart.
- sudo service apache2 start
- sudo service apache2 restart
- sudo service apache2 stop
to get status of apache server.
- sudo service apache2 status
No comments:
Post a Comment