在UBUNTU采用163或是阿里云来更新源,最新的更新源地址可以在网上查阅,

阿里源

  1. deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
  2. deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
  3. deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
  4. deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
  5. deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
  6. deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
  7. deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
  8. deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
  9. deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
  10. deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

163源

  1. deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
  2. deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
  3. deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
  4. deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
  5. deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
  6. deb-src http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
  7. deb-src http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
  8. deb-src http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
  9. deb-src http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
  10. deb-src http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse

更新源的方面主要是编辑: /etc/apt/sources.list 文件,一般更新前都需要备份一份相对来说是比较好的。

将 更新源 替换 sources.list 内容后,在终端执行更新命令

  sudo apt-get update

  sudo apt-get upgrade

这篇文主要是讲在UBUNTU下如果安装VIM的插件管理器,

首先,如果你没有安装好npm或是brew或是yarn都需要安装一下包的管理工具的,

现在里,需要安装一个git工具

  yum -y install git

如果采用yum来安装就需要安装yum工具,我是直接采用

  sudo apt -y install git

来安装git工具

  mkdir -p ~/.vim/bundle

  git clone https://github.com?gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim

----------------------------------------------------------------

syntax on

" tab宽度和缩进同样设置为4

set tabstop=4

set softtabstop=4

set shiftwidth=4

set nocompatible

" 你在此设置运行时路径

set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin()

" 在这里面输入安装的插件

" Vundle 本身就是一个插件

Plugin 'gmarik/Vundle.vim'

"所有插件都应该在这一行之前

call vundle#end()

" filetype off

filetype plugin indent on

----------------------------------------------------------------

:PluginInstall

下面命令在vim命令模式下运行。

命令 描述
:PluginInstall 安装~/.vimrc中”call vundle#begin()”到”call vundle#end()”范围内配置好的插件;
:PluginClean 清理已经从”call vundle#begin()”到”call vundle#end()”范围删除的插件。
:PluginUpdate 更新插件
:PluginSearch 搜索插件,如”:PluginSearch html”搜索包含html关键词的插件。

vim /etc/vim/vimrc

ubuntu install git vim Plug manage的更多相关文章

  1. 初步安装配置虚拟机、Ubuntu、git、vim、码云项目

    内容 虚拟机软件:Oracle VM VirtualBox 系统:Ubuntu 配置:git:码云;vim 过程 下载安装VirtualBox.ubuntu 根据链接-- 基于VirtualBox安装 ...

  2. ubuntu 14.04 vim install youcompleteme

    sudo apt-get install vim ; sudo apt-get install vim-youcompleteme ; sudo apt-get install vim-addon-m ...

  3. Ubuntu下git的安装与使用

    Ubuntu下git的安装与使用 Ubuntu下git的安装与使用与Windows下的大致相同,只不过个人感觉在Ubuntu下使用git更方便. 首先,确认你的系统是否已安装git,可以通过git指令 ...

  4. Linux Ubuntu搭建git服务器

    1. 安装 openssh-server ,用于创建SSH服务. sudo apt-get install openssl-server 使用命令ps -e|grep ssh,查看ssh服务是否启动. ...

  5. ubuntu中git

    1.在ubuntu中安装git $ sudo apt-get install git git-core 2.配置本机的git $ git config --global user.name " ...

  6. Ubuntu下Git从搭建到使用详解

    Ubuntu下Git从搭建到使用详解 一.git的搭建 (1).sudo apt-get update (2).sudo apt-get -y install git 符:安装最新版本方法: add- ...

  7. Ubuntu中Git服务器搭建

    git服务器搭建过程 参考网上资料搭建git服务器过程记录 如下: 需求 硬件需求:一台Ubuntu或者debian电脑(虚拟机),能通过网络访问到. 软件需求:git-core, gitosis, ...

  8. Swift 开源 Linux Ubuntu Install

    Swift 开源了,它现在变成跨平台的了,开源后的 Swift 不止能运行在 MAC 和 iOS 平台,现在也可以运行在 Linux 平台了.swift.org 网站上面提供了在 Linux 上面安装 ...

  9. ubuntu安装git并配置SSH Key

    安装git apt-get install git 配置git的用户名和邮箱: ssh-keygen -trsa -C "youremail@example.com" ssh-ke ...

随机推荐

  1. 新手怎么读懂一个中型的Django项目

    [前言]中型的项目是比较多的APP,肯会涉及多数据表的操作.如果有人带那就最好了,自己要先了解基本的django框架(MTV ,ORM等)师傅可以给讲解一下框架怎么组织url.py,model.py, ...

  2. 【我的Android进阶之旅】快速创建和根据不同的版本类型(Dev、Beta、Release)发布Android 开发库到Maven私服

    前言 由于项目越来越多,有很多公共的代码都可以抽取出一个开发库出来传到公司搭建好的Maven私服,以供大家使用. 之前搭建的Maven仓库只有Release和Snapshot两个仓库,最近由于开发库有 ...

  3. Hdu 2457 DNA repair (ac自己主动机+dp)

    题目大意: 改动文本串的上的字符,使之不出现上面出现的串.问最少改动多少个. 思路分析: dp[i][j]表示如今 i 个字符改变成了字典树上的 j 节点. 然后顺着自己主动机一直转移方程. 注意合法 ...

  4. git从历史上的某一次提交处建立分支

    $ git log --oneline --all --graph --decorate * 1efcf18 (HEAD -> master) commit * 6a7ace8 commit * ...

  5. linux 目录与文件命令

    目录与文件常用命令 1.cd命令 cd [相对路径或绝对路径或特殊符号] 功用:变换目录 ps: 不加参数时,默认切换到用户主目录,即环境变量HOME指定的目录,如root用户的HOME变量为/roo ...

  6. MySQLdb使用批量插入executemany方法插入mysql

    python的MySQLdb库可以使用批量操作executemany,进行多行插入. 比如向user表(username,salt,pwd)插入数据,具体的sql语句如下: sql = 'INSERT ...

  7. sdut3140 A*B(math)

    题目:传送门 题目描述 Your task is to find the minimal positive integer number Q so that the product of digits ...

  8. jsonp解决跨域问题

    日常开发网页中,时常遇到跨域问题,通常解决办法:后端提供的接口支持jsonp格式,前端采用dataType:jsonp. 一:Jquery封装的AJAX,dataType:jsonp格式的方法: $. ...

  9. centos7 vim显示行号

    CentOS7下可能有n个账户,让vim显示行号有两种方法:仅让当前用户显示行号和让所有用户显示行号   一.仅让当前用户显示行号 输入命令:vim ~/.vimrc 写入:set nu 保存:wq ...

  10. Mysql中int和varchar类型

    int类型: int bigint smallint 和 tinyint 类型,如果创建新表时没有指定 int(M) 中的M时,默认分别是 : int           -------     in ...