👿Jail (FreeBSD)
If your server is running on FreeBSD (FreeNAS/TrueNAS for example) and you do not want to use virtualization, you can install LANraragi in a jail. This process is rather cli-heavy and error prone (dep
Last updated
pkg update
pkg upgrade
pkg install gnupg
pkg install p5-App-cpanminus
pkg install redis
pkg install libarchive
pkg install ImageMagick7
pkg install libressl
pkg install npm
pkg install p5-mojolicious
pkg install git
cpan Parallel::Loopsmkdir /usr/local/etc/LANraragi
cd /usr/local/etc/LANraragi
git clone -b master http://github.com/Difegue/LANraragi /usr/local/etc/LANraragi
npm run lanraragi-installer install-fullee /usr/local/etc/LANraragi/lrr#!/bin/share/doc/handbook/jails-build
lrr_start()
{
user='root'
cd /usr/local/etc/LANraragi
su ${user} -c "/usr/local/bin/npm start /usr/local/etc/LANraragi/"
}
lrr_startee /etc/rc.d/lrrd#!/bin/sh
. /etc/rc.subr
name="lrr"
rcvar=`lrrd_enable`
command="/usr/local/etc/LANraragi/${name}"
run_rc_command "$1"