scripts and tools to administer the lingy.in public unix / tilde
Go to file
2021-03-02 18:48:22 +00:00
perl-script provision.pl - changing depdendencies for py crypto 2021-03-02 18:48:22 +00:00
req req .gitignore is now broken out 2020-11-27 06:13:18 +00:00
skel/public_html remove test.cgi... 2020-11-29 02:29:02 -05:00
static main_req.css - fixed invisible checkbox. added opacity so white af input boxes dont blind the user 2020-12-05 23:41:16 +00:00
templates added admin_email to conf 2020-11-28 06:15:29 +00:00
.gitignore create-user.pl - changed to relative file paths. added root check. .gitignore - added vim backup files 2020-11-29 23:26:34 +00:00
app.py added start script 2020-12-05 20:49:16 +00:00
lyadmin.conf.json added admin_email to conf 2020-11-28 06:15:29 +00:00
README.md Added video tutorial 2020-12-08 04:44:58 +00:00
requirements.txt added validations for sshkey pub_key email 2020-11-28 01:41:17 +00:00
user_list.txt added blank user_list.txt 2020-11-28 22:30:55 +00:00
venv.txt

lyadmin

install

Setup a clean instance of OpenBSD

Login as root

Run the below command to automatically provision the tilde instance

pkg_add wget && wget 'https://git.lain.church/gashapwn/lyadmin/raw/branch/master/perl-script/provision.pl' -O - | perl    

or

pkg_add wget && wget 'https://s.lain.la/wrMJw' -O - | perl

After the scripts run, haproxy, the Flask app for user requests (lingyind) and apache will all be installed and started.

lingyind listens on 127.0.0.1 port 5000

apache listens on 127.0.0.1 port 5001

haproxy listens on port 80 on all interfaces

You should be able to open your instance by IP address in your browser and see the home page

Make sure to setup HTTPS, setup authorized keys, disable password auth after install

video tutorial of install

The below video is about 5 minutes and walks through the install of the instance on Digital Ocean.

Please disregard the comment on total price. The cost is probably higher than $100 depending on instance size. I was slightly tired when making this...

https://youdieifyou.work/files/vqkiqquzluv.mp4

conf

in lyadmin.conf.json you can change the site name, set your email address and update the list of custom shells available