Showing posts with label docker. Show all posts
Showing posts with label docker. Show all posts

Thursday, 14 August 2025

🔥 $0 Remote Desktop? Oracle Cloud FREE Tier + RustDesk Hacks 🔥 | 💥零成本自建远程桌面!甲骨文+RustDesk真香警告💥

Zero-cost remote access, beginners can operate smoothly—this is awesome industry conscience! | 免费就是香!小白也能丝滑搞远程,业界良心没跑了~

Guys! Stop wasting money on remote tools! I found a game-changer—set up RustDesk with Oracle Cloud, zero cost, even newbies can do it.

✨【Pre-Action Key Points】Put your mind at ease first!

✅ Cost: $0! Oracle's free tier lasts forever

✅ Traffic: 10TB/month! Remote control uses so little traffic it’s negligible

✅ Installation: Server-side on cloud (Docker is super easy), client-side on Mac

✅ Account: No registration! Privacy lovers rejoice—no more filling out tons of info~


🖥️【Oracle Cloud Server Prep】Win by copy-pasting!


Open Mac Terminal, connect to cloud server: ssh ubuntu@<your-server-IP> (fill in your own IP!)

Update system & install tools: sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install -y curl ufw (copy the whole line, don’t miss characters!)

Install Docker even easier: curl -fsSL https://get.docker.com | sudo sh (official one-click script, faster than ordering takeout)

Add to Docker group to skip sudo: sudo usermod -aG docker $USER && newgrp docker (no more repeated password entries for Docker—so nice!)

Verify: docker --version, if it shows the version, it’s successful~


🛡️【Dual Firewall Protection】Don’t skip! Safety first!

▪️ Cloud platform operation: Log in to Oracle Console, find 「Network→Virtual Cloud Network→Security List」, add 2 rules:


TCP protocol + 0.0.0.0/0 + port 21115-21119 (RustDesk exclusive channel)

UDP protocol + 0.0.0.0/0 + port 21116 (Don’t ask! It’s double protection)

▪️ Server command: sudo ufw allow 21115:21119/tcp && sudo ufw allow 21116/udp && sudo ufw allow ssh && sudo ufw --force enable (copy and run, firewall becomes impenetrable~)

▪️ Test: Enter nc -l -p 21116 on cloud server, open a new Mac Terminal and enter nc -zv <server-IP> 21116, if it shows succeeded, it’s OK!


🚀【One-Click RustDesk Deployment】I laughed out loud at how easy this is!


Create directory: mkdir ~/rustdesk && cd ~/rustdesk

One-click config generation: Copy the entire following block (don’t split!)

cat > compose.yml <<EOF

services:

hbbs:

image: rustdesk/rustdesk-server:latest

container_name: hbbs

ports:

"21115:21115"

"21116:21116"

"21116:21116/udp"

"21118:21118"

volumes:

./data:/root

restart: unless-stopped

hbbr:

image: rustdesk/rustdesk-server:latest

container_name: hbbr

ports:

"21117:21117"

"21119:21119"

volumes:

./data:/root

restart: unless-stopped

EOF

Start service: docker compose up -d (wait a few seconds, service runs!)

Get public key (super important!): sleep 5 && cat ./data/id_ed25519.pub, copy and save it~


🍎【Mac Client Setup + Test】Witness the miracle!


Install client: brew install --cask rustdesk (if no Homebrew, install from brew.sh first—it’s quick!)

Grant permissions: System Settings→Privacy & Security, check 「Accessibility」and 「Screen Recording」for RustDesk (otherwise you can’t control the screen!)

Fill in config: Open RustDesk, click 「...」→「ID/Relay Server」, fill cloud server IP for both ID Server and Relay Server, paste the saved public key in Key, click Apply. If it shows green "Ready", it’s done!

Test: Open http://<cloud-server-IP>:21115 in browser, enter Mac’s RustDesk ID and password. After successful connection, open Terminal remotely, enter touch ~/Desktop/hw.txt && echo "Hello from OCI RustDesk" > ~/Desktop/hw.txt, the file appears on desktop instantly! I was so excited I hit the table🤣


🔧【Daily Maintenance】Unbelievably easy!


Upgrade: cd ~/rustdesk && docker compose pull && docker compose up -d (pull new image and restart)

Stop service: cd ~/rustdesk && docker compose stop (stop when not in use to save resources)

Start service: cd ~/rustdesk && docker compose start (start when needed, as easy as turning on a light)


Who says remote assistance is hard! This method is $0 and secure, newbies just copy commands. Try it!


