yum update -y
yum install openssh-clients
useradd daneko -g wheel
passwd daneko
visudo
# wheelに権限をつけたり付けなかったり
ローカルから公開キーを送りつけてノンパスログイン設定
su daneko
cd ~
mkdir .ssh
mv /path/to/id_rsa.pub .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
chmod 700 .ssh
su
vi /etc/ssh/sshd_config
#PasswordAuthentication no
#PermitRootLogin no
service sshd restart
su
cd /tmp
yum install wget make gcc-c++ openssl-devel sqlite-devel readline-devel ncurses-devel zlib-devel bzip2-devel \
patch curl-devel expat-devel gettext-devel libcurl4-gnutls-dev libexpat1-dev libz-dev libssl-dev
wget http://ftp-srv2.kddilabs.jp/Linux/distributions/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -ivh remi-release-6.rpm
yum install tcp_wrappers-devel libX11-devel libXt-devel libedit-devel krb5-devel krb5-libs glibc-devel imake
wget http://ftp.jaist.ac.jp/pub/OpenBSD/OpenSSH/portable/openssh-6.1p1.tar.gz
wget http://pkgs.fedoraproject.org/repo/pkgs/openssh/x11-ssh-askpass-1.2.4.1.tar.gz/8f2e41f3f7eaa8543a2440454637f3c3/x11-ssh-askpass-1.2.4.1.tar.gz
あとはサイトの通りに作業
# /etc/ssh/sshd_config.rpmnew をsshd_configにrenameして必要な設定をして使用する
service sshd restart
zsh
su
cd /tmp
wget "http://sourceforge.net/projects/zsh/files/zsh/5.0.2/zsh-5.0.2.tar.gz/download"
tar zxvf zsh-5.0.2.tar.gz
cd zsh-5.0.2
./configure
make
make install
which zshs
vi /etc/shells
#/usr/local/bin/zsh
python mercurial
su
cd /tmp
curl -kLO https://github.com/utahta/pythonbrew/raw/master/pythonbrew-install
chmod +x pythonbrew-install
./pythonbrew-install
source /etc/bashrc
pythonbrew install --configure="--with-zlib \
--with-bz2 \
--with-ssl \
--with-readline \
--with-ncurses \
--with-expat \
--with-sqlite3 \
--with-crypt \
--with-md5 \
--with-sha" 2.7.3
pythonbrew switch 2.7.3
pip install mercurial
git
su
cd /tmp
yum install perl-ExtUtils-MakeMaker
wget https://git-core.googlecode.com/files/git-1.8.1.1.tar.gz
tar zxvf git-1.8.1.1.tar.gz
cd git-1.8.1.1
./configure
make
make install
vim
hg clone https://vim.googlecode.com/hg
cd hg
./configure --with-features=huge --enable-multibyte --enable-cscope --disable-selinux
make
make install
tmux
# yum install libevent-devel ← Versionの問題でソースから入れる
wget --no-check-certificate https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz
./configure
make
make install
wget http://downloads.sourceforge.net/tmux/tmux-1.7.tar.gz
cd tmux
./configure
make
make install