I've started using an old office Dell Optiplex as a web server. So far I've used it plugged to the TV at the TV Room, to watch Anime, YouTube, and listen to some music on that room. It runs Windows 7. Now, I've seen the day when I update my hardware growing near, and I hope to move my current machine to the TV room, leaving idle the Dell machine. I already went ahead and created a new user, installed VMPlayer, installed Ubuntu Server on it and began running LAMP on it. I set on my router a DHCP reservation so that I don't have to set static IP on each PC. I installed Wordpress on the LAMP server at the Virtual Machine, and now I want some workspace for PHP without creating a site inside the LAMP server. Therefore I installed WAMP on the Windows 7 real machine.
To work on them from the machine at my bedroom, I've been using a mix of filezilla, remote desktop, and just accessing the Wordpress on the browser.
For such access, chmod and chown commands were used on the LAMP server, for the WAMP server I required some configuration that was new to me.
On WAMP's /alias folder there's phpmyadmin.conf and on the bin /apache there's httpd.conf
On both, I edited them to add the following line after the Require local.
Require ip 192.168.1
Require local makes wamp accessible only on the machine running WAMP itself. Since I wanted to access it from another computer on the same LAN, I added that line that allows access from any IP within the same LAN. Otherwise I'd just get 403 errors. The other option was to change the Require local to Require all granted; however that doesn't sits well by me as it gives anyone access and even if it's only running on a local machine at my home, it's not good practice.