Linux
kuochu'ng
技术交流:jxgxzgc@163.com
展开
-
jetpack-sdk
jetpack-sdk 安装sdk managerstart run sdk managerlogin nvidia accountselect target hardware & target operating systemselect correction & ip & username & passwdfinishedsdk managerdownload sdk manager & dpkg sdk managerstart run sdk ma原创 2022-01-28 19:37:10 · 3935 阅读 · 0 评论 -
ubuntu18软件安装指南
软件名vscodegoogleapt源vscodekuochung@kuochung--20200523:~$ sudo snap install --classic code[sudo] kuochung 的密码: code 5763d909 from Visual Studio Code (vscode✓) installedgoogle官网下载.deb文件,点击右键安装。apt源原创 2020-05-27 20:28:14 · 358 阅读 · 0 评论 -
在centos7上使用mysql
wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpmsudo rpm -ivh mysql57-community-release-el7-9.noarch.rpm cd /etc/yum.repos.d/sudo yum install mysql-server已安装: mysql-c...原创 2020-04-14 17:51:32 · 181 阅读 · 0 评论 -
centos7软件安装
rdesktop(远程桌面协议 (RDP) 客户端)(连接Windows Server实例)sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-...原创 2020-02-25 16:31:52 · 140 阅读 · 0 评论 -
Linux命令,未完待续。。。
rpm查看系统安装软件,通过‘|’(管道符工具)连接rpm的输出和grep的输入,grep作为查询工具,将vmware作为关键字进行查询(base) [260254@w26-260254 ~]$ rpm -qa | grep vmwarexorg-x11-drv-vmware-13.2.1-1.el7.1.x86_64软件包安装路径及配置文件(base) [260254@w26-2...原创 2019-11-23 09:59:57 · 426 阅读 · 0 评论 -
yum
[260254@w26-260254 ~]$ rpm -ql zip-3.0-11.el7.x86_64/usr/bin/zip/usr/bin/zipcloak/usr/bin/zipnote/usr/bin/zipsplityum源配置[root@w26-260254 yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.bak[...原创 2019-03-15 11:28:52 · 139 阅读 · 0 评论 -
locale
apt-get install locales(python36) root@7d7740a6ef26:~/ActivityNet/Crawler# localeLANG=LANGUAGE=LC_CTYPE="zh_CN.UTF-8"LC_NUMERIC="zh_CN.UTF-8"LC_TIME="zh_CN.UTF-8"LC_COLLATE="zh_CN原创 2019-03-11 19:38:04 · 606 阅读 · 0 评论 -
centos7升级gcc7.1.0(libstdc++.so.6: version `CXXABI_1.3.8' not found)
[260254@w26-260254 bin]$ source activate(venv) [260254@w26-260254 bin]$ pythonPython 3.7.2 (default, Mar 25 2019, 11:03:20) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linuxType "help", "copyright"...原创 2019-03-25 16:11:02 · 5446 阅读 · 2 评论 -
linux filesystem
[260254@w26-260254 ~]$ df文件系统 1K-块 已用 可用 已用% 挂载点/dev/mapper/centos-root 52403200 9483000 42920200 19% /devtmpfs 16337272 0 16337272...原创 2019-03-22 11:41:29 · 3921 阅读 · 0 评论 -
ubuntu18安装python3-pip opencv-python
root@2fce31d9be57:/# apt-get install python3-dev aptitude python3-piproot@2fce31d9be57:/# pip3 --versionpip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)root@2fce31d9be57:/# apt-get ins...原创 2019-03-23 17:26:46 · 2504 阅读 · 1 评论 -
ssh
[260254@w26-260254 ~]$ ssh zhong@172.28.171.16zhong@172.28.171.16's password: Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.15.0-34-generic x86_64) * Documentation: https://help.ubuntu.com * Manage...原创 2019-03-27 16:48:20 · 178 阅读 · 0 评论 -
ubuntu16系统增加win10系统的开机启动项
1、找到win10系统引导盘的uuid按e选择进入grub2、修改grub.cfg文件增加的内容为:menuentry 'window10' {insmod ntfsset root=(hd0,msdos1)search –no-floppy –fs-uuid –set 021A51761A516825chainloader +1}...原创 2019-04-12 22:17:31 · 1011 阅读 · 0 评论 -
sudo: 无法解析主机/su认证失败
sudo: 无法解析主机:kuochung-20190412kuochung@kuochung-20190412:~$ vim /etc/hosts原创 2019-05-04 15:24:34 · 249 阅读 · 0 评论 -
ubuntu16.04安装显卡最新驱动
更新内核地址sudo dpkg -i *.debsudo reboot`下载显卡驱动addresssudo chmod a+x NVIDIA-Linux-x86_64-418.56.run # 赋予权限禁用nouveau等相关的驱动包sudo gedit /etc/modprobe.d/blacklist.confblacklist rivafbblacklis...原创 2019-04-13 14:57:46 · 1008 阅读 · 0 评论 -
pinta(centos7画图软件)
(venv_py3m) [260254@w26-260254 py3m]$ yum search pinta已加载插件:fastestmirror, langpacksLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * epel: mirrors.aliyun.com * extras: mirr...原创 2019-05-30 11:31:22 · 1361 阅读 · 0 评论 -
linux文件类型
普通文件:黑死目录文件:蓝色可执行文件:绿色包文件:红色链接文件:青蓝色设备文件:黄色原创 2018-10-30 16:51:30 · 112 阅读 · 0 评论 -
Pycharm使用docker容器内的环境开发
1.将自己搭建的环境容器commit成image[260254@localhost ~]$docker commit 4ef9236a7415 c3dtf:v1docker commit 命令详解2.设置Pycharm3.测试一波我在之前的容器里install了python2.7.12,还pip install 了opencv-python和tensorflow那么看import他...原创 2019-03-01 15:37:16 · 8570 阅读 · 0 评论 -
docker下最新搭建python3/cuda10(cudnn7.4)/tensorflow
1.create containerdocker run --name tf12 -it ubuntu /bin/bash2.install anaconda[260254@localhost download]$ sudo docker cp Anaconda3-5.3.1-Linux-x86_64.sh 0d5:/rootroot@0d580c903134:/# bash Anaco...原创 2019-02-19 17:30:32 · 2540 阅读 · 0 评论 -
CentOS下网页百度网盘下载资料
第一种方法1.下载baiduExporter-master.zip压缩文件地址:链接: https://pan.baidu.com/s/1LQwccDLBvRQRGTRr71_lYw 提取码: yufr2.打开Google Chrome,输入chrome://extensions/,在开发者模式下,将解压后文件里的.crx文件拖到网页中,此后百度网盘助手就增加到了浏览器中了。3.先安装ar...原创 2018-11-21 15:15:58 · 2444 阅读 · 0 评论 -
Linux安装opencv
1.download opencv-x.x.xdownload links2.将解压到的包mv到/usr/local/下3.cd opencv-x.x.x4.mkdir build5.cd build6.cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local …7.make8.make install...原创 2018-11-08 14:12:59 · 144 阅读 · 0 评论 -
Linux himawaripy动态壁纸设置
1.简介:himawaripy is a Python 3 script that fetches near-realtime (10 minutes delayed) picture of Earth as its taken by Himawari 8 (ひまわり8号) and sets it as your desktop background.2.上面的简介也说了,himawaripy是...原创 2018-11-06 16:55:11 · 991 阅读 · 0 评论 -
Linux系统python2和3共存并成功import cv2
1.备份mv python python.bak2.下载包wget https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tar.xz3.解压并编译安装(进入到解压目录中)xz -d Python-3.6.4.tar.xztar -xf Python-3.6.4.tar./configure prefix=/usr/local...原创 2018-11-03 11:37:59 · 758 阅读 · 0 评论 -
Linux定位、查找文件
1.which command(在path中找第一个)[root@localhost /]# which lsalias ls='ls --color=auto' /usr/bin/ls2.whereis [option]name[root@localhost /]# whereis lsls: /usr/bin/ls /usr/share/man/man1/ls.1.gz /usr...原创 2018-11-03 10:53:47 · 160 阅读 · 0 评论 -
Linux复制并删除文件夹
1.在当前目录下cp文件夹到当前目录下(有点拗口,其实就是这样的)cp -r /usr/share/applications/apache-maven-3.5.4/ .`2.删除指定路径下的文件夹(rf表示默认全部删除,即在删除有写保护的文件时也不提示)rm -rf /usr/local/maven/apache-maven-3.5.4...原创 2018-10-30 11:43:15 · 832 阅读 · 0 评论 -
CentOS终端启动应用程序
1.ln -s /[可执行文件路径] /usr/bin/[应用程序名] (建立软链接)2.rehash(更新hash表)3.成功(直接在终端输入应用程序名即可)原创 2018-10-30 09:59:46 · 8958 阅读 · 0 评论 -
安装google chrome
1.在/etc/yum.repos.d目录下touch google-chrome.repo;2.vim google-chorme.repogoogle-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled=1gpgcheck=1gpgkey=ht...原创 2018-10-17 13:46:22 · 857 阅读 · 0 评论 -
最新安装并激活Pycharm
1.下载最新的Pycharm linux版本压缩文件包地址: jetbrains.com/pycharm/d2.tar解压文件包3.进入到文件目录下的bin目录4.输入命令:./pycharm.sh5.进入安装界面,在激活这一窗口中,选择Activate和Activation code6.在下方空白处paste我给的文档里的内容链接: https://pan.baidu.com/s/...原创 2018-10-19 09:47:42 · 1046 阅读 · 0 评论 -
Anaconda3安装及使用技巧
下载地址:清华大学开源软件镜像站Anoconda官网设置国内镜像:conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config --set show_channel_urls yesvim ~/.condarc常用命令:conda list # 查看...原创 2019-02-12 19:15:19 · 428 阅读 · 0 评论 -
centos7终端命令查看图片
[260254@localhost 图片]$ display 2019-02-16\ 08-58-57\ 的屏幕截图.png [260254@localhost 图片]$ eog 2019-02-16\ 08-58-57\ 的屏幕截图.png [260254@localhost 图片]$ xdg-open 2019-02-16\ 08-58-57\ 的屏幕截图.png This tool h...原创 2019-02-16 09:26:30 · 19054 阅读 · 0 评论 -
vlc安装
wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpmsudo rpm -ivh nux-dextop-release-0-5.el7.nux.noarch.rpmsudo yum install vlc原创 2019-02-15 09:39:34 · 1173 阅读 · 0 评论 -
/usr/libexec/urlgrabber-ext-down
Q: Downloading packages: File "/usr/libexec/urlgrabber-ext-down", line 28 except OSError, e: ^ SyntaxError: invalid syntaxA:修改文件urlgrabber-ext-down,将python修...原创 2019-04-30 10:51:17 · 1775 阅读 · 0 评论 -
./configure的使用
Standard options:–prefix=PREFIX install architecture-independent files in PREFIX[/usr/local]默认的安装路径–exec-prefix=EPREFIX install architecture-dependent files in EPREFIX[PREFIX]–bindir=...原创 2019-01-24 10:44:53 · 1558 阅读 · 0 评论 -
centos7上安装caffe
安装教程主要依靠官网文档:RHEL / Fedora / CentOS Installationsudo yum install protobuf-devel leveldb-devel snappy-devel opencv-devel boost-devel hdf5-develsudo yum install gflags-devel glog-devel lmdb-develcp ...原创 2019-01-21 10:26:01 · 495 阅读 · 0 评论 -
安装WPS Linux版本
1.下载rpm包 http://wps-community.org/download.html2. yum install rpm包3. 下载wps_symbol_fonts.tar.gz包https://pan.baidu.com/s/1x5Rw73M9U1RbCOHf2oaW2w4. tar wps_symbol_fonts.tar.gz5. mv wps_symbol_fonts ...原创 2018-10-18 08:43:23 · 5482 阅读 · 0 评论