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
- Host: GitHub
- URL: https://github.com/jipok/void-infect
- Owner: Jipok
- Created: 2024-10-28T17:30:51.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-03-03T16:36:25.000Z (8 months ago)
- Last Synced: 2025-03-30T15:51:17.089Z (7 months ago)
- Topics: bash-script, linux-installer, serverconfig, sysctl, void-linux, vps
- Language: Shell
- Homepage:
- Size: 248 KB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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

## 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 rebootsNo 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.**