From c20e63ca8af047df11d4465ca12f1f1c473ff05e Mon Sep 17 00:00:00 2001 From: shaoying Date: Thu, 10 Sep 2020 20:58:19 +0800 Subject: [PATCH] opt some --- etc/init.shy | 2 +- src/main.go | 7 +++---- src/main.shy | 36 ++++++------------------------------ 3 files changed, 10 insertions(+), 35 deletions(-) diff --git a/etc/init.shy b/etc/init.shy index 21d1afb3..aeaebb2e 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -37,7 +37,7 @@ # load ~ssh - listen :9030 + listen create port 9030 source local.shy target web.code.pprof diff --git a/src/main.go b/src/main.go index 4c2887bc..281a61f2 100644 --- a/src/main.go +++ b/src/main.go @@ -18,6 +18,9 @@ import ( _ "github.com/shylinux/golang-story/src/compile" _ "github.com/shylinux/golang-story/src/project" _ "github.com/shylinux/golang-story/src/runtime" + _ "github.com/shylinux/nginx-story/src/server" + _ "github.com/shylinux/redis-story/src/client" + _ "github.com/shylinux/redis-story/src/server" _ "github.com/shylinux/linux-story/iso/android" _ "github.com/shylinux/linux-story/iso/centos" @@ -29,10 +32,6 @@ import ( _ "github.com/shylinux/linux-story/src/glibc" _ "github.com/shylinux/linux-story/src/kernel" _ "github.com/shylinux/linux-story/src/qemu" - _ "github.com/shylinux/nginx-story/src/server" - _ "github.com/shylinux/redis-story/src/client" - _ "github.com/shylinux/redis-story/src/server" - _ "github.com/shylinux/mysql-story/src/client" _ "github.com/shylinux/mysql-story/src/search" _ "github.com/shylinux/mysql-story/src/server" diff --git a/src/main.shy b/src/main.shy index 784a345e..7244334f 100644 --- a/src/main.shy +++ b/src/main.shy @@ -1,6 +1,5 @@ title "contexts" premenu -source lock.shy chapter "实践" label "实践" ` @@ -21,63 +20,40 @@ volcanos icebergs intshell learning toolkits contexts ` stroke red fill black + chapter "环境" field "安装管理" web.code.install field "发布管理" web.code.publish - -chapter "环境" -spark "生产环境" -web.code.install contexts base -spark "开发环境" -web.code.install contexts miss +field "服务管理" cli.daemon chapter "组织" chapter "品牌" - chapter "管理" -field "下载管理" web.code.install -field "服务管理" cli.daemon chapter "技术" field webpack web.code.webpack field binpack web.code.binpack field modpack web.code.modpack -chapter "理论" - -chapter "ssh" -refer ` -官网 http://www.openssh.com/ -源码 https://github.com/openssh/openssh-portable -文档 https://man.openbsd.org/ssh -` - -field "登录" ssh.dial -field "公钥" ssh.public -field "服务" ssh.listen -field "连接" ssh.connect -field "会话" ssh.session - - -chapter "Logo" +section "Logo" refer ` 艺术字 http://www.akuziti.com/ ` -chapter "Ceph" +section "Ceph" refer ` 官网 https://docs.ceph.com/docs/master/ 源码 https://github.com/ceph/ceph 简介 https://blog.csdn.net/mingongge/article/details/100788388 ` -chapter "SuperVisor" +section "SuperVisor" refer ` 官网 http://supervisord.org/ 源码 https://github.com/Supervisor/supervisor ` -chapter "python" +section "python" refer ` 官网 https://www.python.org/ 源码 https://www.python.org/downloads/source/