宝子们!别再给远程工具交智商税了!我扒到个神操作 —— 用 Oracle 云搭 RustDesk,一分钱不花,手残党也能拿捏。😂


✨【事前划重点】先把心放肚子里!

✅ 成本:0!Oracle 免费额度用到天荒地老

✅ 流量:每月 10TB!远程控制耗的流量连塞牙缝都不够

✅ 安装:云服装服务端(Docker 超简单),Mac 装客户端

✅ 账号:不用注册!隐私党狂喜,再也不用填一堆信息啦~


🖥️【Oracle 云服准备】复制粘贴就赢了!


打开 Mac 终端,输这个连云服:ssh ubuntu@<你的服务器 IP>(IP 填自己的哦)

更新系统装工具:sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install -y curl ufw(复制整条,别手抖漏字符!)

装 Docker 更简单:curl -fsSL https://get.docker.com | sudo sh(官方一键脚本,比点外卖还快)

加 Docker 组告别 sudo:sudo usermod -aG docker $USER && newgrp docker(以后用 Docker 不用反复输密码,爽!)

验证下:docker --version,出版本号就是成功啦~


🛡️【防火墙双保险】别偷懒!安全第一!

▪️ 云平台操作:登 Oracle 控制台,找「网络→虚拟云网络→安全列表」,添 2 条规则:


TCP 协议 + 0.0.0.0/0+21115-21119 端口(RustDesk 专属通道)

UDP 协议 + 0.0.0.0/0+21116 端口(别问!问就是双保险)

▪️ 服务器命令:sudo ufw allow 21115:21119/tcp && sudo ufw allow 21116/udp && sudo ufw allow ssh && sudo ufw --force enable(复制运行,防火墙秒变铜墙铁壁~)

▪️ 测试下:云服输 nc -l -p 21116,Mac 新终端输 nc -zv <服务器 IP> 21116,显 succeeded 就 OK!


🚀【一键部署 RustDesk】这步我笑出鹅叫!


建目录:mkdir ~/rustdesk && cd ~/rustdesk

一键生成配置:复制下面整条(别拆!)

cat > compose.yml <<EOF

services:

hbbs:

image: rustdesk/rustdesk-server:latest

container_name: hbbs

ports:

"21115:21115"

"21116:21116"

"21116:21116/udp"

"21118:21118"

volumes:

./data:/root

restart: unless-stopped

hbbr:

image: rustdesk/rustdesk-server:latest

container_name: hbbr

ports:

"21117:21117"

"21119:21119"

volumes:

./data:/root

restart: unless-stopped

EOF

启动服务:docker compose up -d(等几秒,服务就跑起来啦)

拿公钥(超重要!):sleep 5 && cat ./data/id_ed25519.pub,复制下来存好~


🍎【Mac 客户端配置 + 实测】见证奇迹!


装客户端:brew install --cask rustdesk(没 Homebrew 先去 brew.sh 装,很快!)

给权限:系统设置→隐私与安全性,给 RustDesk 勾「辅助功能」和「屏幕录制」(不然控不了屏哦)

填配置:打开 RustDesk 点「...」→「ID / 中继服务器」,ID 和中继服务器都填云服 IP,Key 粘刚才存的公钥,点应用,显绿色 “就绪” 就成!

实测:用浏览器开 http://<云服 IP>:21115,输 Mac 的 RustDesk ID 和密码,连成功后远程开终端,输 touch ~/Desktop/hw.txt && echo "Hello from OCI RustDesk" > ~/Desktop/hw.txt,桌面立马出文件!我当时激动到拍桌子🤣


🔧【日常维护】简单到离谱!


升级:cd ~/rustdesk && docker compose pull && docker compose up -d(拉新镜像重启就行)

关服务:cd ~/rustdesk && docker compose stop(不用就关,省资源)

开服务:cd ~/rustdesk && docker compose start(要用再开,跟开灯一样简单)


谁再说远程协助难我跟谁急!这方法 0 成本还安全,小白跟着命令抄就行,快试试!

 

Friday, 1 August 2025

Ngrok shields n8n flows with free privacy that's easy peasy | Ngrok护n8n流 免费隐私easy peasy

A "security lock" for n8n workflows at zero cost, even newbies can master it in seconds~ | 零成本给n8n工作流上"安全锁",小白也能秒会~

