scripts and tools to administer the lingy.in public unix / tilde
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

před 3 roky
před 3 roky
123456789101112131415161718192021222324252627282930313233343536
  1. # lyadmin #
  2. ## install ##
  3. Setup a clean instance of OpenBSD
  4. Login as root
  5. Run the below command to automatically provision the tilde instance
  6. ```
  7. pkg_add wget && wget 'https://git.lain.church/gashapwn/lyadmin/raw/branch/master/perl-script/provision.pl' -O - | perl
  8. ```
  9. or
  10. ```
  11. pkg_add wget && wget 'https://s.lain.la/wrMJw' -O - | perl
  12. ```
  13. After the scripts run, haproxy, the Flask app for user requests (lingyind) and apache will all be installed and started.
  14. lingyind listens on 127.0.0.1 port 5000
  15. apache listens on 127.0.0.1 port 5001
  16. haproxy listens on port 80 on all interfaces
  17. You should be able to open your instance by IP address in your browser and see the home page
  18. Make sure to setup HTTPS, setup authorized keys, disable password auth after install
  19. ## conf ##
  20. in lyadmin.conf.json you can change the site name, set your email address and update the list of custom shells available