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

Debian 上搭建 frp 实现内网穿透

本文最后更新于 2020 年 9 月 28 日


本文以 Debian 10 为例,介绍如何搭建 frp 服务端,用以实现内网穿透,并以 VNC 的使用为例,介绍如何配置客户端。本文同样完全适用于 Ubuntu 20.04 系统。

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


服务端安装

GitHub 上找到对应架构的最新压缩包并下载,例如:

1
2
3
4
5
6
export VERSION_FRP="0.34.0"
cd /usr/local/bin
sudo wget https://github.com/fatedier/frp/releases/download/v"$VERSION_FRP"/frp_"$VERSION_FRP"_linux_amd64.tar.gz
sudo tar -xf frp_"$VERSION_FRP"_linux_amd64.tar.gz -C /usr/local/bin
sudo mv frp_"$VERSION_FRP"_linux_amd64 frp
sudo rm frp_"$VERSION_FRP"_linux_amd64.tar.gz

Read More

ZMap 和 ZGrab 的基本安装和使用方法

本文以 Debian 10 为例,介绍如何安装并简单使用 Zmap 和 ZGrab 工具。


安装 ZMap

运行以下命令:

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

安装 ZGrab

运行以下命令:

1
sudo apt install build-essential vim wget -y

在 Go 语言官网找到对应架构最新的压缩包,并通过 wget 下载,例如:

1
wget -O go.tar.gz https://golang.org/dl/go1.14.6.linux-amd64.tar.gz
1
sudo tar -C /usr/local -xzf go.tar.gz
1
vim ~/.profile

~/.profile 的最后一行添加:

~/.profile
1
2
export PATH=$PATH:/usr/local/go/bin
export GOPATH=/usr/local/go/bin/

更新环境变量:

1
source ~/.profile

安装 ZGrab:

1
2
3
go get github.com/zmap/zgrab2
cd $GOPATH/src/github.com/zmap/zgrab2
make

设置 alias:

1
vim ~/.bash_aliases

添加以下内容:

~/.bash_aliases
1
alias zgrab="/usr/local/go/bin/src/github.com/zmap/zgrab2/zgrab2"

使 alias 生效:

1
source ~/.bash_aliases

Read More

Mastodon