/termux_aria

My file bash, and configurate for termux

Primary LanguagePython

termux_aria

My file bash, and configurate for termux

introductiontable of contentsDownloadRelatedLicense

🚀 introduction

this is my termux conf, and my file for run termux

Bash linux

📋 Table of Contents

set up termux
  • setup
    termux-setup-storage # akses storage
    termux-change-repo # change repository
    
  • update repo
    pkg update pkg upgrade upgrade # or pkg-get <option>
    
  • install package
    pkg install git wget zip unzip nano
    pkg install python python2 python3 ruby
      - gem install lolcat
    pkg install cmatrix neofetch toilet # showfigfonts ex: toilet -f big -F gat ariafatah
    
  • install package opsional for developer
    pkg install nodejs clang php # opsional
    
change font
  • open browser go to url nerdfonts.com
    • Donwodl > and search JetBrains > copy url link
  • mkdir fonts; cd fonts
    • wget url_link
    • unzip nama_file.zip
  • cp JetBrainsMonoNerdFont-Bold.ttf ~/.termux/font.ttf
ssh
  • server

    • Pkg install openssh
    • passwd
      • sshd #nyalain ssh
      • pidof sshd #cek ssh udh nyala
    • Ifconfig #wlan 0
      • Nmap 10.10.10.1 #port 8022/tcp
  • client

    • ssh username@ip_address -p 8022

package

apache2
  • apt install apache2
  • nano ../usr/etc/apache2/httpd.conf
  • cd ../usr/share/apache2/default-site/htdocs/
    • nano index.html
  • apache2 -k start -f "/path/to/your/httpd.conf" -D "Listen 8080"
  • apache2 -k stop
nginx
  • apt install nginx
  • nano ../usr/etc/nginx/nginx.conf
  • cd ../usr/share/nginx/html/
    • nano index.html
  • nginx -h
  • nginx -s start -f "/path/to/your/httpd.conf" -D "Listen 8080"
  • nginx -s stop
weeman
ngrok
  • Login acc https://ngrok.com/
    • Donwoald Linux arms64
  • cd storage/downloads
    • cp -f nama_file.tgz $HOME
    • tar -xvzf namafile.tgz
    • chmod +x ngrok
  • copy ur acc Authtoken
    • ./ngrok config add-authtoken your_token
    • ./ngrok config upgrade
  • use VPN to safety and Turn on hotspot
neovim

linux gui

termux x11
  • install termux x11 in https://github.com/termux/termux-x11
  • open termux
    • pkg install x11-repo
    • pkg install termux-x11-nightly
    • pkg install proot-distro
  • proot-distro -h
    • proot-distro list
    • proot-distro install debian
  • login distro
    • proot-distro login debian
    • apt update -y
    • apt install nano adduser
    • apt install sudo
    • adduser ariafatah
    • nano /etc/sudoers
      # User privilege specification
      root    ALL=(ALL:ALL) ALL
      ariafatah       ALL=(ALL:ALL) ALL
      
    • su ariafatah
    • sudo apt install xfce4 -y
    • exit, exit
  • termux
  • how use
    • Dalam mode emulasi touchpad Anda dapat menggunakan gerakan berikut:
      • Ketuk klik
      • Ketuk dua kali untuk klik dua kali
      • Ketuk dua jari untuk klik kanan
      • Ketuk tiga jari untuk klik tengah
      • Gesek vertikal dua jari untuk gulir vertikal
      • Gesek horizontal dua jari untuk gulir horizontal
      • Gesek tiga jari ke bawah untuk memperlihatkan-menyembunyikan bilah tombol tambahan.
    • Mode layar sentuh simulasi.
    • Dalam mode layar sentuh simulasi, Anda dapat menggunakan gerakan berikut:
      • Ketuk sekali untuk klik tombol kiri.
      • Ketuk lama untuk memegang mouse.
      • Ketuk dua kali untuk klik dua kali
      • Ketuk dua jari untuk klik kanan
      • Ketuk tiga jari untuk klik tengah
      • Gesek vertikal dua jari untuk gulir vertikal
      • Gesek horizontal dua jari untuk gulir horizontal
      • Gesek tiga jari ke bawah untuk memperlihatkan-menyembunyikan bilah tombol tambahan.
xfce4
  • apt install xfce4-terminal
  • chrome
    • apt install chromium -y
    • chromium --no-sandbox
    • setting panel, remove browser default, setting laucher, add chromium, and change command add --no-sandbox
  • visual studio
    • install visual studio in browser .deb
      • sudo dpkg -i package.deb
      • setting panel, add laucher, setting laucher, add vscode
      • add add paramter --no-sandbox
vnc server
  • proot distro
    • apt install tigervnc-standalone-server
    • apt install dbus-x11
    • which startxfce4
    • vncserver -xstartup /usr/bin/startxfce4
    • vncserver -xstartup /usr/bin/startxfce4 -localhost no
    • vncserver -kill :1
  • if have many local port
    • rm -f /tmp/.X11-unix/X1 /tmp/.X1-lock /tmp/.X11-unix/X2 /tmp/.X2-lock

🔨 download

  1. Open a terminal or command prompt on your computer.
  2. Navigate to the directory where you want to save this project.
  3. Use the following command to download the project from the GitHub repository:
    git clone https://github.com/ariafatah0711/termux_aria.git

📈 related

©️ license