Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome, Safari or Firefox browser.

Fedora 21 Release Party

full-stack javascript en fedora 21

alt text

alt text Node.js es un entorno de programaciĆ³n en la capa del servidor basado en el lenguaje de programaciĆ³n ECMAScript.

ssh

systemctl enable sshd.service
systemctl start sshd.service

node.js / npm

yum install nodejs
yum install npm

yum install grunt
yum install grunt-cli

git

yum install git

nginx

alt text

yum install nginx

systemctl enable nginx.service
systemctl start nginx.service

iptables

vim /etc/sysconfig/iptables

-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT

service iptables restart

couchdb

alt text

yum install couchdb

systemctl enable couchdb.service
systemctl start couchdb.service

redis

alt text

yum install redis

reverse proxy

location /some/path/ {
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_pass http://localhost:3003;
}

systemd

[Service]
ExecStart=[node binary] /home/srv-node-sample/[main file]
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=node-sample
User=srv-node-sample
Group=srv-node-sample
Environment=NODE_ENV=production

[Install]
WantedBy=multi-user.target

systemd

systemctl enable node-sample
systemctl start node-sample

Referencias

gracias ...