2020-12-07 23:24:11 -05:00
|
|
|
# lyadmin #
|
2020-12-07 23:18:20 -05:00
|
|
|
|
2020-12-07 23:28:20 -05:00
|
|
|
## install ##
|
|
|
|
|
|
|
|
Setup a clean instance of OpenBSD
|
2020-12-07 23:32:47 -05:00
|
|
|
|
2020-12-07 23:28:20 -05:00
|
|
|
Login as root
|
2020-12-07 23:32:47 -05:00
|
|
|
|
2020-12-07 23:28:20 -05:00
|
|
|
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
|
|
|
|
```
|
|
|
|
|
|
|
|
Make sure to setup HTTPS, setup authorized keys, disable password auth
|
|
|
|
|
|
|
|
## conf ##
|
|
|
|
|
|
|
|
in lyadmin.conf.json you can change the site name, set your email address and update the list of custom shells available
|
|
|
|
|