I bought a chromebook to use as a secondary computer, and once I save up money I'd like to buy a windows laptop as a primary computer (not because i dislike my chromebook, i've been very pleased so far). I'd like to run a private mediawiki and maybe wordpress too on my primary computer, for personal writing. Before my old laptop died I used localhost for mediawiki and it was great. But I'd like to access my wiki (and possible wordpress site) from both computers, if possible, and I'd like to do it as securely as possible.
One option I'm thinking might work would be to set up a LAN with apache. I don't know much about LANS so I'd probably have a lot to learn, especially to set it up securely.
Another would be to put the wiki and wordpress on a usb flash drive and plug it in whenever I want to access my sites. I would assume that website updates would appear on both computers (i.e., if I make a new page on one computer, it'll show up next time i access the site on the other computer) as long as I put the wiki/wordpress files and mysql files on the same usb drive, but I wonder if it would work so smoothly in practice. A major issue with this though might be that I'd be using the same files for a linux-based and a windows operating system.
Anyways, I wanted to see if anyone could help verify the plausibility of these methods. Also I'd be very interested to hear of any other ways I could do it. How would you go about setting this up to be private, yet accessible from your 2 computers with different operating systems?