Install VPSBench on any supported Linux VPS with one command:
curl -fsSL https://raw.githubusercontent.com/linux-system443/vpsbench/main/install.sh | bashThen run:
vpsbench quickNote: The installer requires root/sudo privileges to install system dependencies.
The installer will:
- Detect your package manager (apt, dnf, yum, pacman)
- Install required system dependencies (Python 3, fio, sysbench, iputils-ping, git)
- Create a virtual environment at
/opt/vpsbench/venv - Install VPSBench into the virtual environment
- Create a global
vpsbenchcommand at/usr/local/bin/vpsbench - Verify the installation with
vpsbench --version
- Python 3.10 or later
- pip package manager
- Linux operating system (Debian/Ubuntu recommended)
pip install vpsbenchgit clone https://github.com/linux-system443/vpsbench.git
cd vpsbench
pip install .git clone https://github.com/linux-system443/vpsbench.git
cd vpsbench
pip install -e ".[dev]"VPSBench requires certain system tools for benchmarking.
# Debian/Ubuntu
sudo apt update
sudo apt install fio sysbench iputils-ping
# AlmaLinux/Rocky Linux/Fedora
sudo dnf install fio sysbench iputils# For Docker benchmarks (Minecraft, Docker overhead)
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER
# Log out and back in for group changes to take effect
# For contention testing
sudo apt install stress-ng
# For advanced network diagnostics
sudo apt install mtr-tiny
# For network throughput testing
sudo apt install iperf3sudo apt update && sudo apt install -y \
fio \
sysbench \
iputils-ping \
stress-ng \
mtr-tiny \
iperf3
# Docker (optional)
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USERvpsbench --version
vpsbench --helpCopy the example config and customize:
python -c "from vpsbench.config.loader import generate_config_file; generate_config_file()"Edit vpsbench.yaml as needed.
# Full gaming benchmark
vpsbench
# Quick benchmark
vpsbench quick
# Specific tests
vpsbench cpu
vpsbench disk
vpsbench network
# Save results
vpsbench --json results.jsonSome benchmarks require elevated privileges. Run with sudo if needed:
sudo vpsbenchAdd your user to the docker group:
sudo usermod -aG docker $USER
# Log out and back inIf using direct=1, you may need root access:
sudo vpsbench diskNetwork tests depend on external servers. If tests are slow:
- Check your internet connection
- Try different regions:
vpsbench network - Customize endpoints in config file