• linux开机部署


    代理配置

    火狐浏览器代理配置

    搜索proxy
    配置代理 https://邮箱用户名:邮箱密码@proxy.xxx.com:8080/

    bash代理

    sudo gedit ~/.bashrc
    
    export http_proxy=https://127.0.0.1:8000
    export https_proxy=https://127.0.0.1:8000
    # export http_proxy=https://邮箱用户名:邮箱密码@proxy.xxx.com:8080/
    
    source ~/.bashrc
    

    apt代理

    sudo gedit /etc/apt/apt.conf
    
    Acquire::https::proxy "https://127.0.0.1:8000/";
    Acquire::https::proxy "https://127.0.0.1:8000/";
    # Acquire::http::proxy "https://邮箱用户名:邮箱密码@proxy.xxx.com:8080/";
    

    apt更换源

    sudo gedit /etc/apt/sources.list
    
    deb https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    deb https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    deb https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    deb https://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    deb https://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
    deb-src https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    deb-src https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    deb-src https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    deb-src https://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    deb-src https://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
    
    sudo apt-get update
    sudo apt-get upgrade
    

    更多信息参考:https://www.purethought.cn/11009.html

    软件和更新更换源

    点击”Software&Updates(软件&更新)“

    在弹出的”Software&Updates“窗口中,选择”Ubuntu Software“,你可以看到”Download from(下载源)“是”Server for United States(美国服务器)“。点击”Server for United States“下拉菜单,选择”Other...(其他)“。

    在弹出”Choose a Download Server(选择下载服务器)“窗口中向上拉,找到China(中国),然后,选择中国的服务器,这里可以选择教育源,网易、阿里等等,然后点击”Choose Server(选择服务)“按钮。

    常用配置

    bash配置

    vim ~/.bashrc
    alias cl=clear
    

    vim配置

    vim /etc/vim/vimrc
    set number
    set tabstop=4
    

    终端终结者

    sudo apt install terminator
    
  • 相关阅读:
    关于OPC自动化接口编程(OPCDAAuto.dll)几点注意问题
    OPCDAAuto.dll的C#使用方法浅析(转载)
    微软系统工具包Sysinternals Suite官方下载地址
    C#的dll被其他程序调用时,获取此dll正确的物理路径
    根据存储过程,查询此过程的参数和参数数据类型讯息
    sql server中类似oracle中decode功能的函数
    c# HttpWebResponse 调用WebApi
    MariaDB10.4以上版本安装
    Windows server 2012 显示“我的电脑”
    Debian 9 启动后进入命令行
  • 原文地址:https://www.cnblogs.com/chendeqiang/p/12861747.html
Copyright © 2020-2023  润新知