Mercurial Hosting > luan
diff host/doc/install.txt @ 2063:dc942f39310e
add instructions to install python
| author | Violet7 |
|---|---|
| date | Sat, 15 Nov 2025 17:49:44 -0800 |
| parents | 8066b8882732 |
| children | 5fb3a2e6e533 |
line wrap: on
line diff
--- a/host/doc/install.txt Sat Nov 15 18:07:51 2025 -0700 +++ b/host/doc/install.txt Sat Nov 15 17:49:44 2025 -0800 @@ -7,35 +7,39 @@ brew tap caskroom/versions brew install caskroom/cask/java8 -3) clone repo +3) install python3 + curl -O https://www.python.org/ftp/python/3.7.9/python-3.7.9-macosx10.9.pkg + sudo installer -pkg python-3.7.9-macosx10.9.pkg -target / + +4) clone repo hg clone https://hg.reactionary.software/repo/luan -4) Install nginx +5) Install nginx brew tap denji/nginx brew install nginx-full -5) Make sudo nginx without password +6) Make sudo nginx without password add string to /etc/sudoers %admin ALL=(ALL) NOPASSWD: /usr/local/bin/nginx -6) compile +7) compile ./update.sh -7) open in browser http://me.luan.software:8080 +8) open in browser http://me.luan.software:8080 Install on production/test machine: -1 - 6 same +1 - 7 same -7) Add startup (macOS) +8) Add startup (macOS) look at autostart.txt -8) Configure ssh for working monitoring and backups (example for s1) +9) Configure ssh for working monitoring and backups (example for s1) create ssh key: ssh-keygen -t rsa -b 4096 -C "administrator@s1.luan.software" (for s1) add ssh key at test.luan.software: edit file /Users/administrator/.ssh/authorized_keys -9) Reboot the machine +10) Reboot the machine sudo reboot -10) Fix PS1 (for s1 example) +11) Fix PS1 (for s1 example) echo "PS1='lh-s1:\W\$ '" >> ~/.bash_profile
