• Stars
    star
    104
  • Rank 330,604 (Top 7 %)
  • Language
    Shell
  • License
    MIT License
  • Created almost 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Selfhosted server with Ansible.

selfhosted-server

利用 Ansible 快速自架各种服务器,包括 Shadowsocks、NGINX、PostgreSQL、Tiny Tiny RSS、Syncthing、Stikked、Git、Jenkins 等等。目前,支持 DigitalOcean、Linode、Vultr、Google Compute Engine 等 VPS,采用 Debian GNU/Linux 8.7 64 位版本系统。

Role 说明

VPS

Debian

  • common:常用的包及系统调优
  • unattendedupgrades:Debian 系统自动升级
  • debian-packaging:Debian 打包环境
  • user:添加系统用户帐号

Web Service

Database

Secure proxy

  • shadowsocks:架设 Shadowsocks 服务(Shadowsocks-libev)
  • kcptun:基于 KCP 的安全隧道

Tools

  • fail2ban:根据日志中的恶意指征封禁 IP
  • obname:备份工具
  • pelican:Pelican 静态站点生成器
  • lsyncd:Lsyncd 实时同步(Mirror)
  • ansible:Ansible 自动化工具
  • openjdk:OpenJDK Java 运行时
  • tmux:终端多路复用器
  • docker:Docker 容器

用法

请参考《跟 Toy 玩自架服务器》系列文章:

  1. 创建 Vultr 服务器实例
  2. 创建 Linode 服务器实例
  3. 跟 Toy 玩自架服务器:创建 DigitalOcean Droplet
  4. 跟 Toy 玩自架服务器:5 分钟搭一架梯子

许可

The MIT License (MIT)

Copyright © 2017 Xiaodong Xu, https://linuxtoy.org <xxdlhy [at] gmail [dot] com>

More Repositories

1

usingcli-book

像黑客一样使用命令行
TeX
1,418
star
2

tmuxen

tmux environment made easy.
Shell
222
star
3

linuxtoy.org

Site source for linuxtoy.org.
HTML
132
star
4

using-cli

Using the command line like a hacker
CSS
121
star
5

gitimmersion

A guided tour that walks through the fundamentals of Git
CSS
93
star
6

vimenv

Configure Vim environment
Vim Script
41
star
7

v2ray-for-ansible

V2Ray for Ansible
HTML
40
star
8

nextcontainer-example

《拥抱下一代容器化工具》视频课程所用的安装脚本、配置以及示例文件
Shell
23
star
9

mwm-slide

MonsterWM Slide.
C
18
star
10

swaywmconf

Sway 及其配件
CSS
16
star
11

kiss-raspi

A KISS repository for the Raspberry Pi
Shell
14
star
12

bin

~/bin
Shell
12
star
13

archstrap

利用 Ansible 自动化 Arch Linux 环境配置
Shell
12
star
14

bookdown-container

Bookdown for container
Dockerfile
11
star
15

dotman

A simple dotfile manager
Perl
10
star
16

perl-things

Things Perl programmer should know
CSS
9
star
17

PyMOTW-3-ZH

PyMOTW-3 Chinese Edition
Python
8
star
18

lendbook

Let's share books!
6
star
19

dwmconf

My dwm configuration
C
5
star
20

kvm-example

《自动化 KVM 虚拟机工作流》电子书所用的示例文件
Shell
5
star
21

xuxiaodong.github.com

Toy.new
CSS
4
star
22

terraform-example

《Terraform:自动化管理云基础设施》视频课程及电子书所用的代码示例文件 https://selfhostedserver.com/terraform
HCL
4
star
23

create-gce-with-terraform

利用 Terraform 创建 Google 云主机
HCL
4
star
24

utils

Collection of useful little utilities
Perl
3
star
25

lastplay

Remember last play position of MPlayer
Perl
3
star
26

kiss-personal

A KISS repository for the Arm 64-bit Architecture (AArch64)
Shell
3
star
27

scripts

Some useful Perl/Shell scripts
Perl
2
star
28

dotfiles

My dot files
Emacs Lisp
2
star
29

dailyrb

Use Ruby. Be happy.
JavaScript
2
star
30

overlay

My Gentoo overlay
1
star
31

namepub

Automatically rename ePub file
Ruby
1
star
32

bbcreate

Create a Bitbucket repository from the command line
Perl
1
star
33

miro-vim

Mirror of Miro color scheme for Vim.
Vim Script
1
star
34

vim-markdown-helper

Fast insert markdown tags in Vim
Vim Script
1
star
35

pydoc-epub

Automatically build ePub format of Python documents
Shell
1
star
36

gscripts

Gmail/Greader unread count
Perl
1
star
37

blogpost

A simple cli client for WordPress
1
star
38

gsd

A simple GUI for sdcv
Shell
1
star
39

wpcli

A simple command line client for WordPress
Ruby
1
star