随笔分类 - Linux
摘要:1、买个极路由 2、无线中继连tsinghua-5G 3、安装ipv6插件 4、联网或者科协vpn 5、下载bt客户端:sudo apt-get install qbittorrent (或者sudo apt-get install deluge)
阅读全文
摘要:wget https://www.python.org/ftp/python/3.4.5/Python-3.4.5.tgz tar zxfv Python-3.4.5.tgz ./configure --prefix=$HOME/install_dir make -j32 make install
阅读全文
摘要:install shadowsocks:http://www.cnblogs.com/huangshiyu13/p/8973967.html download: https://pan.baidu.com/s/1YX1NKfSgboyV758pLdIv8w
阅读全文
摘要:官方最新版(1.1)有这个问题,似乎改成0.9版就可以了 deepin15(32位):http://s1.music.126.net/download/pc/netease-cloud-music_0.9.0_i386.debdeepin15(64位):http://s1.music.126.net
阅读全文
摘要:./run.sh > log.txt 2>&1
阅读全文
摘要:0. ubuntu安装:sudo apt-get install sshfs -y 0. redhat安装sshs yum install -y fuse-sshfs 如果找不到这个软件,需要重装epel-release yum remove -y epel-release yum install
阅读全文
摘要:sudo add-apt-repository ppa:hzwhuang/ss-qt5 sudo apt-get update sudo apt-get install shadowsocks-qt5
阅读全文
摘要:简单一点可以使用命令:ubuntu-drivers autoinstall ubuntu-drivers devices可以查看可以安装的驱动。 如果想安装特定版本的驱动,可以通过这个命令安装: sudo ubuntu-drivers install nvidia:515 sudo add-apt-
阅读全文
摘要:1、查看存在的shell cat /etc/shells 2、查看使用的shell echo $SHELL 3、切换shell 切换bash chsh -s /bin/bash 切换zsh chsh -s /bin/zsh 美丽的zsh界面安装:http://www.cnblogs.com/huan
阅读全文
摘要:cd ~mkdir .pip vim .pip/pip.conf 在pip.conf中写入 火山云: [global] timeout = 6000 index-url = https://mirrors.ivolces.com/pypi/simple trusted-host = mirrors.
阅读全文
摘要:export LC_ALL=C
阅读全文
摘要:0.好像装CUDA会自动装nvidia驱动,所以可以尝试直接装CUDA 0.1 可以尝试通过sudo apt install nvidia-cuda-toolkit来安装CUDA 1.下载CUDA:https://developer.nvidia.com/cuda-toolkit-archive (
阅读全文
摘要:比如统计用户名为albert运行python的进程数目
阅读全文
摘要:# 总核数 = 物理CPU个数 X 每颗物理CPU的核数 # 总逻辑CPU数 = 物理CPU个数 X 每颗物理CPU的核数 X 超线程数 # 查看物理CPU个数 cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l # 查看每个物理CPU中
阅读全文
摘要:解决办法:pip install box2d-py
阅读全文
摘要:ctrl+a 光标移动到行首 ctrl+e 光标移动到行尾 ctrl+u 清除当前命令 ctrl+k 删除光标到结尾的内容 ctrl+d 向后删除字符 ctrl+w 删除前一个单词 ctrl+y 撤销删除 ctrl+l 清屏 ctrl+r 查找历史命令 ctrl+b/f 向左/右移动光标 ctrl+
阅读全文
摘要:sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install pulseaudio-equalizer 终端输入 pulseaudio-equalizer enable 启动器处输入
阅读全文
摘要:sudo fuser -v /dev/nvidia*
阅读全文
摘要:docker自动安装: https://www.runoob.com/docker/ubuntu-docker-install.html 官方安装教程:https://docs.docker.com/engine/install/ubuntu/ docker手动安装: 0. 安装依赖 apt-get
阅读全文
摘要:zip格式: 1.压缩 对于test目录,使用 zip -rq test.zip test r表示递归压缩,q表示不显示过程 2.解压缩: unzip -q test.zip tar格式: 1.压缩: tar -cvf test.tar test 2.解压缩: tar -xvf test.tar t
阅读全文