linux 更换apt的源
sudo sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
将archive.ubuntu.com源换为mirrors.ustc.edu.cn 更换的文件是/etc/apt/sources.list
sudo sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
将archive.ubuntu.com源换为mirrors.ustc.edu.cn 更换的文件是/etc/apt/sources.list
python ssh登录服务器In this tutorial, you will learn how to carry out basic configurations on a server with Telnet and SSH co...
configure:error:no acceptable C compiler found in $PATH这里提示是缺少C的编译器这个时候需要安装C的编译器但是我冬日大神告诉我还要点别的省的出问题。执行下面搞定:apt ins...
split --help 用法:split [选项]... [输入 [前缀]] 将输入内容拆分为固定大小的分片并输出到"前缀aa"、"前缀ab",...;...
添加用户useradd username 修改用户密码passwd username修改文件用户和用户组chown -R username:group /project/修改归属用户chown&...
强制升级:sudo pip install --ignore-installed +模块名...
执行 setenforce 0再次启动systemctl restart httpdOK 搞定...