随笔分类 -  Linux

chattr被篡改
摘要:sudo apt-get upgrade 报错: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-bro 阅读全文

posted @ 2023-12-03 21:30 HolaWorld 阅读(171) 评论(0) 推荐(0) 编辑

服务器连校园网
摘要:curl -d "DDDDD=用户名&upass=密码&0MKKey=" http://202.114.66.91/0.htm <form name="form1" method="post" action="" onSubmit="return ee()"> <p class="head" >�� 阅读全文

posted @ 2023-11-17 20:29 HolaWorld 阅读(32) 评论(0) 推荐(0) 编辑

gost端口转发
摘要:https://github.com/ginuerzh/gost sudo apt install snapd sudo snap install gost gost -L=rtcp://:<host port>/<client ip>:22 gost -L=rtcp://:2222/192.168 阅读全文

posted @ 2023-10-22 17:23 HolaWorld 阅读(261) 评论(0) 推荐(0) 编辑

postgresql
摘要:pg_ctl start -D ~/Documents/MFA/pg_mfa_global/ pg_ctl status -D ~/Documents/MFA/pg_mfa_global/ pg_ctl stop -D ~/Documents/MFA/pg_mfa_global/ psql -l p 阅读全文

posted @ 2023-03-09 14:31 HolaWorld 阅读(22) 评论(0) 推荐(0) 编辑

配dns
摘要:cat /etc/resolv.conf 阅读全文

posted @ 2022-09-21 19:52 HolaWorld 阅读(15) 评论(0) 推荐(0) 编辑

Linux装cudnn
摘要:https://stackoverflow.com/questions/66977227/could-not-load-dynamic-library-libcudnn-so-8-when-running-tensorflow-on-ubun https://docs.nvidia.com/deep 阅读全文

posted @ 2022-03-27 01:08 HolaWorld 阅读(94) 评论(0) 推荐(0) 编辑

改主机风扇转速
摘要:ipmitool lan print 找到 'IP Address' 那行的 ip 在浏览器输入该 ip Username:ADMIN ; Password:ADMIN Configuration - Fan Mode - Set Fan to Full Speed - Save 阅读全文

posted @ 2022-02-23 10:53 HolaWorld 阅读(51) 评论(0) 推荐(0) 编辑

摘要:ps -u -p [PID] # 查看这个pid是谁的,命令是什么 watch -n 0.1 nvidia-smi last # 查看每个用户最近登录记录 lastb # 查看所有登录失败的记录 crontab -u [username] -l # 查看自动脚本 crontab -u [userna 阅读全文

posted @ 2022-01-19 10:56 HolaWorld 阅读(71) 评论(0) 推荐(0) 编辑

linux 挂载移动硬盘
摘要:fdisk -l mkdir -p /mnt/usbhd1 mount -t ntfs /dev/sdc1 /mnt/usbhd1 # 挂载 umount /mnt/usbhd1 # 解挂载 https://www.linuxprobe.com/mount-detail-parameters.htm 阅读全文

posted @ 2021-12-09 11:11 HolaWorld 阅读(233) 评论(0) 推荐(0) 编辑

无法连接NVIDIA驱动
摘要:NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. sudo a 阅读全文

posted @ 2021-12-08 11:43 HolaWorld 阅读(436) 评论(0) 推荐(0) 编辑

用 scp 在 linux 之间传输文件
摘要:scp LocalSourceFile user@remotehost:directory/TargetFile scp user@remotehost:directory/SourceFile LocalTargetFile scp -r user@remotehost:directory/Sou 阅读全文

posted @ 2021-11-11 14:29 HolaWorld 阅读(59) 评论(0) 推荐(0) 编辑

linux更改终端显示颜色(用户名颜色等)
摘要:nano ~/.bashrc 找到上图所示的地方 修改它 保存 source ~/.bashrc # 重启bash 阅读全文

posted @ 2021-04-13 17:30 HolaWorld 阅读(489) 评论(0) 推荐(0) 编辑

linux解压、压缩
摘要:tar -xf xxx.tar tar -zxvf xxx.tgz tar -zxvf xxx.tar.bz tar -zxvf xxx.tar.gz tar -zxvf xxx.tar.gz -C /your/desired/folder tar -jxvf xx.tar.bz2 zip -r x 阅读全文

posted @ 2021-04-12 22:01 HolaWorld 阅读(59) 评论(0) 推荐(0) 编辑

tmux
摘要:# 帮助 ctrl+b ? # 查看会话 tmux ls # 新建会话 tmux tmux new -s <session-name> # 分离会话 ctrl+b d tmux detach # 接入会话 tmux attach -t 0 tmux attach -t <session-name> 阅读全文

posted @ 2021-03-24 16:35 HolaWorld 阅读(51) 评论(0) 推荐(0) 编辑

Linux下装anaconda/miniconda
摘要:一、anaconda: 在https://www.anaconda.com/products/individual#Downloads下载https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh , 或者在终端wget h 阅读全文

posted @ 2021-03-22 11:48 HolaWorld 阅读(133) 评论(0) 推荐(0) 编辑

windows传文件到Linux
摘要:用winscp https://winscp.net/download/WinSCP-5.17.7-Setup.exe 阅读全文

posted @ 2020-09-01 23:11 HolaWorld 阅读(239) 评论(0) 推荐(0) 编辑

Ubuntu上import cv2报错ImportError: libGL.so.1:
摘要:https://stackoverflow.com/questions/63544251/import-cv2-in-sagemaker-studio-jupyter-notebook-throws-importerror-libgl-so-1 sudo apt install libgl1-mes 阅读全文

posted @ 2020-09-01 22:45 HolaWorld 阅读(3119) 评论(0) 推荐(1) 编辑

Ubuntu装tensorflow报错memoryerror
摘要:https://stackoverflow.com/questions/44335087/unable-to-install-tensorflow-memoryerror/44359264#44359264 pip install --no-cache-dir tensorflow 阅读全文

posted @ 2020-09-01 21:52 HolaWorld 阅读(216) 评论(0) 推荐(0) 编辑

Ubuntu装node.js和npm
摘要:https://websiteforstudents.com/install-the-latest-node-js-and-nmp-packages-on-ubuntu-16-04-18-04-lts/ sudo apt install curl curl -sL https://deb.nodes 阅读全文

posted @ 2020-08-30 16:54 HolaWorld 阅读(59) 评论(0) 推荐(0) 编辑

Docker在Ubuntu上安装与使用
摘要:https://docs.docker.com/docker-hub/quickstart/ https://docs.docker.com/engine/reference/commandline/run/ https://docs.docker.com/engine/reference/buil 阅读全文

posted @ 2020-04-17 11:10 HolaWorld 阅读(1502) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示