Showing posts with label 小白. Show all posts
Showing posts with label 小白. Show all posts

Tuesday, 19 August 2025

Huawei CANN Open Source! Can Ordinary People Benefit?🤔 | 华为 CANN 开源!普通人能沾光吗?🤔

✨First, understand what CANN is:

It’s an "acceleration toolkit" Huawei made for its own Ascend AI chips. It helps AI developers run models faster, specifically competing with NVIDIA CUDA~


🙅Ordinary people, don’t get overexcited! We really can’t use it:


Learning: AI development learners can practice on Huawei Cloud, but need coding skills;

Work: Only accessible if your company uses Ascend hardware, not for daily work;

Life: Can’t use it for streaming or shopping, only wait for indirect benefits.


✅But we can look forward to these 3 benefits:


Developers won’t be "tied" to NVIDIA, more freedom to choose hardware;

More Chinese tutorials for learning AI later, lower threshold;

Competition = cheaper AI services! Spend less on photo editing, speech-to-text~


⚠️Short-term flaw:

CANN’s ecosystem is less mature than CUDA. Casual use will only make you "confused"—beginners don’t force it!


🐱Want to experience? 4 steps on Huawei Cloud (no hardware needed):


Search "Huawei Cloud" and register (free quota available);

Find "Ascend AI Gallery" and search "CANN Image Recognition Demo";

Click "One-Click Deployment" and upload a photo of your cat;

Get results in seconds! CANN is working behind the scenes~


We've gone from only having CUDA for acceleration to multiple options today.


💡Summary: Breaking the monopoly is good, let’s wait for cheaper AI services! Beginners, don’t rush—try it when the "beginner-friendly version" comes out~



✨先搞懂 CANN 是啥:

华为给自家 Ascend AI 芯片做的 “加速工具包”,帮 AI 开发者把模型跑更快,专门跟英伟达 CUDA 掰手腕~


🙅普通人别瞎激动!咱真用不上:


学习:学 AI 开发的能借华为云练手,但得会编程;

工作:公司用 Ascend 硬件才碰得到,日常用不上;

生活:刷视频网购直接用不上,只能等间接好处。


✅但这 3 个好处咱能盼着:


开发者不被英伟达 “绑架”,选硬件更自由;

以后学 AI 有更多中文教程,门槛变低;

有竞争 = AI 服务会降价!修图、转文字都能少花钱~


⚠️短期小坑:

CANN 生态没 CUDA 成熟,凑活用只会 “一脸懵”,小白别硬冲!


🐱想体验?华为云 4 步搞定(不用买硬件):


搜 “华为云” 注册(有免费额度);

找 “昇腾 AI Gallery” 搜 “CANN 图片识别 demo”;

点 “一键部署”,传张猫主子照片;

秒出结果!背后就是 CANN 在干活~

以前只有CUDA来加速,现在多个选项


💡总结:打破垄断是好事,咱坐等 AI 服务降价!小白先别急,等 “傻瓜版” 工具再试~


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 成本还安全,小白跟着命令抄就行,快试试!