mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 08:48:06 +08:00
Compare commits
662 Commits
Author | SHA1 | Date | |
---|---|---|---|
2a5a64530e | |||
0bddd31b25 | |||
d347df63ea | |||
ac4cf99a20 | |||
3de53ca1d8 | |||
473a68c9ac | |||
88944e138e | |||
21669f0f0f | |||
81078a3b7a | |||
dce09aabf5 | |||
51d6cfd067 | |||
8e6c3d7275 | |||
7a1687604b | |||
c982d09daa | |||
![]() |
9f323ebfd6 | ||
eecb6fe6df | |||
b7c276a7b5 | |||
14032e7259 | |||
334c3c3371 | |||
311f283c5f | |||
18e2325b0d | |||
2dc75bec5c | |||
956b5affb2 | |||
d7071dbe26 | |||
6b966c400b | |||
7a77cc87f3 | |||
4f94e2287e | |||
d279dd7503 | |||
45eca37d12 | |||
409c53f26c | |||
3faeb85998 | |||
a7a3154c6e | |||
ea818b457c | |||
915330d435 | |||
e8f2b8b757 | |||
a5420e958a | |||
d87b9c889f | |||
094f23d1b8 | |||
192e73004d | |||
a73c715f0e | |||
![]() |
2e1d2a7256 | ||
b5be3ac686 | |||
![]() |
65a337e727 | ||
fc75893210 | |||
1785e85fbb | |||
715aab8ea8 | |||
![]() |
512812625a | ||
b34617c804 | |||
3e756e3630 | |||
![]() |
95b0bc0853 | ||
6b7b0ea0ab | |||
121cad9ef5 | |||
![]() |
ceee2e0268 | ||
ba55589135 | |||
![]() |
ce5e4afbd1 | ||
![]() |
ce5aa5f240 | ||
3c1c151d38 | |||
![]() |
51a013c0d5 | ||
58ef541862 | |||
![]() |
b04a6edf08 | ||
30bc62f325 | |||
721faf9fd5 | |||
48268f36a5 | |||
![]() |
195cb141da | ||
![]() |
fb82981102 | ||
2070343cad | |||
![]() |
5b3c8766d9 | ||
fe47f800a2 | |||
b60e54c4a3 | |||
104987e47b | |||
7471f9ae74 | |||
![]() |
4fe2000455 | ||
d6fe45bb1b | |||
![]() |
fed602aab2 | ||
a80a336ec7 | |||
![]() |
6d523cd878 | ||
![]() |
2889f21b2f | ||
f7bc108272 | |||
![]() |
bb8e9c1971 | ||
9db26bdf6b | |||
387f81f0b0 | |||
17dc6b49d5 | |||
112e506878 | |||
6659e7a88b | |||
c7ccf380e8 | |||
025988915a | |||
fc731726aa | |||
0443ba02c1 | |||
edcfe5afa3 | |||
dc4a6ba65b | |||
a1ab79bc1b | |||
2955192d1c | |||
8e6251d9d1 | |||
dd929ee81d | |||
64f2e03dc8 | |||
73a7bb032f | |||
a0b0699b58 | |||
e9966c034e | |||
981562c7ed | |||
009ed2c1ae | |||
48657980cf | |||
474950255b | |||
bc4bc4b2d6 | |||
00d8255293 | |||
2b1c8074c8 | |||
777b0b0f85 | |||
6d980ab742 | |||
07440cc6c4 | |||
a50fd5db39 | |||
b1dafd6eca | |||
b650d9baad | |||
a241d541c4 | |||
a3bcf1e645 | |||
1edd43c97f | |||
5ed5c3df3c | |||
7c7686c5ac | |||
0ae0986696 | |||
fea4f85a3c | |||
d2cf10195c | |||
231dffffed | |||
aeecf73d65 | |||
a759bf70a9 | |||
992fa66c67 | |||
ac86be36c0 | |||
f42f1d5dc2 | |||
67a8d967b8 | |||
08fb70cf75 | |||
4d7dde6302 | |||
edd47db9fa | |||
314618bfba | |||
25d64150f3 | |||
9a31c67145 | |||
ffda3c9b2b | |||
d71db49ca6 | |||
9c10238b5f | |||
4acede3b92 | |||
3ae4be388e | |||
d8ad3fa3c0 | |||
3e237e6a4c | |||
9287c57088 | |||
2853afd2ed | |||
70a78e7770 | |||
9888a8aed1 | |||
e7502f03bd | |||
cf156fa573 | |||
860fe60b36 | |||
0fc5303e37 | |||
de802deb89 | |||
e0c6526286 | |||
b4a951cecc | |||
d586ddd5f0 | |||
8411e1d62b | |||
51e11b27a8 | |||
035e55e86a | |||
2a86610366 | |||
f97b666bf5 | |||
921c4d2aa4 | |||
e6c7c0dc18 | |||
c586616827 | |||
8c1f31ff34 | |||
6e6786781d | |||
![]() |
c348459b8e | ||
![]() |
2456245f37 | ||
9b5c5336ee | |||
7c375a80e2 | |||
b951ad6cbc | |||
98043b3213 | |||
550e287f07 | |||
b772486fee | |||
756dc925d4 | |||
7a95d0d64b | |||
3ea378c638 | |||
f28bac79a0 | |||
893a87dc18 | |||
51904057f8 | |||
04b862104b | |||
c582b902ba | |||
bcf0198006 | |||
ab4195d13e | |||
c77f8b0ee4 | |||
130fb83421 | |||
945611c633 | |||
f432d6cc8b | |||
5c9edfa0c7 | |||
11305ca63c | |||
9573211bd8 | |||
708f7840d2 | |||
ac45e590af | |||
d2207d4ecf | |||
2c2ee34c13 | |||
1a65ce5f5a | |||
c9190b797b | |||
0fab1107e9 | |||
3ad0c3f0ab | |||
83168f0a6c | |||
ba4d6d8427 | |||
5e3065882c | |||
3ae9595fe9 | |||
58d566ff23 | |||
c68d4a9089 | |||
df5c135b54 | |||
919eb3531e | |||
3a90eac79d | |||
18dd20fac7 | |||
68a1f8f7c3 | |||
7326d3da6e | |||
c1c837e57c | |||
12daa6e4f8 | |||
76674ba510 | |||
5f06ed7cf3 | |||
dc599872d6 | |||
cedfdf0507 | |||
7274fe8187 | |||
387d2999ef | |||
261e080d35 | |||
bd22ceedfc | |||
d596913ce6 | |||
a564902f24 | |||
4d6efc3f4c | |||
f69f274fff | |||
4fb31dbc97 | |||
265f22b758 | |||
a486ea22b6 | |||
ddae463207 | |||
8006fcc0a5 | |||
90768437c8 | |||
3ff9cb91dd | |||
519340e2fb | |||
543f27be9c | |||
88f7df5440 | |||
322bff0c66 | |||
7262d6e2f8 | |||
9732ebf1b7 | |||
bc97e058b8 | |||
a1efe60fb9 | |||
ec45142f50 | |||
d3b9cf874d | |||
33e7c49d9c | |||
9f6e4514bd | |||
4855bb4e9e | |||
88eccd8c36 | |||
cd06eabdf4 | |||
90e97adf1c | |||
9b77296bea | |||
4716e39ea5 | |||
26677df67d | |||
2ce28fd712 | |||
ca19320a58 | |||
512fa64417 | |||
6b94e1d07c | |||
536f512293 | |||
4ac554251e | |||
fb72cbfbae | |||
7cb15fb817 | |||
ea8aedd0b9 | |||
e273d35260 | |||
7151f8392f | |||
035d1cc92a | |||
aa9cbe981f | |||
638dbd7f15 | |||
f05ea3338b | |||
a974ed24a9 | |||
b1c196eb98 | |||
31e454755d | |||
ff6796bb53 | |||
feb5363eab | |||
cb90f9ca7f | |||
cd55ef9df8 | |||
004652d42d | |||
8a028c89b4 | |||
d6f301bbe1 | |||
a9a8c78c59 | |||
420f3a7e11 | |||
facd4b5f42 | |||
768487c059 | |||
601acc9b4b | |||
5f76efd1f6 | |||
ad22a48cd0 | |||
72a5ecd10d | |||
99bfd420bd | |||
49e374d4ff | |||
bdd0fb86b9 | |||
3fe7203aaf | |||
f5e9a974ef | |||
e44ad9011a | |||
c03babb086 | |||
5217168dce | |||
5ab5b4c8b9 | |||
f73b577392 | |||
cf0222efbc | |||
e6700107cb | |||
f0cc2db8a0 | |||
17ffcef6ef | |||
4c7fa77442 | |||
6156c8f9be | |||
a684b8e0ad | |||
9a8912321f | |||
e3785898e0 | |||
48d3d2f633 | |||
f6fae66c8f | |||
3ee7968942 | |||
3d42851aee | |||
08c0dd82f5 | |||
f8cae20ed0 | |||
638046ddef | |||
aa07ebe22f | |||
a9c64533cb | |||
bd918c3d77 | |||
e41f8efc5d | |||
7f4b8850a8 | |||
da67a11445 | |||
5a047779ac | |||
bb6caa7b08 | |||
895e7a3f6b | |||
3be41009f2 | |||
f481fd8e43 | |||
f68e9bd38d | |||
6dac3ee159 | |||
8969252215 | |||
2d904f06c6 | |||
68e71550f9 | |||
b0f3f1fef3 | |||
e515b4e9bc | |||
b58526ecb0 | |||
0576907874 | |||
3ca5acc5e3 | |||
dbb0139c4b | |||
2a7fdb8431 | |||
9c7ec53b5f | |||
6b7a76b711 | |||
2370dc574c | |||
0cdb526588 | |||
71bf661e5f | |||
3077d9bac2 | |||
a265822d4e | |||
aebdbf7c6f | |||
a6bc20485e | |||
5a7cd859ad | |||
7df9779939 | |||
ebb31cff54 | |||
3eadab1e75 | |||
ac59ff235d | |||
a440e20876 | |||
dbc605d23e | |||
b902fe472b | |||
9d628c1285 | |||
c7b3163266 | |||
dd6180c694 | |||
b1a55248e3 | |||
56b53afe44 | |||
6e2ecf2d83 | |||
7d24b2ff44 | |||
e7a5a5f5f3 | |||
5998563dc7 | |||
823bb6a5bc | |||
bf67e54d58 | |||
c9d8f21a0c | |||
1162b66cee | |||
6a197a16e8 | |||
2eef7d92a6 | |||
cf578ac318 | |||
31c61f34ee | |||
26aeff1eb4 | |||
a318e309a2 | |||
e67ab8163d | |||
cea512992b | |||
381af478f1 | |||
b754a75445 | |||
![]() |
115f7052a4 | ||
25d2cf981a | |||
fda2a2db99 | |||
9acbedd8cf | |||
e73f97948e | |||
f7c9b36f69 | |||
cf5731b2bb | |||
0857c04f7d | |||
8bf9cfc137 | |||
efb3564e7c | |||
c35b20d75b | |||
4a5d3cff30 | |||
e0b6d31a42 | |||
e86df95f97 | |||
9542e862a7 | |||
623da7e70c | |||
612933f445 | |||
386b568a9a | |||
1e5902bd6e | |||
44935edd2d | |||
f4cfc5a812 | |||
88cf7e50fd | |||
3923672449 | |||
18c809858b | |||
66a479b63f | |||
caee12d3c8 | |||
2072eb8cfb | |||
42fd2f8490 | |||
00cbffcec2 | |||
96cf11c59e | |||
03c8b5ad66 | |||
ddf7a9dd38 | |||
03663b6ad6 | |||
289f2e6b5a | |||
81d2e285c7 | |||
1024a6969a | |||
ea8eaa0ecf | |||
6f43d500f8 | |||
5339860895 | |||
18e8fbba5e | |||
5de731d835 | |||
adf7a9cc95 | |||
a004412492 | |||
05742b34f0 | |||
83f68756e5 | |||
bfe181ec1e | |||
d6582f37e4 | |||
b54910b817 | |||
6a77b95906 | |||
c0dcf39538 | |||
8aa0cbad84 | |||
9c0cb9bbc2 | |||
41ea46126f | |||
5287572e06 | |||
23933c678a | |||
ebf57cebf2 | |||
05ae6c4e30 | |||
d0ad38096f | |||
91a01c234e | |||
0d807e22f3 | |||
fa042bf109 | |||
e8ddc340e0 | |||
d6a124e879 | |||
d23c37c9bc | |||
37d56acd92 | |||
ce157b7cf5 | |||
109c00dc0c | |||
961b15f01d | |||
dae08e84d5 | |||
96bb645e8e | |||
8745682d94 | |||
a45584dcd0 | |||
7d7d7f36a6 | |||
d164db52cd | |||
2d32476d4d | |||
572f91074e | |||
163ebcf921 | |||
badb3a5ef1 | |||
805658ea63 | |||
d3c548fbb4 | |||
753fd59c72 | |||
e2ccbb900d | |||
6247460c0c | |||
243623d883 | |||
b2f7a67715 | |||
e62c68ff12 | |||
3a08da5fa0 | |||
96d73e66cf | |||
71394f99ac | |||
3f04db079f | |||
80ce15d2c2 | |||
3dd920a5a7 | |||
4c3f37fbcc | |||
dae976b72c | |||
dd0977e812 | |||
01fde97a9d | |||
76adc9d810 | |||
a844092744 | |||
56bcf2c536 | |||
8c4af1abca | |||
13faf105c0 | |||
5e5d2e65e7 | |||
ffc97b35bb | |||
28f37662f3 | |||
cf7d878b6e | |||
bd0ea44624 | |||
423e028ffd | |||
8d968457c9 | |||
dcdd135714 | |||
02f7cd2b50 | |||
0dbd08df81 | |||
a964f13582 | |||
d9b0db22b4 | |||
ae8fa41793 | |||
110c499129 | |||
0e25bac70f | |||
8fac3f63ab | |||
0b88317486 | |||
12652b8e46 | |||
b4625698fa | |||
83c00fcd0e | |||
008505262b | |||
e68059a9a4 | |||
962965f996 | |||
b68d75d9eb | |||
716b791759 | |||
6281fb9b1b | |||
2fd2496f83 | |||
3dce05fbcf | |||
725b12b9b3 | |||
5140d5930c | |||
b764a459f5 | |||
e257fa9a6a | |||
a5c3bc635c | |||
22cb595a55 | |||
75a41013ad | |||
d3462778f4 | |||
4c0f0c35f7 | |||
0b96712c68 | |||
3a12d3e725 | |||
3027067db0 | |||
26a1053e16 | |||
3b8f806e6d | |||
cc353d8e17 | |||
3de45b88ca | |||
c01f2adb8c | |||
b30cae31dc | |||
c208af0857 | |||
5f51763af6 | |||
fce04a14de | |||
37dbc62647 | |||
fe22bf0727 | |||
4bbd6667bc | |||
42b1634e6d | |||
1ca4df670c | |||
3183f1ccc7 | |||
72591a2230 | |||
a91917e540 | |||
d568180aa9 | |||
dccf40a6e5 | |||
6bb170c74c | |||
72ff32739d | |||
e157954f9d | |||
861d8bbfc7 | |||
a05536eeb0 | |||
6b4fa06ca6 | |||
973cab3c2f | |||
40ee45f00b | |||
8c72c9e113 | |||
6e0370da49 | |||
c5b83801b4 | |||
2653787c32 | |||
![]() |
ac9d146b21 | ||
![]() |
36ae89dbea | ||
![]() |
378e62e0a5 | ||
![]() |
efc3f1a3e8 | ||
0677a84dff | |||
7d415f29d0 | |||
1449b7c61e | |||
ed2601ece7 | |||
b65a01d390 | |||
af1832ea62 | |||
293e34b19b | |||
7ffda2824c | |||
9c3b2f0d5c | |||
873ed68008 | |||
dff4b6e553 | |||
eeb738ba65 | |||
0263c88eb4 | |||
3409f40031 | |||
f7fef37359 | |||
4bfe2ee915 | |||
d3c142ff49 | |||
3ed018b934 | |||
01f685cfb6 | |||
b3f6e23f94 | |||
65dc3e1135 | |||
e83499a4e3 | |||
25f9eeffee | |||
7cc4966a52 | |||
47af7b74c5 | |||
edbde954ce | |||
826dd83e69 | |||
3eecdc893c | |||
3ab5fb3f80 | |||
122056465e | |||
ad3040e680 | |||
7c99b97d87 | |||
229e4f1e4f | |||
50ca215bff | |||
92096a4933 | |||
0ef2a48e74 | |||
c993d60caf | |||
c72f8bc3ad | |||
cf0cf30b3f | |||
37df5ff34c | |||
b6efe088e4 | |||
d60d496026 | |||
![]() |
943f58396a | ||
![]() |
e049c89b93 | ||
885cacfd22 | |||
3577b4b867 | |||
a26f0f7f2a | |||
5f57b9ec1d | |||
a21fe41952 | |||
d501df7629 | |||
ac8c80a85c | |||
f7eff930b8 | |||
1fe76aa8ef | |||
8833f00015 | |||
240c75c781 | |||
26cfb0eabd | |||
861e6185a9 | |||
54394d9e5e | |||
ea59996834 | |||
35bd43186c | |||
d9175929ad | |||
f0e0de9fb9 | |||
dc5cda7f8b | |||
145b823171 | |||
e11bc448a4 | |||
80f68b136a | |||
476bda6390 | |||
9bdc4efbd9 | |||
280d00918b | |||
a898599832 | |||
c4adefbee7 | |||
9bc86f08be | |||
8678022db6 | |||
ee2bccda48 | |||
ec838a3224 | |||
9a8906da35 | |||
507b3d41b7 | |||
cb8a1809b2 | |||
f5efc8e8fe | |||
a9ed601d8f | |||
301bed99d1 | |||
94fdbb79df | |||
6943a096ac | |||
238a44b8f2 | |||
abae040f98 | |||
bf4080d796 | |||
00c88312b1 | |||
85ba6a51f4 | |||
d8151b9fc7 | |||
53fc01266e | |||
d03033f18d | |||
525cf8bf08 | |||
d542864c2b | |||
8e3f3f8f15 | |||
ad31f2cbcc | |||
947d34a8d2 | |||
28820ac34d | |||
1b1c9eb0ce | |||
5259773d90 | |||
d97767507c | |||
bd01155d8b | |||
97362018d9 | |||
08d5fd0bd0 | |||
51d8a084d9 | |||
1f8ad1ca77 | |||
9eda869ff6 | |||
a0b3d42fd8 | |||
b372525231 | |||
ea16ebfda7 | |||
b86b4195b4 | |||
1525852228 | |||
7cb0419b7e | |||
d4f524891f | |||
562771d162 | |||
316c0dcda9 | |||
e2b0755576 | |||
293bd8e11e | |||
38aa82e8c9 |
9
.gitignore
vendored
9
.gitignore
vendored
@ -1,9 +1,12 @@
|
||||
src/binpack_usr.go
|
||||
src/binpack.go
|
||||
src/version.go
|
||||
etc/
|
||||
etc/local.shy
|
||||
etc/local.sh
|
||||
bin/
|
||||
var/
|
||||
usr/
|
||||
tags
|
||||
usr/local/export/
|
||||
go.work.sum
|
||||
go.work
|
||||
.*
|
||||
|
||||
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 码神
|
||||
Copyright (c) 2017-2025 shylinux
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
18
Makefile
18
Makefile
@ -1,22 +1,12 @@
|
||||
publish = usr/publish
|
||||
binarys = bin/ice.bin
|
||||
option = src/option.go
|
||||
version = src/version.go
|
||||
binpack = src/binpack.go
|
||||
flags = -ldflags "-w -s" -v
|
||||
|
||||
all: def
|
||||
@date +"%Y-%m-%d %H:%M:%S"
|
||||
go build -v -o ${binarys} src/main.go ${version} ${binpack} && ./${binarys} forever restart &>/dev/null
|
||||
|
||||
app: def
|
||||
CGO_ENABLED=1 go build -v -o ${publish}/contexts.app/Contents/MacOS/contexts src/webview.go ${version} ${binpack} && ./${binarys} forever restart &>/dev/null
|
||||
# hdiutil create ${publish}/tmp.dmg -ov -volname "ContextsInstall" -fs HFS+ -srcfolder "${publish}/contexts.app"
|
||||
# rm -f ${publish}/ContextsInstall.dmg
|
||||
# hdiutil convert ${publish}/tmp.dmg -format UDZO -o ${publish}/ContextsInstall.dmg
|
||||
|
||||
%: src/%.go def
|
||||
@date +"%Y-%m-%d %H:%M:%S"
|
||||
go build -v -o ${publish}/$@ src/$@.go ${version} && chmod u+x ${publish}/$@
|
||||
go build ${flags} -o ${binarys} src/main.go ${option} ${version} && ./${binarys} forever restart &>/dev/null
|
||||
|
||||
def:
|
||||
@[ -f ${option} ] || echo "package main">${option}
|
||||
@[ -f ${version} ] || echo "package main">${version}
|
||||
@[ -f ${binpack} ] || echo "package main">${binpack}
|
||||
|
18
README.md
18
README.md
@ -1,7 +1,17 @@
|
||||
# contexts
|
||||
contexts 通过集群化、模块化、自动化的方式,用一个 20M 的程序文件,就可以在各种设备上,一键搭起完整的云计算与云研发服务。
|
||||
# ContextOS
|
||||
ContextOS 通过集群化、模块化、自动化的方式,只用一个 20M 大小的程序文件,就可以在各种设备上,一键启动完整的云计算服务与云研发环境。
|
||||
|
||||
## 安装项目
|
||||
## 安装系统
|
||||
### 下载编译
|
||||
```sh
|
||||
temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL https://shylinux.com; else wget -O $temp -q https://shylinux.com; fi; source $temp binary
|
||||
git clone https://shylinux.com/x/ContextOS
|
||||
cd ContextOS; source etc/miss.sh
|
||||
```
|
||||
|
||||
### 启动服务
|
||||
```sh
|
||||
ish_miss_serve
|
||||
```
|
||||
|
||||
### 管理后台
|
||||
打开管理后台 [http://localhost:9020](http://localhost:9020)
|
||||
|
9
demo.txt
9
demo.txt
@ -1,9 +0,0 @@
|
||||
IF(E4 > 3000,
|
||||
IF(E4 > 10000,
|
||||
IF(E4 > 50000,
|
||||
IF(E4 > 100000,
|
||||
IF(E4 > 500000,
|
||||
200,
|
||||
100+E4-100000,
|
||||
)
|
||||
)
|
10
demo1.txt
10
demo1.txt
@ -1,10 +0,0 @@
|
||||
IF(E4 > 500000, 200,
|
||||
IF(E4 > 100000, 100+E4-10000,
|
||||
IF(E4 > 50000,
|
||||
IF(E4 > 10000,
|
||||
IF(E4 > 3000,
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
28
etc/compose/2016.shy
Normal file
28
etc/compose/2016.shy
Normal file
@ -0,0 +1,28 @@
|
||||
2016-ContextOS 9020 username "shy" usernick "码神" language "zh-cn" avatar "usr/icons/avatar.jpg"
|
||||
20230511-nginx-story repos "https://shylinux.com/x/nginx-story" binary ""
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary ""
|
||||
2025-ContextOS 9050 repos "https://shylinux.com/x/ContextOS" binary ""
|
||||
20250208-ollama-story repos "https://shylinux.com/x/ollama-story" binary ""
|
||||
20250205-web repos "https://2025.shylinux.com/x/20250205-web" binary ""
|
||||
20250205-pod repos "https://2025.shylinux.com/x/20250205-pod" binary ""
|
||||
20250205-git repos "https://2025.shylinux.com/x/20250205-git" binary ""
|
||||
20250205-dev repos "https://2025.shylinux.com/x/20250205-dev" binary ""
|
||||
20250203-bbs repos "https://2025.shylinux.com/x/20250203-bbs" binary ""
|
||||
20250117-support repos "https://shylinux.com/x/support" binary ""
|
||||
20250117-foundation repos "https://shylinux.com/x/foundation" binary ""
|
||||
2024-ContextOS 9040 repos "https://shylinux.com/x/ContextOS" binary ""
|
||||
20240903-operation repos "https://shylinux.com/x/operation" binary ""
|
||||
20240724-enterprise repos "https://shylinux.com/x/enterprise" binary ""
|
||||
20240724-education repos "https://shylinux.com/x/education" binary ""
|
||||
20240724-community repos "https://shylinux.com/x/community" binary ""
|
||||
20240713-guangdong repos "https://2024.shylinux.com/x/guangdong" binary ""
|
||||
20240705-shandong repos "https://2024.shylinux.com/x/shandong" binary ""
|
||||
2023-ContextOS 9030 repos "https://shylinux.com/x/ContextOS" binary ""
|
||||
20230913-matrix-story repos "https://shylinux.com/x/matrix-story" binary ""
|
||||
20230511-redis-story repos "https://shylinux.com/x/redis-story" binary ""
|
||||
20230511-nginx-story repos "https://shylinux.com/x/nginx-story" binary ""
|
||||
20230511-mysql-story repos "https://shylinux.com/x/mysql-story" binary ""
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary ""
|
||||
20230511-golang-story repos "https://shylinux.com/x/golang-story" binary ""
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary ""
|
||||
20210308-sshd repos "https://shylinux.com/x/sshd" binary ""
|
9
etc/compose/2023.shy
Normal file
9
etc/compose/2023.shy
Normal file
@ -0,0 +1,9 @@
|
||||
2023-ContextOS 9030 username "shy" usernick "IT 老营长" language "zh-cn" avatar "usr/icons/avatar.jpg"
|
||||
20230913-matrix-story repos "https://shylinux.com/x/matrix-story" binary ""
|
||||
20230511-redis-story repos "https://shylinux.com/x/redis-story" binary ""
|
||||
20230511-nginx-story repos "https://shylinux.com/x/nginx-story" binary ""
|
||||
20230511-mysql-story repos "https://shylinux.com/x/mysql-story" binary ""
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary ""
|
||||
20230511-golang-story repos "https://shylinux.com/x/golang-story" binary ""
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary ""
|
||||
20210308-sshd repos "https://shylinux.com/x/sshd" binary ""
|
39
etc/compose/2024.shy
Normal file
39
etc/compose/2024.shy
Normal file
@ -0,0 +1,39 @@
|
||||
2024-ContextOS 9040 username "shy" usernick "IT 老营长" language "zh-cn" avatar "usr/icons/avatar.jpg"
|
||||
20240903-operation repos "https://shylinux.com/x/operation" binary ""
|
||||
20240724-enterprise repos "https://shylinux.com/x/enterprise" binary ""
|
||||
20240724-education repos "https://shylinux.com/x/education" binary ""
|
||||
20240724-community repos "https://shylinux.com/x/community" binary ""
|
||||
20240713-guangdong repos "https://2024.shylinux.com/x/guangdong" binary ""
|
||||
20240705-shandong repos "https://2024.shylinux.com/x/shandong" binary ""
|
||||
2024-yunxuanlinghang 9046 repos "https://2024-guangdong.shylinux.com/x/yunxuanlinghang" binary ""
|
||||
20240903-operation repos "https://shylinux.com/x/operation" binary "https://2024.shylinux.com/s/20240903-operation"
|
||||
20240724-enterprise repos "https://shylinux.com/x/enterprise" binary "https://2024.shylinux.com/s/20240724-enterprise"
|
||||
20240724-education repos "https://shylinux.com/x/education" binary "https://2024.shylinux.com/s/20240724-education"
|
||||
20240724-community repos "https://shylinux.com/x/community" binary "https://2024.shylinux.com/s/20240724-community"
|
||||
20230913-matrix-story repos "https://shylinux.com/x/matrix-story" binary "https://2023.shylinux.com/s/20230913-matrix-story"
|
||||
20230511-redis-story repos "https://shylinux.com/x/redis-story" binary "https://2023.shylinux.com/s/20230511-redis-story"
|
||||
20230511-nginx-story repos "https://shylinux.com/x/nginx-story" binary "https://2023.shylinux.com/s/20230511-nginx-story"
|
||||
20230511-mysql-story repos "https://shylinux.com/x/mysql-story" binary "https://2024.shylinux.com/s/20230511-mysql-story"
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary "https://2023.shylinux.com/s/20230511-linux-story"
|
||||
20230511-golang-story repos "https://shylinux.com/x/golang-story" binary "https://2023.shylinux.com/s/20230511-golang-story"
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary "https://2023.shylinux.com/s/20230511-docker-story"
|
||||
20210308-sshd repos "https://shylinux.com/x/sshd" binary "https://2023.shylinux.com/s/20210308-sshd"
|
||||
2024-jingganjiaoyu 9045 repos "https://2024-shandong.shylinux.com/x/jingganjiaoyu" binary ""
|
||||
20240903-operation repos "https://shylinux.com/x/operation" binary "https://2024.shylinux.com/s/20240903-operation"
|
||||
20240724-enterprise repos "https://shylinux.com/x/enterprise" binary "https://2024.shylinux.com/s/20240724-enterprise"
|
||||
20240724-education repos "https://shylinux.com/x/education" binary "https://2024.shylinux.com/s/20240724-education"
|
||||
20240724-community repos "https://shylinux.com/x/community" binary "https://2024.shylinux.com/s/20240724-community"
|
||||
20230913-matrix-story repos "https://shylinux.com/x/matrix-story" binary "https://2023.shylinux.com/s/20230913-matrix-story"
|
||||
20230511-redis-story repos "https://shylinux.com/x/redis-story" binary "https://2023.shylinux.com/s/20230511-redis-story"
|
||||
20230511-nginx-story repos "https://shylinux.com/x/nginx-story" binary "https://2023.shylinux.com/s/20230511-nginx-story"
|
||||
20230511-mysql-story repos "https://shylinux.com/x/mysql-story" binary "https://2024.shylinux.com/s/20230511-mysql-story"
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary "https://2023.shylinux.com/s/20230511-linux-story"
|
||||
20230511-golang-story repos "https://shylinux.com/x/golang-story" binary "https://2023.shylinux.com/s/20230511-golang-story"
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary "https://2023.shylinux.com/s/20230511-docker-story"
|
||||
20210308-sshd repos "https://shylinux.com/x/sshd" binary "https://2023.shylinux.com/s/20210308-sshd"
|
||||
2024-zelinqiche 9044 repos "https://2024-guangdong.shylinux.com/x/zelinqiche" binary ""
|
||||
20240718-hi repos "" binary ""
|
||||
2024-laoshaojiaju 9043 repos "https://2024-shandong.shylinux.com/x/laoshaojiaju" binary ""
|
||||
20240816-hi repos "" binary ""
|
||||
2024-guangdong 9042 repos "https://2024.shylinux.com/x/guangdong" binary ""
|
||||
2024-shandong 9041 repos "https://2024.shylinux.com/x/shandong" binary ""
|
31
etc/compose/2025.shy
Normal file
31
etc/compose/2025.shy
Normal file
@ -0,0 +1,31 @@
|
||||
2025-ContextOS 9050 username "shy" usernick "IT 老营长" language "zh-cn" avatar "usr/icons/avatar.jpg"
|
||||
20250208-ollama-story repos "https://shylinux.com/x/ollama-story" binary ""
|
||||
20250205-web repos "https://2025.shylinux.com/x/20250205-web" binary ""
|
||||
20250205-pod repos "https://2025.shylinux.com/x/20250205-pod" binary ""
|
||||
20250205-git repos "https://2025.shylinux.com/x/20250205-git" binary ""
|
||||
20250205-dev repos "https://2025.shylinux.com/x/20250205-dev" binary ""
|
||||
20250203-bbs repos "https://2025.shylinux.com/x/20250203-bbs" binary ""
|
||||
20250117-support repos "https://shylinux.com/x/support" binary ""
|
||||
20250117-foundation repos "https://shylinux.com/x/foundation" binary ""
|
||||
2025-web 9057 repos "https://2025.shylinux.com/x/20250205-web" binary ""
|
||||
20250213-founder repos "https://shylinux.com/x/founder" binary ""
|
||||
20250213-compose repos "https://shylinux.com/x/compose" binary ""
|
||||
20250211-service repos "https://2025-dev.shylinux.com/x/20250211-service" binary ""
|
||||
20240903-operation repos "https://shylinux.com/x/operation" binary "https://2024.shylinux.com/s/20240903-operation"
|
||||
20240724-enterprise repos "https://shylinux.com/x/enterprise" binary "https://2024.shylinux.com/s/20240724-enterprise"
|
||||
20240724-education repos "https://shylinux.com/x/education" binary "https://2024.shylinux.com/s/20240724-education"
|
||||
20240724-community repos "https://shylinux.com/x/community" binary "https://2024.shylinux.com/s/20240724-community"
|
||||
20230511-mysql-story repos "https://shylinux.com/x/mysql-story" binary "https://2023.shylinux.com/s/20230511-mysql-story"
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary "https://2023.shylinux.com/s/20230511-docker-story"
|
||||
2025-pod 9056 repos "https://2025.shylinux.com/x/20250205-pod" binary ""
|
||||
20250205-hi repos "" binary ""
|
||||
2025-git 9055 repos "https://2025.shylinux.com/x/20250205-git" binary ""
|
||||
20250205-hi repos "" binary ""
|
||||
2025-dev 9054 repos "https://2025.shylinux.com/x/20250205-dev" binary ""
|
||||
20250213-machine repos "https://2025-dev.shylinux.com/x/20250213-machine" binary ""
|
||||
20250211-service repos "https://2025-dev.shylinux.com/x/20250211-service" binary ""
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary "https://2023.shylinux.com/s/20230511-docker-story"
|
||||
2025-bbs 9053 repos "https://2025.shylinux.com/x/20250203-bbs" binary ""
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary "https://2023.shylinux.com/s/20230511-linux-story"
|
||||
2025-foundation 9052 repos "https://shylinux.com/x/foundation" binary ""
|
||||
2025-support 9051 repos "https://shylinux.com/x/support" binary ""
|
@ -1,75 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BackgroundBlur</key>
|
||||
<real>0.10000000000000001</real>
|
||||
<key>BackgroundColor</key>
|
||||
<data>
|
||||
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS
|
||||
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxAREldO
|
||||
U1doaXRlXE5TQ29sb3JTcGFjZVYkY2xhc3NGMCAwLjYAEAOAAtIUFRYXWiRjbGFzc25h
|
||||
bWVYJGNsYXNzZXNXTlNDb2xvcqIWGFhOU09iamVjdAgRGiQpMjdJTFFTV11kbHmAh4mL
|
||||
kJukrK8AAAAAAAABAQAAAAAAAAAZAAAAAAAAAAAAAAAAAAAAuA==
|
||||
</data>
|
||||
<key>CursorColor</key>
|
||||
<data>
|
||||
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS
|
||||
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxAREldO
|
||||
U1doaXRlXE5TQ29sb3JTcGFjZVYkY2xhc3NLMC4zMDI0MTkzNgAQA4AC0hQVFhdaJGNs
|
||||
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohYYWE5TT2JqZWN0CBEaJCkyN0lMUVNXXWRs
|
||||
eYCMjpCVoKmxtAAAAAAAAAEBAAAAAAAAABkAAAAAAAAAAAAAAAAAAAC9
|
||||
</data>
|
||||
<key>Font</key>
|
||||
<data>
|
||||
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS
|
||||
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGkCwwVFlUkbnVsbNQNDg8QERIT
|
||||
FFZOU1NpemVYTlNmRmxhZ3NWTlNOYW1lViRjbGFzcyNAMAAAAAAAABAQgAKAA1ZNb25h
|
||||
Y2/SFxgZGlokY2xhc3NuYW1lWCRjbGFzc2VzVk5TRm9udKIZG1hOU09iamVjdAgRGiQp
|
||||
MjdJTFFTWF5nbnd+hY6QkpSboKu0u74AAAAAAAABAQAAAAAAAAAcAAAAAAAAAAAAAAAA
|
||||
AAAAxw==
|
||||
</data>
|
||||
<key>FontAntialias</key>
|
||||
<false/>
|
||||
<key>FontWidthSpacing</key>
|
||||
<real>0.99596774193548387</real>
|
||||
<key>ProfileCurrentVersion</key>
|
||||
<real>2.0699999999999998</real>
|
||||
<key>SelectionColor</key>
|
||||
<data>
|
||||
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS
|
||||
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxAREldO
|
||||
U1doaXRlXE5TQ29sb3JTcGFjZVYkY2xhc3NLMC4yNTQwMzIyNQAQA4AC0hQVFhdaJGNs
|
||||
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohYYWE5TT2JqZWN0CBEaJCkyN0lMUVNXXWRs
|
||||
eYCMjpCVoKmxtAAAAAAAAAEBAAAAAAAAABkAAAAAAAAAAAAAAAAAAAC9
|
||||
</data>
|
||||
<key>ShowWindowSettingsNameInTitle</key>
|
||||
<false/>
|
||||
<key>TextBoldColor</key>
|
||||
<data>
|
||||
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS
|
||||
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxAREldO
|
||||
U1doaXRlXE5TQ29sb3JTcGFjZVYkY2xhc3NCMQAQA4AC0hQVFhdaJGNsYXNzbmFtZVgk
|
||||
Y2xhc3Nlc1dOU0NvbG9yohYYWE5TT2JqZWN0CBEaJCkyN0lMUVNXXWRseYCDhYeMl6Co
|
||||
qwAAAAAAAAEBAAAAAAAAABkAAAAAAAAAAAAAAAAAAAC0
|
||||
</data>
|
||||
<key>TextColor</key>
|
||||
<data>
|
||||
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS
|
||||
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxAREldO
|
||||
U1doaXRlXE5TQ29sb3JTcGFjZVYkY2xhc3NLMC45NDc1ODA2NAAQA4AC0hQVFhdaJGNs
|
||||
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohYYWE5TT2JqZWN0CBEaJCkyN0lMUVNXXWRs
|
||||
eYCMjpCVoKmxtAAAAAAAAAEBAAAAAAAAABkAAAAAAAAAAAAAAAAAAAC9
|
||||
</data>
|
||||
<key>columnCount</key>
|
||||
<integer>127</integer>
|
||||
<key>name</key>
|
||||
<string>Pro 1</string>
|
||||
<key>rowCount</key>
|
||||
<integer>36</integer>
|
||||
<key>shellExitAction</key>
|
||||
<integer>0</integer>
|
||||
<key>type</key>
|
||||
<string>Window Settings</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,25 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
export CGO_ENABLED=0
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export BASH_SILENCE_DEPRECATION_WARNING=1
|
||||
touch ~/.hushlogin
|
||||
|
||||
export CTX_ROOT=${CTX_ROOT:=~/contexts}
|
||||
[ "$PWD" = "$HOME" ] && cd ~/contexts
|
||||
[ "$PWD" = "/" ] && cd ~/contexts
|
||||
|
||||
if uname -s|grep -v MINGW &>/dev/null; then
|
||||
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
|
||||
fi
|
||||
ish_sys_path_load
|
||||
ish_sys_cli_prompt
|
||||
ish_sys_cli_alias vi vim
|
||||
ish_sys_cli_alias v vim
|
||||
ish_sys_cli_alias t "tmux attach"
|
||||
ish_sys_cli_alias busybox "docker run -w /root -it busybox"
|
||||
ish_sys_cli_alias alpine-dev "docker run -w /root -e 'LANG=en_US.UTF-8' -it alpine-dev sh"
|
||||
ish_sys_cli_alias alpine "docker run -w /root -e 'LANG=en_US.UTF-8' -it alpine"
|
||||
ish_sys_cli_alias centos "docker run -w /root -e 'LANG=en_US.UTF-8' -it centos"
|
||||
|
||||
[ -f ~/.bash_temp ] && source ~/.bash_temp; rm ~/.bash_temp &>/dev/null
|
@ -1,3 +0,0 @@
|
||||
proxy_set_header X-HOST $scheme://$http_host/;
|
||||
proxy_set_header X-Real-Port $remote_port;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
@ -1,19 +0,0 @@
|
||||
location / {
|
||||
include header.conf;
|
||||
if ($http_user_agent ~* "^Mozilla") {
|
||||
return 302 https://$server_name/$request_uri;
|
||||
}
|
||||
proxy_pass http://contexts;
|
||||
}
|
||||
|
||||
location /space/ {
|
||||
include header.conf;
|
||||
proxy_pass http://contexts;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
}
|
||||
|
||||
location /x/ {
|
||||
include header.conf;
|
||||
proxy_pass http://contexts_repos;
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
ssl_session_timeout 30m;
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
client_max_body_size 100m;
|
||||
client_body_timeout 300s;
|
||||
|
||||
client_body_in_file_only clean;
|
||||
client_body_buffer_size 16K;
|
||||
client_body_temp_path /tmp/nginx/client_body_temp;
|
||||
|
||||
location / {
|
||||
include header.conf;
|
||||
proxy_pass http://contexts;
|
||||
}
|
||||
|
||||
location /space/ {
|
||||
include header.conf;
|
||||
proxy_pass http://contexts;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
}
|
||||
|
||||
location /x/ {
|
||||
include header.conf;
|
||||
proxy_pass http://contexts_repos;
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
worker_processes 1;
|
||||
events { worker_connections 1024; }
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
sendfile on;
|
||||
proxy_buffering off;
|
||||
keepalive_timeout 1800;
|
||||
|
||||
log_format access '[$time_local] $remote_addr "$request" "$http_referer" "$http_user_agent" $server_name $status $body_bytes_sent';
|
||||
access_log logs/access.log access;
|
||||
|
||||
upstream contexts_repos {
|
||||
server 127.0.0.1:9030;
|
||||
server 127.0.0.1:9020 backup;
|
||||
}
|
||||
upstream contexts {
|
||||
server 127.0.0.1:9020;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name shylinux.com;
|
||||
include location.conf;
|
||||
}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name shylinux.com;
|
||||
include locations.conf;
|
||||
|
||||
ssl_certificate_key 8293704_shylinux.com.key;
|
||||
ssl_certificate 8293704_shylinux.com.pem;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name contexts.com.cn;
|
||||
include location.conf;
|
||||
}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name contexts.com.cn;
|
||||
include locations.conf;
|
||||
|
||||
ssl_certificate_key 7424713_contexts.com.cn.key;
|
||||
ssl_certificate 7424713_contexts.com.cn.pem;
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
contexts=${contexts:=/home/shy/contexts}
|
||||
|
||||
cd $contexts/usr/local/daemon/10000 && ./sbin/nginx -p $PWD
|
||||
cd $contexts/usr/install/docker && dockerd --host unix://$PWD/docker.sock --pidfile $PWD/docker.pid --exec-root=$PWD/exec --data-root=$PWD/data --registry-mirror http://hub-mirror.c.163.com
|
||||
|
||||
su - shy -c "cd $contexts && ./bin/ice.bin forever start &"
|
||||
su - shy -c "cd $contexts/usr/local/work/20220815-repos-server/ && ./bin/ice.bin forever start dev shy port 9030 nodename repos-server &"
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
inoremap jk <Esc>
|
||||
cnoremap wa wa<CR>
|
||||
|
||||
set path=.,..,usr/,usr/volcanos/,usr/icebergs/,.ish/pluged/,~/.ish/pluged/,$GOROOT/src,/usr/include
|
22
etc/init.shy
22
etc/init.shy
@ -1,24 +1,2 @@
|
||||
~web.code.input
|
||||
# wubi load file usr/wubi-dict/wubi86
|
||||
# wubi load file usr/wubi-dict/person zone person
|
||||
|
||||
~web.code
|
||||
webpack insert xterm
|
||||
webpack insert xterm-addon-fit
|
||||
webpack insert xterm-addon-web-links
|
||||
webpack insert xterm/css/xterm.css
|
||||
|
||||
~aaa
|
||||
role white void web.code.git.trend
|
||||
role white void web.code.git.spide
|
||||
|
||||
~gdb
|
||||
# config timer meta.enable true
|
||||
event listen event serve.start cmd web.serve
|
||||
event listen event serve.start cmd web.broad
|
||||
event listen event dream.create cmd web.code.xterm
|
||||
event listen event dream.create cmd web.code.tmux.session
|
||||
|
||||
~ssh
|
||||
target web.code
|
||||
source local.shy
|
||||
|
5
etc/local/2016.sh
Normal file
5
etc/local/2016.sh
Normal file
@ -0,0 +1,5 @@
|
||||
# /etc/rc.local
|
||||
# source /home/shy/2016-ContextOS/etc/local/2016.sh
|
||||
|
||||
[ -d /tmp/nginx ] || mkdir /tmp/nginx; cd /opt/daemon/10000 && ./sbin/nginx -p $PWD
|
||||
cd /var/lib/maddy; /usr/local/bin/maddy run &> /var/lib/maddy/boot.log &
|
6
etc/local/2022.sh
Normal file
6
etc/local/2022.sh
Normal file
@ -0,0 +1,6 @@
|
||||
# /etc/rc.local
|
||||
# source /home/shy/2022-ContextOS/etc/local/2022.sh
|
||||
source /home/shy/2022-ContextOS/etc/local.sh
|
||||
[ -d /tmp/nginx ] || mkdir /tmp/nginx; cd /opt/daemon/10000 && $PWD/sbin/nginx -p $PWD
|
||||
# su - mysql -c 'cd /opt/daemon/10001/ && $PWD/bin/mysqld --basedir=./ --datadir=./data --plugin-dir=./lib/plugin --socket=mysqld.socket --log-error=mysqld.log --pid-file=mysqld.pid --port 10001 &'
|
||||
su - mysql -c 'cd /opt/10001/ && $PWD/bin/mysqld --basedir=./ --datadir=./data --plugin-dir=./lib/plugin --socket=mysqld.socket --log-error=mysqld.log --pid-file=mysqld.pid --port 10001 &'
|
7
etc/local/2023.sh
Normal file
7
etc/local/2023.sh
Normal file
@ -0,0 +1,7 @@
|
||||
# /etc/rc.local
|
||||
# source /home/shy/2023-ContextOS/etc/local/2023.sh
|
||||
|
||||
[ -d /tmp/nginx ] || mkdir /tmp/nginx; cd /opt/daemon/10000 && ./sbin/nginx -p $PWD
|
||||
su - git -c 'GITEA_WORK_DIR=/var/lib/gitea/ /usr/local/bin/gitea web -c /etc/gitea/app.ini &'
|
||||
su - mysql -c 'cd /opt/10001/ && ./bin/mysqld --basedir=./ --datadir=./data --plugin-dir=./lib/plugin --socket=mysqld.socket --log-error=mysqld.log --pid-file=mysqld.pid --port 10001 &'
|
||||
# su - mysql -c 'cd /opt/daemon/10001/ && ./bin/mysqld --basedir=./ --datadir=./data --plugin-dir=./lib/plugin --socket=mysqld.socket --log-error=mysqld.log --pid-file=mysqld.pid --port 10001 &'
|
9
etc/local/2025.sh
Normal file
9
etc/local/2025.sh
Normal file
@ -0,0 +1,9 @@
|
||||
# /etc/rc.local
|
||||
# source /root/2025-ContextOS/etc/local/2025.sh
|
||||
for p in `ls /root/*/etc/local.sh`; do source $p; done
|
||||
[ -d /tmp/nginx ] || mkdir /tmp/nginx; cd /opt/daemon/10000/ && $PWD/sbin/nginx -p $PWD &
|
||||
su - git -c 'cd /opt/daemon/10010/ && GITEA_WORK_DIR=$PWD/var/lib/gitea/ $PWD/usr/local/bin/gitea web -c $PWD/etc/gitea/app.ini &'
|
||||
su - mysql -c 'cd /opt/daemon/10001/ && $PWD/bin/mysqld --basedir=./ --datadir=./data --plugin-dir=./lib/plugin --socket=mysqld.socket --log-error=mysqld.log --pid-file=mysqld.pid --port 10001 &'
|
||||
cd /opt/daemon/10002/ && $PWD/bin/dockerd --host unix://$PWD/docker.sock --pidfile $PWD/docker.pid --exec-root=$PWD/exec --data-root=$PWD/data --registry-mirror "https://ccr.ccs.tencentyun.com" --userland-proxy=false &
|
||||
export DOCKER_HOST=unix://$PWD/docker.sock
|
||||
# export DOCKER_HOST=unix:///opt/daemon/10002/docker.sock
|
40
etc/miss.sh
40
etc/miss.sh
@ -1,45 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
export ctx_shy=${ctx_shy:=https://shylinux.com}
|
||||
if [ -f $PWD/.ish/plug.sh ]; then source $PWD/.ish/plug.sh; elif [ -f $HOME/.ish/plug.sh ]; then source $HOME/.ish/plug.sh; else
|
||||
export ctx_dev=${ctx_dev:="https://shylinux.com"}
|
||||
temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp intshell
|
||||
fi; require conf.sh; require miss.sh; ish_dev_git_prepare
|
||||
temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_shy; else wget -O $temp -q $ctx_shy; fi; source $temp intshell
|
||||
fi; require conf.sh; require miss.sh; ish_sys_cli_prepare
|
||||
|
||||
ish_miss_prepare_compile
|
||||
ish_miss_prepare_develop
|
||||
ish_miss_prepare_project
|
||||
|
||||
ish_miss_prepare_contexts
|
||||
ish_miss_prepare_intshell
|
||||
ish_miss_prepare_learning
|
||||
ish_miss_prepare_volcanos
|
||||
ish_miss_prepare_toolkits
|
||||
ish_miss_prepare_icebergs
|
||||
ish_miss_prepare release
|
||||
ish_miss_prepare linux-story
|
||||
ish_miss_prepare nginx-story
|
||||
ish_miss_prepare golang-story
|
||||
ish_miss_prepare redis-story
|
||||
ish_miss_prepare mysql-story
|
||||
ish_miss_prepare_resource
|
||||
|
||||
# ish_miss_prepare 20220202-family
|
||||
# ish_miss_prepare 20220624-career
|
||||
# ish_miss_prepare wubi-dict
|
||||
# ish_miss_prepare word-dict
|
||||
# ish_miss_prepare echarts
|
||||
# ish_miss_prepare icons
|
||||
|
||||
ish_miss_prepare go-sql-mysql
|
||||
ish_miss_prepare go-qrcode
|
||||
ish_miss_prepare creackpty
|
||||
ish_miss_prepare websocket
|
||||
ish_miss_prepare webview
|
||||
ish_miss_prepare gogit
|
||||
|
||||
_prepare_ttc() {
|
||||
ish_sys_cli_prepare; ish_dev_tmux_prepare; ish_dev_git_prepare; ish_dev_vim_prepare # ish_dev_vim_plug_prepare
|
||||
ish_sys_link_create ~/.bash_local.sh $PWD/etc/conf/bash_local.sh
|
||||
ish_sys_link_create ~/.vim_local.vim $PWD/etc/conf/vim_local.vim
|
||||
if tmux -V; then ish_miss_prepare_session miss miss; else ish_miss_serve_log; fi
|
||||
}
|
||||
ish_miss_make; if [ -n "$*" ]; then ish_miss_serve "$@"; else _prepare_ttc; fi
|
||||
ish_miss_make; [ -z "$*" ] || ish_miss_serve "$@"
|
||||
|
9
etc/path
9
etc/path
@ -2,17 +2,12 @@ bin
|
||||
usr/publish
|
||||
usr/local/bin
|
||||
usr/local/go/bin
|
||||
usr/local/work/20221205-sshd/usr/publish
|
||||
usr/install/bash-5.1/_install/bin
|
||||
usr/local/work/20220826-career/usr/publish
|
||||
usr/local/work/20210308-sshd/usr/publish
|
||||
usr/install/tmux-3.2/_install/bin
|
||||
usr/install/git-2.31.1/_install/bin
|
||||
usr/install/git-2.31.1/_install/libexec/git-core
|
||||
usr/install/vim-vim-12be734/_install/bin
|
||||
usr/install/ctags-5.8/_install/bin
|
||||
usr/install/gcc-4.8.4/_install/bin
|
||||
usr/install/gdb-7.6.1/_install/bin
|
||||
usr/install/qemu-3.1.0/_install/bin
|
||||
usr/install/ffmpeg-4.2.1/_install/bin
|
||||
usr/install/node-v16.15.1-darwin-x64/bin
|
||||
usr/install/node-v16.15.1-linux-x64/bin
|
||||
usr/install/jdk-18/bin
|
||||
|
9
etc/portal/2016/location.conf
Normal file
9
etc/portal/2016/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2016;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2016;
|
||||
}
|
10
etc/portal/2016/server.conf
Normal file
10
etc/portal/2016/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2016.shylinux.com;
|
||||
include portal/2016/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2016.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2016/upstream.conf
Normal file
3
etc/portal/2016/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2016 {
|
||||
server 127.0.0.1:9020;
|
||||
}
|
9
etc/portal/2021/location.conf
Normal file
9
etc/portal/2021/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2021;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2021;
|
||||
}
|
10
etc/portal/2021/server.conf
Normal file
10
etc/portal/2021/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2021.shylinux.com;
|
||||
include portal/2021/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2021.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2021/upstream.conf
Normal file
3
etc/portal/2021/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2021 {
|
||||
server 127.0.0.1:9021;
|
||||
}
|
9
etc/portal/2022-ContextOS/location.conf
Normal file
9
etc/portal/2022-ContextOS/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2022-ContextOS;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2022-ContextOS;
|
||||
}
|
10
etc/portal/2022-ContextOS/server.conf
Normal file
10
etc/portal/2022-ContextOS/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2022-ContextOS.shylinux.com;
|
||||
include portal/2022-ContextOS/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2022-ContextOS.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2022-ContextOS/upstream.conf
Normal file
3
etc/portal/2022-ContextOS/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2022-ContextOS {
|
||||
server 127.0.0.1:9022;
|
||||
}
|
9
etc/portal/2022/location.conf
Normal file
9
etc/portal/2022/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2022;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2022;
|
||||
}
|
10
etc/portal/2022/server.conf
Normal file
10
etc/portal/2022/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2022.shylinux.com;
|
||||
include portal/2022/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2022.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2022/upstream.conf
Normal file
3
etc/portal/2022/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2022 {
|
||||
server 127.0.0.1:9022;
|
||||
}
|
9
etc/portal/2023-ContextOS/location.conf
Normal file
9
etc/portal/2023-ContextOS/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2023-ContextOS;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2023-ContextOS;
|
||||
}
|
11
etc/portal/2023-ContextOS/server.conf
Normal file
11
etc/portal/2023-ContextOS/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2023-ContextOS.shylinux.com;
|
||||
include portal/2023-ContextOS/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2023-ContextOS.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
# include portal/2023-ContextOS/location.conf;
|
||||
}
|
3
etc/portal/2023-ContextOS/upstream.conf
Normal file
3
etc/portal/2023-ContextOS/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2023-ContextOS {
|
||||
server 127.0.0.1:9030;
|
||||
}
|
9
etc/portal/2023/location.conf
Normal file
9
etc/portal/2023/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2023;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2023;
|
||||
}
|
10
etc/portal/2023/server.conf
Normal file
10
etc/portal/2023/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2023.shylinux.com;
|
||||
include portal/2023/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2023.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2023/upstream.conf
Normal file
3
etc/portal/2023/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2023 {
|
||||
server 127.0.0.1:9030;
|
||||
}
|
9
etc/portal/2024-ContextOS/location.conf
Normal file
9
etc/portal/2024-ContextOS/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2024-ContextOS;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2024-ContextOS;
|
||||
}
|
11
etc/portal/2024-ContextOS/server.conf
Normal file
11
etc/portal/2024-ContextOS/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2024-ContextOS.shylinux.com;
|
||||
include portal/2024-ContextOS/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2024-ContextOS.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
# include portal/2024-ContextOS/location.conf;
|
||||
}
|
3
etc/portal/2024-ContextOS/upstream.conf
Normal file
3
etc/portal/2024-ContextOS/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-ContextOS {
|
||||
server 127.0.0.1:9040;
|
||||
}
|
9
etc/portal/2024-guangdong/location.conf
Normal file
9
etc/portal/2024-guangdong/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2024-guangdong;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2024-guangdong;
|
||||
}
|
11
etc/portal/2024-guangdong/server.conf
Normal file
11
etc/portal/2024-guangdong/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2024-guangdong.shylinux.com;
|
||||
include portal/2024-guangdong/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2024-guangdong.shylinux.com;
|
||||
include portal/2024-guangdong/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2024-guangdong/upstream.conf
Normal file
3
etc/portal/2024-guangdong/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-guangdong {
|
||||
server 127.0.0.1:9042;
|
||||
}
|
9
etc/portal/2024-jingganjiaoyu/location.conf
Normal file
9
etc/portal/2024-jingganjiaoyu/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2024-jingganjiaoyu;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2024-jingganjiaoyu;
|
||||
}
|
10
etc/portal/2024-jingganjiaoyu/server.conf
Normal file
10
etc/portal/2024-jingganjiaoyu/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2024-jingganjiaoyu.shylinux.com;
|
||||
include portal/2024-jingganjiaoyu/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2024-jingganjiaoyu.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2024-jingganjiaoyu/upstream.conf
Normal file
3
etc/portal/2024-jingganjiaoyu/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-jingganjiaoyu {
|
||||
server jingganjiaoyu.com;
|
||||
}
|
9
etc/portal/2024-laoshaojiaju/location.conf
Normal file
9
etc/portal/2024-laoshaojiaju/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2024-laoshaojiaju;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2024-laoshaojiaju;
|
||||
}
|
11
etc/portal/2024-laoshaojiaju/server.conf
Normal file
11
etc/portal/2024-laoshaojiaju/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2024-laoshaojiaju.shylinux.com;
|
||||
include portal/2024-laoshaojiaju/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2024-laoshaojiaju.shylinux.com;
|
||||
include portal/2024-laoshaojiaju/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2024-laoshaojiaju/upstream.conf
Normal file
3
etc/portal/2024-laoshaojiaju/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-laoshaojiaju {
|
||||
server 127.0.0.1:9043;
|
||||
}
|
9
etc/portal/2024-shandong/location.conf
Normal file
9
etc/portal/2024-shandong/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2024-shandong;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2024-shandong;
|
||||
}
|
11
etc/portal/2024-shandong/server.conf
Normal file
11
etc/portal/2024-shandong/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2024-shandong.shylinux.com;
|
||||
include portal/2024-shandong/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2024-shandong.shylinux.com;
|
||||
include portal/2024-shandong/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2024-shandong/upstream.conf
Normal file
3
etc/portal/2024-shandong/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-shandong {
|
||||
server 127.0.0.1:9041;
|
||||
}
|
9
etc/portal/2024-yunxuanlinghang/location.conf
Normal file
9
etc/portal/2024-yunxuanlinghang/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2024-yunxuanlinghang;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2024-yunxuanlinghang;
|
||||
}
|
10
etc/portal/2024-yunxuanlinghang/server.conf
Normal file
10
etc/portal/2024-yunxuanlinghang/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2024-yunxuanlinghang.shylinux.com;
|
||||
include portal/2024-yunxuanlinghang/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2024-yunxuanlinghang.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2024-yunxuanlinghang/upstream.conf
Normal file
3
etc/portal/2024-yunxuanlinghang/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-yunxuanlinghang {
|
||||
server yunxuanlinghang.com;
|
||||
}
|
9
etc/portal/2024-zelinqiche/location.conf
Normal file
9
etc/portal/2024-zelinqiche/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2024-zelinqiche;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2024-zelinqiche;
|
||||
}
|
11
etc/portal/2024-zelinqiche/server.conf
Normal file
11
etc/portal/2024-zelinqiche/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2024-zelinqiche.shylinux.com;
|
||||
include portal/2024-zelinqiche/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2024-zelinqiche.shylinux.com;
|
||||
include portal/2024-zelinqiche/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2024-zelinqiche/upstream.conf
Normal file
3
etc/portal/2024-zelinqiche/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-zelinqiche {
|
||||
server 127.0.0.1:9044;
|
||||
}
|
9
etc/portal/2024/location.conf
Normal file
9
etc/portal/2024/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2024;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2024;
|
||||
}
|
10
etc/portal/2024/server.conf
Normal file
10
etc/portal/2024/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2024.shylinux.com;
|
||||
include portal/2024/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2024.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2024/upstream.conf
Normal file
3
etc/portal/2024/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024 {
|
||||
server 127.0.0.1:9040;
|
||||
}
|
9
etc/portal/2025-ContextOS/location.conf
Normal file
9
etc/portal/2025-ContextOS/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-ContextOS;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-ContextOS;
|
||||
}
|
11
etc/portal/2025-ContextOS/server.conf
Normal file
11
etc/portal/2025-ContextOS/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-ContextOS.shylinux.com;
|
||||
include portal/2025-ContextOS/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-ContextOS.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
# include portal/2025-ContextOS/location.conf;
|
||||
}
|
3
etc/portal/2025-ContextOS/upstream.conf
Normal file
3
etc/portal/2025-ContextOS/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-ContextOS {
|
||||
server 127.0.0.1:9050;
|
||||
}
|
9
etc/portal/2025-bbs/location.conf
Normal file
9
etc/portal/2025-bbs/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-bbs;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-bbs;
|
||||
}
|
10
etc/portal/2025-bbs/server.conf
Normal file
10
etc/portal/2025-bbs/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-bbs.shylinux.com;
|
||||
include portal/2025-bbs/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-bbs.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-bbs/upstream.conf
Normal file
3
etc/portal/2025-bbs/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-bbs {
|
||||
server 127.0.0.1:9053;
|
||||
}
|
9
etc/portal/2025-beijing-1/location.conf
Normal file
9
etc/portal/2025-beijing-1/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-beijing-1;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-beijing-1;
|
||||
}
|
11
etc/portal/2025-beijing-1/server.conf
Normal file
11
etc/portal/2025-beijing-1/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-beijing-1.shylinux.com;
|
||||
include portal/2025-beijing-1/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-beijing-1.shylinux.com;
|
||||
include portal/2025-beijing-1/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-beijing-1/upstream.conf
Normal file
3
etc/portal/2025-beijing-1/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-beijing-1 {
|
||||
server 127.0.0.1:30006;
|
||||
}
|
9
etc/portal/2025-beijing-2/location.conf
Normal file
9
etc/portal/2025-beijing-2/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-beijing-2;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-beijing-2;
|
||||
}
|
11
etc/portal/2025-beijing-2/server.conf
Normal file
11
etc/portal/2025-beijing-2/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-beijing-2.shylinux.com;
|
||||
include portal/2025-beijing-2/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-beijing-2.shylinux.com;
|
||||
include portal/2025-beijing-2/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-beijing-2/upstream.conf
Normal file
3
etc/portal/2025-beijing-2/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-beijing-2 {
|
||||
server 127.0.0.1:30007;
|
||||
}
|
9
etc/portal/2025-beijing-3/location.conf
Normal file
9
etc/portal/2025-beijing-3/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-beijing-3;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-beijing-3;
|
||||
}
|
11
etc/portal/2025-beijing-3/server.conf
Normal file
11
etc/portal/2025-beijing-3/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-beijing-3.shylinux.com;
|
||||
include portal/2025-beijing-3/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-beijing-3.shylinux.com;
|
||||
include portal/2025-beijing-3/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-beijing-3/upstream.conf
Normal file
3
etc/portal/2025-beijing-3/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-beijing-3 {
|
||||
server 127.0.0.1:30008;
|
||||
}
|
9
etc/portal/2025-cluster/location.conf
Normal file
9
etc/portal/2025-cluster/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-cluster;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-cluster;
|
||||
}
|
11
etc/portal/2025-cluster/server.conf
Normal file
11
etc/portal/2025-cluster/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-cluster.shylinux.com;
|
||||
include portal/2025-cluster/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-cluster.shylinux.com;
|
||||
include portal/2025-cluster/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-cluster/upstream.conf
Normal file
3
etc/portal/2025-cluster/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-cluster {
|
||||
server 127.0.0.1:40000;
|
||||
}
|
9
etc/portal/2025-dev/location.conf
Normal file
9
etc/portal/2025-dev/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-dev;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-dev;
|
||||
}
|
11
etc/portal/2025-dev/server.conf
Normal file
11
etc/portal/2025-dev/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-dev.shylinux.com;
|
||||
include portal/2025-dev/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-dev.shylinux.com;
|
||||
include portal/2025-dev/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-dev/upstream.conf
Normal file
3
etc/portal/2025-dev/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-dev {
|
||||
server 127.0.0.1:9054;
|
||||
}
|
9
etc/portal/2025-foundation/location.conf
Normal file
9
etc/portal/2025-foundation/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-foundation;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-foundation;
|
||||
}
|
11
etc/portal/2025-foundation/server.conf
Normal file
11
etc/portal/2025-foundation/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-foundation.shylinux.com;
|
||||
include portal/2025-foundation/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-foundation.shylinux.com;
|
||||
include portal/2025-foundation/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-foundation/upstream.conf
Normal file
3
etc/portal/2025-foundation/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-foundation {
|
||||
server 127.0.0.1:9052;
|
||||
}
|
9
etc/portal/2025-git/location.conf
Normal file
9
etc/portal/2025-git/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-git;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-git;
|
||||
}
|
11
etc/portal/2025-git/server.conf
Normal file
11
etc/portal/2025-git/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-git.shylinux.com;
|
||||
include portal/2025-git/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-git.shylinux.com;
|
||||
include portal/2025-git/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-git/upstream.conf
Normal file
3
etc/portal/2025-git/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-git {
|
||||
server 127.0.0.1:9055;
|
||||
}
|
9
etc/portal/2025-guangzhou-1/location.conf
Normal file
9
etc/portal/2025-guangzhou-1/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-guangzhou-1;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-guangzhou-1;
|
||||
}
|
11
etc/portal/2025-guangzhou-1/server.conf
Normal file
11
etc/portal/2025-guangzhou-1/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-guangzhou-1.shylinux.com;
|
||||
include portal/2025-guangzhou-1/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-guangzhou-1.shylinux.com;
|
||||
include portal/2025-guangzhou-1/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-guangzhou-1/upstream.conf
Normal file
3
etc/portal/2025-guangzhou-1/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-guangzhou-1 {
|
||||
server 127.0.0.1:30000;
|
||||
}
|
9
etc/portal/2025-guangzhou-2/location.conf
Normal file
9
etc/portal/2025-guangzhou-2/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-guangzhou-2;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-guangzhou-2;
|
||||
}
|
11
etc/portal/2025-guangzhou-2/server.conf
Normal file
11
etc/portal/2025-guangzhou-2/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-guangzhou-2.shylinux.com;
|
||||
include portal/2025-guangzhou-2/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-guangzhou-2.shylinux.com;
|
||||
include portal/2025-guangzhou-2/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-guangzhou-2/upstream.conf
Normal file
3
etc/portal/2025-guangzhou-2/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-guangzhou-2 {
|
||||
server 127.0.0.1:30001;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user