mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 09:14:06 +08:00
opt some
This commit is contained in:
parent
6d5f8cd011
commit
53df177c56
@ -15,7 +15,6 @@ ish_sys_path_insert $PWD/bin
|
|||||||
touch $CTX_ROOT/etc/path
|
touch $CTX_ROOT/etc/path
|
||||||
for line in `cat $CTX_ROOT/etc/path`; do
|
for line in `cat $CTX_ROOT/etc/path`; do
|
||||||
ish_sys_path_insert $line
|
ish_sys_path_insert $line
|
||||||
ish_log_debug "path" $line
|
|
||||||
done
|
done
|
||||||
|
|
||||||
ps aux |grep -v grep |grep ice.bin &>/dev/null && return
|
ps aux |grep -v grep |grep ice.bin &>/dev/null && return
|
||||||
|
14
go.mod
14
go.mod
@ -11,3 +11,17 @@ require (
|
|||||||
shylinux.com/x/nginx-story v0.2.7
|
shylinux.com/x/nginx-story v0.2.7
|
||||||
shylinux.com/x/redis-story v0.2.8
|
shylinux.com/x/redis-story v0.2.8
|
||||||
)
|
)
|
||||||
|
|
||||||
|
replace (
|
||||||
|
shylinux.com/x/ice => ./usr/release
|
||||||
|
shylinux.com/x/icebergs => ./usr/icebergs
|
||||||
|
shylinux.com/x/toolkits => ./usr/toolkits
|
||||||
|
)
|
||||||
|
|
||||||
|
replace (
|
||||||
|
shylinux.com/x/golang-story => ./usr/golang-story
|
||||||
|
shylinux.com/x/linux-story => ./usr/linux-story
|
||||||
|
shylinux.com/x/mysql-story => ./usr/mysql-story
|
||||||
|
shylinux.com/x/nginx-story => ./usr/nginx-story
|
||||||
|
shylinux.com/x/redis-story => ./usr/redis-story
|
||||||
|
)
|
||||||
|
38
src/main.shy
38
src/main.shy
@ -35,41 +35,3 @@ section "神农架"
|
|||||||
field "趋势图" web.code.git.trend args `intshell`
|
field "趋势图" web.code.git.trend args `intshell`
|
||||||
field "架构图" web.code.git.spide args `intshell`
|
field "架构图" web.code.git.spide args `intshell`
|
||||||
|
|
||||||
section "centos"
|
|
||||||
spark shell `
|
|
||||||
ssh root@114.132.199.163 # 登录主机
|
|
||||||
useradd -m shy # 添加用户
|
|
||||||
passwd shy # 添加密码
|
|
||||||
visudo # 添加权限
|
|
||||||
su shy # 切换用户
|
|
||||||
`
|
|
||||||
spark shell `
|
|
||||||
ctx_temp=$(mktemp)\; curl -fsSL https://shylinux.com -o $ctx_temp; source $ctx_temp source
|
|
||||||
`
|
|
||||||
|
|
||||||
order `
|
|
||||||
添加域名 2021.shylinux.com
|
|
||||||
安装代理 nginx
|
|
||||||
添加证书 https
|
|
||||||
`
|
|
||||||
|
|
||||||
section "macbook"
|
|
||||||
refer `
|
|
||||||
Trackpad: Tap to click
|
|
||||||
Terminal: font-size
|
|
||||||
keyboard: CapsLock
|
|
||||||
Dock: simple
|
|
||||||
|
|
||||||
iOA: https://ioa.tencent.com
|
|
||||||
WeCom: https://work.weixin.qq.com/#indexDownload
|
|
||||||
TencentMeeting: http://wemeet.oa.com/publicity/
|
|
||||||
foxmail: https://www.foxmail.com/
|
|
||||||
|
|
||||||
chrome: https://www.google.cn/intl/zh-CN/chrome/
|
|
||||||
golang: https://golang.google.cn/dl/
|
|
||||||
contexts: https://shylinux.com/
|
|
||||||
homebrew: https://brew.sh/
|
|
||||||
ssh-keygen ssh-copy-id
|
|
||||||
chsh -s /bin/bash
|
|
||||||
`
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user