Skip to content

cicy-dev/gcp-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System Status and Service Management

Quick Start

Check all services and system status:

bash ~/tools/status.sh

Service Management Scripts

Chrome (chrome.sh)

Manage Google Chrome with remote debugging capabilities.

bash ~/tools/chrome.sh install   # Install Chrome
bash ~/tools/chrome.sh start     # Start Chrome with debugging
bash ~/tools/chrome.sh stop      # Stop Chrome
bash ~/tools/chrome.sh status    # Check Chrome status

Features:

  • Automatic display detection (VNC or headless)
  • Remote debugging on port 9222
  • Process management and duplicate prevention

VNC (vnc-start.sh)

Start VNC server and noVNC web interface.

bash ~/tools/vnc-start.sh

Access:

Cloudflare Tunnel (cloudflared-tunnel.sh)

Manage Cloudflare tunnel for external access.

bash ~/tools/cloudflared-tunnel.sh

Requires: CF_TUNNEL environment variable

System Status (status.sh)

Comprehensive system and service health check.

bash ~/tools/status.sh

Checks:

  • System resources (CPU, memory, disk)
  • Software installations
  • Service processes and ports
  • Network connectivity
  • Data directories
  • Log files

Port Reference

Port Service Description
22 SSH Remote shell access
5901 VNC TigerVNC server
6080 noVNC Web-based VNC client
9222 Chrome Remote debugging protocol

Quick Diagnostics

If status.sh reports errors, follow the provided recommendations:

  • Chrome not running: bash ~/tools/chrome.sh start
  • VNC not running: bash ~/tools/vnc-start.sh
  • Git missing: sudo apt install -y git
  • Docker missing: curl -fsSL https://get.docker.com | sh

Log Locations

  • Chrome: ~/data/browser/chrome/chrome.log
  • Cloudflare Tunnel: ~/logs/tunnel.log
  • System logs: ~/logs/

About

Google Cloud Platform tools and utilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors