AppFog tunnel Error 600: Not enough memory capacity, you’re allowed: 2048

Feb 13, 2013
AD:

In AppFog, when you connect Database you will use tunnel but I could not access today.

So I searched why and then I found out the problem.

How I fix

When using af tunnel, it uses 64MB that why error was “Not enough memory capacity“.
I just went to Console Page in AppFog and then reduced memory from one of App.

Done

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 0 | Pocket: 0 | Total: 0 | Feedly: 0

Vagrant in Ubuntu(12.04) Desktop

Jan 23, 2013
AD:

Set up ruby first

Before install Vagrant needs set up ruby. I use rbenv for setting Ruby environment

Install Vagrant

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 1 | Pocket: 0 | Total: 1 | Feedly: 0

pagodaboxのDefaultのuserの変更方法

Jan 11, 2013
AD:

Just delete ~/.pagodarc or edite it.

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 0 | Pocket: 0 | Total: 0 | Feedly: 0

Ubuntu 12.04 にmemchached

Oct 24, 2012
AD:

仕事でZendFrameworkとDoctrineを使うことがあったのですが、Doctrineでmemcachedを使用するので、その際にVagrantのUbuntuにmemcachedをインストールした時のメモです。

実際にやったこと

補足

まったくまっさらなUbuntuであれば、最低限下記のものも追加で必要です。

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 0 | Pocket: 0 | Total: 0 | Feedly: 0

せっかく調べたのでVagrantのコマンドを貼っておきます

May 19, 2012
AD:

こんな使い方もあります

たとえば、Chefなり、berkshelfなりを使っていたら、下記のようなパラメータを入れることも可能です。

upしてから、reload –provisionなどをやっていたのを1度で済ませます。

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 31 | Pocket: 33 | Total: 64 | Feedly: 0

CentOS6 64bitに最新php(5.3.13)をyumでインストール

May 14, 2012
AD:

標準だと5.3.3です。
せっかくのなので、最新のphpをインストールしたい

外部レポジトリのRemiの追加

これで終わり、さっそくテスト、phpが5.3.13になっているの確認

インストール

必要なパッケージもあわせてインストール

インストールの確認

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 7 | Pocket: 3 | Total: 10 | Feedly: 0

Warning: Permanently added the RSA host key for IP address ‘*.*.*.*’ to the list of known hosts.

Mar 31, 2012
AD:

Bitbucketでソースを管理しているんですが、githubも使い出して、一度keyを整理しなおしに、下記のエラーがでて、Bitbucketにアクセスできなくなりました。

調べてみると、ssh-keyが二つ(同じPCで過去に作成したもの)が登録されていたので、それを消して解決できました。
下記の画面より登録してあるKeyが確認できます。
https://bitbucket.org/account/ssh-keys/

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 0 | Pocket: 1 | Total: 1 | Feedly: 0

bitbucketをubuntu上で設定

Mar 11, 2012
AD:

bitbucketを使ってソースは管理しているのですが、下記のようにubuntuで設定しました。

上記ができたら、id_rsa.pubを下記のページからあげて認証は終了
https://bitbucket.org/account/#ssh-keys

Bad owner or permissions

下記のようなエラーがでました。
sshの設定によりますが、パーミッションの設定を変更で解決しました。

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 4 | Pocket: 2 | Total: 6 | Feedly: 0

vimにnginxのconfを色付け

Feb 22, 2012
AD:

http://www.vim.org/scripts/script.php?script_id=1886
上記のサイトからnginxのSyntaxをDLしてくる

こんな感じです。

で完了

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 0 | Pocket: 0 | Total: 0 | Feedly: 0

PostgresSQL9.1.2の設定 in CentOS5.7

Feb 21, 2012
AD:

基本設定部分

[php]
$ vi /var/lib/pgsql/9.1/data/postgresql.conf
#listen_addresses = ‘localhost’

listen_addresses = ‘*’
#port = 5432

port = 5432

ログの名前
log_filename = ‘postgresql-%Y-%m-%d_%H%M.log’
ログのローテーション
log_rotation_age = 1d
ログのサイズ
log_rotation_size = 2MB
同名のファイルが存在する時は上書きする。ローテーション用。
log_truncate_on_rotation = on
ログのレベル
log_min_error_statement = error
[/php]

ログの細かい内容はこちらを参照してください。
http://lets.postgresql.jp/documents/technical/log_setting

セキュリティ設定部分

[php]
$ vi /var/lib/pgsql/9.1/data/pg_hba.conf
ローカル接続の許可
local all all peer
外部からの接続の設定
host all all 123.123.123.123/32(接続元のIP) password
[/php]

Twitter: 0 | Facebook: 0 | Google Plus: 0 | Hatena: 0 | Pocket: 0 | Total: 0 | Feedly: 0

Search Keyword

Meta

face Ayumi Mizoshiri
WEB developer

FacebookPage

Popular Posts

Sorry. No data so far.

ARCHIVES