🐣 Baby-Step Guide

  1. 🧹 Clean Sweep

    • Delete old n8n containers & data

  1. 🔐 Build Crypto-Shield

    • Create ngrokn8n folder

    • Auto-generate 24-bit key🔑

  2. 🤖🚇 Power Duo Launch

    • One-click start:

      • 🤖 n8n automation engine

      • 🛡️ Ngrok encrypted tunnel

    • Auto-handshake✅

  1. 🌐 Claim Your Tunnel

    • Sign up @ ngrok.io (FREE!)

    • Grab domain👉 xxx.ngrok-free.app

    • Paste token to config📋

  2. 🎉 Victory Test

    • Type domain in browser

    • See blue n8n UI? You win!

💥 Survival Tips

  • ❌ Typo Alert: Wrong domain = welcome hackers🕵️

  • 📆 Weekly Check: docker logs for tunnel pulse

  • 🔑 Password Lock: CHANGE DEFAULT NOW!

  • 🔖Ngrok supports HTTPS, encrypts all data in transit, and protects privacy.


🛡️ 操作步骤(小白版)

  1. 🧹 清场重启

    • 卸载旧版n8n容器+数据

    • 避免新老版本冲突

  2. 🛠️ 创建加密盾牌

    • 新建ngrokn8n文件夹

    • 自动生成24位密钥🔑(手残党福音)

  3. 🚇 双通道部署

    • 一键启动Docker双服务:

      • 🤖 n8n自动化核心

      • 🛡️ Ngrok加密隧道

    • 自动互联无需配置

  4. 🌐 认领专属隧道

    • Ngrok官网注册(免费!)

    • 领取域名👉 xxx.ngrok-free.app

    • 复制密钥贴进配置文件📋

  5. ✅ 终极验证

    • 浏览器输入你的域名

    • 看到n8n蓝色界面🎉=成功!

⚠️ 血泪避坑指南

  • ❌域名手抖:填错=裸奔示众

  • 📆每周巡逻:docker logs查隧道心跳

  • 🔑死亡密码:首次登录!立刻!改密码!

  • 🔖Ngrok支持HTTPS,加密数据传输,保护隐私。

Friday, 25 July 2025

🔥【3x-ui Tutorial】3x-ui: Your Digital Invisibility Cloak! - 🔥【3x-ui教程】3x-ui:你的数字隐身衣来了!

Want network privacy protection? Just like traditional Chinese medicine, the right remedy for the right condition! 3x-ui is that magical "immortal herb" that cures network insecurity!

GitHub official: github.com/MHSanaei/3x-ui


✨ What is 3x-ui?

- Open-source free Xray management panel, rarer than ginseng!

- Multi-protocol support: Vmess, Vless, Trojan etc., as versatile as herbal soup

- Visual interface, simpler than reading prescriptions


🚀 Why choose it?

- Completely free: costs nothing, rarer than wild lingzhi

- Beginner-friendly: just point and click, easier than brewing goji berries

- Privacy protection: encrypted data transmission, like wearing golden bell shield

- Multi-user management: one setup benefits the whole family


📦 Docker one-click deployment:

1. Prepare VPS server (like preparing medicine pot)

2. Install Docker (prepare tools)

3. Copy the docker-compose.yml below (Your "herb recipe")

4. Run in VPS: docker-compose up -d (This is like "drinking the medicine" - instant effect!)

5. Access management panel (enjoy the effects)


Example docker-compose.yml:



Update regularly, like using "fresh herbs"




想要网络隐私保护?就像喝中药一样,对症下药才是王道!3x-ui就是那味"神仙草",专治网络不安全!


GitHub官网:github.com/MHSanaei/3x-ui


✨ 什么是3x-ui?

- 开源免费的Xray管理面板,比人参还珍贵!

- 支持多协议:Vmess、Vless、Trojan等,像百草汤一样全能

- 可视化界面,比看病抓药还简单


🚀 为啥选它?

- 完全免费:不花一分钱,比野生灵芝还难得

- 小白友好:点点鼠标就搞定,比泡枸杞还容易

- 隐私护体:数据加密传输,像穿了金钟罩

- 多用户管理:一人配置全家受益


📦 Docker一键部署:

1. 准备VPS服务器(选个靠谱的"药罐子")

2. 安装Docker(相当于"烧开水"的步骤)

3. 复制图中的docker-compose.yml(就是"抓药"的配方)

4. 在 VPS 里运行:docker-compose up -d(这步就像 "喝药",喝完就见效!)

5. 访问管理面板(享受疗效)


例子 docker-compose.yml:


记得定期更新,就像 "中药要新鲜"