Instalando Linuxbrew (gestor de paquetes) en Debian/Ubuntu y Fedora/CentOS/RHEL

seen from Yemen
seen from Türkiye
seen from United States
seen from United States
seen from Brazil
seen from United States

seen from United States

seen from Brazil

seen from United States
seen from Brazil
seen from China
seen from Yemen

seen from Martinique
seen from Czechia
seen from China
seen from Estonia
seen from Canada

seen from Russia

seen from Canada
seen from Germany
Instalando Linuxbrew (gestor de paquetes) en Debian/Ubuntu y Fedora/CentOS/RHEL

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Linuxbrew: Nuevo gestor de paquetes para Linux, basado en "Homebrew" para macOS
Linuxbrew: Nuevo gestor de paquetes para Linux, basado en “Homebrew” para macOS
(more…)
View On WordPress
Ubuntu 14.04: h2o と PHP 7 を使う
公式の PHP 7 パッケージが用意されるまでには時間がかかるので、PHP 7 を自分でビルドし、PHP の Fast CGI デーモンの起動と管理は h2o に任せる。
PHP 7 をビルドする作業の手間を減らすために phpbrew を導入する。ビルドに必要なパッケージをインストールしておく。
sudo apt-get build-dep php5 build-essential
次のパッケージもインストールしておく必要があった。
sudo apt-get install re2c libbz2-dev libmcrypt-dev libpq-dev libreadline6-dev libxslt1-dev
PHP 7 をインストールする。
phpbrew install next as php-7.0.0 +default +dbs
h2o は linuxbrew が導入されていれば、次のコマンドでインストールできる。
brew install h2o
ソースコードからインストールする場合、次のようになる。
git clone https://github.com/h2o/h2o.git cd h2o cmake -DWITH_BUNDLED_SSL=on -DCMAKE_INSTALL_PREFIX=$HOME/local .
conf ファイルを用意する。fact CGI のプロセスを h2o に管理させるために fastcgi.spawn の項目を指定する。
user: www-data listen: port: 3000 hosts: "sarabande.jp": paths: /: file.dir: /home/masakielastic/public_html file.custom-handler: extension: .php fastcgi.spawn: command: "PHP_FCGI_CHILDREN=10 exec path/to/php-cgi user: www-data access-log: /home/masakielastic/local/access-log error-log: /home/masakielastic/local/error-log pid-file: /home/masakielastic/local/pid-file
h2o を起動させよう。
sudo h2o -m daemon -c test.conf
停止させるには次のコマンドを実行する。
sudo kill -TERM `cat /home/masakielastic/local/pid-file`