Hi To All The Mindbenders,
Aim:- To Build A Server in Backtrack
Open Up Your terminal and use below commands(text in red)
root@bt:~# mkdir /var/www/themindbenders.tk
root@bt:~# chmod -R 775 /var/www/themindbenders.tk
root@bt:~# chown -R www-data:www-data /var/www/themindbenders.tk/
root@bt:~# service apache2 start2
* Usage: /etc/init.d/apache2 {start|stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}
root@bt:~# service apache2 start2 start
* Usage: /etc/init.d/apache2 {start|stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}
root@bt:~# service apache2 start
* Starting web server apache2 [ OK ]
root@bt:~# cowsay "now put some files in your website"
____________________________________
< now put some files in your website >
------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
root@bt:~# cp '/var/www/index.php' /var/www/themindbenders.tk/
root@bt:~# cp '/var/www/image.png' /var/www/themindbenders.tk/
root@bt:~# ifconfig
now after knowing your ip address give it your friends on the network
eg:- http://192.168.1.3/themindbenders.tk
eg:- http://192.168.1.3/themindbenders.tk
===(Next Is What...?)===