These are some bash script powers Aiursoft projects on Ubuntu.
You need to have bash installed. For linux, it is installed by default. For Windows, download it here.
Simpliy run the file: ./build.sh
You can install via the one-line install script. Put the following line to the start of your script.
aiur() { arg="$( cut -d ' ' -f 2- <<< "$@" )" && curl -sL https://gitlab.aiursoft.cn/aiursoft/aiurscript/-/raw/master/$1.sh | sudo bash -s $arg; }
Add to call a function, simply write: aiur func_path/func_name arguments
.
$ aiur Caddy/add_proxy arg1 arg2
$ my_port=$(aiur Network/get_port)
$ aiur uninstall/docker your_arguments
$ aiur console/success your_arguments
$ aiur mssql/config_password your_arguments
$ aiur mssql/run_sql your_arguments
$ aiur mssql/create_db your_arguments
$ aiur git/clone_to your_arguments
$ aiur dotnet/publish your_arguments
$ aiur dotnet/seeddb your_arguments
$ aiur caddy/add_file your_arguments
$ aiur caddy/add_proxy your_arguments
$ aiur text/edit_json your_arguments
$ aiur services/register_aspnet_service your_arguments
$ aiur network/enable_bbr your_arguments
$ aiur network/get_port your_arguments
$ aiur network/set_host your_arguments
$ aiur firewall/enable_firewall your_arguments
$ aiur firewall/open_port your_arguments
$ aiur install/frp_server your_arguments
$ aiur install/sql_server your_arguments
$ aiur install/docker your_arguments
$ aiur install/python your_arguments
$ aiur install/jq your_arguments
$ aiur install/node your_arguments
$ aiur install/dotnet your_arguments
$ aiur install/iperf3_server your_arguments
$ aiur install/kubectl your_arguments
$ aiur install/caddy your_arguments
$ aiur install/rust your_arguments