Mercurial Hosting > luan
view host/doc/install.txt @ 2064:5fb3a2e6e533 default tip
add instructions to update cert trust store
| author | Violet7 |
|---|---|
| date | Sat, 15 Nov 2025 18:18:46 -0800 |
| parents | dc942f39310e |
| children |
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 / # update trust store, needed for old versions of macos cd "/Applications/Python 3.7/" chmod +x "Install Certificates.command" ./Install\ Certificates.command 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
