{"id":156668,"date":"2019-09-13T11:29:42","date_gmt":"2019-09-13T03:29:42","guid":{"rendered":"https:\/\/gulass.cn\/?p=156668"},"modified":"2019-09-17T13:15:54","modified_gmt":"2019-09-17T05:15:54","slug":"family-linux","status":"publish","type":"post","link":"https:\/\/gulass.cn\/family-linux.html","title":{"rendered":"\u6559\u4f60\u5982\u4f55\u6539\u9020\u5bb6\u5ead\u7f51\u8def"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4e0d\u5728\u5149\u732b\u62e8\u53f7\uff0c\u521b\u5efa\u8def\u7531\u5668\u6865\u63a5\u53e3\uff0c\u5c06\u62e8\u53f7\u4e0b\u653e\u5230\u5176\u4ed6\u8bbe\u5907<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

pve\u5b89\u88c5pfsense\u5e76\u8fdb\u884c\u62e8\u53f7<\/strong><\/span><\/div>\n

pfsense\u63a5\u5165BGP-HE\u7684ipv6\u96a7\u9053\uff0c\u5e76\u57fa\u4e8eBGP-HE\u7684\u514d\u8d39ddns\u81ea\u52a8\u66f4\u65b0\u96a7\u9053\u51fa\u53e3\u5730\u5740<\/p>\n

pve\u5b89\u88c5lede\u7684\u65b9\u6cd5<\/strong><\/span><\/div>\n

\u7b2c\u4e00\u6b65\uff1a\u5148\u521b\u5efa\u865a\u62df\u673a\uff0c\u6ce8\u610f\u4e0d\u8981\u52a0\u8f7d\u4efb\u4f55\u5149\u9a71\u4ecb\u8d28\uff0c\u8bb0\u5f55\u597d \u865a\u62df\u673a\u7684 \u5e8f\u53f7\uff08\u5982\u6211\u662f 105\uff09<\/p>\n

\u7b2c\u4e8c\u6b65\uff1a\u4f7f\u7528img2kvm\u5de5\u5177\u5bf9\u955c\u50cf\u8fdb\u884c\u8f6c\u6362,\u7b49\u5f85\u8f6c\u6362\u5b8c\u6210<\/p>\n

\t#\u8fd9\u662fimg2kvm\u7684\u955c\u50cf\u4e0b\u8f7d\uff0c\u5730\u5740\uff0c\u4ee5\u4e0b\u662fimg2kvm\u65b0\u7248\u7684\u7528\u6cd5\u548c\u4e0b\u8f7d\u5730\u5740\uff08\u5de5\u5177\u4f5c\u8005\u7684\u5730\u5740\uff0c\u6211\u627e\u5230\u540e\u8865\u4e0a\u6765\uff09<\/p>\n

\t.\/img2kvm pve-id xxxx.img<\/p>\n

\thttps:\/\/qiniu.wsfnk.com\/img2kvm<\/p>\n

\u7b2c\u4e09\u6b65\uff1a\u53bbpve\u754c\u9762\uff0c\u5173\u4e8e\u865a\u62df\u673a\u7684\u786c\u4ef6\u914d\u7f6e\u5904\uff0c\u4f60\u4f1a\u770b\u5230\u591a\u51fa\u4e00\u5757\u786c\u76d8\u3002\u6dfb\u52a0\u65b0\u7684\u591a\u51fa\u6765\u7684\u90a3\u5757\u786c\u76d8,\u73b0\u5728\u5206\u79bb\u8001\u786c\u76d8\u3002<\/p>\n

\u7b2c\u56db\u6b65\uff1a\u53bbpve\u754c\u9762\uff0c\u5173\u4e8e\u865a\u62df\u673a\u7684\u9009\u9879\u5904\uff0c\u5c06\u5f15\u5bfc\u9879\u4fee\u6539\u4e3a\u521a\u624d\u6dfb\u52a0\u7684\u786c\u76d8\uff0c\u5e76\u8bbe\u4e3a\u5f00\u673a\u81ea\u542f\u52a8\u3002<\/p>\n

\u7b2c\u4e94\u6b65\uff1a\u542f\u52a8\u673a\u5668\uff0c\u8fdb\u5165shell\u754c\u9762\uff0c\u7f16\u8f91lan\u53e3\u7684\u7f51\u7edc\u914d\u7f6e\uff0c\u4fee\u6539\u6210\u60f3\u8981\u7684IP,\u7531\u4e8e\u6211\u662f\u4f5c\u4e3a\u4e8c\u7ea7\u8def\u7531\u4f7f\u7528\u6240\u4ee5\uff0c\u6211\u53ef\u4ee5\u5220\u9664\u914d\u7f6e\u6587\u4ef6\u4e2d lan\u4ee5\u4e0b\u7684wan wan6\u53e3\u914d\u7f6e\uff0c\u7136\u540ereboot<\/p>\n

\t\u914d\u7f6e\u6587\u4ef6\u8def\u5f84\u4e3a \u201c vi \/etc\/config\/network\u201d<\/p>\n

\u7b2c\u516d\u6b65\uff1a\u767b\u9646lede\u7684web\u754c\u9762\uff0chttps:\/\/ip ,\u5bc6\u7801\u662f\uff1a koolshare<\/p>\n

\u7b2c\u4e03\u6b65\uff1a\u8bbe\u7f6elede\u7684dns\uff0c\u5e76\u8bbe\u7f6elede\u7684\u7f51\u5173\u4e0b\u4e00\u8df3\u4e3a\u6211\u7684\u4e00\u7ea7\u8def\u7531pfsense :192.168.100.1<\/p>\n

\u7b2c\u516b\u6b65\uff1a\u5b89\u88c5ddns\u5ba2\u6237\u7aef\uff0c\u4f7f\u7528\u963f\u91ccddns\uff0c\u4e3a\u4e86\u5b89\u5168\u65b0\u5efa\u7acb\u4e00\u4e2a\u963f\u91cc\u5b50\u7528\u6237\uff0c\u5e76\u53ea\u6388\u6743\u57df\u540d\u89e3\u6790\u6743\u9650<\/p>\n

\u7b2c\u4e5d\u6b65\uff1a\u5b89\u88c5zerotier-one\u5ba2\u6237\u7aef\u3002\u6ce8\u610f\u6709\u4e2a\u5751\uff0c\u65e0\u6cd5\u5b9e\u73b0\u81ea\u52a8\u52a0\u5165\u81ea\u5b9a\u4e49moon\uff0c\u9700\u8981\u624b\u52a8\u52a0\u5165<\/p>\n

lede vpn\u5ba2\u6237\u7aef\u5728\u9177\u8f6f\u4e2d\u5fc3\u88ab\u4e0b\u67b6\u4e86\uff0c\u8fd9\u91cc\u6574\u7406\u4e86\u79bb\u7ebf\u5305<\/strong><\/span><\/div>\n
#\u5305\u542b\u4e3b\u6d41\u7684FQ\u8f6f\u4ef6\r\n\thttps:\/\/qiniu.wsfnk.com\/koolss_2.2.2.tar.gz\r\n\thttps:\/\/qiniu.wsfnk.com\/brook_0.3.tar.gz\r\n\thttps:\/\/qiniu.wsfnk.com\/v2ray_2.3.7.tar.gz\r\n\thttps:\/\/qiniu.wsfnk.com\/wireguard_0.4.tar.gz<\/pre>\n
lede\u5b89\u88c5zerotier-one\u540e\u9700\u8981\u505a\u7684\u64cd\u4f5c<\/strong><\/span><\/div>\n
#\u7b2c\u4e00\u6b65\uff1a\u89e3\u51b3zerotier-one\u65e0\u6cd5\u542f\u52a8\r\nvi \/etc\/config\/zerotier\r\n\toption enabled \"0\" \u4fee\u6539\u4e3a option enabled \"1\"\r\n\r\n#\u7b2c\u4e8c\u6b65\uff1a\u7136\u540e\u5220\u9664\u9ed8\u8ba4\u6dfb\u52a0\u7684\u7f51\u7edc\uff08\u522b\u4eba\u7684\u522b\u52a0\uff09\r\nvi \/etc\/config\/zerotier\r\n\tlist join \"*******\"<\/pre>\n
lede\u5b89\u88c5ddns\u63d2\u4ef6\uff0c\u4f7f\u7528\u963f\u91cc\u57df\u540d\u89e3\u6790\u670d\u52a1<\/strong><\/span><\/div>\n
#\u521b\u5efaram\u5b50\u8d26\u6237\uff0c\u5e76\u53ea\u8d4b\u4e88\u57df\u540d\u89e3\u6790\u6743\u5229<\/pre>\n

pve\u521b\u5efacentos\u865a\u62df\u673a\u642d\u5efaaria2+\u767e\u5ea6\u7f51\u76d8\u4e0b\u8f7d\u5de5\u5177<\/p>\n

aria2\r\n\tyum -y install wget unzip curl\r\n\twget https:\/\/github.com\/helloxz\/ccaa\/archive\/master.zip\r\n\r\n\tccaa start\r\n\tccaa stop\r\n\tccaa restart\r\n\tccaa status\r\n\t\u5982\u679c\u670d\u52a1\u5668\u6709\u542f\u7528\u5b89\u5168\u7ec4\uff0c\u8bf7\u52a1\u5fc5\u5728\u5b89\u5168\u7ec4\u653e\u884c\u4ee5\u4e0b\u7aef\u53e3\uff1a6080\/6800\/6998\/51413\r\n\t\u5730\u5740http:\/\/IP:6080\/admin\u4e5f\u53ef\u4ee5\u8fdb\u5165Caddy filemanager\r\n\t\u53c2\u8003\u5730\u5740\r\n\thttps:\/\/www.xiaoz.me\/archives\/11250\r\n\r\nbaidu\u7f51\u76d8\r\n\thttps:\/\/github.com\/liuzhuoling2011\/baidupcs-web<\/pre>\n
pve\u5b89\u88c5smb\u5171\u4eab\u670d\u52a1\uff0c\u7528\u505a\u5bb6\u5eadnas<\/strong><\/span><\/div>\n
#pve\u5bbf\u4e3b\u7cfb\u7edf\u662f\u57fa\u4e8edebian\u7684\uff0c\u5b89\u88c5smb\u7ec4\u4ef6\r\n\tapt-get install samba\r\n\r\n#\u7f16\u8f91smb\u914d\u7f6e\u6587\u4ef6\r\n\tvi \/etc\/samba\/smb.conf\r\n\r\n[share]  \r\n        path = \/home\/gaojs\/work \r\n        valid users = share\r\n        available = yes  \r\n        browseable = yes  \r\n        writable = yes  \r\n        public = no  \r\n    \r\n#\u521b\u5efaSamba\u7528\u6237\r\n\tuseradd share\r\n\tsmbpasswd -a share \r\n#\u91cd\u542fSamba\u8c03\u8bd5\uff0c\u91cd\u542f\u7cfb\u7edf\u8fdb\u884c\u8c03\u8bd5\r\n\tservice smbd restart<\/pre>\n","protected":false},"excerpt":{"rendered":"

pfsense\u63a5\u5165BGP-HE\u7684ipv6\u96a7\u9053\uff0c\u5e76\u57fa\u4e8eBGP-HE\u7684\u514d\u8d39ddns\u81ea\u52a8\u66f4\u65b0\u96a7\u9053\u51fa\u53e3\u5730\u5740 \u7b2c\u4e00\u6b65\uff1a\u5148 […]<\/p>\n","protected":false},"author":1482,"featured_media":124395,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-156668","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/156668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/1482"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=156668"}],"version-history":[{"count":11,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/156668\/revisions"}],"predecessor-version":[{"id":157382,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/156668\/revisions\/157382"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/124395"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=156668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=156668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=156668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}