IT常用基础知识参考汇总

    技术2022-07-11  143

    知识列表

    1. 网络配置

    Ubuntu网络配置 http://einverne.github.io/post/2019/08/ubuntu-linux-mint-network-configuration.html https://wiki.ubuntu.org.cn/UbuntuManual:网络设置 https://www.howtoforge.com/linux-basics-set-a-static-ip-on-ubuntu

    2. 开机自运行脚本

    Ubuntu http://jackqdyulei.github.io/2016/03/06/linux-auto-script/

    Windows 10

    批处理.bat文件语法 @注释输出;rem注释一行 start启动一个单独的窗口以运行指定的程序或命令。适应于执行多个无需终止的程序,比如服务器。 call从批处理程序调用另一个批处理程序,调用后返回调用程序执行后续脚本。PowerShell.ps1文件语法 类似于unix

    3. 环境变量设置

    Windows 10

    PowerShell https://stackoverflow.com/questions/12587253/how-to-modify-gopath-in-powershellcmd.exe https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/set_1

    4. ProgLang变量设置

    Golang env设置

    GO111MODULE设置 go env -w GO1111MODULE=autoGOPROXY设置 go env -w GOPROXY=https://goproxy.io,direct https://goproxy.io/
    Processed: 0.009, SQL: 9