Compare commits

...

7 Commits

Author SHA1 Message Date
gashapwn
ba9ba47081 Added video tutorial 2020-12-08 04:44:58 +00:00
gashapwn
7ccf046cbf README.md - Clarified instructions 2020-12-08 04:36:12 +00:00
gashapwn
d9ca14554e README.md - fixed newlines 2020-12-08 04:32:47 +00:00
gashapwn
64930658e0 README.md - Added install instructions 2020-12-08 04:28:20 +00:00
gashapwn
e0b9b25da4 fixing header 2020-12-08 04:24:11 +00:00
gashapwn
b5a988cdd8 added shortened URL for provision script 2020-12-08 04:22:23 +00:00
gashapwn
772277f922 started readme 2020-12-08 04:18:20 +00:00

44
README.md Normal file
View File

@ -0,0 +1,44 @@
# 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