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
#依存関係のエラーが出る場合yum remove mysql-libs、yum remove mysql-server等する | |
cd /usr/local/src | |
rpm -ivh MySQL-Cluster-client-gpl-7.2.12-1.el6.x86_64.rpm | |
rpm -ivh MySQL-Cluster-server-gpl-7.2.12-1.el6.x86_64.rpm | |
rpm -ivh MySQL-Cluster-shared-compat-gpl-7.2.12-1.el6.x86_64.rpm | |
rpm -ivh MySQL-Cluster-devel-gpl-7.2.12-1.el6.x86_64.rpm | |
rpm -ivh MySQL-Cluster-shared-gpl-7.2.12-1.el6.x86_64.rpm | |
rpm -ivh MySQL-Cluster-server-gpl-7.2.12-1.el6.x86_64.rpm | |
service mysql start | |
/usr/bin/mysql_secure_installation |
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
cd /usr/local/src | |
rpm -ivh rpm -ivh MySQL-Cluster-server-gpl-7.2.12-1.el6.x86_64.rpm | |
mkdir /var/lib/mysql-cluster | |
cd /var/lib/mysql-cluster | |
mkdir mgm data1 data2 sql1 sql2 | |
vi /var/lib/mysql-cluster/config.ini | |
[NDBD DEFAULT] | |
NoOfReplicas=2 |
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
pear channel-discover pear.phpunit.de | |
pear channel-discover pear.symfony.com | |
pear install phpunit/PHPUnit --alldeps | |
pear install --force phpunit/PHPUnit_MockObject |
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
yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers | |
yum install kernel-devel | |
#VirtualBoxのインストール | |
cd /usr/local/src | |
wget http://download.virtualbox.org/virtualbox/4.2.8/VirtualBox-4.2-4.2.8_83876_el6-1.x86_64.rpm | |
yum localinstall VirtualBox-4.2-4.2.8_83876_el6-1.x86_64.rpm | |
#VBoxGuestAdditionsのインストール | |
wget http://download.virtualbox.org/virtualbox/4.2.8/VBoxGuestAdditions_4.2.8.iso |
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
#変更前 | |
LogFormat "%h %l %u %t \"%r\" %>s %b" common | |
#変更後 | |
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b" common | |
#変更前 | |
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined | |
#変更後 | |
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined |
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
[@mypc ~]$ df -h | |
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on | |
/dev/disk0s2 111Gi 93Gi 18Gi 85% 24428658 4633876 84% / | |
devfs 187Ki 187Ki 0Bi 100% 648 0 100% /dev | |
/dev/disk1s2 298Gi 164Gi 134Gi 56% 43061089 34997737 55% /Volumes/DATA | |
map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net | |
map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home | |
localhost:/KbAsynKlDlPLiNX5IDGi-r 111Gi 111Gi 0Bi 100% 0 0 100% /Volumes/MobileBackups | |
/dev/disk2s1 7.4Gi 1.7Mi 7.4Gi 1% 0 0 100% /Volumes/NO NAME | |
[@mypc ~]$ diskutil umount /dev/disk2s1 |
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
#パッケージレポジトリの登録 | |
echo “deb http://apt.opscode.com/ `lsb_release -cs`-0.10 main” | tee /etc/apt/sources.list.d/opscode.list | |
#listの確認 | |
cat /etc/apt/sources.list.d/opscode.list | |
deb http://apt.opscode.com/ precise-0.10 main | |
#キーの登録 | |
mkdir -p /etc/apt/trusted.gpg.d | |
gpg –keyserver keys.gnupg.net –recv-keys 83EF826A | |
gpg –export [email protected] | tee /etc/apt/trusted.gpg.d/opscode-keyring.gpg > /dev/null | |
apt-get update |
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
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | |
<l:layout> | |
<st:include it="${it.owner}" page="sidepanel.jelly" /> | |
<l:main-panel> | |
<h2>右側メインエリア</h2> | |
</l:main-panel> | |
</l:layout> | |
</j:jelly> |
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
<!-- | |
実際のファイルの置き場所は以下のようになる。 | |
src/main/webapp/css/style.css | |
src/main/webapp/script/jquery_min.js | |
--> | |
<link rel="stylesheet" href="/plugin/plugin_name/css/style.css" /> | |
<script type="text/javascript" src="/plugin_name/script/jquery.min.js"></script> |
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
<!-- | |
when/otherwise | |
--> | |
<j:choose> | |
<j:when test="${tool == 'chef'}"> | |
<option value="chef" selected="selected">Chef</option> | |
</j:when> | |
<j:otherwise> | |
<option value="chef">Chef</option> | |
</j:otherwise> |