天天看点

Android Install Termux

  1. Play Store Install Termux
  2. Install packages:
pkg install openssh      
  1. Open SSH service:
sshd &      
  1. See who am I:
whoami      
  1. See IP:
ifconfig      
  1. Set password:
passwd      
  1. Log in via another computer(port number is 8022):
(ECHO_RESULT_OF_WOAMI)@(IP) -p 8022      
  1. Update PKG:
pkg upgrade      
  1. If ugrade of PKG failed, run the commands below:
pkg remove science-repo
pkg remove game-repo      
  1. Install other packages:
pkg install PACKAGE_NAME      
  1. Allow storage(Click Allow on your phone):
termux-setup-storage      

EOF

.