RedHat / openSUSE

The function of v2rayA depends on the V2Ray core, so the kernel needs to be installed.

openSUSE MicroOS, SLE Micro, Fedora Silverblue / Kinoite

If your distribution uses an immutable file system layout, please avoid installing RPM version on host directly.

Go to: Podman tutorial .

Fedora 34 / 35 / 36 and CentOS Stream 8

v2rayA is yet to make into Fedora 37 as of 11/19/2022. The following message from its COPR repo maintainer @zhullyb:

golang 1.18 isn’t available on Fedora 37 yet, and v2ray-core v4.X doesn’t compile with the latest golang, v2rayA latest tag still hasn’t implemented compatibility with v2ray-core v5.X.

Enable copr source

sudo dnf copr enable zhullyb/v2rayA

Install V2ray Core

sudo dnf install v2ray-core

Xray installation: https://github.com/XTLS/Xray-install

Install v2rayA

sudo dnf install v2raya

Fedora Silverblue / Kinoite

You should follow podman tutorial instead. Avoid overlaying packages on Silverblue / Kinoite.

If you want to install it on host anyway, the tutorial to install v2rayA is as of the following:

Add COPR source

sudo curl -Lo /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:zhullyb:v2rayA.repo \
  https://copr.fedorainfracloud.org/coprs/zhullyb/v2rayA/repo/fedora-$(rpm -E %fedora)/zhullyb-v2rayA-fedora-$(rpm -E %fedora).repo

Install v2rayA

sudo rpm-ostree install v2ray-core v2raya

Then, reboot your system. Or use the following command to apply changes to your running system:

sudo rpm-ostree ex apply-live --allow-replacement

Enable and start the service:

sudo systemctl enable --now v2raya.service

Other rpm-based operating systems

This way can install v2rayA for Alma Linux, Rocky Linux, openSUSE, CentOS 7 or other Linux distribution based on rpm package manager, provided that the distribution you are using uses systemd as system management tools .

Install V2Ray core / Xray core

Official script of V2Ray / Xray

V2Ray installation: https://github.com/v2fly/fhs-install-v2ray

Xray installation: https://github.com/XTLS/Xray-install

curl -Ls https://mirrors.v2raya.org/go.sh | sudo bash

You can turn off the service after installation, because v2rayA does not depend on the systemd service.

sudo systemctl disable v2ray --now ### Xray needs to replace the service with xray

Install v2rayA

After downloading the rpm package , run:

sudo rpm -i /path/download/installer_redhat_xxx_vxxx.rpm ### Replace the actual path where the rpm package is located by yourself

Notice

Start v2rayA / Enable v2rayA start automatically

Starting from version 1.5, v2rayA will no longer be started by default for users, nor will it be set to automatically start up by default.

  • Start v2rayA

    sudo systemctl start v2raya.service
    
  • Set auto-start

    sudo systemctl enable v2raya.service
    

Edit this page on GitHub

Last update on: Nov 26, 2022 13:26 UTC

Contributors: cubercsl zhullyb tzfljuv xkicdt mzz2017