{"id":598,"date":"2023-04-01T23:24:20","date_gmt":"2023-04-01T15:24:20","guid":{"rendered":"http:\/\/www.inhhh.com\/blog\/?p=598"},"modified":"2023-04-01T23:24:20","modified_gmt":"2023-04-01T15:24:20","slug":"%e6%a0%91%e8%8e%93%e6%b4%be3%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85raspyberry-lite","status":"publish","type":"post","link":"http:\/\/www.inhhh.com\/blog\/?p=598","title":{"rendered":"\u6811\u8393\u6d3e3\u91cd\u65b0\u5b89\u88c5raspyberry lite"},"content":{"rendered":"\n<p>(\u66f4\u65b0\u65f6\u95f4 \uff1a2023-3-30\uff09<\/p>\n\n\n\n<p>\uff08\u4e00\u3001Ubuntu\u5b89\u88c5\u7bc7\uff09<br>1.\u5148\u4e0b\u8f7d\u4e00\u4e2a\u7cfb\u7edf<\/p>\n\n\n\n<p>\u4e0b\u8f7d<\/p>\n\n\n\n<p><a href=\"https:\/\/downloads.raspberrypi.org\/raspios_lite_armhf\/images\/raspios_lite_armhf-2022-09-26\/2022-09-22-raspios-bullseye-armhf-lite.img.xz\">https:\/\/downloads.raspberrypi.org\/raspios_lite_armhf\/images\/raspios_lite_armhf-2022-09-26\/2022-09-22-raspios-bullseye-armhf-lite.img.xz<\/a><\/p>\n\n\n\n<p>\u4e2a\u662f\u4e0d\u5e26\u5728\u684c\u9762\u7684\u3002<\/p>\n\n\n\n<p>2.\u65e0\u9700\u8981\u89e3\u538b\u6587\u4ef6\uff0c\u5927\u5c0f\u7ea6313,917KB<\/p>\n\n\n\n<p>3.\u7528\u6811\u8393\u6d3e\u81ea\u5e26\u7684 image\u628a\u6587\u4ef6\u5199\u5165TF\u5361<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>\u5c31\u53ef\u4ee5\u542f\u52a8\u4e86\u3002<\/li>\n<\/ol>\n\n\n\n<p>5.\u9009\u62e9ENGLISH\u8bed\u8a00<\/p>\n\n\n\n<p>6.\u8fde\u63a5wifi<\/p>\n\n\n\n<p><strong>\uff08\u4e8c\u3001\u4fee\u6539\u7f51\u7edc\uff09<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>vi \/etc\/dhcpcd.conf<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>interface eht0\nstatic ip_address=10.8.0.88\/24\nstatic routers=10.8.0.1\nstatic domain_name_servers=202.96.128.86<\/code><\/pre>\n\n\n\n<p>sudo reboot<\/p>\n\n\n\n<p>(\u4e09\\\u5b89\u88c5\u5c0f\u8f6f\u4ef6)<\/p>\n\n\n\n<p> <p>\u5b89\u88c5 vim, gcc, wget<\/p><\/p>\n\n\n\n<p><code>apt-get install -y wget vim gcc<\/code> <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get install -y make\n\napt-get install -y openssl\napt-get install -y iw\napt-get install -y usbutils\napt-get install -y v4l-utils\napt-get install -y ntfs-3g\napt-get install -y zip\napt-get install -y unzip\napt-get install -y cpio\napt-get install -y pkg-config\napt-get install -y automake\napt-get install -y gcc \n\napt-get install -y gimp\n\napt-get install -y swig \n\napt-get install -y libtool\napt-get install -y nasm \n\napt-get install -y autoconf \n\napt-get install -y automake \n\napt-get install -y git \n\n\napt-get install -y mercurial \n\n\napt-get install -y libcurl4\n\napt-get install -y cmake\n\napt-get install -y yasm\n\n\n#firewall\n\napt-get install -y ufw\n#\n\napt-get install -y chkconfig\n<\/code><\/pre>\n\n\n\n<p>\u7528\u7ba1\u7406\u5458\u6765\u884c<\/p>\n\n\n\n<p>vi \/etc\/sudoers<\/p>\n\n\n\n<p>\u5728root ALL=(ALL:ALL) ALL \u4e0b\u9762\u52a0\u4e00\u884c<br>mee ALL=(ALL:ALL) ALL<br>pi    ALL=(ALL:ALL) ALL<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5b89\u88c5\u8f6c\u7801\u5de5\u5177<br>apt-get install -y gpac<\/p>\n\n\n\n<p>\u5b89\u88c5CURL<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl\u662f\u4e00\u6b3e\u8457\u540d\u7684\u5b57\u7b26\u754c\u9762\u4e0b\u7684\u4e0b\u8f7d\u5de5\u5177\uff0c\u652f\u6301HTTP\u3001HTTPS\u3001FTP\u3001FTPS\u3001DICT\u3001TELNET\u3001LDAP\u3001FILE,\u548cGOPHER\u3002\u6b64\u5916\u8fd8\u5177\u6709cookies\u652f\u6301\u3001\u65ad\u70b9\u7eed\u4f20\u3001FTP\u4e0a\u4f20\u3001\u5bc6\u7801\u652f\u6301\u3001SSL\u652f\u6301\u548c\u4ee3\u7406\u652f\u6301\u7b49\u7279\u6027\u3002curl\u540c\u65f6\u8fd8\u63d0\u4f9b\u4e86\u4e00\u5957libcurl\u7684\u5e93\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u57fa\u4e8e\u8fd9\u4e2a\u5e93\u5f00\u53d1\u5176\u4ed6\u4e0b\u8f7d\u5de5\u5177\u3002\ncurl \u7684\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740\uff1ahttp:\/\/curl.haxx.se\/download\/\n\u622a\u6b622014.9\u6708\u66f4\u65b0\u81f37.38\u7248\u672c\u3002<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>1.\u4e0b\u8f7d\nwget http:\/\/curl.haxx.se\/download\/curl-7.38.0.tar.gz\n2.\u89e3\u538b\ntar -xzvf curl-7.38.0.tar.gz\n3.\u5b89\u88c5\ncd curl-7.38.0\n.\/configure\nmake\nmake install\n4.\u5b8c\u6210<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u4fee\u6539\/etc\/profile\nvi \/etc\/profile\nPATH:=\u6dfb\u52a0 \/usr\/local\/curl\/lib:\/usr\/local\/curl\/include:\/usr\/local\/curl\/include\nsource \/etc\/profile\n#\u6d4b\u8bd5\necho $PATH<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5sqlite<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u89e3\u538b\u547d\u4ee4\uff1a\r\ntar zvxf sqlite-autoconf-3110000.tar.gz\r\n\u914d\u7f6e\r\ncd sqlite-autoconf-3110000\r\n.\/configure --prefix=\/usr\/local\/sqlite\r\n\u7f16\u8bd1\r\nmake        \r\n\u5b89\u88c5\r\nmake install <\/code><\/pre>\n\n\n\n<p>\u4fee\u6539profile PATH\u53d8\u91cf<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$PATH:=$PATH:\/usr\/local\/sqlite\/bin:\/usr\/local\/sqlite\/lib:\/usr\/local\/sqlite\/include<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>source \/etc\/profile\necho $PATH<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>(\u66f4\u65b0\u65f6\u95f4 \uff1a2023-3-30\uff09 \uff08\u4e00\u3001Ubuntu\u5b89\u88c5\u7bc7\uff091.\u5148\u4e0b\u8f7d\u4e00\u4e2a\u7cfb\u7edf \u4e0b\u8f7d https:\/\/dow<\/p>\n<div class=\"more-link\">\n\t\t\t\t <a href=\"http:\/\/www.inhhh.com\/blog\/?p=598\" class=\"link-btn theme-btn\"><span>Read More <\/span> <i class=\"fa fa-caret-right\"><\/i><\/a>\n\t\t\t<\/div>\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-598","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\/598","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=598"}],"version-history":[{"count":9,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/598\/revisions"}],"predecessor-version":[{"id":733,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/598\/revisions\/733"}],"wp:attachment":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=598"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}