Backing up and restoring termux: https://wiki.termux.com/wiki/Backing_up_Termux ----------------------- Setting up apache2 webserver + php https://parzibyte.me/blog/en/2019/04/28/install-apache-php-7-android-termux/ START SERVER: apachectl STOP SERVER: apachectl -k stop ----------------------- Accessing Phone storage https://wiki.termux.com/wiki/Internal_and_external_storage ----------------------- SSH into Termux: - Starting ssh server from termux: "sshd" At boot time ( with termux boot) - Find out local network device ip: "ifconfig" - Find out username: "whoami" - ssh into Termux: "ssh USERNAME@DEVICE_IP -p PORTNUMBER" Or by adding entry to ~/.ssh/config Example: Host s7 HostName 192.168.0.110 User u0_a212 PORT 8022 -> "ssh s7" - To edit the sshd configuration edit ~/etc/ssh/sshd_config Example: " PrintMotd yes PasswordAuthentication yes Subsystem sftp /data/data/com.termux/files/usr/libexec/sftp-server " To also enable sftp (can be used by FTP client to access filesystem (example Filezilla Client)) ----------------------- Ssh into termux from externally: Can be done by getting a Dynamic DNS Example: https://www.noip.com/ ----------------------- Installing node on Termux - "apt install nodejs" - Check npm version "npm -v" - Check node version "node -v" - Install angular globally: "npm install -g @angular/cli" - Install typescript compiler globally: "npm install -g tsc"