{"id":959,"date":"2026-03-13T10:16:00","date_gmt":"2026-03-13T02:16:00","guid":{"rendered":"https:\/\/www.inhhh.com\/blog\/?p=959"},"modified":"2026-03-13T10:16:00","modified_gmt":"2026-03-13T02:16:00","slug":"ubuntu22openclaw-%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"http:\/\/www.inhhh.com\/blog\/?p=959","title":{"rendered":"ubuntu22+openclaw \u547d\u4ee4"},"content":{"rendered":"\n<p>\u4ee5\u4e0b\u547d\u4ee4\u662f\u5b89\u88c5ubuntu22\u540e\u76f4\u63a5\u5b89\u88c5openclaw\u7684\u547d\u4ee4\u5217\u8868\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nsudo apt update -y\nsudo apt upgrade -y\nsudo ln -s \/usr\/bin\/python3 \/usr\/bin\/python\nsudo apt-get install python3.10-venv\nsudo apt-get install python3-pip\ncd \/var\nsudo mkdir www\nsudo chown user1 \/var\/www\ncd \/var\/www\nls\nmkdir -p \/var\/www\/AI\ncd \/var\/www\/AI\nmkdir -p \/var\/www\/venv\ncd \/var\/www\/venv\nsudo apt update -y\nsudo apt-get upgrade -y\nsudo apt-get install -y build-essential\nsudo apt-get install -y cmake git\nsudo apt-get install -y libsdl2-dev libsdl2-image-dev\nsudo apt-get install -y libsdl2-mixer-dev\nsudo apt-get install -y libsdl2-ttf-dev\npip3 install --user setuptools wheel\nsudo apt-get update -y\nsudo apt-get upgrade -y\nmkdir -p ~\/openclaw\ncd ~\/openclaw\nsudo apt install -y curl\nsudo apt install -y git\nsudo apt install -y build-essential\nsudo apt install -y ca-certificates\n\nmkdir -p \/var\/www\/setup\ncd \/var\/www\/setup\n\ncurl -o- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.39.7\/install.sh | bash \n\ncd ~\/.bashrc\n\nnvm install 22\nnvm use 22\n\ncd ~\/openclaw\ncurl -fsSL https:\/\/openclaw.ai\/install.sh | bash\n\nopenclaw onboard\nopenclaw gateway start\n\n<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u547d\u4ee4\u662f\u5b89\u88c5ubuntu22\u540e\u76f4\u63a5\u5b89\u88c5openclaw\u7684\u547d\u4ee4\u5217\u8868\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-959","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=959"}],"version-history":[{"count":1,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/959\/revisions"}],"predecessor-version":[{"id":960,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/959\/revisions\/960"}],"wp:attachment":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=959"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}