Mercurial Hosting > luan
view 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 source
Install on local machine: 1) install mercurial brew install hg 2) install java brew tap caskroom/versions brew install caskroom/cask/java8 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 5) Install nginx brew tap denji/nginx brew install nginx-full 6) Make sudo nginx without password add string to /etc/sudoers %admin ALL=(ALL) NOPASSWD: /usr/local/bin/nginx 7) compile ./update.sh 8) open in browser http://me.luan.software:8080 Install on production/test machine: 1 - 7 same 8) Add startup (macOS) look at autostart.txt 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 10) Reboot the machine sudo reboot 11) Fix PS1 (for s1 example) echo "PS1='lh-s1:\W\$ '" >> ~/.bash_profile
