-
Notifications
You must be signed in to change notification settings - Fork 44
mod_harbour setup for Windows Linux subsystem
FiveTech Software edited this page Apr 12, 2020
·
3 revisions
0. Go to Windows features and enable the Windows SubSystem Linux. Windows will ask you to reboot.
C:\Windows\System32\OptionalFeatures.exe
1. Go to Windows Store and download Ubuntu 18.04 LTS
2. A prompt will appear on Windows and click on Launch. After some minutes you will be prompted for a username and password of your choice
3. From Ubuntu do this:
git clone https://github.com/fivetechsoft/mod_harbour
chmod +x ./mod_harbour/linux/go.sh
./mod_harbour/linux/go.sh
4. On Windows Microsoft Edge or Chrome go to localhost/test.prg
5. To start making your own tests, from Ubuntu do:
sudo nano -c /var/www/html/test.prg
Ctrl+X to save
or much much better: use vscode from Windows to edit your bash (Linux) files. Run this from Ubuntu:
code .
and refresh your browser