This file contains hidden or 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
#!/bin/sh | |
sudo yum install -y ruby ruby-devel ruby-irb ruby-libs ruby-rdoc ruby-ri | |
cd /usr/local/src | |
sudo wget http://rubyforge.org/frs/download.php/74445/rubygems-1.6.2.tgz | |
sudo tar xvzf rubygems-1.6.2.tgz | |
cd rubygems-1.6.2 | |
sudo ruby setup.rb | |
sudo gem install rake |
This file contains hidden or 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
#!/bin/sh | |
/bin/sed -i 's/ONBOOT="no"/ONBOOT="yes"/g' /etc/sysconfig/network-scripts/ifcfg-eth0 | |
service networking restart | |
/bin/sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication no/g' /etc/ssh/sshd_config | |
service sshd reload | |
yum -y install sudo | |
yum -y groupinstall "Development Tools" |
This file contains hidden or 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
#!/bin/bash | |
# https://rvm.io/rvm/install | |
curl -L https://get.rvm.io | bash -s stable | |
# rvmコマンドを使用可能に | |
source ~/.bash_profile | |
# ruby 1.9.3 のコンパイルに必要 | |
yum install --enablerepo=epel libyaml-devel -y |
OlderNewer