【ubuntu16.04 terminal当前tab页面高亮显示】教程文章相关的互联网学习教程文章

Ubuntu16.04 换源(或者404 Not Found问题)【代码】

当执行sudo apt-get update或者sudo apt-get install命令时,出现以下两个问题:“apt-get 404 Not Found Package Repository Errors” 和 “E: Some index files failed to download They have been ignored, or old ones used” 解决方法:首先,我们将现在出问题的 /etc/apt/sources.list 文件备份一份(只是一个好习惯而已!)sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup注: /etc/apt/sources.list 文件 里面...

ubuntu16.04安装workbench【代码】

sudo dpkg -i mysql-workbench-community-6.3.10-1ubuntu16.04-amd64.deb报错:Selecting previously unselected package mysql-workbench-community. (Reading database ... 216034 files and directories currently installed.) Preparing to unpack mysql-workbench-community-6.3.10-1ubuntu16.04-amd64.deb ... Unpacking mysql-workbench-community (6.3.10-1ubuntu16.04) ... dpkg: dependency problems prevent configurat...

Ubuntu16.04 g++5.4依旧不支持C++11问题【代码】

jacket@jacket:~$ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=‘Ubuntu 5.4.0-6ubuntu1~16.04.11‘ --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-sh...

安装ubuntu16.04后wifi无法使用(联想y7000笔记本)【图】

2018/12/03解决过程:参考方案:联想笔记本Y7000—ubuntu16.4无法开启wifi的解决办法http://blog.sina.com.cn/s/blog_c689bd6c0102xhm2.html#cmt_5B2BCE93-75880585-5F1F678A-8C3-867联想超极本Ubuntu系统无法开启无线硬件开关的解决https://www.linuxidc.com/Linux/2015-04/116077.htm1、如下解决wifi开启问题:使用下面命令查看网卡状态: 可以看到,ideapad_wlan的Hard blocked 默认为yes,即ubuntu默认关闭了硬件wifi开关,这样...

Ubuntu16.04系统重装

为了给Ubuntu16.04重装系统,费了我很大的功夫,所以在这里把它写下来。  首先准备一个Live CD,就是Ubuntu的安装盘。  备份原理就是将系统文件压缩打包。由于Linux系统所有都是文件,故,只需要将系统打包即可。当然,必须除了当前系统运行中的文件以及临时文件。  打包有两种方式:a)直接需要打包的Linux系统下压缩打包(亲测,发现在打包最后会报错,不知会不会有问题),反正我是没有成功。b).使用Live USB  接下来就是步...

Ubuntu16.04 与Windwos10时间不同步问题解决【代码】

最近有时间,整了Ubuntu16.04和Windows10双系统,登陆完Ubuntu后回到Windwos,发现时间不准,网上找方案,如下办法完美解决,备忘之。首先在Ubuntu下打开Terminal终端,输出如下代码,让Ubuntu时间与windows服务器同步。1sudo apt-get install ntpdate 2sudo ntpdate time.windows.com 第二步将同步过来的时间刷进Cmos里,重启Ubuntu。1sudo hwclock --localtime --systohc 原文:http://www.cnblogs.com/simyeo/p/6298293.html

带有B320i阵列卡的HP DL388e 服务器安装ubuntu16.04时找不到硬盘的解决方法

