Showing posts with label Oracle. Show all posts
Showing posts with label Oracle. 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, 18 July 2025

How I Finessed 4 Free ARM Babies — Oracle Cloud Hits Different 💸 | 🔥白嫖4台ARM小鸡攻略 甲骨文免费云真香

Free 4-Core 24G Split into 4 VPS — Cloud Gaming IRL 😭| 免费4核24G变4台VPS爽翻天

### **Step-by-Step (Fortune Teller Edition)**  

1. **Find the "Lucky Spot"**  

   Login → Click "☰" → Select **Region** → Target **Phoenix**!  

   *Psst: Seoul/Singapore sold out! Try Jakarta/Mumbai (turtle-speed internet included 🐢)*  


2. **Order Your "Cloud Bubble Tea"**  

   Click **Create Instance** →  

   ☑️ Name: `Free-Rider-1` (get creative!)  

   ☑️ Image: **Ubuntu 22.04 Minimal** (skinny OS = more power!)  

   ☑️ Shape: **Arm Ampere A1** → Slide to **1 CPU + 6GB RAM + 50GB SSD**  

   ☑️ SSH Key: Generate one (*Clueless? Google "ssh-keygen" - 30 sec magic!* → ssh -i pathToKey opc@hostIP)  

   ✅ Click **Create** → Wait 1 min → **BAM! Server alive!**  


3. **Xerox Machine Mode**  

   Repeat Step 2 → Create **Free-Rider-2/3/4**!  

   *Watch them line up like obedient ducklings* 🐥🐥🐥🐥  

   ⚠️ Golden Rule: Total storage ≤ 200GB (50GB x 4 = perfect!)  


---


### **Pro Survival Tips**  

- 🌍 **Cold Regions = More Quota** (Mumbai/Jakarta FTW!)  

- ⏰ **Log in weekly** or Oracle will "recycle" your VPS ♻️  

- 🚫 **NEVER pick Windows** (ARM says NOPE!)  

- 🎮 **Playtime VPS**: SSH → host websites/run bots/docker party! 


🚀操作步骤(超详细版)

  1. 选对 “风水宝地”
    登录后点右上角 “三横”→选 “区域”→认准Phoenix(凤凰城)!新加坡、首尔这些热门地 Arm 配额早被抢光啦~(小声:印尼、孟买也能试试,不过网速可能像蜗牛)

  2. 创建实例像点奶茶
    点 “创建实例”→
    ✅名称:随便填(比如 “白嫖一号”)
    ✅镜像:选Ubuntu 22.04 Minimal(内存占用少,省资源小能手)
    ✅形状:选Arm Ampere A1→配置拉到1c6g50g, VM.Standard.A1.Flex(免费神器!)
    ✅密钥:生成一个(不会的话百度 “SSH 密钥生成”,30 秒搞定 → ssh -i 你的密钥文件路径 opc@主机公网IP)
    ✅点 “创建”,等 1 分钟就开机啦!

  3. 四台主机 “批量复制”
    重复步骤 2,再创建三台!注意总磁盘别超过 200G(每台 50G 刚好)。最后去 “实例” 页面,四台整整齐齐排排坐,成就感拉满!

💡省钱小秘诀

  • 💡选冷门区域(如孟买),配额多还没人抢!

  • 💡主机别闲置,偶尔连一下,防止被 Oracle “回收”~

  • ⚠️ 避坑:别选Windows(不支持ARM),Ubuntu最省心

  • 🚀 玩VPS:SSH连上就能建站/挂机器人/跑docker(爽!)