<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tech &#8211; 7-Best</title>
	<atom:link href="https://1234567.best/archives/tag/tech/feed" rel="self" type="application/rss+xml" />
	<link>https://1234567.best</link>
	<description></description>
	<lastBuildDate>Fri, 13 May 2022 14:46:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Dropbox转换直链的方法</title>
		<link>https://1234567.best/archives/62</link>
					<comments>https://1234567.best/archives/62#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 13 May 2022 14:46:27 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<guid isPermaLink="false">https://1234567.best/?p=62</guid>

					<description><![CDATA[Dropbox 直链方法 Dropbox的分享链接是这样的： https://www.dropbox.com/s/qtikk8ob8fx1n7g/Agatha.zip?dl=0 一：将 www 替换成 dl-web 二：将尾端 ?dl=0 删除掉 然后我们就得到了直链地址： https://dl-web.dropbox.com/s/qtikk8ob8fx1n7g/Agatha.zip<img src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F62&amp;action_name=Dropbox%E8%BD%AC%E6%8D%A2%E7%9B%B4%E9%93%BE%E7%9A%84%E6%96%B9%E6%B3%95&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<h1><span style="color: #000000">Dropbox 直链方法</span></h1>
<p>Dropbox的分享链接是这样的：</p>
<p><span style="color: #4d80bf"><a href="https://www.dropbox.com/s/qtikk8ob8fx1n7g/Agatha.zip?dl=0">https://www.dropbox.com/s/qtikk8ob8fx1n7g/Agatha.zip?dl=0</a></span></p>
<p>一：将 <code>www</code> 替换成 <code>dl-web</code></p>
<p>二：将尾端 <code>?dl=0</code> 删除掉</p>
<p>然后我们就得到了直链地址：</p>
<p><span style="color: #4d80bf"><a href="https://dl-web.dropbox.com/s/qtikk8ob8fx1n7g/Agatha.zip">https://dl-web.dropbox.com/s/qtikk8ob8fx1n7g/Agatha.zip</a></span></p><img decoding="async" src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F62&amp;action_name=Dropbox%E8%BD%AC%E6%8D%A2%E7%9B%B4%E9%93%BE%E7%9A%84%E6%96%B9%E6%B3%95&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
					<wfw:commentRss>https://1234567.best/archives/62/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Docker &#8211; V2ray</title>
		<link>https://1234567.best/archives/40</link>
					<comments>https://1234567.best/archives/40#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 11 May 2022 08:30:20 +0000</pubDate>
				<category><![CDATA[Docker]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://1234567.best/?p=40</guid>

					<description><![CDATA[V2Ray Docker Image by Teddysun: https://hub.docker.com/r/teddysun/v2ray 1. Pull the image: docker pull teddysun/v2ray 2.create a configuration file /etc/v2ray/config.json in host at first: mkdir -p /etc/v2ray A sample in JSON like below: $ cat &#62; /etc/v2ray/config.json &#60;&#60;EOF {   &#8220;inbounds&#8221;: [{&#8230; <img src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F40&amp;action_name=Docker+%26%238211%3B+V2ray&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<p>V2Ray Docker Image by Teddysun:</p>
<p><a href="https://hub.docker.com/r/teddysun/v2ray"><a href="https://hub.docker.com/r/teddysun/v2ray">https://hub.docker.com/r/teddysun/v2ray</a></a></p>
<p class="p1"><b>1. Pull the image:</b></p>
<p class="p2">docker pull teddysun/v2ray</p>
<p class="p1"><b>2.create a configuration file /etc/v2ray/config.json in host at first:</b></p>
<p class="p2">mkdir -p /etc/v2ray</p>
<p class="p1"><b>A sample in JSON like below:</b></p>
<p class="p2">$ cat &gt; /etc/v2ray/config.json &lt;&lt;EOF</p>
<p class="p2">{</p>
<p class="p2"><span class="Apple-converted-space">  </span>&#8220;inbounds&#8221;: [{</p>
<p class="p2"><span class="Apple-converted-space">    </span>&#8220;port&#8221;: 9000,</p>
<p class="p2"><span class="Apple-converted-space">    </span>&#8220;protocol&#8221;: &#8220;vmess&#8221;,</p>
<p class="p2"><span class="Apple-converted-space">    </span>&#8220;settings&#8221;: {</p>
<p class="p2"><span class="Apple-converted-space">      </span>&#8220;clients&#8221;: [</p>
<p class="p2"><span class="Apple-converted-space">        </span>{</p>
<p class="p2"><span class="Apple-converted-space">          </span>&#8220;id&#8221;: &#8220;11c2a696-0366-4524-b8f0-9a9c21512b02&#8221;,</p>
<p class="p2"><span class="Apple-converted-space">          </span>&#8220;level&#8221;: 1,</p>
<p class="p2"><span class="Apple-converted-space">          </span>&#8220;alterId&#8221;: 64</p>
<p class="p2"><span class="Apple-converted-space">        </span>}</p>
<p class="p2"><span class="Apple-converted-space">      </span>]</p>
<p class="p2"><span class="Apple-converted-space">    </span>}</p>
<p class="p2"><span class="Apple-converted-space">  </span>}],</p>
<p class="p2"><span class="Apple-converted-space">  </span>&#8220;outbounds&#8221;: [{</p>
<p class="p2"><span class="Apple-converted-space">    </span>&#8220;protocol&#8221;: &#8220;freedom&#8221;,</p>
<p class="p2"><span class="Apple-converted-space">    </span>&#8220;settings&#8221;: {}</p>
<p class="p2"><span class="Apple-converted-space">  </span>}]</p>
<p class="p2">}</p>
<p class="p2">EOF</p>
<p class="p1"><b>3.There is an example to start a container that listen on port 9000, run as a V2Ray server like below:</b></p>
<p class="p2">docker run -d -p 9000:9000 &#8211;name v2ray &#8211;restart=always -v /etc/v2ray:/etc/v2ray teddysun/v2ray</p>
<p>&nbsp;</p><img decoding="async" src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F40&amp;action_name=Docker+%26%238211%3B+V2ray&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
					<wfw:commentRss>https://1234567.best/archives/40/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Docker 搭建 calibre-web</title>
		<link>https://1234567.best/archives/38</link>
					<comments>https://1234567.best/archives/38#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 11 May 2022 08:25:31 +0000</pubDate>
				<category><![CDATA[Docker]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://1234567.best/?p=38</guid>

					<description><![CDATA[官网地址：https://hub.docker.com/r/technosoft2000/calibre-web 1.获取 Docker 镜像: docker pull technosoft2000/calibre-web 启动 calibre-web: docker create --name=calibre-web --restart=always \ -v /data/calibre/books:/books \ -v /data/calibre/config:/calibre-web/config \ -e USE_CONFIG_DIR=true \ -e SET_CONTAINER_TIMEZONE=true \ -e CONTAINER_TIMEZONE=Asia/Shanghai \ -e PGID=65539 -e PUID=1029 \ -p 8083:8083 \ technosoft2000/calibre-web 3.上传 calibre&#8230; <img src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F38&amp;action_name=Docker+%E6%90%AD%E5%BB%BA+calibre-web&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<p>官网地址：<a href="https://hub.docker.com/r/technosoft2000/calibre-web"><a href="https://hub.docker.com/r/technosoft2000/calibre-web">https://hub.docker.com/r/technosoft2000/calibre-web</a></a></p>
<p>1.获取 Docker 镜像:</p>
<p>docker pull technosoft2000/calibre-web</p>
<ol start="2">
<li>启动 calibre-web:
<pre class="enlighter-clipboard">docker create --name=calibre-web --restart=always \
-v /data/calibre/books:/books \
-v /data/calibre/config:/calibre-web/config \
-e USE_CONFIG_DIR=true \
-e SET_CONTAINER_TIMEZONE=true \
-e CONTAINER_TIMEZONE=Asia/Shanghai \
-e PGID=65539 -e PUID=1029 \
-p 8083:8083 \
technosoft2000/calibre-web</pre></li>
</ol>
<p>3.上传 calibre 的 metadata.db 文件:
将metadata.db 文件文件上传到轻量应用服务器的/data/caliber/books 目录下。</p>
<p>4.登陆 calibre-web:
在浏览器地址栏访问轻量应用服务器的IP地址，默认的用户名为admin，密码为admin123;配置书库地址为 /books，然后点击保存。</pre></p><img decoding="async" src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F38&amp;action_name=Docker+%E6%90%AD%E5%BB%BA+calibre-web&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
					<wfw:commentRss>https://1234567.best/archives/38/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Docker部署ServerStatus with tgbot</title>
		<link>https://1234567.best/archives/36</link>
					<comments>https://1234567.best/archives/36#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 02 May 2022 06:31:58 +0000</pubDate>
				<category><![CDATA[Docker]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://1234567.best/?p=36</guid>

					<description><![CDATA[https://github.com/cppla/ServerStatus 服务端 mkdir /serverstatus cd /serverstatus mkdir plugin cd plugin curl -L https://raw.githubusercontent.com/cppla/ServerStatus/master/plugin/Dockerfile-telegram -O curl -L https://raw.githubusercontent.com/cppla/ServerStatus/master/plugin/bot-telegram.py -O cd /serverstatus curl -L https://raw.githubusercontent.com/cppla/ServerStatus/master/Dockerfile -O curl -L https://raw.githubusercontent.com/cppla/ServerStatus/master/docker-compose-telegram.yml -O nano docker-compose-telegram.yml &#160; version: &#8220;3&#8221; services: serverstatus: build: context: . dockerfile: Dockerfile&#8230; <img src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F36&amp;action_name=Docker%E9%83%A8%E7%BD%B2ServerStatus+with+tgbot&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<p><a href="https://github.com/cppla/ServerStatus">https://github.com/cppla/ServerStatus</a></p>
<p>服务端
mkdir /serverstatus
cd /serverstatus
mkdir plugin
cd plugin</p>
<p>curl -L <a href="https://raw.githubusercontent.com/cppla/ServerStatus/master/plugin/Dockerfile-telegram">https://raw.githubusercontent.com/cppla/ServerStatus/master/plugin/Dockerfile-telegram</a> -O</p>
<p>curl -L <a href="https://raw.githubusercontent.com/cppla/ServerStatus/master/plugin/bot-telegram.py">https://raw.githubusercontent.com/cppla/ServerStatus/master/plugin/bot-telegram.py</a> -O</p>
<p>cd /serverstatus</p>
<p>curl -L <a href="https://raw.githubusercontent.com/cppla/ServerStatus/master/Dockerfile">https://raw.githubusercontent.com/cppla/ServerStatus/master/Dockerfile</a> -O</p>
<p>curl -L <a href="https://raw.githubusercontent.com/cppla/ServerStatus/master/docker-compose-telegram.yml">https://raw.githubusercontent.com/cppla/ServerStatus/master/docker-compose-telegram.yml</a> -O</p>
<p>nano docker-compose-telegram.yml</p>
<p>&nbsp;</p>
<p>version: &#8220;3&#8221;
services:
serverstatus:
build:
context: .
dockerfile: Dockerfile
image: serverstatus_server
container_name: serverstatus
restart: unless-stopped
networks:
serverstatus-network:
ipv4_address: 172.23.0.2
volumes:</p>
<ul>
<li>./server/config.json:/ServerStatus/server/config.json</li>
<li>./web/json:/usr/share/nginx/html/json</li>
<li>./web:/usr/share/nginx/html
ports:</li>
<li>35601:35601</li>
<li>8080:80
bot:
build:
context: ./plugin
dockerfile: Dockerfile-telegram
image: serverstatus_bot
container_name: bot4sss
restart: unless-stopped
networks:
serverstatus-network:
ipv4_address: 172.23.0.3
environment:</li>
<li>TG_CHAT_ID=${TG_CHAT_ID}</li>
<li>TG_BOT_TOKEN=${TG_BOT_TOKEN}</li>
</ul>
<p>networks:
serverstatus-network:
name: serverstatus-network
ipam:
config:</p>
<ul>
<li>subnet: 172.23.0.0/24</li>
</ul>
<p>退出并保存，然后执行：</p>
<p>TG_CHAT_ID=1106xxxxxx TG_BOT_TOKEN=1799xxxxxx:AAHIoyPFzosWtLgWsoIzEPlR9Qp72xxxxxx /usr/local/bin/docker-compose -f docker-compose-telegram.yml up -d</p>
<p>客户端
wget &#8211;no-check-certificate -qO client-linux.py &#8216;<a href="https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py">https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py</a>&#8216; &amp;&amp; nohup python3 client-linux.py SERVER={$SERVER} USER={$USER} PASSWORD={$PASSWORD} &gt;/dev/null 2&gt;&amp;1 &amp;</p>
<p>#eg:
wget &#8211;no-check-certificate -qO client-linux.py &#8216;<a href="https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py">https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py</a>&#8216; &amp;&amp; nohup python3 client-linux.py SERVER=45.79.67.132 USER=s04 &gt;/dev/null 2&gt;&amp;1 &amp;</p>
<p>&nbsp;</p>
<p>转载：<a href="https://www.uionm.com/2022/03/1076/"><a href="https://www.uionm.com/2022/03/1076/">https://www.uionm.com/2022/03/1076/</a></a></p><img loading="lazy" decoding="async" src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F36&amp;action_name=Docker%E9%83%A8%E7%BD%B2ServerStatus+with+tgbot&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
					<wfw:commentRss>https://1234567.best/archives/36/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Debian 10 无法更新解决方案</title>
		<link>https://1234567.best/archives/34</link>
					<comments>https://1234567.best/archives/34#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 30 Apr 2022 05:50:05 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Debian]]></category>
		<guid isPermaLink="false">https://1234567.best/?p=34</guid>

					<description><![CDATA[先使用更新 apt-get --allow-releaseinfo-change update 再使用更新解决其余问题 apt-get dist-upgrade 就解决了问题<img src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F34&amp;action_name=Debian+10+%E6%97%A0%E6%B3%95%E6%9B%B4%E6%96%B0%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<p>先使用更新</p>
<pre class="wp-block-code"><code>apt-get --allow-releaseinfo-change update</code></pre>
<p>再使用更新解决其余问题</p>
<pre class="wp-block-code"><code>apt-get dist-upgrade</code></pre>
<p>就解决了问题</p><img loading="lazy" decoding="async" src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F34&amp;action_name=Debian+10+%E6%97%A0%E6%B3%95%E6%9B%B4%E6%96%B0%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
					<wfw:commentRss>https://1234567.best/archives/34/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>v2board &#8211; XrayR</title>
		<link>https://1234567.best/archives/32</link>
					<comments>https://1234567.best/archives/32#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 29 Apr 2022 12:55:22 +0000</pubDate>
				<category><![CDATA[Docker]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://1234567.best/?p=32</guid>

					<description><![CDATA[v2board &#8211; 使用aaPanel手动部署: https://docs.v2board.com/deploy/aapanel.html xrayr-project 对接v2board: https://crackair.gitbook.io/xrayr-project/dui-jie-v2board/v2board Docker 安装 xrayr-project: https://crackair.gitbook.io/xrayr-project/xrayr-xia-zai-he-an-zhuang/install/docker &#160; Docker run 安装XrayR: docker pull crackair/xrayr:latest &#38;&#38; docker run &#8211;restart=always &#8211;name xrayr -d -v /root/xrayr/config.yml:/etc/XrayR/config.yml &#8211;network=host crackair/xrayr:latest<img src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F32&amp;action_name=v2board+%26%238211%3B+XrayR&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<p>v2board &#8211; 使用aaPanel手动部署:</p>
<p><a href="https://docs.v2board.com/deploy/aapanel.html"><a href="https://docs.v2board.com/deploy/aapanel.html">https://docs.v2board.com/deploy/aapanel.html</a></a></p>
<p>xrayr-project 对接v2board:</p>
<p><a href="https://crackair.gitbook.io/xrayr-project/dui-jie-v2board/v2board"><a href="https://crackair.gitbook.io/xrayr-project/dui-jie-v2board/v2board">https://crackair.gitbook.io/xrayr-project/dui-jie-v2board/v2board</a></a></p>
<p>Docker 安装 xrayr-project:</p>
<p><a href="https://crackair.gitbook.io/xrayr-project/xrayr-xia-zai-he-an-zhuang/install/docker"><a href="https://crackair.gitbook.io/xrayr-project/xrayr-xia-zai-he-an-zhuang/install/docker">https://crackair.gitbook.io/xrayr-project/xrayr-xia-zai-he-an-zhuang/install/docker</a></a></p>
<p>&nbsp;</p>
<p><span data-slate-fragment="JTdCJTIyb2JqZWN0JTIyJTNBJTIyZG9jdW1lbnQlMjIlMkMlMjJkYXRhJTIyJTNBJTdCJTdEJTJDJTIybm9kZXMlMjIlM0ElNUIlN0IlMjJvYmplY3QlMjIlM0ElMjJibG9jayUyMiUyQyUyMnR5cGUlMjIlM0ElMjJoZWFkaW5nLTElMjIlMkMlMjJpc1ZvaWQlMjIlM0FmYWxzZSUyQyUyMmRhdGElMjIlM0ElN0IlN0QlMkMlMjJub2RlcyUyMiUzQSU1QiU3QiUyMm9iamVjdCUyMiUzQSUyMnRleHQlMjIlMkMlMjJsZWF2ZXMlMjIlM0ElNUIlN0IlMjJvYmplY3QlMjIlM0ElMjJsZWFmJTIyJTJDJTIydGV4dCUyMiUzQSUyMkRvY2tlciUyMHJ1biUyMCVFNSVBRSU4OSVFOCVBMyU4NVhyYXlSJTIyJTJDJTIybWFya3MlMjIlM0ElNUIlNUQlMkMlMjJzZWxlY3Rpb25zJTIyJTNBJTVCJTVEJTdEJTVEJTJDJTIya2V5JTIyJTNBJTIyMTQxY2E1NTQ3ZDA4NDNlMzg0ZDdhMjdiZGJlNGM1M2QlMjIlN0QlNUQlMkMlMjJrZXklMjIlM0ElMjI1MjI3ZDk1ODlkMWI0Y2MwODYyMGRlZWU2YzE0Mjk2NSUyMiU3RCU1RCUyQyUyMmtleSUyMiUzQSUyMmJlOWJmYTQ3NzJlZTRlMjlhMGRiMTBmNDE1OGNkYTk3JTIyJTdE">Docker run 安装XrayR:</span></p>
<p>docker pull crackair/xrayr:latest &amp;&amp; docker run &#8211;restart=always &#8211;name xrayr -d -v /root/xrayr/config.yml:/etc/XrayR/config.yml &#8211;network=host crackair/xrayr:latest</p><img loading="lazy" decoding="async" src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F32&amp;action_name=v2board+%26%238211%3B+XrayR&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
					<wfw:commentRss>https://1234567.best/archives/32/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>docker停止、删除容器实例、删除镜像操作</title>
		<link>https://1234567.best/archives/30</link>
					<comments>https://1234567.best/archives/30#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 29 Apr 2022 12:25:39 +0000</pubDate>
				<category><![CDATA[Docker]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://1234567.best/?p=30</guid>

					<description><![CDATA[当你的容器中出现问题（比如我改坏了文件）需要重新部署一台的时候，就需要将这个容器实例删除 接着： #查看当前的容器ID $ docker ps 这里你会看到有两列id，一列是镜像id，一列是容器id，我们要分清楚这两个东西。 #首先将容器实例停止，这里停止容器还可以重启，不影响之前的配置 $ docker stop [容器id] &#60;span class=&#34;token comment&#34;&#62;#这里将容器实例删除，容器之前的配置消失 $ docker rm [容器id] &#60;/span&#62; 这样就将docker对应实例删除了，而删除镜像必须在前面两步之后进行： #删除下载或者是创建的镜像文件 $ docker rmi [镜像id] 列出所有的容器 ID docker ps -aq 停止所有的容器 docker stop $(docker ps -aq) 删除所有的容器 docker rm&#8230; <img src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F30&amp;action_name=docker%E5%81%9C%E6%AD%A2%E3%80%81%E5%88%A0%E9%99%A4%E5%AE%B9%E5%99%A8%E5%AE%9E%E4%BE%8B%E3%80%81%E5%88%A0%E9%99%A4%E9%95%9C%E5%83%8F%E6%93%8D%E4%BD%9C&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<p>当你的容器中出现问题（比如我改坏了文件）需要重新部署一台的时候，就需要将这个容器实例删除
接着：</p>
<pre class="prettyprint">#查看当前的容器ID
$ docker ps

这里你会看到有两列id，一列是镜像id，一列是容器id，我们要分清楚这两个东西。</pre>
<pre class="prettyprint"><code class="prism language-shell has-numbering">
#首先将容器实例停止，这里停止容器还可以重启，不影响之前的配置
$ docker stop [容器id]
</code></pre>
<pre class="prettyprint"><code class="prism language-shell has-numbering">&lt;span class=&quot;token comment&quot;&gt;#这里将容器实例删除，容器之前的配置消失
$ docker rm [容器id]
&lt;/span&gt;</code></pre>
<p>这样就将docker对应实例删除了，而删除镜像必须在前面两步之后进行：</p>
<pre class="prettyprint">#删除下载或者是创建的镜像文件
$ docker rmi [镜像id]

</pre>
<h2 id="列出所有的容器_ID">列出所有的容器 ID</h2>
<figure class="highlight">
<table>
<tbody>
<tr>
<td class="gutter">
<div class="line"></div></td>
<td class="code">
<div class="line">docker <span class="keyword">ps</span> -aq</div></td>
</tr>
</tbody>
</table>
</figure>
<h2 id="停止所有的容器">停止所有的容器</h2>
<figure class="highlight">
<table>
<tbody>
<tr>
<td class="gutter">
<div class="line"></div></td>
<td class="code">
<div class="line">docker <span class="keyword">stop</span> $(docker <span class="keyword">ps</span> -aq)</div></td>
</tr>
</tbody>
</table>
</figure>
<h2 id="删除所有的容器">删除所有的容器</h2>
<figure class="highlight">
<table>
<tbody>
<tr>
<td class="gutter">
<div class="line"></div></td>
<td class="code">
<div class="line">docker rm $(docker <span class="keyword">ps</span> -aq)</div></td>
</tr>
</tbody>
</table>
</figure>
<h2 id="删除所有的镜像">删除所有的镜像</h2>
<figure class="highlight">
<table>
<tbody>
<tr>
<td class="gutter">
<div class="line"></div></td>
<td class="code">
<div class="line">docker rmi <span class="variable">$(</span>docker images -q)</div></td>
</tr>
</tbody>
</table>
</figure>
<h2 id="复制文件">复制文件</h2>
<figure class="highlight">
<table>
<tbody>
<tr>
<td class="gutter">
<div class="line"></div></td>
<td class="code">
<div class="line">docker cp mycontainer:/opt/<span class="built_in">file</span>.txt /opt/<span class="built_in">local</span>/</div>
<div class="line">docker cp /opt/<span class="built_in">local</span>/<span class="built_in">file</span>.txt mycontainer:/opt/</div></td>
</tr>
</tbody>
</table>
</figure>
<p>&nbsp;</p>
<p><strong>更新</strong>: 现在的docker有了专门清理资源(container、image、网络)的命令。 docker 1.13 中增加了 <code>docker system prune</code>的命令，针对container、image可以使用<code>docker container prune</code>、<code>docker image prune</code>命令。</p>
<ul>

<li><code>docker image prune --force --all</code>或者docker image prune -f -a` : 删除所有不使用的镜像</li>

<li><code>docker container prune -f</code>: 删除所有停止的容器</li>
</ul><img loading="lazy" decoding="async" src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F30&amp;action_name=docker%E5%81%9C%E6%AD%A2%E3%80%81%E5%88%A0%E9%99%A4%E5%AE%B9%E5%99%A8%E5%AE%9E%E4%BE%8B%E3%80%81%E5%88%A0%E9%99%A4%E9%95%9C%E5%83%8F%E6%93%8D%E4%BD%9C&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
					<wfw:commentRss>https://1234567.best/archives/30/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>怎么修改ubuntu的软件源</title>
		<link>https://1234567.best/archives/28</link>
					<comments>https://1234567.best/archives/28#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 29 Apr 2022 05:49:13 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<guid isPermaLink="false">https://1234567.best/?p=28</guid>

					<description><![CDATA[ubuntu修改软件源的方法： 1、打开终端； 2、输入“sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup”命令备份源列表； 3、输入“sudo vim /etc/apt/sources.list”命令打开sources.list文件进行修改； 4、使用新的源替换掉文件中所有的内容； 5、输入命令更新源列表，使修改生效即可。 具体操作步骤： 1、使用快捷键【Ctrl+Alt+T】打开终端。 2、输入以下命令备份源列表。 sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 3、再输入命令打开sources.list文件进行修改。 sudo vim /etc/apt/sources.list 4、使用以下源替换掉文件中所有的内容，保存编辑好的文件。 deb http://mirrors.aliyun.com/ubuntu / trusty main restricted universe multiverse deb http:/ /mirrors.aliyun.com/ubuntu / trusty-security main restricted universe multiverse&#8230; <img src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F28&amp;action_name=%E6%80%8E%E4%B9%88%E4%BF%AE%E6%94%B9ubuntu%E7%9A%84%E8%BD%AF%E4%BB%B6%E6%BA%90&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<p><strong>ubuntu修改软件源的方法：</strong></p>
<p>1、打开终端；</p>
<p>2、输入“sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup”命令备份源列表；</p>
<p>3、输入“sudo vim /etc/apt/sources.list”命令打开sources.list文件进行修改；</p>
<p>4、使用新的源替换掉文件中所有的内容；</p>
<p>5、输入命令更新源列表，使修改生效即可。</p>
<p class="illustration_img"><img decoding="async" title="怎么修改ubuntu的软件源" src="https://cache.yisu.com/upload/ask/2021-04-15/illustration_1_607822d4d660a3950.jpg" alt="怎么修改ubuntu的软件源"></p>
<p>具体操作步骤：</p>
<p>1、使用快捷键【Ctrl+Alt+T】打开终端。</p>
<p>2、输入以下命令备份源列表。</p>
<p>sudo cp /etc/apt/sources.<span class="hljs-built_in">list</span> /etc/apt/sources.list_backup</p>
<p>3、再输入命令打开sources.list文件进行修改。</p>
<p>sudo vim /etc/apt/sources.<span class="hljs-built_in">list</span></p>
<p>4、使用以下源替换掉文件中所有的内容，保存编辑好的文件。</p>
<p>deb <span class="hljs-symbol">http:</span>/<span class="hljs-regexp">/mirrors.aliyun.com/ubuntu</span>
<span class="hljs-regexp">/ trusty main restricted universe multiverse </span></p>
<p><span class="hljs-regexp">deb http:/</span>
<span class="hljs-regexp">/mirrors.aliyun.com/ubuntu</span>
<span class="hljs-regexp">/ trusty-security main restricted universe multiverse </span></p>
<p><span class="hljs-regexp">deb http:/</span>
<span class="hljs-regexp">/mirrors.aliyun.com/ubuntu</span>
<span class="hljs-regexp">/ trusty-updates main restricted universe multiverse </span></p>
<p><span class="hljs-regexp">deb http:/</span>
<span class="hljs-regexp">/mirrors.aliyun.com/ubuntu</span>
<span class="hljs-regexp">/ trusty-proposed main restricted universe multiverse </span></p>
<p><span class="hljs-regexp">deb http:/</span>
<span class="hljs-regexp">/mirrors.aliyun.com/ubuntu</span>
<span class="hljs-regexp">/ trusty-backports main restricted universe multiverse </span></p>
<p><span class="hljs-regexp">deb-src http:/</span>
<span class="hljs-regexp">/mirrors.aliyun.com/ubuntu</span>
<span class="hljs-regexp">/ trusty main restricted universe multiverse </span></p>
<p><span class="hljs-regexp">deb-src http:/</span>
<span class="hljs-regexp">/mirrors.aliyun.com/ubuntu</span>
<span class="hljs-regexp">/ trusty-security main restricted universe multiverse </span></p>
<p><span class="hljs-regexp">deb-src http:/</span>
<span class="hljs-regexp">/mirrors.aliyun.com/ubuntu</span>
<span class="hljs-regexp">/ trusty-updates main restricted universe multiverse </span></p>
<p><span class="hljs-regexp">deb-src http:/</span>
<span class="hljs-regexp">/mirrors.aliyun.com/ubuntu</span>
<span class="hljs-regexp">/ trusty-proposed main restricted universe multiverse </span></p>
<p><span class="hljs-regexp">deb-src http:/</span>
<span class="hljs-regexp">/mirrors.aliyun.com/ubuntu</span>
<span class="hljs-regexp">/ trusty-backports main restricted universe multiverse</span></p>
<p>5、最后输入以下命令更新源列表，使修改生效即可。</p>
<p>sudo apt-<span class="hljs-keyword">get</span> update</p>
<p>sudo apt-<span class="hljs-keyword">get</span> upgrade</p>
<p>sudo apt-<span class="hljs-keyword">get</span> install build-essential</p><img loading="lazy" decoding="async" src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F28&amp;action_name=%E6%80%8E%E4%B9%88%E4%BF%AE%E6%94%B9ubuntu%E7%9A%84%E8%BD%AF%E4%BB%B6%E6%BA%90&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
					<wfw:commentRss>https://1234567.best/archives/28/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux删除文件夹命令使用方法</title>
		<link>https://1234567.best/archives/26</link>
					<comments>https://1234567.best/archives/26#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 28 Apr 2022 12:36:29 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<guid isPermaLink="false">https://1234567.best/?p=26</guid>

					<description><![CDATA[在Linux中，删除目录中的文件夹和文件的方法其实很简单，使用rm -rf命令即可。 具体使用规则： rm -rf 目录名字 -r 向下递归，不管有多少级目录，一并删除。 -f 直接强行删除，没有任何提示。 实例： 删除文件夹实例： rm -rf /var/log/httpd 这句代码的意思是：删除/var/log/httpd目录以及其下所有文件、文件夹 删除文件实例： rm -f /var/log/httpd/access.log 这个将会强制删除/var/log/httpd/access.log这个文件 注意： 在linux中是没有设置回收站的，因此在使用rm命令的时候一定要小心些，删除之后的文件是无法恢复的。<img src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F26&amp;action_name=Linux%E5%88%A0%E9%99%A4%E6%96%87%E4%BB%B6%E5%A4%B9%E5%91%BD%E4%BB%A4%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<p>在Linux中，删除目录中的文件夹和文件的方法其实很简单，使用rm -rf命令即可。</p>
<p>具体使用规则：</p>
<p>rm -rf 目录名字
-r 向下递归，不管有多少级目录，一并删除。
-f 直接强行删除，没有任何提示。
实例：</p>
<p>删除文件夹实例：</p>
<p>rm -rf /var/log/httpd
这句代码的意思是：删除/var/log/httpd目录以及其下所有文件、文件夹</p>
<p>删除文件实例：</p>
<p>rm -f /var/log/httpd/access.log
这个将会强制删除/var/log/httpd/access.log这个文件</p>
<p>注意：
在linux中是没有设置回收站的，因此在使用rm命令的时候一定要小心些，删除之后的文件是无法恢复的。</p><img loading="lazy" decoding="async" src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F26&amp;action_name=Linux%E5%88%A0%E9%99%A4%E6%96%87%E4%BB%B6%E5%A4%B9%E5%91%BD%E4%BB%A4%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
					<wfw:commentRss>https://1234567.best/archives/26/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>一键DD纯净系统脚本 CentOS/Debian/Ubuntu</title>
		<link>https://1234567.best/archives/22</link>
					<comments>https://1234567.best/archives/22#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 28 Apr 2022 11:52:14 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<guid isPermaLink="false">https://1234567.best/?p=22</guid>

					<description><![CDATA[#Debian/Ubuntu: apt-get update #RedHat/CentOS: yum update #Debian/Ubuntu: apt-get install -y xz-utils openssl gawk file #RedHat/CentOS: yum install -y xz openssl gawk file 架构：KVM/XEN，不支持OpenVZ。 系统：Debian/Ubuntu/CentOS 注意事项： Vicer脚本目前不支持重装为CentOS 7系统，支持CentOS 6.9以下版本。 重装的系统源自官方发行版。 安装过程全自动进行，无需VNC操作，无需进入救援模式。 系统安装完成后的默认用户名为root，默认密码为: MoeClub.org 重装为Debian： 以下命令中的 -d 后面为Debian版本号，-v 后面为64位/32位，可根据需求进行替换。 Debian 9 64位： bash&#8230; <img src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F22&amp;action_name=%E4%B8%80%E9%94%AEDD%E7%BA%AF%E5%87%80%E7%B3%BB%E7%BB%9F%E8%84%9A%E6%9C%AC+CentOS%2FDebian%2FUbuntu&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<p>#Debian/Ubuntu:
apt-get update</p>
<p>#RedHat/CentOS:
yum update</p>
<p>#Debian/Ubuntu:
apt-get install -y xz-utils openssl gawk file</p>
<p>#RedHat/CentOS:
yum install -y xz openssl gawk file</p>
<p><strong>架构：</strong>KVM/XEN，不支持OpenVZ。
<strong>系统：</strong>Debian/Ubuntu/CentOS</p>
<p>注意事项：</p>
<ul>

<li>Vicer脚本目前不支持重装为CentOS 7系统，支持CentOS 6.9以下版本。</li>

<li>重装的系统源自官方发行版。</li>

<li>安装过程全自动进行，无需VNC操作，无需进入救援模式。</li>

<li>系统安装完成后的默认用户名为root，<strong>默认密码为: <code>MoeClub.org</code></strong></li>
</ul>
<h5><strong>重装为Debian：</strong></h5>
<p>以下命令中的 -d 后面为Debian版本号，-v 后面为64位/32位，可根据需求进行替换。</p>
<ol>
<li>Debian 9 64位：
bash &lt;(wget &#8211;no-check-certificate -qO- &#039;<a href="https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh">https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh</a>&#8216;) -d 9 -v 64 -a</li>
<li>Debian 10 64位：
bash &lt;(wget &#8211;no-check-certificate -qO- &#039;<a href="https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh">https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh</a>&#8216;) -d 10 -v 64 -a</li>
<li>Debian 11 64位：
bash &lt;(wget &#8211;no-check-certificate -qO- &#039;<a href="https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh">https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh</a>&#8216;) -d 11 -v 64 -a</li>
</ol>
<h5><strong>重装为Ubuntu：</strong></h5>
<p>以下命令中的 -u 后面为Ubuntu版本号，-v 后面为64位/32位，可根据需求进行替换。</p>
<ol>
<li>Ubuntu 16.04 64位：
bash &lt;(wget &#8211;no-check-certificate -qO- &#039;<a href="https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh">https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh</a>&#8216;) -u 16.04 -v 64 -a</li>
<li>Ubuntu 18.04 64位：
bash &lt;(wget &#8211;no-check-certificate -qO- &#039;<a href="https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh">https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh</a>&#8216;) -u 18.04 -v 64 -a</li>
<li>Ubuntu 20.04 64位：
bash &lt;(wget &#8211;no-check-certificate -qO- &#039;<a href="https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh">https://www.moeelf.com/attachment/LinuxShell/InstallNET.sh</a>&#8216;) -u 20.04 -v 64 -a</li>
</ol>
<h5>安装时指定密码</h5>
<ol>
<li>所有脚本都可以加入参数 -p 来设置默认密码，如：</li>
</ol>
<p>bash InstallNET.sh -d 9 -v 64 -p 123456 -a &#8211;mirror &#8216;<a href="https://mirrors.cloud.tencent.com/debian/">https://mirrors.cloud.tencent.com/debian/</a>&#8216;</p>
<p>安装后默认端口: <code>22</code>
安装后默认用户名: <code>root</code>
安装后默认密码: <code>MoeClub.org</code></p>
<p>&nbsp;</p>
<p dir="auto">DD Linux systems on VPS with support for Debian 9, 10, 11 and Ubuntu 18.04, 20.04.</p>
<p dir="auto">Installed the common software &#8216;wget curl git vim net-tools&#8217;. Some other simple system settings.</p>
<p dir="auto">Download and run the DD script:</p>
<p dir="auto"><code>wget https://raw.githubusercontent.com/yeahwu/InstallOS/main/InstallOS.sh &amp;&amp; bash InstallOS.sh</code></p>
<p dir="auto">Default root password: <code>111111.online</code></p><img loading="lazy" decoding="async" src="https://logs.1234567.best/piwik.php?idsite=2&amp;rec=1&amp;url=https%3A%2F%2F1234567.best%2Farchives%2F22&amp;action_name=%E4%B8%80%E9%94%AEDD%E7%BA%AF%E5%87%80%E7%B3%BB%E7%BB%9F%E8%84%9A%E6%9C%AC+CentOS%2FDebian%2FUbuntu&amp;urlref=https%3A%2F%2F1234567.best%2Ffeed" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
					<wfw:commentRss>https://1234567.best/archives/22/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
