Skip to content

kshimo69/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

This is my dotfiles repository

Supported environments

  • Mac OSX
  • RHEL (CentOS, Amazon Linux)
  • Ubuntu

Prerequisite

Mac

  • Install Xcode
$ xcode-select --install
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew install ansible
$ sudo launchctl limit maxfiles unlimited

RHEL

  • Install EPEL
$ sudo yum install -y epel-release
  • Install git
$ sudo yum install -y --enablerepo=epel git
  • Install ansible
$ sudo yum install -y --enablerepo=epel ansible

Ubuntu

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew install ansible

How to use

  • Install
$ curl -LSfs https://raw.githubusercontent.com/kshimo69/dotfiles/master/install.sh | bash
  • Update
$ ansible-playbook --force-handlers ./playbooks/local.yml
  • Execute specific roles
$ ansible-playbook --force-handlers ./playbooks/local.yml --tags "common"

After Install...

  • set default shell
chsh -s `which zsh`
  • update neovim plugins
:call dein#update()
:UpdateRemotePlugins

restart neovim

  • edit ~/.gitconfig.local

for home or for office.

[user]
    email = [email protected]
    name = Your Name
[github]
    user = username
    token = XXXXXXXX
  • edit ~/.netrc
machine github.com
login USERNAME
password PASSWORD
  • edit ~/.passwd

This file load from .zshrc. password or proxy config in office.

export http_proxy=http://proxy.example:8080/
export https_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
export ftp_ftp=$http_proxy
export FTP_PROXY=$http_proxy
export no_proxy=localhost,127.0.0.1
export NO_PROXY=$no_proxy
  • edit ~/.ssh/config
Host *
    Compression yes
    CompressionLevel 9
    # Ciphers arcfour256
Host ssh-proxy
    HostName proxy-host.example.com
    User USERNAME
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_rsa.specified
    StrictHostKeyChecking no
Host *.example.com
    User USERNAME
    IdentityFile ~/.ssh/id_rsa.specified
    ProxyCommand ssh -q ssh-proxy nc %h %p
    StrictHostKeyChecking no
  • edit ~/.subversion/servers

Set proxy config. Some brew package use subversion.

About

My dot files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •