/meta/ - 16chan Discussion

Discussion, Feedback, and Improvement of 16chan


[Hide]
Posting Mode: Reply Return
Säge
Name
Subject
Message

Max message length: 5000

Files
E-mail
Password

(used to delete files and postings)

Misc

  • Supported file types: GIF, JPG, PNG, WebM, OGG, and more
  • Max files: 5
  • Max file size: 50.00 MB
  • Read the global rules before you post, as well as the board rules found in the sticky.


02/27/20 IRC/Matrix/and Discord servers are now available, join here.
02/09/20 /ausneets/ has been added!
11/23/19 Donations can now be made via PayPal, thank you for all of your support!
11/21/19 We have successfully migrated to LynxChan 2.3.0, to see all of the changes to 16chan, click here.


[Index] [Catalog] [Archive] [Bottom] [Refresh]

(1.37 MB 1080x1080 8.png)
lynxchan help Lou Skunt 12/16/2019 (Mon) 12:28:59 No. 1066
Lynxchan on one site then php sites for the rest is easy to do on a server with nginx. Does anyone know how to run multiple lynxchan websites on the same server tho?
>>1066 You would have to run them on different ports, by default LynxChan runs on port 8080, you can change this setting in the globalSettings.js, afterwards you would need to setup various NGINX configurations for all of the sites that you host. Furthermore, you would need to have some knowledge of MongoDB in order to setup X many instances. A decent starting point (I have a NGINX configuration that accepts the 8080 proxy in this guide): https://im663.com/post/lynxchan-setup-guide/
>>1067 Well, i figure just a seperate db in db..json for each site, right? I can configure nginx to run multiple sites. My prob is i use systemd/ the lynxchan command. (like in your example) So i can do everything else, but obviously when i type "lynxchan" it would only start one lynxchan site, not sure how to boot up the other sites (and have the ability to shut the ssh terminalwithout shutting down lynxchan instances).
>>1067 I try pm2 in various commands, nothing works. Its interesting how lynxchan was designed to save money yet to date no one made a good tutorial on how to set up multiple lynxchan sites on a single server
>>1067 Oah and in ur tutorial, it would be easy to have ppl set up ufw and fail2ban ufw status sudo ufw app list sudo ufw allow 'Nginx Full' sudo ufw allow 'OpenSSH' ufw enable sudo apt install fail2ban sudo service fail2ban start
>>1066 here is a easier way to install lynxchan by the way. Like line 18, no password required or needed to make that user. 1) apt-get update && apt-get upgrade // then reboot 2) curl -sL https://deb.nodesource.com/setup_12.x | sudo bash - 3) apt-get install -y nodejs 4)apt-get install unzip curl ffmpeg imagemagick file 5) sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 4B7C549A058F8B6B 6) echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb.list 7) apt update 8) sudo apt install mongodb-org 9) cd /lib/systemd/system 10) systemctl daemon-reload 11) systemctl start mongod 12)systemctl enable mongod 13 reboot- cd to any directory you want to put the lynxchan files in 14) git clone https://gitgud.io/LynxChan/LynxChan.git 15) cd LynxChan/aux 17) ./setup.sh 18) useradd node -s /usr/bin/nologin 19) ./root-setup.sh enter yes to soft links then systemd 20) lynxchan -ca -l admin -p YouRPasswordHere -gr 0 21) sudo systemctl enable lynxchan <<< enables boot on startup
>>1074 thats for ubuntu 18.04 lts

Delete
Report


no cookies?