An open API service indexing awesome lists of open source software.

https://github.com/jipok/void-infect

Install Void linux over the existing OS on VPS
https://github.com/jipok/void-infect

bash-script linux-installer serverconfig sysctl void-linux vps

Last synced: 6 months ago
JSON representation

Install Void linux over the existing OS on VPS

Awesome Lists containing this project

README

          

# 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](https://github.com/user-attachments/assets/bbab2376-2e5d-4bce-95bd-fe478c8b1bbc)

## Prerequisites
- Root access
- SSH keys in `/root/.ssh/authorized_keys`
- Installation time: ~2 minutes

## Usage
```bash
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](https://github.com/Jipok/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:

```bash
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](https://github.com/user-attachments/assets/706f4e09-6054-4ca3-ad30-4d8585498f6f)