Install program on Ubuntu via Zip file

Start local PHP server on Mac

Open a terminal, change to directory with source and type php -S localhost:8000.

Connect ADB over Wifi on Ubuntu

Connect the device per USB. Write adb tcpip 5555 into a terminal. Find out the IP address of the device within the Wifi network. Type adb connect [IP-address]:5555 into a terminal.