/lynxchan/ - LynxChan

The best engine you will ever shitpost with.



Keep threads on-topic.
Roadmap
Installation video tutorial
Vichan migration script

Reply:



Max Message Length: 4096
Don't show location
Make sure I have a block bypass
Files:
Spoiler Max File Size: 1.00 MB
File Limit Per Post: 3
Remember to follow the rules .


LynxChan Installation Tutorial Cat 01/06/2017 (Fri) 01:14:08 Id: e5d5f0 No. 385
Open file ( 10.49 KB 979x973 ebin.jpg )
This is for debian.

Pre-install: Make sure you've created a user account with sudo rights, and use it for the rest of the tutorial. Do not run lynxchan on the root account.

1. Install nodejs

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential

2. Install Mongodb
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
sudo apt-get update
sudo apt-get install -y mongodb-org

3. Install imagemagick
sudo apt-get install imagemagick

4. Install ffmpeg
sudo echo deb http://www.deb-multimedia.org testing main non-free \
>>/etc/apt/sources.list
sudo apt-get update
sudo apt-get install deb-multimedia-keyring
sudo apt-get update
sudo apt-get install ffmpeg

5. Clone lynxchan into your home folder
cd
sudo apt-get install git
git clone https://gitgud.io/LynxChan/LynxChan.git

6. set up lynxchan
cd LynxChan/aux
./setup.sh
Continue through it, I recommend installing the default front-end at first.

7. run the root setup so 'lynxchan' becomes a command
sudo ./root-setup.sh

8. run lynxchan for the first time

lynxchan

ctrl c to close it

Part 2: Setting up a different front-end
You can either edit the current fe or get another one. Check out the list here.

1. Find the fe that you want
cd
cd LynxChan/src
git clone 'the one you want'

2. Create the root account
lynxchan -ca -l login -p pass -gr 0
where login and pass are the login and password of your choice

3. run lynxchan
lynxchan

4. Head into your account. The default port is 8080
so localhost:8080 or ipaddress:8080 in your web browser
localhost:8080/login.html

login with your newly created root account

5. head into localhost:8080/globalSettings.html
change a bunch of settings, but mostly change the fe to the folder of the desired fe.
example, if you cloned freechMinimalism, change the 'fe' part to 'freechMinimalism'

6. Save, the stop the engine and rebuild
lynxchan -r

Running lynxchan through nginx reverse web proxy

1. install nginx
sudo apt-get install nginx

2. remove apache2/stop apache2
to remove:
sudo service apache2 stop
sudo apt-get remove apache2
sudo apt-get autoremove

to stop:
sudo service apache2 stop

3. change the conf files for nginx
cd /etc/nginx/sites-a*
nano domain.org

paste this
<code>
server {
listen 80;
server_name localhost;

location / {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $remote_addr;
}
}
</code>

link it

ln -s /etc/nginx/sites-available/domain.org /etc/nginx/sites-available/domain.org

delet the old config
cd /etc/nginx/sites-e*
rm -Rf default

start lynxchan as a service, then start nginx
sudo service nginx start
sudo service lynxchan start

access it from your web browser

--------------------------------------------------

Tell me if you want a https://letsencrypt.org/getting-started/ tutorial for nginx, it's simple though just google it

Cat 01/06/2017 (Fri) 03:41:01 Id: e5d5f0 No. 386
sticky >>385 pls

Cat 01/06/2017 (Fri) 22:08:55 Id: 7e6a20 No. 387
AYO HOL UP
THESE INSTRUCTIONS B 4 DEBIAN WHEEZY N SHEET
RUNNING THESE INSTRUCTIONS ON JESSIE ARE LIKELY TO JUST FUCK YOUR SHIT UP

>Corrected Version:
1. Install Node.JS v6.x

INSTALL MONGODB USING THE DEBIAN PACKAGE. IT'S ALREADY IN THE REPOS

DEB MULTIMEDIA IS NO LONGER REQUIRED FOR FFMPEG.

[code]sudo apt-get install ffmpeg[/code]

The rest of it is good hombre

Cat 04/24/2018 (Tue) 02:56:29 Id: 3f79c9 No. 528
https://git.teknik.io/nic/berndchan/wiki/How-to-Install-Lynxchan-2.0.0-on-Debian-9.4-

Looking to contribute with the people if anyone wants another guide, I also included the https guide.

Cat 04/24/2018 (Tue) 12:03:40 Id: d0ea7c No. 529
>>528
On step 9, you are not updating npm, but the libraries lynxchan uses.

On step 11, changing the restart to always will cause it to be restarted even if the engine is requests to shutdown with -s. I don't think that's desirable.

Cat 04/24/2018 (Tue) 12:09:16 Id: d0ea7c No. 530
>>528
On step 14, you don't NEED that to have https, but it's certainly more convenient when using LE. You could let lynxchan handle SSL on it's own, it just wouldn't be able to renew the certificate on it's own.

On step 20 you don't have to enable SSL on lynxchan since nginx is already handling that. Since you didn't place the ssl files where lynxchan can find them, it will just error and don't listen to SSL. Even if it did, since nginx is using port 443 it wouldn't be able to listen it anyway.

On step 22 you don't have to start lynxchan if you didn't change the ssl setting on step 20.

Cat 04/25/2018 (Wed) 12:38:32 Id: f79b70 No. 531
>>529
>>530
Fixed the guide

Cat 04/28/2018 (Sat) 19:47:56 Id: 9f5237 No. 532
How to put favicon added in the guide too

Mega Milk 05/01/2018 (Tue) 01:26:23 Id: b3efe5 No. 533
>>532
Woohoo!

Cat 05/12/2018 (Sat) 15:48:18 Id: 0191e4 No. 536
>>385
hey homey is there a bulgarichan im not aware of?

Cat 05/13/2018 (Sun) 07:46:17 Id: 820108 No. 538
Fixed the guide (again and better) specially the Nginx proxy pass + Let's Encrypt HTTPS certs and easy automatic renewal part

any kind of feedback is welcomed and i'll add it

https://git.teknik.io/nic/berndchan/wiki/How-to-Install-Lynxchan-2.0.0-on-Debian-9.4-

nic 05/14/2018 (Mon) 18:02:19 Id: b52509 No. 539
Cat 10/02/2018 (Tue) 01:40:06 Id: b55833 No. 626
>>385
i dont fucking get what im supposed to do with domain.org?????????? is it a placeholder for my own domain? the symlink command isn't even working, and "sudo service lynxchan start" gives me "Failed to start lynxchan.service: Unit lynxchan.service not found."

Cat 10/02/2018 (Tue) 12:14:14 Id: 1f8535 No. 627
>>626
If the lynxchan service wasn't found, you didn't run the root-setup script and asked for it to install the service.


Reason:
Password:
Global
Delete only files
Delete media (Actually removes the saved files from the server, standard file deletion only removes the reference to the selected posts)

Captcha(Used for reporting and bans by board staff): No cookies?