当前位置:首页 > linux

linux

  • 最新
  • 浏览
  • 评论

Ubuntu apt-get彻底卸载软件包

root4年前 (2020-11-10)linux545
apt-get的卸载相关的命令有remove/purge/autoremove/clean/autoclean等。具体来说:apt-get purge / apt-get –purge remove 删除已安装包(不保留配置文件)...

linux 更换apt的源

root4年前 (2020-11-04)linux543
sudo sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list将archive.ubunt...

linux 安装某些C源码程序,出现的依赖问题

root4年前 (2020-11-04)linux608
configure:error:no acceptable C compiler found in $PATH这里提示是缺少C的编译器这个时候需要安装C的编译器但是我冬日大神告诉我还要点别的省的出问题。执行下面搞定:apt ins...

linux 慎用 kill -9 干掉程序

root4年前 (2020-10-26)linux546
 kill -9 强制结束某程序的时候,如果程序的有退出信号触发处理回收子进程的,将失效。会造成僵尸进程。...

CentOS修改hostname

root4年前 (2020-10-21)linux554
vi /etc/hostname写下你的hostname重启reboot启动后,查看主机名sudo hostname...

测试xss公鸡

root4年前 (2020-09-22)linux530
<script type="text/javascript">alert(123)</script>...

ssh自动添加hostkey到know_hosts

root4年前 (2020-09-22)linux622
有时后端daemon或者脚本在执行ssh连接时,会遇到以下提示:The authenticity of host 'git.sws.com (10.42.1.88)' can't be establishe...

How to remotely monitor hosts over Telnet and SSH [Tutorial]

root4年前 (2020-09-22)linux591
python ssh登录服务器In this tutorial, you will learn how to carry out basic configurations on a server with Telnet and SSH co...

python ssh 登录服务器

root4年前 (2020-09-22)linux564
import paramikossh = paramiko.SSHClient()ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())ssh.connect('192.1...

一行 Python 实现并行化 -- 日常多线程操作的新思路

root4年前 (2020-09-22)linux592
一行 Python 实现并行化 -- 日常多线程操作的新思路
Python 在程序并行化方面多少有些声名狼藉。撇开技术上的问题,例如线程的实现和 GIL1,我觉得错误的教学指导才是主要问题。常见的经典 Python 多线程、多进程教程多显得偏“重”。而且往往隔靴搔痒,没有深入探讨日常工作中最有用的内容...