-
Notifications
You must be signed in to change notification settings - Fork 10
Installation Gentoo Linux
vim /etc/portage/package.use www-servers/nginx ssl nginx_modules_http_fastcgi nginx_modules_http_flv -nginx_modules_http_geo -nginx_modules_http_memcached -nginx_modules_http_referer -nginx_modules_http_proxy -nginx_modules_http_scgi -nginx_modules_http_ssi -nginx_modules_http_uwsgi
dev-lang/php ctype curl filter gd imap json mysqli simplexml truetype xml xmlreader xmlrpc zip soap fpm
vim /etc/portage/package.keywords net-libs/nodejs
dev-lang/v8
add to end of /etc/make.conf: PHP_TARGETS="php5-3"
emerge -av nginx php mysql nodejs pecl-apc
sudo /etc/init.d/php-fpm start
sudo git clone https://github.com/JarvusInnovations/Emergence /emergence cd /emergence/kernel sudo npm update sudo cp kernel.config.json.SAMPLE kernel.config.json sudo vim kernel.config.json set server.host to this machine's public IP set services.plugins.web.bindHost to this machine's public IP set services.plugins.sql.managePassword to a random password
sudo mysql_install_db sudo /etc/init.d/mysql start sudo mysql_secure_installation mysql -u root -p CREATE USER 'emergence'@'localhost' IDENTIFIED BY '5czririx'; GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, RELOAD, SHOW DATABASES, LOCK TABLES, CREATE USER ON *.* TO 'emergence'@'localhost' WITH GRANT OPTION;
sudo /etc/init.d/mysql stop