2022 年回顾

自从 2023 年 1 月 6 日实习结束,说好听点我休息了 9 天,说难听点是着实颓废了 9 天。我现在有个毛病,就是在终于完成一个阶段后,就好像用掉了自己所有的力气和精神,很难支棱起来。不过也凑巧的是,最近这两次颓废都是在新冠康复后,也不知是后遗症还是真有了这脆弱的习惯。

所以在这 1 月中旬,才想要写下 2022 年的种种琐事——本来没这习惯,颓着也是颓着,写点东西也算回忆和沉淀吧。

Read More

Debian & Ubuntu 上部署 shadowsocks-rust 服务端

本文以 Debian 11 (Bullseye) 系统为例,介绍如何搭建 ss-rust 服务端,本教程同样适用于 Ubuntu。客户端使用同理。

注:请先参照 Debian & Ubuntu 服务器的初始化配置 一文对服务器进行各种必要的配置。本文以 sammy 用户为例,进行 shadowsocks-libev server 的建立,并默认已按初始化配置文章对服务器进行了配置。


准备

  • 可用的公网 IP 服务器(例如在 BandwagonHostVultr 等处购买的 VPS)
  • 基础 Linux 操作知识,并了解 vim 编辑器的基本使用方法

安装

安装 snapd

1
sudo apt update && sudo apt install snapd -y

安装 shadowsocks-rust

1
sudo snap install shadowsocks-rust

Read More

Software Product Management

Last updated on 26.05.2022.


Business Model

Introduction to Business Models

  • What does a business model describe for a company?
    • all the parts of the company necessary to create, deliver and capture the value
  • What are the nine building blocks of the business model canvas?
    • Customer Segments
    • Value Propositions
    • Channels
    • Customer Relationships
    • Revenue Streams
    • Key Resources
    • Key Activities
    • Key Partnerships
    • Cost Structure

Read More

Debian 搭建 WireGuard 服务端

本文以 Debian 10 为例,介绍如何搭建 WireGuard 服务端,并说明对应的客户端搭建方法和配置文件的格式。Ubuntu 20.04 系统与之大同小异。

注:请先参照 Debian & Ubuntu 服务器的初始化配置 一文对服务器进行各种必要的配置。本文以 sammy 用户为例,进行 WireGuard 的部署,并默认已按初始化配置文章对服务器进行了配置。


准备工作

安装步骤所需软件包:

1
2
sudo apt update
sudo apt install apt-transport-https vim -y

安装 WireGuard

添加 backports 源:

1
sudo sh -c "echo 'deb https://deb.debian.org/debian buster-backports main contrib non-free' > /etc/apt/sources.list.d/buster-backports.list"

安装软件包:

1
2
sudo apt update
sudo apt -t buster-backports install wireguard -y

Read More

为 Snap 设置代理

由于 snap 在部分地区下载缓慢,使用代理则可获得理想速度。本文将以 Ubuntu 系统为例,介绍如何为 snap 设置代理。


执行命令:

1
sudo systemctl edit snapd.service

添加以下内容,以监听在 1080 端口上的 socks5 代理为例:

1
2
3
[Service]
Environment="http_proxy=socks5://127.0.0.1:1080"
Environment="https_proxy=socks5://127.0.0.1:1080"

重新加载 snapd 服务:

1
2
sudo systemctl daemon-reload
sudo systemctl restart snapd.service

Read More

Mastodon