scripts and tools to administer the lingy.in public unix / tilde
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
gashapwn 4cccba22de README.md - fixed wget typo pirms 3 gadiem
perl-script added bookdl.pl for downloading books from lainchan pirms 3 gadiem
req req .gitignore is now broken out pirms 3 gadiem
skel/public_html remove test.cgi... pirms 3 gadiem
static main_req.css - fixed invisible checkbox. added opacity so white af input boxes dont blind the user pirms 3 gadiem
templates added admin_email to conf pirms 3 gadiem
.gitignore .gitignore - adding more test file patterns pirms 3 gadiem
README.md README.md - fixed wget typo pirms 3 gadiem
app.py added start script pirms 3 gadiem
lyadmin.conf.json added admin_email to conf pirms 3 gadiem
requirements.txt provision.pl - i think Flask install is working again pirms 3 gadiem
user_list.txt added blank user_list.txt pirms 3 gadiem
venv.txt added .gitingore requirements pirms 3 gadiem

README.md

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'; perl provision.pl

or

pkg_add wget && wget 'https://s.lain.la/wrMJw' -O provision.pl; perl provision.pl

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