Aug, 2017 => https://insights.ubuntu.com/2017/08/03/upgrading-your-ubuntu-on-windows-install-to-the-app-version/
How to setup a Windows 10 Computer with Linux Subsystem, GitHub, Apache2 and PHP.
- Install the Linux Subsytem
- Installing Apache & PHP (sudo apt-get install apache2 libapache2-mod-php7.0 php7.0 php7.0-mysql mysql-server) a. PhpMyAdmin https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04
- Install Eclipse an create a Folder on the C: Partion Root
winwww
which your eclipse Workspace is located. - Create Symlink from Subsystem to NTFS Partition
a.
cd /var/www/html
b.ln -s /mnt/c/winwww
- Modify the Apache2 sites-enabled DocumentRoot to match
/var/www/html/winwww
- Install Git for Windows, generate an ssh key and register on GitHub: https://git-scm.com/download/win
- Now Import your Projects trough Eclipse into your Workspace.
- Open localhost in your Browser.
Composer: curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
PHP Extensions:
sudo apt-get install php-curl php-mbstring php-zip
Enjoy!
(Reinstalling Linux Subystem: https://www.howtogeek.com/261188/how-to-uninstall-or-reinstall-windows-10s-ubuntu-bash-shell/)