Catalog of /b/

Mode: Thread
Name
Subject
Message

Max message length: 20000

Files

Max file size: 100.00 MB

Max files: 3

E-mail
Password

(used to delete files and postings)

Misc

Remember to follow the rules

R: 7 / I: 3 / P: 1

[TUTO] LynxChan 2.4.0 installation on Ubuntu 18.04 LTS + server configuration with nginx + let's encrypt + cloudflare + installing a third party front end + adding addons + setting a vanity onion address. Keep in mind this is just an example, it might contains some errors, there are numerous others ways to do this, be creative and find your own way. If you see anything that could be improved please share it here. At the end of this tutorial, you should have exactly the same website as https://bchan.net Minimum configuration: 1gb ram, 1 CPU core, 5gb SSD Recommended: 2gb ram, 1 CPU core, 10gb SSD Obviously you'll need a VPS, host-name and be able to SSH and FTP into the VPS. Some infographic to find good hosting for free speech or to avoid DMCA strikes https://weboas.is/media/host.png http://archive.vn/QUZJ6 Referral code for frantech (don't use their DDOS protection): https://my.frantech.ca/aff.php?aff=3665 Referral code for sporestack: https://sporestack.com/#ref=4c0bb4fe1bec8a9271f7994b41e988462d0bf0730539f09d915d4241cfc246fc http://spore64i5sofqlfz5gq2ju4msgzojjwifls7rok2cti624zyq3fcelad.onion/#ref=4c0bb4fe1bec8a9271f7994b41e988462d0bf0730539f09d915d4241cfc246fc Check official LynxChan git page here: https://gitgud.io/LynxChan/LynxChan You can see a video tutorial of the first steps here: >>14 Let's begin: sudo apt-get update sudo apt-get upgrade press y create user with root privilege and continue with this user (I'll create an user named bchan) tuto: https://www.digitalocean.com/community/tutorials/how-to-create-a-sudo-user-on-ubuntu-quickstart http://archive.vn/hFyJU adduser username usermod -aG sudo username su - username Get a few necessary depencies from packages: sudo apt-get update sudo apt install curl sudo apt install build-essential sudo apt-get install manpages-dev sudo apt install zlib1g sudo apt-get install yasm sudo apt-get install imagemagick sudo apt-get install libmagick++-dev sudo apt install libimage-exiftool-perl sudo apt install git unzip file sudo apt-get update install node.js, we install here with nvm according to those instructions (https://github.com/nvm-sh/nvm#install--update-script): curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm nvm install lts/erbium nvm use lts/erbium check version: node -v I get: v12.x.x Create a symlink for lynxchan to be able to run as a service later, don't forget to set the correct version you have just installed. sudo ln -s /home/bchan/.nvm/versions/node/v12.x.x/bin/node /usr/bin/node Installing the correct version of MongoDB: wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list sudo apt-get update sudo apt-get install -y mongodb-org sudo systemctl enable mongod sudo systemctl start mongod Check version: mongod --version I get: db version v4.2.6 git version: 20364840b8f1af16917e4c23c1b5f5efd8b352f8 OpenSSL version: OpenSSL 1.1.1 11 Sep 2018 allocator: tcmalloc modules: none build environment: distmod: ubuntu1804 distarch: x86_64 target_arch: x86_64 Build ffmpeg from source, might take a bit of time depending of your server: sudo apt-get update sudo apt-get install pkg-config sudo apt install git git clone git://source.ffmpeg.org/ffmpeg.git cd ffmpeg git checkout release/4.2 sudo ./configure --enable-shared --enable-pic sudo make sudo make install sudo nano /etc/ld.so.conf paste this include ld.so.conf.d/*.conf /usr/lib /usr/local/lib ctrl + x Y sudo ldconfig ffmpeg -version ffmpeg version n4.2.3-5-g221e490d42 Copyright (c) 2000-2020 the FFmpeg developers Let's install LynxChan now: cd git clone https://gitgud.io/LynxChan/LynxChan.git cd /home/bchan/LynxChan/aux ./setup.sh >Do you wish to download the default front-end to the default location? : y >Do you wish to install the libraries? Requires node.js installed. y >Do you wish to install the default settings from the example? (0.0.0.0:8080 to listen to requests, expects a database at localhost:27017) y >Do you wish to install the necessary data to use location flags? (y,n) n (we will see that later) >Do you wish to change to the latest stable version? (y,n) y (to get the latest stable version) n (to get the dev version, require other dependencies) In order to be able to run LynxChan as a service we are going to have to create a new user by the name of node. sudo adduser node sudo usermod -aG sudo node Always in the folder LynxChan/aux/: sudo ./root-setup.sh >Do you wish to install the command lynxchan for all users using a soft-link?: y >Do you wish to install a init script? Requires install as a command and an user called node on the system to run the engine, so it also must have permissions on the engine files. (systemd, upstart, openrc, blank for none): systemd You can enable LynxChan to boot on startup by running the following command: sudo systemctl enable lynxchan allow to run the LynxChan service through the node user: sudo apt-get install libcap2-bin sudo setcap 'cap_net_bind_service=+ep' `which node` sudo setcap cap_net_bind_service=+ep `readlink -f \`which node\`` Everything should be correctly installed Type lynxchan in your terminal and you should see: Worker 1 booted at Sat, 13 Jun 2020 19:33:04 GMT If it shows some mongodb error press ctrl+c wait a few seconds and type "lynxchan" again, it should disapear. You can now view your imageboard on the IP address of your VPS (trailed with :8080) or if you installed it locally you can access it at localhost:8080. Terminate the LynxChan script with ctrl + c Next we are going to generate a Root user for LynxChan, You should change username and password to values that you plan on using. lynxchan -ca -l username -p password -gr 0 With this command you can login at http://127.0.0.1:8080/login.html

R: 0 / I: 0 / P: 1

Well done my friend! I recommend this imageboard to all my corporate associates. Shalom.

R: 1 / I: 0 / P: 1

Join the comfy board :). We need people like you. https://zchan.cc/b/

R: 1 / I: 0 / P: 1

join the clabchan make a board enjoy yourself god bless you https://chan.clab.li/ xyuuhos6tnz2beina5ya67qvrabrulnthr6o2l4plkm6jch6dgkek7yd.onion