<?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>ubuntu &#8211; 编程技术记录</title>
	<atom:link href="https://blog.z6z8.cn/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.z6z8.cn</link>
	<description>世界你好!</description>
	<lastBuildDate>Tue, 04 Feb 2020 16:18:35 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>ubuntu 18.04 : 安装openvpn access server</title>
		<link>https://blog.z6z8.cn/2020/02/05/ubuntu-18-04-%e5%ae%89%e8%a3%85openvpn-access-server/</link>
		
		<dc:creator><![CDATA[holdsky]]></dc:creator>
		<pubDate>Tue, 04 Feb 2020 16:18:35 +0000</pubDate>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[安全运维]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://blog.z6z8.cn/?p=786</guid>

					<description><![CDATA[apt update &#38;&#38; apt -y install ca-certificates wg [&#8230;]]]></description>
										<content:encoded><![CDATA[<pre><code class="language-shell">apt update &amp;&amp; apt -y install ca-certificates wget net-tools

wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add -

echo "deb http://as-repository.openvpn.net/as/debian bionic main"&gt;/etc/apt/sources.list.d/openvpn-as-repo.list

apt update &amp;&amp; apt -y install openvpn-as</code></pre>
<p>参考 <a href="https://openvpn.net/vpn-software-packages/">https://openvpn.net/vpn-software-packages/</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ubuntu 18.04 安装 shadowsocks server</title>
		<link>https://blog.z6z8.cn/2020/01/14/ubuntu-18-04-%e5%ae%89%e8%a3%85-shadowsocks-server/</link>
		
		<dc:creator><![CDATA[holdsky]]></dc:creator>
		<pubDate>Tue, 14 Jan 2020 11:17:23 +0000</pubDate>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[安全运维]]></category>
		<category><![CDATA[shadowsocks]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://blog.z6z8.cn/?p=774</guid>

					<description><![CDATA[shadowsocks 干啥用的，我就不细说了。 安装过程如下 安装pip3 shadowsocks有一个Py [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>shadowsocks 干啥用的，我就不细说了。<br />
安装过程如下</p>
<h2>安装pip3</h2>
<p>shadowsocks有一个Python语言开发的实现，需要用pip安装</p>
<pre><code class="language-shell">sudo apt-get update
sudo apt-get install python3-pip</code></pre>
<h2>安装shadowsocks</h2>
<pre><code class="language-shell">pip3 install https://github.com/shadowsocks/shadowsocks/archive/master.zip</code></pre>
<p>查看是否安装成功，安装成功应该会有版本显示</p>
<pre><code class="language-shell">ssserver --version

//Shadowsocks 3.0.0</code></pre>
<h2>创建配置文件</h2>
<pre><code class="language-shell">sudo mkdir /etc/shadowsocks
cd /etc/shadowsocks

vi config.json</code></pre>
<p><code>config.json</code>的内容如下</p>
<pre><code class="language-json">{
    "server":"::",
    "local_address": "127.0.0.1",
    "local_port":1080,
    "port_password":
    {
        "8388":"端口A的密码",
        "9000":"端口B的密码",
        "9001":"端口C的密码"
    },
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open": false
}</code></pre>
<h2>启动server</h2>
<pre><code class="language-shell">ssserver -c /etc/shadowsocks/config.json</code></pre>
<h2>添加server到系统服务</h2>
<pre><code class="language-shell">vi  /etc/systemd/system/shadowsocks-server.service</code></pre>
<p>内容如下</p>
<pre><code>[Unit]
Description=Shadowsocks Server
After=network.target
[Service]
ExecStart=/usr/local/bin/ssserver -c /etc/shadowsocks/config.json
Restart=on-abort
[Install]
WantedBy=multi-user.target</code></pre>
<p>然后就可以以系统服务启动了</p>
<pre><code class="language-shell">sudo systemctl start shadowsocks-server</code></pre>
<p>参考<br />
<a href="https://www.drsanwujiang.com/ubuntu-shadowsocks-install-and-optimize/">https://www.drsanwujiang.com/ubuntu-shadowsocks-install-and-optimize/</a></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
