In this tutorial I will show you have to install Xaccel on Ubuntu 22.04
Login your server as root
Install the Nvidia Driver if the server has Nvidia GPU inside
Install the X Acceleration Codec panel
If you want to change the xaccel port, you can do it like this
After the port changing you can access your xaccel with http://yourip.com:85 (your new port number)
Login your server as root
Rich (BB code):
sudo apt update && sudo apt upgrade -y
apt-get install systemd build-essential libdrm2 net-tools pciutils libxext* libxfixes* libpciaccess* linux-headers-`uname -r` -y
apt-get purge nvidia-* -y
apt-get autoremove -y
Install the Nvidia Driver if the server has Nvidia GPU inside
Rich (BB code):
echo "blacklist nouveau" > /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
echo "options nouveau modeset=0" >> /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
update-initramfs -u
reboot
service lightdm stop
nvidia-uninstall --silent
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/495.46/NVIDIA-Linux-x86_64-495.46.run
bash ./NVIDIA-Linux-x86_64-495.46.run --silent --install-libglvnd
Install the X Acceleration Codec panel
Rich (BB code):
wget http://ftp.xaccel-codec.com/releases/xaccel-codec-4.7.20.sh
bash ./xaccel-codec-4.7.20.sh -i
If you want to change the xaccel port, you can do it like this
Rich (BB code):
cd /opt/xaccel-codec && bin/web --set-http-port 85
cd /opt/xaccel-codec && bin/web --set-rtmp-port 1936
After the port changing you can access your xaccel with http://yourip.com:85 (your new port number)