{"id":124113,"date":"2026-03-30T17:27:18","date_gmt":"2026-03-30T10:27:18","guid":{"rendered":"https:\/\/tino.vn\/blog\/?p=124113"},"modified":"2026-10-24T17:53:23","modified_gmt":"2026-10-24T10:53:23","slug":"cai-dat-openclaw-tren-vps","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/cai-dat-openclaw-tren-vps\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t OpenClaw tr\u00ean VPS b\u1eb1ng Docker"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>\u0110\u1ec3 c\u00e0i OpenClaw tr\u00ean VPS b\u1eb1ng Docker, b\u1ea1n c\u1ea7n m\u1ed9t VPS Ubuntu c\u00f3 quy\u1ec1n root ho\u1eb7c sudo: c\u00e0i Docker v\u00e0 Docker Compose, t\u1ea3i m\u00e3 ngu\u1ed3n OpenClaw t\u1eeb GitHub, ch\u1ea1y <code>.\/scripts\/docker\/setup.sh<\/code> \u0111\u1ec3 nh\u1eadp API key v\u00e0 k\u1ebft n\u1ed1i Telegram, r\u1ed3i \u0111\u0103ng nh\u1eadp Control UI b\u1eb1ng Gateway token.<\/strong> Cu\u1ed1i b\u00e0i c\u00f3 c\u00e1ch x\u1eed l\u00fd l\u1ed7i &#8220;origin not allowed&#8221; khi m\u1edf Control UI v\u00e0 c\u00e1c l\u01b0u \u00fd khi ch\u1ea1y th\u1eadt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n \u0111ang c\u00f3 s\u1eb5n m\u1ed9t chi\u1ebfc <a href=\"https:\/\/tino.vn\/blog\/vps-la-gi\/\">VPS<\/a> v\u00e0 mu\u1ed1n c\u00e0i \u0111\u1eb7t <a href=\"https:\/\/tino.vn\/blog\/openclaw-la-gi\/\">OpenClaw<\/a> tr\u00ean \u0111\u00f3 cho an to\u00e0n thay v\u00ec c\u00e0i tr\u00ean m\u00e1y t\u00ednh c\u00e1 nh\u00e2n? B\u00e0i vi\u1ebft d\u01b0\u1edbi \u0111\u00e2y h\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t OpenClaw tr\u00ean VPS b\u1eb1ng Docker m\u1ed9t c\u00e1ch chi ti\u1ebft, gi\u00fap thi\u1ebft l\u1eadp h\u1ec7 th\u1ed1ng nhanh ch\u00f3ng v\u00e0 \u1ed5n \u0111\u1ecbnh. \u0110\u00e2y c\u0169ng l\u00e0 b\u00e0i \u0111\u1ea7u m\u1ed1i c\u1ee7a nh\u00f3m h\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t, VPS v\u00e0 v\u1eadn h\u00e0nh OpenClaw; m\u1ee5c l\u1ee5c c\u00e1c b\u00e0i n\u1eb1m \u1edf cu\u1ed1i trang.<\/p>\n\n\n\n<h2 id=\"C\u00e1c_y\u00eau_c\u1ea7u_c\u1ea7n_chu\u1ea9n_b\u1ecb_tr\u01b0\u1edbc_khi_c\u00e0i_\u0111\u1eb7t\">C\u00e1c y\u00eau c\u1ea7u c\u1ea7n chu\u1ea9n b\u1ecb tr\u01b0\u1edbc khi c\u00e0i \u0111\u1eb7t<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 qu\u00e1 tr\u00ecnh tri\u1ec3n khai OpenClaw di\u1ec5n ra su\u00f4n s\u1ebb v\u00e0 h\u1ec7 th\u1ed1ng v\u1eadn h\u00e0nh \u1ed5n \u0111\u1ecbnh trong th\u1eddi gian d\u00e0i, m\u00e1y ch\u1ee7 VPS c\u1ea7n \u0111\u00e1p \u1ee9ng c\u00e1c ti\u00eau ch\u00ed k\u1ef9 thu\u1eadt d\u01b0\u1edbi \u0111\u00e2y:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>H\u1ec7 \u0111i\u1ec1u h\u00e0nh: Y\u00eau c\u1ea7u m\u00e1y ch\u1ee7 s\u1eed d\u1ee5ng m\u00f4i tr\u01b0\u1eddng Linux. Phi\u00ean b\u1ea3n ho\u1ea1t \u0111\u1ed9ng t\u01b0\u01a1ng th\u00edch hi\u1ec7n nay l\u00e0 Ubuntu 22.04 ho\u1eb7c Ubuntu 24.04.<\/li>\n\n\n<li>Quy\u1ec1n truy c\u1eadp: \u0110\u1ea3m b\u1ea3o t\u00e0i kho\u1ea3n \u0111\u0103ng nh\u1eadp c\u00f3 quy\u1ec1n qu\u1ea3n tr\u1ecb vi\u00ean cao nh\u1ea5t, bao g\u1ed3m quy\u1ec1n root ho\u1eb7c sudo, nh\u1eb1m cho ph\u00e9p th\u1ef1c thi c\u00e1c l\u1ec7nh c\u00e0i \u0111\u1eb7t c\u1ea5p h\u1ec7 th\u1ed1ng m\u1ed9t c\u00e1ch tr\u01a1n tru.<\/li>\n\n\n<li>M\u00f4i tr\u01b0\u1eddng ph\u1ea7n m\u1ec1m: C\u1ea7n c\u00e0i \u0111\u1eb7t s\u1eb5n n\u1ec1n t\u1ea3ng Docker v\u00e0 c\u00f4ng c\u1ee5 Docker Compose tr\u00ean m\u00e1y ch\u1ee7. \u0110\u00e2y l\u00e0 \u0111i\u1ec1u ki\u1ec7n \u0111\u1ec3 \u0111\u00f3ng g\u00f3i v\u00e0 v\u1eadn h\u00e0nh to\u00e0n b\u1ed9 m\u00e3 ngu\u1ed3n OpenClaw an to\u00e0n, \u0111\u1ed9c l\u1eadp.<\/li>\n\n\n<li>B\u1ed9 nh\u1edb trong RAM: M\u00e1y ch\u1ee7 c\u1ea7n trang b\u1ecb t\u1ed1i thi\u1ec3u 2GB RAM \u0111\u1ec3 kh\u1edfi \u0111\u1ed9ng d\u1ecbch v\u1ee5. Tuy nhi\u00ean, m\u1ee9c c\u1ea5u h\u00ecnh \u0111\u01b0\u1ee3c khuy\u1ebfn ngh\u1ecb l\u00e0 4GB RAM tr\u1edf l\u00ean nh\u1eb1m \u0111\u1ea3m b\u1ea3o t\u1ed1c \u0111\u1ed9 ph\u1ea3n h\u1ed3i nhanh ch\u00f3ng khi AI ph\u1ea3i x\u1eed l\u00fd nhi\u1ec1u t\u00e1c v\u1ee5 c\u00f9ng l\u00fac.<\/li>\n\n\n<li>Kh\u00f4ng gian l\u01b0u tr\u1eef: Dung l\u01b0\u1ee3ng \u1ed5 c\u1ee9ng tr\u1ed1ng t\u1ed1i thi\u1ec3u ph\u1ea3i \u0111\u1ea1t 10GB. Kh\u00f4ng gian n\u00e0y s\u1ebd \u0111\u01b0\u1ee3c h\u1ec7 th\u1ed1ng s\u1eed d\u1ee5ng \u0111\u1ec3 l\u01b0u tr\u1eef c\u00e1c Docker image, d\u1eef li\u1ec7u \u1ee9ng d\u1ee5ng c\u0169ng nh\u01b0 nh\u1eadt k\u00fd ho\u1ea1t \u0111\u1ed9ng h\u00e0ng ng\u00e0y.<\/li>\n\n\n<li>Kh\u00f3a API k\u1ebft n\u1ed1i AI: C\u1ea7n chu\u1ea9n b\u1ecb s\u1eb5n kh\u00f3a API \u0111ang trong tr\u1ea1ng th\u00e1i k\u00edch ho\u1ea1t t\u1eeb c\u00e1c nh\u00e0 cung c\u1ea5p m\u00f4 h\u00ecnh ng\u00f4n ng\u1eef l\u1edbn nh\u01b0 Anthropic ho\u1eb7c OpenAI. \u0110\u1ea3m b\u1ea3o t\u00e0i kho\u1ea3n c\u1ee7a n\u1ec1n t\u1ea3ng cung c\u1ea5p API \u0111\u00e3 \u0111\u01b0\u1ee3c thi\u1ebft l\u1eadp th\u00f4ng tin thanh to\u00e1n h\u1ee3p l\u1ec7.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026: t\u00e0i li\u1ec7u OpenClaw kh\u00f4ng c\u00f4ng b\u1ed1 RAM t\u1ed1i thi\u1ec3u; m\u1ee9c 2GB\/4GB \u1edf tr\u00ean l\u00e0 kinh nghi\u1ec7m th\u1ef1c t\u1ebf. N\u1ebfu script build image ngay tr\u00ean VPS, docs y\u00eau c\u1ea7u \u00edt nh\u1ea5t 6GB RAM; VPS nh\u1ecf h\u01a1n n\u00ean d\u00f9ng image d\u1ef1ng s\u1eb5n (xem b\u01b0\u1edbc 2). Chi ti\u1ebft theo t\u1eebng ki\u1ec3u d\u00f9ng: <a href=\"https:\/\/tino.vn\/blog\/cau-hinh-toi-thieu-de-chay-openclaw-tren-vps\/\">c\u1ea5u h\u00ecnh t\u1ed1i thi\u1ec3u \u0111\u1ec3 ch\u1ea1y OpenClaw tr\u00ean VPS<\/a>.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/cai-dat-openclaw-tren-vps-1.png\" alt=\"C\u00e1c y\u00eau c\u1ea7u c\u1ea7n chu\u1ea9n b\u1ecb tr\u01b0\u1edbc khi c\u00e0i \u0111\u1eb7t OpenClaw tr\u00ean VPS\" class=\"wp-image-124142\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/cai-dat-openclaw-tren-vps-1.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/cai-dat-openclaw-tren-vps-1-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<h2 id=\"H\u01b0\u1edbng_d\u1eabn_c\u00e1c_b\u01b0\u1edbc_c\u00e0i_\u0111\u1eb7t_OpenClaw_tr\u00ean_VPS_b\u1eb1ng_Docker\">H\u01b0\u1edbng d\u1eabn c\u00e1c b\u01b0\u1edbc c\u00e0i \u0111\u1eb7t OpenClaw tr\u00ean VPS b\u1eb1ng Docker<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u01b0\u1edbc khi b\u1eaft \u0111\u1ea7u, b\u1ea1n c\u00f3 th\u1ec3 tham kh\u1ea3o h\u01b0\u1edbng d\u1eabn: <a href=\"https:\/\/tino.vn\/blog\/cach-ket-noi-vps\/\">c\u00e1ch k\u1ebft n\u1ed1i VPS qua SSH<\/a>.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_1:_C\u1eadp_nh\u1eadt_h\u1ec7_th\u1ed1ng_v\u00e0_c\u00e0i_\u0111\u1eb7t_m\u00f4i_tr\u01b0\u1eddng_Docker\">B\u01b0\u1edbc 1: C\u1eadp nh\u1eadt h\u1ec7 th\u1ed1ng v\u00e0 c\u00e0i \u0111\u1eb7t m\u00f4i tr\u01b0\u1eddng Docker<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ea7u ti\u00ean, c\u1ea7n l\u00e0m m\u1edbi danh s\u00e1ch c\u00e1c g\u00f3i ph\u1ea7n m\u1ec1m v\u00e0 c\u00e0i \u0111\u1eb7t nh\u1eefng c\u00f4ng c\u1ee5 h\u1ed7 tr\u1ee3 c\u1ea7n thi\u1ebft. Truy c\u1eadp v\u00e0o VPS qua SSH v\u00e0 ch\u1ea1y tu\u1ea7n t\u1ef1 c\u00e1c l\u1ec7nh sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt upgrade -y\nsudo apt install ca-certificates curl gnupg lsb-release git -y<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1101\" height=\"661\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-1.png\" alt=\"C\u1eeda s\u1ed5 Xshell k\u1ebft n\u1ed1i SSH t\u1edbi VPS Ubuntu 24.04 v\u00e0 ch\u1ea1y l\u1ec7nh sudo apt update &amp;&amp; sudo apt upgrade -y\" class=\"wp-image-124114\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-1.png 1101w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-1-300x180.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-1-1024x615.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-1-768x461.png 768w\" sizes=\"(max-width: 1101px) 100vw, 1101px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ti\u1ebfp theo, th\u00eam kh\u00f3a b\u1ea3o m\u1eadt GPG ch\u00ednh th\u1ee9c v\u00e0 kho l\u01b0u tr\u1eef c\u1ee7a n\u1ec1n t\u1ea3ng Docker v\u00e0o h\u1ec7 th\u1ed1ng:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir -p \/etc\/apt\/keyrings\ncurl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo gpg --dearmor -o \/etc\/apt\/keyrings\/docker.gpg\necho \"deb [arch=$(dpkg --print-architecture) signed-by=\/etc\/apt\/keyrings\/docker.gpg] https:\/\/download.docker.com\/linux\/ubuntu $(lsb_release -cs) stable\" | sudo tee \/etc\/apt\/sources.list.d\/docker.list &gt; \/dev\/null<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ti\u1ebfn h\u00e0nh c\u00e0i \u0111\u1eb7t Docker Engine v\u00e0 c\u00f4ng c\u1ee5 Docker Compose:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin -y<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1370\" height=\"797\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-2.png\" alt=\"Terminal c\u00e0i c\u00e1c g\u00f3i docker-ce, docker-compose-plugin, containerd tr\u00ean Ubuntu 24.04\" class=\"wp-image-124115\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-2.png 1370w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-2-300x175.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-2-1024x596.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-2-768x447.png 768w\" sizes=\"(max-width: 1370px) 100vw, 1370px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi c\u00e0i \u0111\u1eb7t xong, h\u00e3y kh\u1edfi \u0111\u1ed9ng d\u1ecbch v\u1ee5 v\u00e0 thi\u1ebft l\u1eadp ch\u1ebf \u0111\u1ed9 t\u1ef1 \u0111\u1ed9ng ch\u1ea1y m\u1ed7i khi kh\u1edfi \u0111\u1ed9ng l\u1ea1i m\u00e1y ch\u1ee7:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl start docker\nsudo systemctl enable docker<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1413\" height=\"805\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-3.png\" alt=\"Terminal sau l\u1ec7nh sudo systemctl start docker v\u00e0 sudo systemctl enable docker\" class=\"wp-image-124116\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-3.png 1413w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-3-300x171.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-3-1024x583.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-3-768x438.png 768w\" sizes=\"(max-width: 1413px) 100vw, 1413px\" \/><\/figure>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_2:_T\u1ea3i_m\u00e3_ngu\u1ed3n_OpenClaw\">B\u01b0\u1edbc 2: T\u1ea3i m\u00e3 ngu\u1ed3n OpenClaw<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">S\u1eed d\u1ee5ng l\u1ec7nh clone \u0111\u1ec3 l\u1ea5y to\u00e0n b\u1ed9 m\u00e3 ngu\u1ed3n m\u1edbi nh\u1ea5t t\u1eeb kho l\u01b0u tr\u1eef ch\u00ednh th\u1ee9c v\u00e0 di chuy\u1ec3n v\u00e0o th\u01b0 m\u1ee5c l\u00e0m vi\u1ec7c. Ch\u1ea1y tu\u1ea7n t\u1ef1 c\u00e1c l\u1ec7nh sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/openclaw\/openclaw.git\ncd openclaw<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1257\" height=\"838\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-4.png\" alt=\"Terminal ch\u1ea1y git clone https:\/\/github.com\/openclaw\/openclaw.git v\u00e0 cd openclaw tr\u00ean VPS\" class=\"wp-image-124117\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-4.png 1257w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-4-300x200.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-4-1024x683.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-4-768x512.png 768w\" sizes=\"(max-width: 1257px) 100vw, 1257px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi di chuy\u1ec3n v\u00e0o th\u01b0 m\u1ee5c d\u1ef1 \u00e1n, h\u00e3y th\u1ef1c thi t\u1eadp l\u1ec7nh thi\u1ebft l\u1eadp t\u1ef1 \u0111\u1ed9ng:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/scripts\/docker\/setup.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">T\u1eadp l\u1ec7nh n\u00e0y s\u1ebd t\u1ef1 \u0111\u1ed9ng x\u00e2y d\u1ef1ng h\u00ecnh \u1ea3nh \u1ee9ng d\u1ee5ng, kh\u1edfi t\u1ea1o c\u00e1c th\u01b0 m\u1ee5c c\u1ea5u h\u00ecnh v\u00e0 ch\u1ea1y c\u1ed5ng k\u1ebft n\u1ed1i.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1434\" height=\"804\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-5.png\" alt=\"Terminal ch\u1ea1y .\/scripts\/docker\/setup.sh, Docker build image openclaw:local t\u1eeb Dockerfile\" class=\"wp-image-124118\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-5.png 1434w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-5-300x168.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-5-1024x574.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-5-768x431.png 768w\" sizes=\"(max-width: 1434px) 100vw, 1434px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026: mu\u1ed1n b\u1ecf qua b\u01b0\u1edbc build (c\u1ea7n \u00edt nh\u1ea5t 6GB RAM), ch\u1ea1y <code>export OPENCLAW_IMAGE=\"ghcr.io\/openclaw\/openclaw:latest\"<\/code> tr\u01b0\u1edbc <code>.\/scripts\/docker\/setup.sh<\/code> \u0111\u1ec3 d\u00f9ng image d\u1ef1ng s\u1eb5n (<a href=\"https:\/\/docs.openclaw.ai\/install\/docker\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Docker<\/a>). C\u00e1c \u1ea3nh onboarding d\u01b0\u1edbi \u0111\u00e2y ch\u1ee5p th\u00e1ng 3\/2026; \u1edf b\u1ea3n 2026.10.x, ch\u1eef tr\u00ean m\u00e0n h\u00ecnh v\u00e0 th\u1ee9 t\u1ef1 c\u00e2u h\u1ecfi c\u00f3 th\u1ec3 kh\u00e1c nh\u01b0ng \u00fd ngh\u0129a c\u00e1c b\u01b0\u1edbc gi\u1eef nguy\u00ean.<\/em><\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_3:_C\u1ea5u_h\u00ecnh_th\u00f4ng_tin_x\u00e1c_th\u1ef1c_AI\">B\u01b0\u1edbc 3: C\u1ea5u h\u00ecnh th\u00f4ng tin x\u00e1c th\u1ef1c AI<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ngay sau khi Docker image x\u00e2y d\u1ef1ng xong, m\u00e0n h\u00ecnh terminal s\u1ebd hi\u1ec3n th\u1ecb m\u1ed9t tr\u00ecnh h\u01b0\u1edbng d\u1eabn t\u01b0\u01a1ng t\u00e1c. T\u1ea1i \u0111\u00e2y, h\u00e3y ch\u1ecdn Yes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1314\" height=\"754\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-6.png\" alt=\"M\u00e0n Security warning trong onboarding OpenClaw, l\u1ef1a ch\u1ecdn Yes \u0111\u1ec3 ti\u1ebfp t\u1ee5c\" class=\"wp-image-124119\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-6.png 1314w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-6-300x172.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-6-1024x588.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-6-768x441.png 768w\" sizes=\"(max-width: 1314px) 100vw, 1314px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3, ch\u1ecdn Quick Start \u0111\u1ec3 b\u1ecf qua c\u00e1c b\u01b0\u1edbc thi\u1ebft l\u1eadp ban \u0111\u1ea7u.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1295\" height=\"795\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-7.png\" alt=\"B\u01b0\u1edbc Setup mode trong onboarding OpenClaw, ch\u1ecdn QuickStart\" class=\"wp-image-124120\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-7.png 1295w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-7-300x184.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-7-1024x629.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-7-768x471.png 768w\" sizes=\"(max-width: 1295px) 100vw, 1295px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ti\u1ebfp \u0111\u00f3, ch\u1ecdn ph\u01b0\u01a1ng th\u1ee9c x\u00e1c th\u1ef1c v\u1edbi c\u00e1c n\u1ec1n t\u1ea3ng AI. Gi\u1ea3i ph\u00e1p ph\u1ed5 bi\u1ebfn l\u00e0 s\u1eed d\u1ee5ng kh\u00f3a API t\u1eeb nh\u00e0 cung c\u1ea5p Anthropic ho\u1eb7c OpenAI.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1256\" height=\"776\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-8.png\" alt=\"Danh s\u00e1ch Model\/auth provider trong onboarding OpenClaw, m\u0169i t\u00ean ch\u1ec9 v\u00e0o OpenAI (Codex OAuth + API key)\" class=\"wp-image-124121\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-8.png 1256w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-8-300x185.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-8-1024x633.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-8-768x474.png 768w\" sizes=\"(max-width: 1256px) 100vw, 1256px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">H\u00e3y \u0111\u0103ng nh\u1eadp v\u00e0o trang qu\u1ea3n tr\u1ecb c\u1ee7a nh\u00e0 cung c\u1ea5p, kh\u1edfi t\u1ea1o m\u1ed9t kh\u00f3a API m\u1edbi v\u00e0 d\u00e1n tr\u1ef1c ti\u1ebfp v\u00e0o terminal. \u0110\u1ea3m b\u1ea3o t\u00e0i kho\u1ea3n cung c\u1ea5p API \u0111\u00e3 \u0111\u01b0\u1ee3c thi\u1ebft l\u1eadp ph\u01b0\u01a1ng th\u1ee9c thanh to\u00e1n h\u1ee3p l\u1ec7.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1116\" height=\"620\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-9.png\" alt=\"T\u00f3m t\u1eaft QuickStart: Gateway port 18789, bind Loopback, auth Token; ch\u1ecdn OpenAI auth method\" class=\"wp-image-124122\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-9.png 1116w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-9-300x167.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-9-1024x569.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-9-768x427.png 768w\" sizes=\"(max-width: 1116px) 100vw, 1116px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nh\u1eadp API Key:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1593\" height=\"626\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-10.png\" alt=\"B\u01b0\u1edbc Enter OpenAI API key trong onboarding OpenClaw\" class=\"wp-image-124123\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-10.png 1593w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-10-300x118.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-10-1024x402.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-10-768x302.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-10-1536x604.png 1536w\" sizes=\"(max-width: 1593px) 100vw, 1593px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ecdn model:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1174\" height=\"733\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-11.png\" alt=\"Danh s\u00e1ch Default model c\u1ee7a OpenAI trong onboarding OpenClaw, \u0111ang ch\u1ecdn openai\/gpt-5.4\" class=\"wp-image-124124\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-11.png 1174w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-11-300x187.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-11-1024x639.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-11-768x480.png 768w\" sizes=\"(max-width: 1174px) 100vw, 1174px\" \/><\/figure>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_4:_T\u00edch_h\u1ee3p_k\u00eanh_nh\u1eafn_tin_Telegram\">B\u01b0\u1edbc 4: T\u00edch h\u1ee3p k\u00eanh nh\u1eafn tin Telegram<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 giao ti\u1ebfp tr\u1ef1c ti\u1ebfp v\u1edbi tr\u1ee3 l\u00fd AI, c\u1ea7n k\u1ebft n\u1ed1i \u1ee9ng d\u1ee5ng v\u1edbi m\u1ed9t n\u1ec1n t\u1ea3ng nh\u1eafn tin c\u1ee5 th\u1ec3. \u0110\u1ea7u ti\u00ean, t\u1ea1o m\u1ed9t bot tr\u00ean Telegram qua BotFather v\u00e0 l\u1ea5y m\u00e3 token. Tham kh\u1ea3o h\u01b0\u1edbng d\u1eabn t\u1ea1i b\u00e0i vi\u1ebft: <a href=\"https:\/\/tino.vn\/blog\/cach-lay-api-token-telegram\/\">H\u01b0\u1edbng d\u1eabn c\u00e1ch l\u1ea5y API Token Telegram \u0111\u1ec3 k\u1ebft n\u1ed1i v\u1edbi OpenClaw<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ecdn k\u00eanh Telegram:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"964\" height=\"480\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-12.png\" alt=\"B\u01b0\u1edbc Select channel (QuickStart): Telegram Bot API \u0111\u01b0\u1ee3c \u0111\u00e1nh d\u1ea5u recommended\" class=\"wp-image-124125\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-12.png 964w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-12-300x149.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-12-768x382.png 768w\" sizes=\"(max-width: 964px) 100vw, 964px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ecdn k\u1ebft n\u1ed1i qua Token:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"931\" height=\"443\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-13.png\" alt=\"L\u1ef1a ch\u1ecdn Enter Telegram bot token trong onboarding OpenClaw\" class=\"wp-image-124126\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-13.png 931w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-13-300x143.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-13-768x365.png 768w\" sizes=\"(max-width: 931px) 100vw, 931px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nh\u1eadp m\u00e3:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"918\" height=\"473\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-14.png\" alt=\"D\u00e1n token bot Telegram v\u00e0o b\u01b0\u1edbc Enter Telegram bot token\" class=\"wp-image-124127\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-14.png 918w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-14-300x155.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-14-768x396.png 768w\" sizes=\"(max-width: 918px) 100vw, 918px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026: m\u1eb7c \u0111\u1ecbnh, ng\u01b0\u1eddi nh\u1eafn bot l\u1ea7n \u0111\u1ea7u nh\u1eadn m\u1ed9t m\u00e3 gh\u00e9p \u0111\u00f4i (pairing). Duy\u1ec7t m\u00e3 tr\u00ean VPS b\u1eb1ng <code>docker compose run --rm openclaw-cli pairing approve telegram &lt;CODE&gt;<\/code> (<a href=\"https:\/\/docs.openclaw.ai\/channels\/telegram\/setup\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Telegram<\/a>).<\/em><\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_5:_C\u1ea5u_h\u00ecnh_Web_search,_Skills_v\u00e0_c\u00e1c_th\u00e0nh_ph\u1ea7n_kh\u00e1c\">B\u01b0\u1edbc 5: C\u1ea5u h\u00ecnh Web search, Skills v\u00e0 c\u00e1c th\u00e0nh ph\u1ea7n kh\u00e1c<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu ch\u01b0a c\u1ea7n, b\u1ea1n c\u00f3 th\u1ec3 ch\u1ecdn Skip for now cho c\u00e1c y\u00eau c\u1ea7u c\u1ea5u h\u00ecnh.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Web search:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"881\" height=\"413\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-15.png\" alt=\"B\u01b0\u1edbc Web search trong onboarding OpenClaw, ch\u1ecdn Skip for now\" class=\"wp-image-124128\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-15.png 881w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-15-300x141.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-15-768x360.png 768w\" sizes=\"(max-width: 881px) 100vw, 881px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Skills:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1185\" height=\"667\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-16.png\" alt=\"B\u1ea3ng Skills status v\u00e0 c\u00e2u h\u1ecfi Configure skills now trong onboarding OpenClaw\" class=\"wp-image-124129\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-16.png 1185w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-16-300x169.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-16-1024x576.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-16-768x432.png 768w\" sizes=\"(max-width: 1185px) 100vw, 1185px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nh\u1ea5n Space -&gt; Enter \u0111\u1ec3 c\u00e0i \u0111\u1eb7t Skills.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1166\" height=\"712\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-17.png\" alt=\"Danh s\u00e1ch skill c\u00f3 th\u1ec3 c\u00e0i ph\u1ee5 thu\u1ed9c trong onboarding OpenClaw\" class=\"wp-image-124130\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-17.png 1166w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-17-300x183.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-17-1024x625.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-17-768x469.png 768w\" sizes=\"(max-width: 1166px) 100vw, 1166px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"899\" height=\"531\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-18.png\" alt=\"C\u00e2u h\u1ecfi Set GOOGLE_PLACES_API_KEY for goplaces, ch\u1ecdn No\" class=\"wp-image-124131\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-18.png 899w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-18-300x177.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-18-768x454.png 768w\" sizes=\"(max-width: 899px) 100vw, 899px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1ec1 ph\u1ea7n setup c\u00e1c API Key cho m\u1ed9t s\u1ed1 skill, b\u1ea1n c\u00f3 th\u1ec3 ch\u1ecdn no \u0111\u1ec3 b\u1ecf qua.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1058\" height=\"688\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-19.png\" alt=\"C\u00e1c c\u00e2u h\u1ecfi API key cho skill goplaces, notion, openai-whisper, sag \u0111\u1ec1u ch\u1ecdn No\" class=\"wp-image-124132\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-19.png 1058w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-19-300x195.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-19-1024x666.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-19-768x499.png 768w\" sizes=\"(max-width: 1058px) 100vw, 1058px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u1ede b\u01b0\u1edbc c\u1ea5u h\u00ecnh Hooks n\u00e0y, h\u1ec7 th\u1ed1ng h\u1ecfi b\u1ea1n c\u00f3 mu\u1ed1n k\u00edch ho\u1ea1t c\u00e1c t\u00ednh n\u0103ng t\u1ef1 \u0111\u1ed9ng h\u00f3a b\u1ed5 sung hay kh\u00f4ng. \u0110\u1ec3 \u0111\u01a1n gi\u1ea3n v\u00e0 tr\u00e1nh l\u00e0m n\u1eb7ng h\u1ec7 th\u1ed1ng trong l\u1ea7n \u0111\u1ea7u c\u00e0i \u0111\u1eb7t, b\u1ea1n n\u00ean ch\u1ecdn Skip for now.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1058\" height=\"688\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-20.png\" alt=\"B\u01b0\u1edbc Enable hooks trong onboarding OpenClaw, ch\u1ecdn Skip for now\" class=\"wp-image-124133\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-20.png 1058w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-20-300x195.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-20-1024x666.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-20-768x499.png 768w\" sizes=\"(max-width: 1058px) 100vw, 1058px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Tuy nhi\u00ean, b\u1ea1n ho\u00e0n to\u00e0n c\u00f3 th\u1ec3 k\u00edch ho\u1ea1t nh\u1eefng t\u00ednh n\u0103ng n\u00e0y sau khi \u0111\u00e3 truy c\u1eadp \u0111\u01b0\u1ee3c v\u00e0o b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n Web UI. Sau khi nh\u1ea5n Space -&gt; Enter \u1edf b\u01b0\u1edbc n\u00e0y, tr\u00ecnh thi\u1ebft l\u1eadp s\u1ebd ho\u00e0n t\u1ea5t v\u00e0 hi\u1ec3n th\u1ecb m\u00e3 Token cu\u1ed1i c\u00f9ng cho b\u1ea1n.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1139\" height=\"741\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-21.png\" alt=\"K\u1ebft th\u00fac onboarding OpenClaw: ghi \u0111\u00e8 c\u1ea5u h\u00ecnh openclaw.json, th\u00f4ng b\u00e1o Systemd user services unavailable\" class=\"wp-image-124134\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-21.png 1139w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-21-300x195.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-21-1024x666.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-21-768x500.png 768w\" sizes=\"(max-width: 1139px) 100vw, 1139px\" \/><\/figure>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_6:_Truy_c\u1eadp_b\u1ea3ng_\u0111i\u1ec1u_khi\u1ec3n\">B\u01b0\u1edbc 6: Truy c\u1eadp b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">D\u00f2ng Token: 9583f872915e5e7b3021e5e7b3021e\u2026 xu\u1ea5t hi\u1ec7n tr\u00ean m\u00e0n h\u00ecnh ch\u00ednh l\u00e0 &#8220;ch\u00eca kh\u00f3a&#8221; \u0111\u1ec3 b\u1ea1n \u0111\u0103ng nh\u1eadp v\u00e0o giao di\u1ec7n web. H\u00e3y copy v\u00e0 l\u01b0u m\u00e3 n\u00e0y v\u00e0o m\u1ed9t file note tr\u00ean m\u00e1y t\u00ednh.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1649\" height=\"215\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-22.png\" alt=\"Th\u00f4ng b\u00e1o cu\u1ed1i c\u1ee7a setup.sh hi\u1ec3n th\u1ecb d\u00f2ng Token \u0111\u1ec3 \u0111\u0103ng nh\u1eadp Control UI\" class=\"wp-image-124135\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-22.png 1649w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-22-300x39.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-22-1024x134.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-22-768x100.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-22-1536x200.png 1536w\" sizes=\"(max-width: 1649px) 100vw, 1649px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">B\u00e2y gi\u1edd, h\u00e3y m\u1edf tr\u00ecnh duy\u1ec7t web (Chrome, Edge\u2026) v\u00e0 nh\u1eadp \u0111\u1ecba ch\u1ec9 sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:\/\/\u0111\u1ecba-ch\u1ec9-IP-VPS-c\u1ee7a-b\u1ea1n:18789<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>H\u1ec7 th\u1ed1ng s\u1ebd hi\u1ec7n ra m\u1ed9t \u00f4 y\u00eau c\u1ea7u nh\u1eadp Token.<\/li>\n\n\n<li>B\u1ea1n d\u00e1n m\u00e3 Token \u0111\u00e3 l\u01b0u \u1edf tr\u00ean v\u00e0o \u0111\u00f3 \u0111\u1ec3 \u0111\u0103ng nh\u1eadp.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1666\" height=\"946\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-23.png\" alt=\"Trang Gateway Dashboard c\u1ee7a OpenClaw m\u1edf b\u1eb1ng \u0111\u1ecba ch\u1ec9 IP VPS c\u1ed5ng 18789, \u00f4 WebSocket URL v\u00e0 Gateway Token\" class=\"wp-image-124136\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-23.png 1666w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-23-300x170.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-23-1024x581.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-23-768x436.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-23-1536x872.png 1536w\" sizes=\"(max-width: 1666px) 100vw, 1666px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd an to\u00e0n:<\/strong> M\u1edf Control UI tr\u1ef1c ti\u1ebfp b\u1eb1ng <code>http:\/\/IP-VPS:18789<\/code> ngh\u0129a l\u00e0 c\u1ed5ng Gateway \u0111ang nh\u1eadn k\u1ebft n\u1ed1i t\u1eeb Internet. C\u00e1ch n\u00e0y ch\u1ec9 n\u00ean d\u00f9ng khi th\u1eed nghi\u1ec7m. Khi ch\u1ea1y th\u1eadt, cho Gateway ch\u1ec9 nghe loopback v\u00e0 truy c\u1eadp qua <a href=\"https:\/\/tino.vn\/blog\/bao-mat-vps-chay-ai-agent-bang-tailscale\/\">Tailscale<\/a> ho\u1eb7c SSH tunnel (xem m\u1ee5c &#8220;Khi ch\u1ea1y th\u1eadt&#8221; b\u00ean d\u01b0\u1edbi).<\/p>\n<\/blockquote>\n\n\n\n<h3 id=\"C\u00e1ch_x\u1eed_l\u00fd_l\u1ed7i_truy_c\u1eadp_Control_UI_tr\u00ean_OpenClaw\">C\u00e1ch x\u1eed l\u00fd l\u1ed7i truy c\u1eadp Control UI tr\u00ean OpenClaw<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Khi tri\u1ec3n khai OpenClaw tr\u00ean VPS, h\u1ec7 th\u1ed1ng th\u01b0\u1eddng k\u00edch ho\u1ea1t c\u01a1 ch\u1ebf b\u1ea3o m\u1eadt nghi\u00eam ng\u1eb7t, d\u1eabn \u0111\u1ebfn c\u00e1c l\u1ed7i ch\u1eb7n giao di\u1ec7n qu\u1ea3n tr\u1ecb nh\u01b0 h\u00ecnh b\u00ean d\u01b0\u1edbi:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1082\" height=\"576\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-24.png\" alt=\"M\u00e0n Gateway Dashboard b\u00e1o l\u1ed7i origin not allowed khi m\u1edf b\u1eb1ng IP c\u00f4ng khai\" class=\"wp-image-124137\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-24.png 1082w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-24-300x160.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-24-1024x545.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-24-768x409.png 768w\" sizes=\"(max-width: 1082px) 100vw, 1082px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">L\u1ed7i &#8220;origin not allowed&#8221; xu\u1ea5t hi\u1ec7n v\u00ec b\u1ea1n m\u1edf Control UI b\u1eb1ng m\u1ed9t \u0111\u1ecba ch\u1ec9 (IP c\u1ee7a VPS) kh\u00f4ng n\u1eb1m trong danh s\u00e1ch origin \u0111\u01b0\u1ee3c ph\u00e9p. D\u01b0\u1edbi \u0111\u00e2y l\u00e0 quy tr\u00ecnh can thi\u1ec7p tr\u1ef1c ti\u1ebfp v\u00e0o t\u1ec7p tin c\u1ea5u h\u00ecnh \u0111\u1ec3 m\u1edf kh\u00f3a quy\u1ec1n truy c\u1eadp:<\/p>\n\n\n\n<h4 id=\"B\u01b0\u1edbc_1:_C\u00e0i_\u0111\u1eb7t_tr\u00ecnh_so\u1ea1n_th\u1ea3o_Nano\">B\u01b0\u1edbc 1: C\u00e0i \u0111\u1eb7t tr\u00ecnh so\u1ea1n th\u1ea3o Nano<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u01b0\u1edbc ti\u00ean, c\u1ea7n \u0111\u1ea3m b\u1ea3o m\u00e1y ch\u1ee7 \u0111\u00e3 t\u00edch h\u1ee3p s\u1eb5n c\u00f4ng c\u1ee5 ch\u1ec9nh s\u1eeda v\u0103n b\u1ea3n. H\u00e3y th\u1ef1c thi l\u1ec7nh sau tr\u00ean terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt install nano -y<\/code><\/pre>\n\n\n\n<h4 id=\"B\u01b0\u1edbc_2:_M\u1edf_t\u1ec7p_tin_c\u1ea5u_h\u00ecnh\">B\u01b0\u1edbc 2: M\u1edf t\u1ec7p tin c\u1ea5u h\u00ecnh<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">S\u1eed d\u1ee5ng Nano \u0111\u1ec3 truy c\u1eadp tr\u1ef1c ti\u1ebfp v\u00e0o t\u1ec7p tin h\u1ec7 th\u1ed1ng c\u1ee7a OpenClaw:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano ~\/.openclaw\/openclaw.json<\/code><\/pre>\n\n\n\n<h4 id=\"B\u01b0\u1edbc_3:_C\u1eadp_nh\u1eadt_th\u00f4ng_s\u1ed1_b\u1ea3o_m\u1eadt\">B\u01b0\u1edbc 3: C\u1eadp nh\u1eadt th\u00f4ng s\u1ed1 b\u1ea3o m\u1eadt<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">S\u1eed d\u1ee5ng c\u00e1c ph\u00edm m\u0169i t\u00ean \u0111\u1ec3 di chuy\u1ec3n xu\u1ed1ng ph\u1ea7n controlUi v\u00e0 nh\u1eadp l\u1ea1i nh\u01b0 sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"controlUi\": {\n\"allowInsecureAuth\": true,\n\"dangerouslyDisableDeviceAuth\": true,\n\"allowedOrigins\": [\n\"*\"\n]\n}\n},<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1074\" height=\"679\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-25.png\" alt=\"T\u1ec7p openclaw.json m\u1edf b\u1eb1ng nano, kh\u1ed1i controlUi v\u1edbi allowInsecureAuth, dangerouslyDisableDeviceAuth v\u00e0 allowedOrigins d\u1ea5u sao\" class=\"wp-image-124138\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-25.png 1074w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-25-300x190.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-25-1024x647.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-25-768x486.png 768w\" sizes=\"(max-width: 1074px) 100vw, 1074px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd an to\u00e0n:<\/strong> C\u1ea5u h\u00ecnh n\u00e0y m\u1edf Control UI cho m\u1ecdi origin; ch\u1ec9 d\u00f9ng \u0111\u1ec3 th\u1eed nghi\u1ec7m. Khi ch\u1ea1y th\u1eadt, thay <code>\"*\"<\/code> b\u1eb1ng \u0111\u00fang \u0111\u1ecba ch\u1ec9 b\u1ea1n d\u00f9ng (v\u00ed d\u1ee5 <code>\"https:\/\/openclaw.ten-mien.vn\"<\/code>), b\u1ecf hai d\u00f2ng <code>allowInsecureAuth<\/code>, <code>dangerouslyDisableDeviceAuth<\/code> \u0111\u1ec3 b\u1eadt l\u1ea1i x\u00e1c th\u1ef1c, v\u00e0 cho Gateway ch\u1ec9 nghe loopback, truy c\u1eadp qua <a href=\"https:\/\/tino.vn\/blog\/bao-mat-vps-chay-ai-agent-bang-tailscale\/\">Tailscale<\/a> ho\u1eb7c SSH tunnel. T\u1eeb c\u00e1c b\u1ea3n OpenClaw g\u1ea7n \u0111\u00e2y, <code>dangerouslyDisableDeviceAuth<\/code> kh\u00f4ng c\u00f2n t\u00e1c d\u1ee5ng; tr\u00ecnh duy\u1ec7t m\u1edbi \u0111\u01b0\u1ee3c duy\u1ec7t b\u1eb1ng <code>openclaw devices approve<\/code> (<a href=\"https:\/\/docs.openclaw.ai\/gateway\/security\/network-exposure\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Network exposure<\/a>).<\/p>\n<\/blockquote>\n\n\n\n<h4 id=\"B\u01b0\u1edbc_4:_L\u01b0u_thay_\u0111\u1ed5i_v\u00e0_tho\u00e1t\">B\u01b0\u1edbc 4: L\u01b0u thay \u0111\u1ed5i v\u00e0 tho\u00e1t<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Th\u1ef1c hi\u1ec7n ch\u00ednh x\u00e1c chu\u1ed7i thao t\u00e1c ph\u00edm sau \u0111\u1ec3 ghi \u0111\u00e8 d\u1eef li\u1ec7u:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Nh\u1ea5n t\u1ed5 h\u1ee3p ph\u00edm Ctrl + O \u0111\u1ec3 ph\u00e1t l\u1ec7nh l\u01b0u.<\/li>\n\n\n<li>Nh\u1ea5n ph\u00edm Enter \u0111\u1ec3 x\u00e1c nh\u1eadn t\u00ean t\u1ec7p tin.<\/li>\n\n\n<li>Nh\u1ea5n t\u1ed5 h\u1ee3p ph\u00edm Ctrl + X \u0111\u1ec3 tho\u00e1t ho\u00e0n to\u00e0n v\u1ec1 m\u00e0n h\u00ecnh d\u00f2ng l\u1ec7nh.<\/li>\n<\/ul>\n\n\n\n<h4 id=\"B\u01b0\u1edbc_5:_Kh\u1edfi_\u0111\u1ed9ng_l\u1ea1i_d\u1ecbch_v\u1ee5\">B\u01b0\u1edbc 5: Kh\u1edfi \u0111\u1ed9ng l\u1ea1i d\u1ecbch v\u1ee5<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">C\u1ea5u h\u00ecnh m\u1edbi ch\u1ec9 ph\u00e1t huy t\u00e1c d\u1ee5ng sau khi l\u00e0m m\u1edbi to\u00e0n b\u1ed9 ti\u1ebfn tr\u00ecnh Docker. H\u00e3y ch\u1ea1y l\u1ea7n l\u01b0\u1ee3t c\u00e1c l\u1ec7nh sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\/openclaw\ndocker compose down\ndocker compose up -d<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi ho\u00e0n t\u1ea5t quy tr\u00ecnh tr\u00ean, ch\u1ec9 c\u1ea7n t\u1ea3i l\u1ea1i trang web ch\u1ee9a \u0111\u1ecba ch\u1ec9 IP v\u00e0 d\u00e1n m\u00e3 token, giao di\u1ec7n Control UI s\u1ebd ho\u1ea1t \u0111\u1ed9ng b\u00ecnh th\u01b0\u1eddng.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1915\" height=\"964\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-26.png\" alt=\"Control UI c\u1ee7a OpenClaw sau khi \u0111\u0103ng nh\u1eadp: thanh b\u00ean Chat, Overview, Channels, Sessions, Usage, Agents, Skills; khung chat v\u1edbi agent main\" class=\"wp-image-124139\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-26.png 1915w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-26-300x151.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-26-1024x515.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-26-768x387.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/word-image-124113-26-1536x773.png 1536w\" sizes=\"(max-width: 1915px) 100vw, 1915px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u1ea2nh ch\u1ee5p giao di\u1ec7n th\u00e1ng 3\/2026. T\u1eeb b\u1ea3n 2026.8.1, Control UI \u0111\u01b0\u1ee3c d\u1ef1ng l\u1ea1i theo ki\u1ec3u chat; v\u1ecb tr\u00ed c\u00e1c m\u1ee5c c\u00f3 th\u1ec3 kh\u00e1c.<\/em><\/p>\n\n\n\n<h3 id=\"Nh\u1eefng_r\u1ee7i_ro_b\u1ea3o_m\u1eadt_khi_s\u1eeda_l\u1ed7i_v\u00e0_c\u00e1ch_kh\u1eafc_ph\u1ee5c\">Nh\u1eefng r\u1ee7i ro b\u1ea3o m\u1eadt khi s\u1eeda l\u1ed7i v\u00e0 c\u00e1ch kh\u1eafc ph\u1ee5c<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>R\u1ee7i ro t\u1eeb &#8220;allowedOrigins&#8221;: [&#8220;*&#8221;]: D\u1ea5u sao (*) cho ph\u00e9p b\u1ea5t k\u1ef3 trang web n\u00e0o ho\u1eb7c b\u1ea5t k\u1ef3 ai c\u00f3 \u0111\u1ecba ch\u1ec9 IP c\u1ee7a VPS c\u0169ng c\u00f3 th\u1ec3 g\u1eedi y\u00eau c\u1ea7u k\u1ebft n\u1ed1i \u0111\u1ebfn Gateway c\u1ee7a b\u1ea1n.<\/li>\n\n\n<li>R\u1ee7i ro t\u1eeb &#8220;dangerouslyDisableDeviceAuth&#8221;: true: \u0110\u00e2y l\u00e0 th\u00f4ng s\u1ed1 &#8220;nguy hi\u1ec3m&#8221; nh\u1ea5t. N\u00f3 t\u1eaft ho\u00e0n to\u00e0n c\u01a1 ch\u1ebf x\u00e1c th\u1ef1c thi\u1ebft b\u1ecb (Pairing).<\/li>\n\n\n<li>R\u1ee7i ro t\u1eeb &#8220;allowInsecureAuth&#8221;: true: Cho ph\u00e9p g\u1eedi th\u00f4ng tin x\u00e1c th\u1ef1c qua giao th\u1ee9c HTTP (kh\u00f4ng m\u00e3 h\u00f3a) thay v\u00ec HTTPS.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 an to\u00e0n h\u01a1n m\u00e0 v\u1eabn gi\u1eef \u0111\u01b0\u1ee3c s\u1ef1 linh ho\u1ea1t, b\u1ea1n n\u00ean \u0111\u1eb7t th\u00eam m\u1ed9t m\u1eadt kh\u1ea9u truy c\u1eadp ri\u00eang. Ngay c\u1ea3 khi l\u1ed9 token, k\u1ebb x\u1ea5u v\u1eabn kh\u00f4ng th\u1ec3 v\u00e0o \u0111\u01b0\u1ee3c n\u1ebfu kh\u00f4ng c\u00f3 m\u1eadt kh\u1ea9u n\u00e0y.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u01b0\u1edbc 1: M\u1edf file c\u1ea5u h\u00ecnh:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/root\/.openclaw\/openclaw.json<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">B\u01b0\u1edbc 2: Th\u00eam d\u00f2ng &#8220;password&#8221; v\u00e0o kh\u1ed1i &#8220;auth&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n h\u00e3y s\u1eeda \u0111o\u1ea1n \u0111\u00f3 tr\u00f4ng gi\u1ed1ng nh\u01b0 sau (thay MatKhauCuaBan b\u1eb1ng m\u1eadt kh\u1ea9u th\u1ef1c t\u1ebf):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"auth\": {\n\"mode\": \"token\",\n\"token\": \"e723d0fbc20a26dbbe5c12f1765aa9b0ddf3a7bbf43643b8f3e6f7fe96dce7f5\",\n\"password\": \"MatKhauCuaBan\"\n},<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">B\u01b0\u1edbc 3: Sau khi l\u01b0u file (Ctrl + O -&gt; Enter -&gt; Ctrl + X), b\u1ea1n ch\u1ea1y l\u1ec7nh kh\u1edfi \u0111\u1ed9ng l\u1ea1i:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\/openclaw &amp;&amp; docker compose restart openclaw-gateway<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Khi m\u1edf giao di\u1ec7n Web, ngo\u00e0i \u00f4 Gateway Token, b\u1ea1n s\u1ebd th\u1ea5y \u00f4 Password (not stored). B\u1ea1n s\u1ebd nh\u1eadp \u0111\u00fang m\u1eadt kh\u1ea9u \u0111\u00e3 \u0111\u1eb7t \u1edf tr\u00ean th\u00ec n\u00fat Connect m\u1edbi c\u00f3 hi\u1ec7u l\u1ef1c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026: docs OpenClaw khuy\u00ean \u0111\u1eb7t m\u1eadt kh\u1ea9u qua bi\u1ebfn m\u00f4i tr\u01b0\u1eddng <code>OPENCLAW_GATEWAY_PASSWORD<\/code> v\u1edbi <code>gateway.auth.mode: \"password\"<\/code>, v\u00e0 kh\u1edfi \u0111\u1ed9ng l\u1ea1i Gateway khi \u0111\u1ed5i ch\u1ebf \u0111\u1ed9 x\u00e1c th\u1ef1c.<\/em><\/p>\n\n\n\n<h2 id=\"Khi_ch\u1ea1y_th\u1eadt:_kho\u00e1_c\u1ed5ng_18789_v\u00e0_m\u1edf_Control_UI_qua_SSH_tunnel\">Khi ch\u1ea1y th\u1eadt: kho\u00e1 c\u1ed5ng 18789 v\u00e0 m\u1edf Control UI qua SSH tunnel<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Khi chuy\u1ec3n t\u1eeb th\u1eed nghi\u1ec7m sang ch\u1ea1y th\u1eadt, n\u00ean cho c\u1ed5ng Gateway ch\u1ec9 nghe tr\u00ean 127.0.0.1 v\u00e0 v\u00e0o Control UI qua SSH tunnel. T\u1ec7p docker-compose.yml c\u1ee7a OpenClaw publish c\u1ed5ng 18789 tr\u00ean m\u1ecdi \u0111\u1ecba ch\u1ec9 IP, v\u00e0 Docker \u0111i v\u00f2ng qua UFW n\u1ebfu thi\u1ebfu lu\u1eadt <code>DOCKER-USER<\/code> (<a href=\"https:\/\/docs.openclaw.ai\/gateway\/security\/network-exposure\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Network exposure<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">T\u1ea1o t\u1ec7p <code>docker-compose.override.yml<\/code> c\u1ea1nh <code>docker-compose.yml<\/code> (c\u1ea7n Docker Compose 2.24.4 tr\u1edf l\u00ean, <a href=\"https:\/\/docs.docker.com\/reference\/compose-file\/merge\/\" target=\"_blank\" rel=\"noopener nofollow\">Docker: Merge<\/a>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>services:\n  openclaw-gateway:\n    ports: !override\n      - \"127.0.0.1:18789:18789\"<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>docker compose up -d openclaw-gateway\nsudo ss -ltnp | grep 18789<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u00ean m\u00e1y t\u00ednh c\u1ee7a b\u1ea1n, m\u1edf \u0111\u01b0\u1eddng h\u1ea7m SSH r\u1ed3i v\u00e0o <code>http:\/\/127.0.0.1:18789\/<\/code> (<a href=\"https:\/\/docs.openclaw.ai\/help\/faq\/gateway-ports-and-remote-mode\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Remote access<\/a>). \u0110\u1ecba ch\u1ec9 n\u00e0y n\u1eb1m s\u1eb5n trong danh s\u00e1ch origin \u0111\u01b0\u1ee3c ph\u00e9p n\u00ean kh\u00f4ng c\u1ea7n <code>\"*\"<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh -N -L 18789:127.0.0.1:18789 root@IP-VPS<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1400\" height=\"750\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cai-dat-openclaw-tren-vps-ssh-tunnel.webp\" alt=\"S\u01a1 \u0111\u1ed3 truy c\u1eadp Control UI OpenClaw qua SSH tunnel: tr\u00ecnh duy\u1ec7t tr\u00ean m\u00e1y t\u00ednh m\u1edf http:\/\/127.0.0.1:18789, \u0111i qua SSH c\u1ed5ng 22 t\u1edbi sshd tr\u00ean VPS, v\u00e0o c\u1ed5ng 127.0.0.1:18789 c\u1ee7a container openclaw-gateway; truy c\u1eadp IP-VPS:18789 t\u1eeb Internet b\u1ecb ch\u1eb7n\" class=\"wp-image-131999\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cai-dat-openclaw-tren-vps-ssh-tunnel.webp 1400w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cai-dat-openclaw-tren-vps-ssh-tunnel-300x161.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cai-dat-openclaw-tren-vps-ssh-tunnel-1024x549.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cai-dat-openclaw-tren-vps-ssh-tunnel-768x411.webp 768w\" sizes=\"(max-width: 1400px) 100vw, 1400px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu trang b\u00e1o <code>pairing required<\/code>, duy\u1ec7t tr\u00ecnh duy\u1ec7t tr\u00ean VPS (<a href=\"https:\/\/docs.openclaw.ai\/install\/docker\/sandbox-and-troubleshooting\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Docker troubleshooting<\/a>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker compose run --rm openclaw-cli devices list\ndocker compose run --rm openclaw-cli devices approve &lt;requestId&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng mu\u1ed1n gi\u1eef c\u1eeda s\u1ed5 SSH, d\u00f9ng <a href=\"https:\/\/tino.vn\/blog\/bao-mat-vps-chay-ai-agent-bang-tailscale\/\">Tailscale cho VPS ch\u1ea1y AI Agent<\/a> ho\u1eb7c <a href=\"https:\/\/tino.vn\/blog\/dung-cloudflare-tunnel-bao-mat-openclaw\/\">Cloudflare Tunnel b\u1ea3o v\u1ec7 OpenClaw<\/a>; c\u1ea7n t\u00ean mi\u1ec1n ri\u00eang th\u00ec \u0111\u1eb7t sau reverse proxy HTTPS theo <a href=\"https:\/\/tino.vn\/blog\/cau-hinh-nginx-reverse-proxy-va-ssl-cho-n8n\/\">h\u01b0\u1edbng d\u1eabn reverse proxy v\u00e0 SSL (c\u00f3 ph\u1ea7n OpenClaw)<\/a>.<\/p>\n\n\n\n<h2 id=\"V\u1eadn_h\u00e0nh_OpenClaw_tr\u00ean_VPS_sau_khi_c\u00e0i\">V\u1eadn h\u00e0nh OpenClaw tr\u00ean VPS sau khi c\u00e0i<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Vi\u1ec7c<\/th><th>L\u1ec7nh<\/th><\/tr><\/thead><tbody><tr><td>Xem log<\/td><td><code>docker compose logs -f openclaw-gateway<\/code><\/td><\/tr><tr><td>Ki\u1ec3m tra s\u1ee9c kho\u1ebb<\/td><td><code>curl -fsS http:\/\/127.0.0.1:18789\/healthz<\/code><\/td><\/tr><tr><td>Kh\u1edfi \u0111\u1ed9ng l\u1ea1i<\/td><td><code>docker compose restart openclaw-gateway<\/code><\/td><\/tr><tr><td>Ch\u1ea1y l\u1ec7nh openclaw<\/td><td><code>docker compose run --rm openclaw-cli &lt;l\u1ec7nh&gt;<\/code><\/td><\/tr><tr><td>R\u00e0 c\u1ea5u h\u00ecnh nguy hi\u1ec3m<\/td><td><code>docker compose run --rm openclaw-cli security audit<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">C\u1eadp nh\u1eadt b\u1ea3n Docker theo docs (<a href=\"https:\/\/docs.openclaw.ai\/install\/docker-vm-runtime\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Docker VM runtime<\/a>), sao l\u01b0u tr\u01b0\u1edbc khi ch\u1ea1y:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git pull --ff-only\ndocker compose stop openclaw-gateway\nOPENCLAW_SKIP_ONBOARDING=1 .\/scripts\/docker\/setup.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Chi ti\u1ebft \u1edf <a href=\"https:\/\/tino.vn\/blog\/nang-cap-openclaw\/\">n\u00e2ng c\u1ea5p OpenClaw<\/a>; sao l\u01b0u t\u1ef1 \u0111\u1ed9ng xem <a href=\"https:\/\/tino.vn\/blog\/tu-dong-backup-n8n-va-openclaw-len-google-drive\/\">backup OpenClaw l\u00ean Google Drive<\/a>; c\u00e1ch ly l\u1ec7nh c\u1ee7a agent xem <a href=\"https:\/\/tino.vn\/blog\/cach-ly-sandbox-cho-ai-agent-tren-vps\/\">sandbox cho AI Agent<\/a>.<\/p>\n\n\n\n<h2 id=\"B\u1ecf_qua_r\u00e0o_c\u1ea3n_k\u1ef9_thu\u1eadt_v\u1edbi_VPS_OpenClaw_t\u1ea1i_Tino\">B\u1ecf qua r\u00e0o c\u1ea3n k\u1ef9 thu\u1eadt v\u1edbi VPS OpenClaw t\u1ea1i Tino<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Vi\u1ec7c t\u1ef1 thi\u1ebft l\u1eadp m\u00f4i tr\u01b0\u1eddng cho OpenClaw th\u01b0\u1eddng \u0111i k\u00e8m v\u1edbi h\u00e0ng lo\u1ea1t r\u1eafc r\u1ed1i v\u1ec1 c\u1ea5u h\u00ecnh m\u1ea1ng, t\u01b0\u1eddng l\u1eeda v\u00e0 l\u1ed7i x\u00e1c th\u1ef1c thi\u1ebft b\u1ecb. Thay v\u00ec m\u1ea5t h\u00e0ng gi\u1edd \u0111\u1ed3ng h\u1ed3 \u0111\u1ec3 g\u1ee1 l\u1ed7i h\u1ec7 th\u1ed1ng, b\u1ea1n c\u00f3 th\u1ec3 b\u1eaft tay ngay v\u00e0o vi\u1ec7c ph\u00e1t tri\u1ec3n tr\u1ee3 l\u00fd AI v\u1edbi h\u1ea1 t\u1ea7ng VPS chuy\u00ean bi\u1ec7t.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"572\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/anh-VPS-openclaw-1024x572.jpg\" alt=\"VPS OpenClaw c\u1ee7a Tino\" class=\"wp-image-124141\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/anh-VPS-openclaw-1024x572.jpg 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/anh-VPS-openclaw-300x168.jpg 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/anh-VPS-openclaw-768x429.jpg 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/anh-VPS-openclaw-1536x858.jpg 1536w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/03\/anh-VPS-openclaw.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">D\u1ecbch v\u1ee5 VPS OpenClaw t\u1eeb Tino cung c\u1ea5p m\u00f4i tr\u01b0\u1eddng v\u1eadn h\u00e0nh \u0111\u01b0\u1ee3c c\u1ea5u h\u00ecnh s\u1eb5n, gi\u1ea3m b\u1edbt c\u00e1c b\u01b0\u1edbc k\u1ef9 thu\u1eadt ban \u0111\u1ea7u:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>S\u1eb5n s\u00e0ng v\u1eadn h\u00e0nh: OpenClaw \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t v\u00e0 c\u1ea5u h\u00ecnh kh\u1edfi \u0111\u1ed9ng s\u1eb5n. Ng\u01b0\u1eddi d\u00f9ng kh\u00f4ng c\u1ea7n t\u1ef1 c\u00e0i Node.js hay thi\u1ebft l\u1eadp m\u00f4i tr\u01b0\u1eddng th\u1ee7 c\u00f4ng v\u1ed1n d\u1ec5 ph\u00e1t sinh l\u1ed7i.<\/li>\n\n\n<li>H\u1ea1 t\u1ea7ng VPS NVMe \u0111\u1eb7t t\u1ea1i Vi\u1ec7t Nam, c\u00f3 quy\u1ec1n root \u0111\u1ec3 t\u1ef1 c\u1ea5u h\u00ecnh th\u00eam.<\/li>\n\n\n<li>H\u1ed7 tr\u1ee3 k\u1ef9 thu\u1eadt 24\/7 trong giai \u0111o\u1ea1n l\u00e0m quen v\u00e0 v\u1eadn h\u00e0nh.<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Mu\u1ed1n ch\u1ea1y OpenClaw 24\/7 m\u00e0 kh\u00f4ng t\u1ef1 c\u00e0i? <a href=\"https:\/\/tino.vn\/vps-openclaw\">VPS OpenClaw c\u1ee7a Tino<\/a> c\u00e0i s\u1eb5n OpenClaw tr\u00ean VPS NVMe \u0111\u1eb7t t\u1ea1i Vi\u1ec7t Nam; b\u1ea1n v\u1eabn c\u00f3 quy\u1ec1n root \u0111\u1ec3 c\u1ea5u h\u00ecnh. Xem c\u1ea5u h\u00ecnh v\u00e0 gi\u00e1 tr\u00ean trang s\u1ea3n ph\u1ea9m.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Xem th\u00eam: <a href=\"https:\/\/tino.vn\/blog\/dang-ky-vps-openclaw\/\">C\u00e1ch \u0111\u0103ng k\u00fd v\u00e0 s\u1eed d\u1ee5ng VPS OpenClaw<\/a><\/p>\n\n\n\n<h2 id=\"C\u00e1c_b\u00e0i_trong_nh\u00f3m_c\u00e0i_\u0111\u1eb7t,_VPS_v\u00e0_v\u1eadn_h\u00e0nh_OpenClaw\">C\u00e1c b\u00e0i trong nh\u00f3m c\u00e0i \u0111\u1eb7t, VPS v\u00e0 v\u1eadn h\u00e0nh OpenClaw<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>B\u1ea1n c\u1ea7n<\/th><th>\u0110\u1ecdc b\u00e0i<\/th><\/tr><\/thead><tbody><tr><td>Hi\u1ec3u OpenClaw tr\u01b0\u1edbc khi c\u00e0i<\/td><td><a href=\"https:\/\/tino.vn\/blog\/openclaw-la-gi\/\">OpenClaw l\u00e0 g\u00ec<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/khai-niem-cot-loi-trong-openclaw\/\">kh\u00e1i ni\u1ec7m c\u1ed1t l\u00f5i<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/openclaw-lam-duoc-nhung-gi\/\">OpenClaw l\u00e0m \u0111\u01b0\u1ee3c nh\u1eefng g\u00ec<\/a><\/td><\/tr><tr><td>Ch\u1ecdn VPS v\u00e0 c\u1ea5u h\u00ecnh<\/td><td><a href=\"https:\/\/tino.vn\/blog\/cau-hinh-toi-thieu-de-chay-openclaw-tren-vps\/\">c\u1ea5u h\u00ecnh t\u1ed1i thi\u1ec3u<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/cai-openclaw-tren-vps-phuc-tap\/\">t\u1ef1 c\u00e0i hay VPS c\u00e0i s\u1eb5n<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/mua-vps-openclaw-o-dau-uy-tin\/\">mua VPS OpenClaw \u1edf \u0111\u00e2u<\/a><\/td><\/tr><tr><td>D\u00f9ng VPS OpenClaw c\u1ee7a Tino<\/td><td><a href=\"https:\/\/tino.vn\/blog\/dang-ky-vps-openclaw\/\">\u0111\u0103ng k\u00fd VPS OpenClaw<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/truy-cap-va-cau-hinh-vps-openclaw\/\">truy c\u1eadp v\u00e0 c\u1ea5u h\u00ecnh VPS OpenClaw<\/a><\/td><\/tr><tr><td>Ch\u1ea1y model local<\/td><td><a href=\"https:\/\/tino.vn\/blog\/chay-openclaw-voi-ollama-local\/\">ch\u1ea1y OpenClaw v\u1edbi Ollama local<\/a><\/td><\/tr><tr><td>B\u1ea3o m\u1eadt<\/td><td><a href=\"https:\/\/tino.vn\/blog\/rui-ro-bao-mat-khi-dung-openclaw\/\">r\u1ee7i ro b\u1ea3o m\u1eadt khi d\u00f9ng OpenClaw<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/dung-cloudflare-tunnel-bao-mat-openclaw\/\">Cloudflare Tunnel<\/a><\/td><\/tr><tr><td>C\u1eadp nh\u1eadt, s\u1eeda l\u1ed7i<\/td><td><a href=\"https:\/\/tino.vn\/blog\/nang-cap-openclaw\/\">n\u00e2ng c\u1ea5p OpenClaw<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/sua-loi-tool-loop-trong-openclaw\/\">s\u1eeda l\u1ed7i tool loop<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/xoa-va-luu-tru-session-bang-lenh-openclaw-cli\/\">xo\u00e1 v\u00e0 l\u01b0u tr\u1eef session<\/a><\/td><\/tr><tr><td>K\u1ebft n\u1ed1i k\u00eanh, skill<\/td><td><a href=\"https:\/\/tino.vn\/blog\/lay-api-token-slack-de-ket-noi-voi-openclaw\/\">token Slack<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/ket-noi-discord-voi-openclaw\/\">Discord<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/ket-noi-codex-chatgpt-oauth-voi-openclaw\/\">Codex (ChatGPT OAuth)<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/cai-dat-openclaw-skills-tren-clawhub\/\">c\u00e0i Skills tr\u00ean ClawHub<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/tao-custom-skills-cho-openclaw\/\">Custom Skills<\/a> \u00b7 <a href=\"https:\/\/tino.vn\/blog\/so-sanh-openclaw-vs-claude-code\/\">so s\u00e1nh v\u1edbi Claude Code<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 id=\"K\u1ebft_lu\u1eadn\">K\u1ebft lu\u1eadn<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Qua c\u00e1c b\u01b0\u1edbc tr\u00ean, vi\u1ec7c thi\u1ebft l\u1eadp v\u00e0 tri\u1ec3n khai tr\u1ee3 l\u00fd AI c\u00e1 nh\u00e2n tr\u00ean VPS \u0111\u00e3 tr\u1edf n\u00ean \u0111\u01a1n gi\u1ea3n v\u00e0 d\u1ec5 qu\u1ea3n l\u00fd. Khi chuy\u1ec3n sang d\u00f9ng th\u1eadt, \u0111\u1eebng qu\u00ean kho\u00e1 c\u1ed5ng Gateway v\u00e0 truy c\u1eadp qua SSH tunnel ho\u1eb7c Tailscale. Ch\u00fac c\u00e1c b\u1ea1n thao t\u00e1c th\u00e0nh c\u00f4ng v\u00e0 t\u1eadn d\u1ee5ng t\u1ed1i \u0111a h\u1ec7 sinh th\u00e1i OpenClaw.<\/p>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\">Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"T\u1ea1i_sao_l\u1ea1i_xu\u1ea5t_hi\u1ec7n_l\u1ed7i_&quot;origin_not_allowed&quot;_khi_truy_c\u1eadp_Control_UI?\">T\u1ea1i sao l\u1ea1i xu\u1ea5t hi\u1ec7n l\u1ed7i &quot;origin not allowed&quot; khi truy c\u1eadp Control UI?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">V\u00ec b\u1ea1n m\u1edf Control UI b\u1eb1ng m\u1ed9t \u0111\u1ecba ch\u1ec9 kh\u00f4ng n\u1eb1m trong gateway.controlUi.allowedOrigins, th\u01b0\u1eddng l\u00e0 http:\/\/IP-VPS:18789. Khi th\u1eed nghi\u1ec7m c\u00f3 th\u1ec3 \u0111\u1eb7t d\u1ea5u * nh\u01b0 trong b\u00e0i; khi ch\u1ea1y th\u1eadt n\u00ean v\u00e0o qua SSH tunnel b\u1eb1ng http:\/\/127.0.0.1:18789 ho\u1eb7c khai b\u00e1o \u0111\u00fang origin HTTPS c\u1ee7a t\u00ean mi\u1ec1n.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"T\u1ec7p_tin_c\u1ea5u_h\u00ecnh_h\u1ec7_th\u1ed1ng_OpenClaw_n\u1eb1m_\u1edf_v\u1ecb_tr\u00ed_n\u00e0o_tr\u00ean_Ubuntu?\">T\u1ec7p tin c\u1ea5u h\u00ecnh h\u1ec7 th\u1ed1ng OpenClaw n\u1eb1m \u1edf v\u1ecb tr\u00ed n\u00e0o tr\u00ean Ubuntu?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">T\u1ec7p c\u1ea5u h\u00ecnh ch\u00ednh l\u00e0 ~\/.openclaw\/openclaw.json, \u0111\u1ecbnh d\u1ea1ng JSON5. V\u1edbi b\u1ea3n Docker, Gateway token v\u00e0 bi\u1ebfn m\u00f4i tr\u01b0\u1eddng c\u00f2n n\u1eb1m trong t\u1ec7p .env \u1edf th\u01b0 m\u1ee5c m\u00e3 ngu\u1ed3n openclaw.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"OpenClaw_y\u00eau_c\u1ea7u_m\u1edf_nh\u1eefng_c\u1ed5ng_m\u1ea1ng_(port)_n\u00e0o_tr\u00ean_t\u01b0\u1eddng_l\u1eeda?\">OpenClaw y\u00eau c\u1ea7u m\u1edf nh\u1eefng c\u1ed5ng m\u1ea1ng (port) n\u00e0o tr\u00ean t\u01b0\u1eddng l\u1eeda?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Gateway d\u00f9ng c\u1ed5ng 18789 cho c\u1ea3 WebSocket v\u00e0 Control UI. Khi th\u1eed nghi\u1ec7m c\u00f3 th\u1ec3 truy c\u1eadp tr\u1ef1c ti\u1ebfp c\u1ed5ng n\u00e0y; khi ch\u1ea1y th\u1eadt ch\u1ec9 n\u00ean m\u1edf c\u1ed5ng SSH, cho 18789 nghe tr\u00ean 127.0.0.1 v\u00e0 truy c\u1eadp qua SSH tunnel ho\u1eb7c Tailscale. L\u01b0u \u00fd UFW kh\u00f4ng ch\u1eb7n \u0111\u01b0\u1ee3c c\u1ed5ng do Docker publish n\u1ebfu thi\u1ebfu lu\u1eadt DOCKER-USER.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"C\u1ea7n_l\u00e0m_g\u00ec_\u0111\u1ec3_\u00e1p_d\u1ee5ng_c\u00e1c_thay_\u0111\u1ed5i_sau_khi_ch\u1ec9nh_s\u1eeda_t\u1ec7p_tin_JSON?\">C\u1ea7n l\u00e0m g\u00ec \u0111\u1ec3 \u00e1p d\u1ee5ng c\u00e1c thay \u0111\u1ed5i sau khi ch\u1ec9nh s\u1eeda t\u1ec7p tin JSON?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Ph\u1ea7n l\u1edbn thay \u0111\u1ed5i \u0111\u01b0\u1ee3c Gateway t\u1ef1 n\u1ea1p khi l\u01b0u t\u1ec7p; n\u1ebfu c\u00fa ph\u00e1p sai, Gateway gi\u1eef c\u1ea5u h\u00ecnh c\u0169. \u0110\u1ed5i ch\u1ebf \u0111\u1ed9 x\u00e1c th\u1ef1c ho\u1eb7c bi\u1ebfn m\u00f4i tr\u01b0\u1eddng th\u00ec ch\u1ea1y docker compose restart openclaw-gateway trong th\u01b0 m\u1ee5c c\u00e0i \u0111\u1eb7t.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"C\u00e0i_OpenClaw_tr\u00ean_VPS_kh\u00f4ng_d\u00f9ng_Docker_\u0111\u01b0\u1ee3c_kh\u00f4ng?\">C\u00e0i OpenClaw tr\u00ean VPS kh\u00f4ng d\u00f9ng Docker \u0111\u01b0\u1ee3c kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">\u0110\u01b0\u1ee3c. Ch\u1ea1y curl -fsSL https:\/\/openclaw.ai\/install.sh | bash r\u1ed3i openclaw onboard &#8211;install-daemon \u0111\u1ec3 c\u00e0i Gateway th\u00e0nh systemd user service. C\u00e1ch n\u00e0y m\u1eb7c \u0111\u1ecbnh ch\u1ec9 nghe loopback.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"T\u1ea1i sao l\u1ea1i xu\u1ea5t hi\u1ec7n l\u1ed7i \\\"origin not allowed\\\" khi truy c\u1eadp Control UI?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>V\u00ec b\u1ea1n m\u1edf Control UI b\u1eb1ng m\u1ed9t \u0111\u1ecba ch\u1ec9 kh\u00f4ng n\u1eb1m trong gateway.controlUi.allowedOrigins, th\u01b0\u1eddng l\u00e0 http:\/\/IP-VPS:18789. Khi th\u1eed nghi\u1ec7m c\u00f3 th\u1ec3 \u0111\u1eb7t d\u1ea5u * nh\u01b0 trong b\u00e0i; khi ch\u1ea1y th\u1eadt n\u00ean v\u00e0o qua SSH tunnel b\u1eb1ng http:\/\/127.0.0.1:18789 ho\u1eb7c khai b\u00e1o \u0111\u00fang origin HTTPS c\u1ee7a t\u00ean mi\u1ec1n.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"T\u1ec7p tin c\u1ea5u h\u00ecnh h\u1ec7 th\u1ed1ng OpenClaw n\u1eb1m \u1edf v\u1ecb tr\u00ed n\u00e0o tr\u00ean Ubuntu?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>T\u1ec7p c\u1ea5u h\u00ecnh ch\u00ednh l\u00e0 ~\/.openclaw\/openclaw.json, \u0111\u1ecbnh d\u1ea1ng JSON5. V\u1edbi b\u1ea3n Docker, Gateway token v\u00e0 bi\u1ebfn m\u00f4i tr\u01b0\u1eddng c\u00f2n n\u1eb1m trong t\u1ec7p .env \u1edf th\u01b0 m\u1ee5c m\u00e3 ngu\u1ed3n openclaw.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"OpenClaw y\u00eau c\u1ea7u m\u1edf nh\u1eefng c\u1ed5ng m\u1ea1ng (port) n\u00e0o tr\u00ean t\u01b0\u1eddng l\u1eeda?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Gateway d\u00f9ng c\u1ed5ng 18789 cho c\u1ea3 WebSocket v\u00e0 Control UI. Khi th\u1eed nghi\u1ec7m c\u00f3 th\u1ec3 truy c\u1eadp tr\u1ef1c ti\u1ebfp c\u1ed5ng n\u00e0y; khi ch\u1ea1y th\u1eadt ch\u1ec9 n\u00ean m\u1edf c\u1ed5ng SSH, cho 18789 nghe tr\u00ean 127.0.0.1 v\u00e0 truy c\u1eadp qua SSH tunnel ho\u1eb7c Tailscale. L\u01b0u \u00fd UFW kh\u00f4ng ch\u1eb7n \u0111\u01b0\u1ee3c c\u1ed5ng do Docker publish n\u1ebfu thi\u1ebfu lu\u1eadt DOCKER-USER.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"C\u1ea7n l\u00e0m g\u00ec \u0111\u1ec3 \u00e1p d\u1ee5ng c\u00e1c thay \u0111\u1ed5i sau khi ch\u1ec9nh s\u1eeda t\u1ec7p tin JSON?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Ph\u1ea7n l\u1edbn thay \u0111\u1ed5i \u0111\u01b0\u1ee3c Gateway t\u1ef1 n\u1ea1p khi l\u01b0u t\u1ec7p; n\u1ebfu c\u00fa ph\u00e1p sai, Gateway gi\u1eef c\u1ea5u h\u00ecnh c\u0169. \u0110\u1ed5i ch\u1ebf \u0111\u1ed9 x\u00e1c th\u1ef1c ho\u1eb7c bi\u1ebfn m\u00f4i tr\u01b0\u1eddng th\u00ec ch\u1ea1y docker compose restart openclaw-gateway trong th\u01b0 m\u1ee5c c\u00e0i \u0111\u1eb7t.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"C\u00e0i OpenClaw tr\u00ean VPS kh\u00f4ng d\u00f9ng Docker \u0111\u01b0\u1ee3c kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>\u0110\u01b0\u1ee3c. Ch\u1ea1y curl -fsSL https:\/\/openclaw.ai\/install.sh | bash r\u1ed3i openclaw onboard --install-daemon \u0111\u1ec3 c\u00e0i Gateway th\u00e0nh systemd user service. C\u00e1ch n\u00e0y m\u1eb7c \u0111\u1ecbnh ch\u1ec9 nghe loopback.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u0110\u1ec3 c\u00e0i OpenClaw tr\u00ean VPS b\u1eb1ng Docker, b\u1ea1n c\u1ea7n m\u1ed9t VPS Ubuntu c\u00f3 quy\u1ec1n root ho\u1eb7c sudo: c\u00e0i Docker v\u00e0 Docker Compose, t\u1ea3i m\u00e3 ngu\u1ed3n OpenClaw t\u1eeb GitHub, ch\u1ea1y .\/scripts\/docker\/setup.sh \u0111\u1ec3 nh\u1eadp API key v\u00e0 k\u1ebft n\u1ed1i Telegram, r\u1ed3i \u0111\u0103ng nh\u1eadp Control UI b\u1eb1ng Gateway token. Cu\u1ed1i b\u00e0i c\u00f3 c\u00e1ch x\u1eed l\u00fd l\u1ed7i &#8220;origin not [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":124143,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7552],"tags":[7561],"class_list":["post-124113","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-openclaw","tag-cai-dat-openclaw"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/124113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=124113"}],"version-history":[{"count":9,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/124113\/revisions"}],"predecessor-version":[{"id":132066,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/124113\/revisions\/132066"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/124143"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=124113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=124113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=124113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}