scripts and tools to administer the lingy.in public unix / tilde
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
gashapwn 7ccf046cbf README.md - Clarified instructions il y a 3 ans
perl-script lyctl.sh - switching to ksh il y a 3 ans
req req .gitignore is now broken out il y a 3 ans
skel/public_html remove test.cgi... il y a 3 ans
static main_req.css - fixed invisible checkbox. added opacity so white af input boxes dont blind the user il y a 3 ans
templates added admin_email to conf il y a 3 ans
.gitignore create-user.pl - changed to relative file paths. added root check. .gitignore - added vim backup files il y a 3 ans
README.md README.md - Clarified instructions il y a 3 ans
app.py added start script il y a 3 ans
lyadmin.conf.json added admin_email to conf il y a 3 ans
requirements.txt added validations for sshkey pub_key email il y a 3 ans
user_list.txt added blank user_list.txt il y a 3 ans
venv.txt added .gitingore requirements il y a 3 ans

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' -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

conf

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