hasen's tech life

Twitter: @hasen

CentOS

CentOS7にPostgre9.5をインストールした

# CentOS7にPostgre9.5をインストールした. $ wget https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.noarch.rpm $ sudo rpm -ivh pgdg-centos95-9.5-2.noarch.rpm $ sudo vi /etc/yum.repos.d/pgdg-95-centos…

コンフリクトしたので,不要になったレポジトリを削除した.

# コンフリクトしたので,不要になったレポジトリを削除した. $ sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm > error: Failed dependencies: > mysql-community-release conflicts with (installed) mysql57-community-release-el6-9.noarch $…

CentOS6でFailed: npm.noarch 0:1.3.6-5.el6というエラーが出たので対応した.

# CentOS6でFailed: npm.noarch 0:1.3.6-5.el6というエラーが出たので対応した. $ cat /etc/redhat-release > CentOS release 6.8 (Final) $ sudo yum install --enablerepo=epel -y nodejs npm > ... (中略) > Failed: > npm.noarch 0:1.3.6-5.el6 $ sudo …

Bookmark (2016-03-28)

・Go 言語で学ぶ『暗号技術入門』Part 1 -DES, Triple DES- http://skatsuta.github.io/2016/01/02/hyuki-crypt-book-go-1/ ・Goのプログラミングパターン http://www.infoq.com/jp/news/2016/03/go-patterns ・systemd時代に困らないためのlimits設定 http:…

Bookmark (2016-03-22)

・MySQLで全文検索をするために必要なこと http://quotto.hatenablog.com/entry/2016/03/21/221821 ・WordPressで3000万PV/月のサイトをさくらのクラウドに構築した話 http://qiita.com/yousan/items/bf0bb0a2758f297585cc ・How To Install Graylog 1.x on …

Bookmark (2016-01-20)

・CentOS7環境でFluentd+ElasticSearch+Kibana4を構築する(前編) http://qiita.com/kenichi_nakamura/items/adf7fe27ac4257d4c37a ・Feature Toggles http://martinfowler.com/articles/feature-toggles.html ・dear-github/dear-github https://github.com/…

Bookmark (2015-11-13)

・Node.js×mongo dbで3年間サービス運用してみた話 http://www.slideshare.net/leverages_event/nodejsmongo-db3 ・CentOS に StrongLoop をインストールする http://dotnsf.blog.jp/archives/1044734593.html ・php.netのひみつ(1) 短縮URL http://cho-phpe…

Bookmark (2015-10-01)

・Hashicorpの新プロダクト「Otto」を試してみた http://www.ryuzee.com/contents/blog/7043 ・「Git 2.6」リリース https://osdn.jp/magazine/15/10/01/065200 ・Web SmartHome – Webの技術スタックで実現するスマートホームの世界 http://atl.recruit-tech…

CentOS v6.6に Sophos Anti-Virus(無償版)をインストールした

# CentOS v6.6に Sophos Anti-Virus(無償版)をインストール# 試しに仮想環境にインストールしてみる. # https://www.sophos.com/ja-jp/products/free-tools/sophos-antivirus-for-linux.aspxからダウンロード # directory $ mkdir test_sophos_av $ cd test…

pecoをインストールする.

$ which peco > pecoが入ってなかった... # OSXでbrewコマンドが使える場合. $ brew update $ brew install peco $ which peco > /usr/local/bin/peco # CentOSの場合(Vagrantで試してみる) $ mkdir test_peco $ cd test_peco $ vagrant init centos65 $…

Bookmark (2015-03-27)

・Go言語のWebフレームワークRevelでのMVC構成について考える http://hachibeechan.hateblo.jp/entry/thinking-of-mvc-on-revel ・ CentOS に Go 言語をインストールして boom で負荷テストをやってみた http://kakakikikeke.blogspot.jp/2015/03/centos-go-…

新しいサーバ(CentOS6.6)にtmuxとmoshを入れた.

新しいサーバ(CentOS6.6)にtmuxとmoshを入れた. # version $ cat /etc/redhat-release > CentOS release 6.6 (Final) # tmuxのインストール $ sudo yum -y install ncurses ncurses-devel $ cd /usr/local/src $ sudo wget https://sourceforge.net/project…

Bookmark (2015-02-06)

・Rubyのgemのソースコードを効率的に読む方法 http://ongaeshi.hatenablog.com/entry/read-a-ruby-gem-code-efficiently ・世界のメールの暗号化はたった一人の男に依存しており、開発資金はゼロになってしまっているという>衝撃の事実が判明 http://gigazi…