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
$ vagrant box add gentoo_amd64 https://dl.dropboxusercontent.com/u/632007/gentoo-systemd-amd64-virtualbox-2015-02-22.box |
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
export PATH="/home/vagrant/.phpenv/bin:$PATH" | |
eval "$(phpenv init -)" |
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
# マウント対象の共有のフォルダがあるか見る | |
$ ls /media | |
sf_slack_rack_web | |
# マウント | |
$ sudo mount -t vboxsf slack_rack_web /home/vagrant/web | |
# ゲストでwebフォルダを事前に作成する必要がある |
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
brew install npm | |
npm install |
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
$ openssl genrsa 2048 > server.key | |
$ openssl req -new -key server.key > server.csr | |
$ openssl x509 -days 3650 -req -signkey server.key < server.csr > server.crt | |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<projects total_count="2" offset="0" limit="25" type="array"> | |
<project> | |
<id>1</id> | |
<name>さんぷる</name> | |
<identifier>sample</identifier> | |
<description/> | |
<created_on>2015-11-14T08:14:05Z</created_on> | |
<updated_on>2015-11-14T08:14:05Z</updated_on> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="../../../../css/lib/onsenui/onsenui.css" rel="stylesheet" type="text/css"> | |
<link href="../../../../css/lib/onsenui/onsen-css-components-dark-theme.css" rel="stylesheet" type="text/css"> | |
<script type="text/javascript" src="../../../../js/lib/systemjs/system.js"></script> | |
<script type="text/javascript" src="../../../../js/lib/angular/angular.min.js"></script> | |
<script type="text/javascript" src="../../../../js/lib/onsenui/onsenui.min.js"></script> | |
<script> |
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
# php-fpmプロセスを調べる | |
ps -ef | |
php-fpm: master process (/root/. | |
nobody 23272 23271 0 16:09 ? 00:00:00 | |
↑これがphp-fpmのプロセスで23272がプロセスID | |
php-fpm: pool www | |
nobody 23273 23271 0 16:09 ? 00:00:00 php-fpm: pool www | |
root 23274 2 0 16:09 ? 00:00:00 [kworker/0:2] | |
root 23322 2 0 16:14 ? 00:00:00 [kworker/0:0] |
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
vi /etc/rc.d/init.d/syonet |
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
{ | |
"baseURL": "", | |
"useSSLAzure":false, | |
"useSSL": false, | |
"SSLkey": "../cert/server.key", | |
"SSLcert": "../cert/server.crt", | |
"includeSocketIO": true, | |
"activateAuth": false, | |
"username": "", |
OlderNewer