Installing LAMP ( Linux,Apache,Mysql,PHP)
you are in ubuntu, so linux is already you installed
installing remaining
Apache, MySQL,and PHP in Ubuntu
install tasksel : tasksel is really small and awesome utility to installing server components
- sudo -i
- [ your password ]
- tasksel
- choose LAMP press tab to navigate
- and click OK
- and wait untill it finish downloading
- /etc/init.d/apache start
- and open browser and navigate to : http://localhost
- if you want to test php then open a text editor and type
- <?php phpinfo() ?>
- save it as info.php in your local www directory ( /var/www/)
- and open http://localhost/info.php
NOTE : all configuration is for local development environment don't apply on a production environment
Enjoy LAMP stack






This comment has been removed by a blog administrator.
ReplyDeletemay be tasksel is outdated think
ReplyDeletebut it has many other options its depend on users preference