Skip to content

Jipok/void-infect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Void Linux VPS Installer

Script for replacing existing Linux system with Void Linux on VPS servers.

Tested with Debian, Ubuntu and CentOS

Tested on VDSina.com, FirstByte.pro

screenshot

Prerequisites

  • Root access
  • SSH keys in /root/.ssh/authorized_keys
  • Installation time: ~2 minutes

Usage

wget https://raw.githubusercontent.com/Jipok/void-infect/refs/heads/master/void-infect.sh
chmod +x void-infect.sh
./void-infect.sh

The script automatically:

  • Downloads and configures Void Linux rootfs
  • Installs essential packages and Cute-bash
  • Tune sysctl
  • Replaces existing OS and reboots

No manual intervention required. Just run and wait for the reboot.

Home Server Edition

For installing Void Linux on a physical home server, use the alternative script:

wget https://raw.githubusercontent.com/Jipok/void-infect/refs/heads/master/void-install.sh
chmod +x void-install.sh
nano void-install.sh        # Change settings in file header
./void-install.sh /dev/sdX  # Replace with your target disk

Note: This script must be run from a LiveUSB environment or when installing to a secondary disk that's not currently hosting the running system.

IMG_20250303_205030_651