diff --git a/install.sh b/install.sh index 60b27cf..bd0f4f9 100644 --- a/install.sh +++ b/install.sh @@ -20,6 +20,9 @@ sudo tar -C /usr/local -xzf go1.21.0.linux-amd64.tar.gz # Create a symbolic link for the Go binary sudo ln -s /usr/local/go/bin/go /usr/local/bin/go +# Get the local IP address of the Linux system +ip_address=$(hostname -I | cut -d' ' -f1) + # Configure Nginx sudo sh -c 'cat > /etc/nginx/sites-available/default < www/config/environment.js + echo "Installation completed!"