Last active
December 23, 2015 23:59
-
-
Save krrrr38/6713730 to your computer and use it in GitHub Desktop.
なんかもう適当
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum -y update | |
sudo yum -y install httpd | |
sudo chkconfig httpd on | |
sudo service httpd start | |
sudo yum -y install mysql-server | |
sudo yum -y install mysql-devel # DBD::mysqlでmysql.hやら必要になる(/usr/include以下に入る) | |
sudo chkconfig mysqld on | |
sudo service mysqld start | |
sudo yum -y install nginx | |
sudo chkconfig nginx on | |
sudo service nginx start | |
sudo yum -y groupinstall "Development Tools" | |
sudo yum -y install zsh | |
sudo yum -y install tmux | |
# emacs 入れるのに必要 | |
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz | |
tar -zxvf ncurses-5.9.tar.gz | |
cd ncurses-5.9 | |
./configure | |
make | |
sudo make install | |
cd | |
# emacs入れる | |
wget http://core.ring.gr.jp/pub/GNU/emacs/emacs-24.3.tar.gz | |
tar xvfz emacs-24.3.tar.gz | |
cd emacs-24.3 | |
./configure --without-x | |
make | |
sudo make install | |
cd | |
# mysqlの初期設定 | |
sudo mysql_secure_installation | |
# perlbrewでperlのinstall | |
curl -L http://install.perlbrew.pl | bash | |
source ~/perl5/perlbrew/etc/bashrc | |
echo "source ~/perl5/perlbrew/etc/bashrc\nexport LC_ALL=en_US.UTF-8\nexport C_INCLUDE_PATH=/usr/include:$C_INCLUDE_PATH" > ~/.zshrc.local | |
source ~/.zshrc | |
# このあたりちょこちょこ詰まる | |
perlbrew install 5.14.2 | |
perlbrew switch perl-5.14.2 | |
perlbrew install-cpanm | |
cpanm Carton | |
# node, npm | |
wget -N http://nodejs.org/dist/node-latest.tar.gz | |
tar xzvf node-latest.tar.gz | |
cd node~ | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment