| Server IP : _ / Your IP : 169.254.129.1 Web Server : nginx/1.28.0 System : Linux 89e302d72aa1 6.6.143.1-1.azl3 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 04:01:14 UTC 2026 x86_64 User : nginx ( 103) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/local/bin/ |
Upload File : |
#!/bin/bash
set -ex
# Install dependencies
apt-get update
apt-get install -y --no-install-recommends inotify-tools coreutils rsync build-essential ocaml wget unzip
# Download and install Unison
cd /tmp
wget -O unison-${UNISON_VERSION}.tar.gz https://github.com/bcpierce00/unison/archive/${UNISON_VERSION}.tar.gz
tar -xzvf unison-${UNISON_VERSION}.tar.gz
rm unison-${UNISON_VERSION}.tar.gz
cd unison-${UNISON_VERSION}
make
cp ./src/unison /usr/local/bin
cp ./src/unison-fsmonitor /usr/local/bin
cd /tmp
rm -rf unison-${UNISON_VERSION}
# Configure directories
mkdir -p ${UNISON}
mkdir -p ${UNISON_LOG_DIR}
# Cleanup unnecessary packages
apt-get purge -y --auto-remove build-essential ocaml
apt-get clean
rm -rf /var/lib/apt/lists/*