This is my dotfiles repository
- Mac OSX
- RHEL (CentOS, Amazon Linux)
- Ubuntu
- Install Xcode
$ xcode-select --install
- Install homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install ansible
$ brew install ansible
$ sudo launchctl limit maxfiles unlimited
- 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
- Install homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install ansible
$ brew install ansible
- 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"
- 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.