Skip to content

ica4me/auto-script-free

Repository files navigation

[ScreenShot Main Menu]

📦 Tutorial Instalasi (Step by Step)

Rekomendasi OS: Debian 11 / Debian 12 (Stable)


🖥️ Persyaratan

  • VPS KVM / VM full virtualization
  • RAM minimal 1 GB (Rekomendasi 2GB atau Lebih)
  • Akses root SSH
  • Internet stabil
  • OS target: Debian 11 / 12 /ubuntu 22.04
  • Disarankan VPS kosong / fresh install (Silahkan Rebuild)
  • Pointing Cloudflare Sudah di setting

🔐 Security Group (Firewall Rules)

  • Open all inbound ports 0-65535
  • Open all outbound ports 0-65535
  • Allow All Protocol (Any Protocol)

✅ Urutan Instalasi (Wajib Ikuti)

0) Reinstall VPS ke Debian 12 (Opsional)

wget https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh && chmod +x reinstall.sh && bash reinstall.sh debian 12 && reboot

Tunggu proses selesai → VPS otomatis reboot.


1) Update Sistem & Install Screen

Error -bash: sudo: command not found

cat <<'EOF' > /usr/local/bin/sudo && chmod +x /usr/local/bin/sudo
#!/bin/sh
if command -v /usr/bin/sudo >/dev/null 2>&1; then
    exec /usr/bin/sudo "$@"
fi
if [ "$(id -u)" -eq 0 ]; then
    exec "$@"
fi
echo "sudo not installed and you are not root" >&2
exit 1
EOF

Update Repo

sudo apt update && sudo apt upgrade -y && sudo apt install -y screen wget curl jq

2) Buat Swap (Rekomendasi)

Jalankan Jika Ram di bawah 4Gb:

wget https://raw.githubusercontent.com/ica4me/auto-script-free/main/make-swap.sh && chmod +x make-swap.sh && bash make-swap.sh

3) Setup Install (wajib)

Persiapan Sebelum instalasi Utama.

wget -qO- https://raw.githubusercontent.com/ica4me/auto-script-free/main/install/install-setup.sh | bash

Daftarkan IP

sudo bash -c 'curl -fsSL --retry 3 --retry-delay 2 --connect-timeout 10 https://raw.githubusercontent.com/ica4me/auto-script-free/main/romsip.sh | bash'

4) Install Auto Script setup.sh (wajib)

wget https://raw.githubusercontent.com/ica4me/auto-script-free/main/setup.sh
chmod +x setup.sh
screen ./setup.sh

Gunakan screen agar instalasi tetap berjalan jika SSH terputus.


5) Finis Install

sudo bash -c 'curl -fsSL --retry 3 --retry-delay 2 --connect-timeout 10 https://raw.githubusercontent.com/ica4me/auto-script-free/main/install/finish-install.sh | bash'

Fix ALL file usr-local-sbin Penganti comand (sed -i 's/\r$//' /usr/local/sbin/*), sed tidak aman.

wget -qO- https://raw.githubusercontent.com/ica4me/auto-script-free/main/fix-error/fix-usr-local-sbin.sh | bash

Fix Hproxy dan Nginx

wget -qO- https://raw.githubusercontent.com/ica4me/auto-script-free/main/fix-error/fix-proxy-nginx.sh | bash

Jika masih error jalankan ini (Jika error: Ganti Let's Encrypt menjadi ZeroSSL)

wget -qO- https://raw.githubusercontent.com/ica4me/auto-script-free/main/fix-error/zerossl.sh | bash

Fix Xray Failed Start (Jika error)

wget -qO- https://raw.githubusercontent.com/ica4me/auto-script-free/main/fix-error/fix-xray.sh | bash

REPAIR IPTABLES NAT PREROUTING

wget -qO- https://raw.githubusercontent.com/ica4me/auto-script-free/main/fix-error/Iptables-nat-repair.sh | bash

8) Reboot VPS (Opsional)

m-reboot

Fix Systemctl yang hilang

wget -qO- https://raw.githubusercontent.com/ica4me/auto-script-free/main/fix-error/fix-systemctl.sh | bash

Fix Xray file config.json hilang

wget -qO- https://raw.githubusercontent.com/ica4me/auto-script-free/main/fix-error/restore-xrayconfjson.sh | bash

Instal ulang Xray (file xray hilang)

bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install -u www-data --version 1.8.4

Alternatif Install ulang Xray

# Pindah ke direktori root
cd /root

# Unduh Xray versi 1.8.4
wget -O Xray-linux-64.zip https://github.com/XTLS/Xray-core/releases/download/v1.8.4/Xray-linux-64.zip

# Ekstrak file binary xray ke /usr/local/bin/
unzip -o Xray-linux-64.zip xray -d /usr/local/bin/

# Berikan hak akses (permission) agar bisa dieksekusi
chmod +x /usr/local/bin/xray

# Hapus file zip sisa instalasi
rm Xray-linux-64.zip

# Pastikan folder dan file log dimiliki oleh www-data
chown -R www-data:www-data /var/log/xray
mkdir -p /var/run/xray
chown www-data:www-data /var/run/xray

# Muat ulang konfigurasi systemd
systemctl daemon-reload

# Restart Xray
systemctl restart xray

# Cek kembali statusnya
systemctl status xray

✅ Instalasi Selesai


🛠️ Troubleshooting

❌ Script tidak jalan

Pastikan:

  • Login sebagai root
  • Internet VPS aktif
  • Tidak ada firewall blocking

❌ Instalasi terputus

Gunakan screen:

screen -r

❌ Tidak bisa login SSH setelah ubah port

Gunakan Port 22/2003/2026

ssh root@ip-vps -p 2003


👤 Mod by / Source

Website:

https://vip.meiyu.my.id/

Github:
https://github.com/ica4me

Reinstall Script:
https://github.com/bin456789/reinstall


📜 Lisensi

Go Free


⭐ Selesai

Selamat VPS Anda siap digunakan 🚀

Service & Port List

Setting CloudFlare
  • Pointing Domain

  • TLS/SSL Harus pilih yang FULL
  • Always HTTPS harus dimatiin
  • Network aktifin WebSocket dan gRPC
  • Tambahkan wilcard agar support bug pakai wildcard

SUPPORT & DONASI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages