Skip to content

20326/csh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csh

Cloud shell

golang.sh

Install a simple golang environment

bash <(curl -fsSL git.io/csh-golang.sh)

bash <(curl -fsSL git.io/csh-golang.sh) -v 1.15.1

curl -fsSL git.io/csh-golang.sh > csh-golang.sh && chmod +x csh-golang.sh && ./csh-golang.sh

lego.sh

Install a simple lego environment

bash <(curl -fsSL git.io/csh-lego.sh)

curl -fsSL git.io/csh-lego.sh | bash

curl -fsSL git.io/csh-lego.sh > csh-lego.sh && chmod +x csh-lego.sh && ./csh-lego.sh

# new
DNSPOD_API_KEY=xxxxxx lego [email protected] --dns=dnspod --domains=.example.org --key-type=rsa4096 --accept-tos --pem run
# renew
lego --email="[email protected]" --domains="example.com" --http renew --days 15
# renew hook
lego --email="[email protected]" --domains="example.com" --http renew --renew-hook="./myscript.sh"
# crontab
30 0 * * * lego --email="[email protected]" --domains="example.com" --http renew --days 15 > /dev/null

buildctrl.sh

Build control.sh & bin.service file

cd YourBinDir
bash <(curl -fsSL git.io/csh-buildctrl.sh) -b binfile

# using
./control.sh start |stop | status | restart

speedtest.sh

Install a simple speedtest-go environment

bash <(curl -fsSL git.io/csh-speedtest.sh)

curl -fsSL git.io/csh-speedtest.sh | bash

curl -fsSL git.io/csh-speedtest.sh > csh-speedtest.sh && chmod +x csh-speedtest.sh && ./csh-speedtest.sh

# build control.sh
cd /opt/speedtest
bash <(curl -fsSL git.io/csh-buildctrl.sh) -b speedtest-backend

Lisence

MIT © brian

About

Cloud shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages