This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#script used on serversquad servers -> www.serversquad.eu | |
yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel -y | |
yum install ruby rubygems -y | |
#install flvtool2 | |
gem install flvtool2 | |
#install yamdi | |
cd /usr/local/src | |
wget https://sourceforge.net/projects/yamdi/files/yamdi/1.9/yamdi-1.9.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// config/passport.js | |
// load all the things we need | |
var LocalStrategy = require('passport-local').Strategy; | |
var mysql = require('mysql'); | |
var connection = mysql.createConnection({ | |
host : 'localhost', | |
user : 'root', |