Created
November 30, 2012 00:38
-
-
Save alingogo/4172936 to your computer and use it in GitHub Desktop.
centOS6に、Capybara-webkitをインストール
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 | |
# Download the latest atrpms-repo rpm from | |
wget http://dl.atrpms.net/el6-x86_64/atrpms/stable/atrpms-repo-6-5.el6.x86_64.rpm | |
# Install atrpms-repo rpm: | |
sudo rpm -Uvh atrpms-repo*rpm | |
# Install atrpms-repo rpm package: | |
sudo yum install -y atrpms-repo | |
sudo yum --disablerepo=epel --enablerepo=atrpms-testing install -y qt47-devel qt47-webkit qt47-webkit-devel | |
sudo ln -s /usr/bin/qmake-qt47 /usr/bin/qmake | |
# capybara-webkitが依存しているpackageのインストール | |
sudo yum install -y libxml2-devel libxslt-devel | |
# Xvfbインストール | |
sudo yum -y install xorg-x11-server-Xvfb xorg-x11-fonts* | |
echo "*************" | |
echo "インストール完了" | |
echo "*************" |
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
* 前提 | |
** proxy | |
** sudo + proxy | |
** centos6 | |
* インストール | |
wget -qO- https://raw.github.com/gist/4172936/capybara-webkit-install | bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment