Linux config for Ubuntu14.04+
来源:互联网 发布:苏州矩阵光电 编辑:程序博客网 时间:2024/05/01 00:47
Linux config Documentation
1. git
git install
sudo apt-get install git
git config
git config --global user.email emailgit config --global user.name nicknamegit config -l
Generating public/private rsa key pair
ssh-keygen -t rsa -b 4096 -C "youremail@xx.xx"
2. terminal config
linux.config
cd linux.configcp .inputrc ~/.inputrc
shouldn`t use the cp .inputrc /etc/inputrc
3. vim plugin & sources
vim plugin
sudo wget -qO- https://raw.github.com/ma6174/vim/master/setup.sh | sh -x
sources.list
cd linux.configsudo cp sources.list /etc/apt/sudo apt-get update
add pypi source for China
sudo mkdir ~/.pip sudo touch ~/.pip/pip.conf
and append the follow lines to pip.conf
[global]index-url = http://pypi.douban.com/simpleindex-url = http://mirrors.aliyun.com/pypi/simple
4. terminator(multiple windows)
sudo apt-get install terminator
5. go
go1.7 for linux
go doc
sudo tar -C /usr/local -xzf go1.7.1.linux-amd64.tar.gz
add following lines to /etc/profile
export GOROOT=/usr/local/goexport GOBIN=$GOROOT/binexport PATH=$GOROOT/bin:$PATHexport GOPATH=$HOME/dev/work
show go enviroment
go env
go1.7 for win x64
install location # D:\Go
win10 win+x->path config:
config path:GOROOT=D:\GoGOPATH=E:\workspace\goGOBIN=%GOROOT%\binPATH=%GOROOT%;%PATH%
hello.go
package mainimport "fmt"func main(){ fmt.Printf("hello, world\n")}
build and run
go build hello.go#linux./hello#or windowshello.exe#go run hello.go
0 0
- Linux config for Ubuntu14.04+
- Opencv for Ubuntu14.04
- opencv for ubuntu14.04
- winusb for ubuntu14.04
- ubuntu14.04 for bagadus
- Ubuntu14.04 64bit上安装WPS For Linux
- Ubuntu14.04下安装VMware (for linux)
- opengl(mesa) for ubuntu14.04
- Linux Kernel Parameter config for Oracle
- Fekit mock and base config for linux
- ubuntu14-color-config
- matlab2013a for linux/Ubuntu 安装步骤及创建快捷方式(ubuntu14.04下安装)
- Ubuntu14.04LTS安装 Microsoft® ODBC Driver 11 for SQL Server® - RedHat Linux
- Ubuntu14.04 vlc-for-android 编译过程
- Ubuntu14.04下编译busybox for android
- Ubuntu14.04 Linux install g++
- ubuntu14.04 编译linux内核
- Ubuntu14.04安装Linux源码
- HTML 畅销书排行榜
- 好设计该具备这10项基本原则
- 第二本第五章上机5畅销书排行页面
- 记js的一些小坑(未完)
- Unity教程之-Unity Attribute的使用总结
- Linux config for Ubuntu14.04+
- js文件应该放在头部还是尾部?
- Java 的序列化 (Serialization) 教程
- Python网络爬虫出现乱码的原因
- 第五章 CSS美化网页元素
- Java Annotation
- CSS:A标记样式
- 牛客网专项练习笔记
- Sbt assembly使用