/halp/ - LynxChan technical assistance

General support

Mode: Reply

Max message length: 4096


Max file size: 1.00 MB

Max files: 3


(used to delete files and postings)

Remember to follow the rules

Easy install Anonymous 09/16/2018 (Sun) 14:15:17 No. 417
Digital ocean has what, like 5 different options of minimal os server to install? So about a 20 line text file with then commands to install dependancies then use git to clone lynxchan then run setup files. One could do the same for other companies like linode. Just a simple text file with the commands to install lynxchan on each particular minimal install os. BAM! Anyone could install lynxchan in about 10 minutes that way.
There's already a script for that, it's the setup and root-setup ones.
not really, the setup scripts don't set up the dependencies at all. Moreover, like each different version of ubuntu actually has slightly different commands to set up some things like the mongo db. here is an example of the text file i made myself to set up lynxchan on ubuntu 18 bionic version. you find NONE of it in the lynxchan setup files of course because its different depending on the os.

apt-get update && apt-get upgrade

1) curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh

2) sudo apt-get install -y nodejs
3) sudo bash nodesource_setup.sh
4) apt-get install nodejs

npm install bcrypt

5) apt-get install unzip curl ffmpeg imagemagick
7)sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
8) echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
9)sudo apt-get update
10) sudo apt-get install -y mongodb-org=4.0.2 mongodb-org-server=4.0.2 mongodb-org-shell=4.0.2 mongodb-org-mongos=4.0.2 mongodb-org-tools=4.0.2
11) cd /lib/systemd/system
12) systemctl daemon-reload
13)systemctl start mongod
14)systemctl enable mongod
15) cd
16) adduser zendo
17) login zendo
18) git clone https://gitgud.io/LynxChan/LynxChan.git
19) cd LynxChan/
20) cd aux
21) ./setup.sh

22) cd ..
23) cd src/
24) cd ../aux/
25) su
26) ./root-setup.sh
says it wants a user of node so
sudo useradd node -s /usr/bin/nologin
enter yes to soft links then systemd
27) exit

npm install bcrypt
Those things are really outside the scope of the engine.
out of the scope of the engine? I'm not talking about an engine. Im talking about making a few simple text files, one for each os, and each version of the os. With about 6 or 7 simple 20 or 30 lines of text to cut and paste in the ssh terminal, anyone would be able to start a lynxchan board in about 10 minutes. BAM. Copy the lines in order, paste into ssh terminal. Everyone is new to node js at one time, and that would make it crazy easy for anyone new to start a board. Just saying.
I really don't feel like getting into what kind of hosting services and distros people use.


Captcha (required for reports and bans by board staff)

no cookies?