HP DL388e 服务器安装ubuntu16.04时找不到硬盘,安装无法进行。HP DL388e启动时按F10进去安装系统,却发现这机器只支持microsoft、redhat、suse linux、vmware exsi这些厂商的系统,ubuntu16无法安装。既然是安装时提示无法找到硬盘,那就找HP DL388e的磁盘陈列卡HP Dynamic Smart Array B320i的驱动程序来解决吧,开启代理用goole搜索不停的搜索ubuntu下的驱动程序,好不容易找到两篇文章及驱动程序,按其操作结果还是没有成功。(...

Ubuntu16.04下安装elasticsearch+kibana实现php客户端的中文分词【代码】

1.下载安装elasticsearch和kibanawget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.4.2.deb dpkg -i elasticsearch-5.4.2.deb wget https://artifacts.elastic.co/downloads/kibana/kibana-5.4.2-amd64.deb dpkg -i kibana-5.4.2-amd64.deb2.安装中文分词插件,包括elasticsearch原生的中文分词icu和smartcn,以及第三方中文分词ik、拼音分词pinyin、繁简转换stconvert。/usr/share/elasticsearch/bin/...

ubuntu16.04下使用navicat连接docker mysql5.7.20【代码】【图】

摘要:本文将介绍如何使用docker创建mysql容器,并使用navicat连接该mysql服务,最后提供一个navicat中文乱码问题的解决方案。一、docker下创建mysql容器1、下载mysql最新版本镜像:$ docker pull mysql2、启动mysql容器创建mysql配置文件my.cnf,全路径为/data/mysql/conf/my.cnf,内容如下:[mysqld] pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock datadir = /var/lib/m...

ubuntu16.04安装opencv2.4.13【代码】【图】

1.更新sudo apt-get update sudo apt-get upgrade 2.安装关联库2.1 搭建C/C++编译环境sudo apt-get install build-essential 2.2 相关库(支持读写视频\python相关)sudo apt-get install libgtk2.0-dev libavcodec-dev libavformat-dev libtiff4-dev libswscale-dev libjasper-dev python-dev python-numpy2.3 安装cmakesudo apt-get install cmake 2.4 安装pkg-config(提供从源代码中编译软件时查询已安装的库时使用的...

Ubuntu16.04环境下Vim 配置 for HTML,CSS,JAVASCRIPT(1)【代码】

参考了三篇文章:VIM配置---面向前端使用Vundle管理配置Vim基本插件CSS 语法高亮1、安装Vundlegit clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim2、配置 ~/.vimrcset nocompatible filetype off " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vimcall vundle#begin()Plugin 'VundleVim/Vundle.vim'" status bar Plugin 'bling/vim-airline'"JavaScrip...

Ubuntu16.04下安装python3.6.4详细步骤【代码】

记录一下: Ubuntu16.04自带的python版本为python2.7和python3.5,现在想要安装python3.6.4,注意:系统自带的python版本别删除步骤:# 官网下载安装包 1. wget http://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz# 解压 2. tar -xvzf Python-3.6.4.tgz# 安装 3. cd Python-3.6.4 4. ./configure --with-ssl# 编译 5. sudo make 6. sudo make install# 创建软连接,先查看python3.6.4的安装路径 7. which python3 # /us...

ubuntu16.04安装vscode【图】

1.进入官方网站下载最近版本:https://code.visualstudio.com 2.打开终端,输入一下命令:sudo dpkg -i code_1.44.2-1587059832_amd64.deb 原文:https://www.cnblogs.com/zongfanstudy/p/12759776.html

Ubuntu16.04深度学习基本环境搭建,tensorflow , keras , pytorch , cuda【代码】

Ubuntu16.04深度学习基本环境搭建,tensorflow , keras , pytorch , cudaUbuntu16.04安装参考https://blog.csdn.net/flyyufenfei/article/details/79187656安装nvidia驱动sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt update选择安装驱动 ubuntu-drivers devices查看自己显卡对应的驱动型号,可在nvidia官网查询 sudo apt install nvidia-410通过以下命令查看是否安装成功nvidia-smi 安装cuda,可选方式3种1.直接安装...

ubuntu16.04 cuda8.0 opencv3.2.0 caffe安装

安装过程1.安装相关依赖项sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler sudo apt-get install --no-install-recommends libboost-all-devsudo apt-get install libopenblas-dev liblapack-dev libatlas-base-devsudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev 2.安装NVIDIA驱动(1)查询NVIDIA驱动首先去官网(http://www.nvidia....