Last active
August 29, 2015 13:56
-
-
Save edymerchk/9229732 to your computer and use it in GitHub Desktop.
Revisions
-
edymerchk revised this gist
Apr 2, 2014 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -80,12 +80,14 @@ make It is a good idea to copy both the Redis server than the command line interface in proper places using the following commands: sudo cp src/redis-server /usr/local/bin/ sudo cp src/redis-cli /usr/local/bin/ now you can start redis server executing: redis-server If you want to install Redis more properly, please go to http://redis.io/topics/quickstart and follow the steps in the 'Installing Redis more properly' section -
edymerchk revised this gist
Apr 2, 2014 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -64,6 +64,12 @@ sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-text Now that you have Sublime text 2 installed, maybe its a good idea to install package manager, just open the console using ctrl+` shortcut or the View > Show Console menu and paste this python code: import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation') If you have problems, refers to this link https://sublime.wbond.net/installation#st2 Redis -
edymerchk revised this gist
Apr 2, 2014 . 1 changed file with 13 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Installation guide for Ruby stack in Ubuntu (Work In Progress) Open your terminal and copy and paste the following commands: # This will install: git, ruby and zsh: sudo apt-get update sudo apt-get install build-essential git zlib1g-dev openssl libopenssl-ruby1.9.1 libssl-dev libruby1.9.1 libreadline-dev libcurl4-gnutls-dev librtmp-dev curl -y @@ -24,7 +24,7 @@ rbenv global 1.9.3-p374 rbenv rehash # Postgrest: sudo apt-get -y install postgresql-9.1 libpq-dev -y @@ -48,7 +48,17 @@ sudo /etc/init.d/postgresql restart Now you should be able to connect to the DB, I recommend to install PGADMIN, you can find this in the Ubuntu Software Center # Node.js sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install python-software-properties python g++ make nodejs # Sublime Text 2 sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update -
edymerchk revised this gist
Apr 2, 2014 . 1 changed file with 26 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -48,4 +48,30 @@ sudo /etc/init.d/postgresql restart Now you should be able to connect to the DB, I recommend to install PGADMIN, you can find this in the Ubuntu Software Center Sublime Text 2 sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-text Redis wget http://download.redis.io/redis-stable.tar.gz tar xvzf redis-stable.tar.gz cd redis-stable make It is a good idea to copy both the Redis server than the command line interface in proper places using the following commands: sudo cp redis-server /usr/local/bin/ sudo cp redis-cli /usr/local/bin/ now you can start redis server executing: redis-server This was written by Luis Edimerchk Laverde -
edymerchk revised this gist
Mar 3, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -39,11 +39,11 @@ sudo -u postgres psql The next step is to edit the pg_hba.conf file in order to change the authentication method by md5 for all the connections. we can do this with any text editor, using nano it will be: sudo nano /etc/postgresql/9.1/main/pg_hba.conf Now we need to restart the postgres sever doing: sudo /etc/init.d/postgresql restart Now you should be able to connect to the DB, I recommend to install PGADMIN, you can find this in the Ubuntu Software Center -
edymerchk revised this gist
Feb 26, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Installation guide for Ruby stack in Ubuntu (Work In Progress) Open your terminal and copy and paste the following commands: -
edymerchk revised this gist
Feb 26, 2014 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -45,4 +45,7 @@ Now we need to restart the postgres sever doing: /etc/init.d/postgresql restart Now you should be able to connect to the DB, I recommend to install PGADMIN, you can find this in the Ubuntu Software Center This was written by Luis Edimerchk Laverde -
edymerchk revised this gist
Feb 26, 2014 . 1 changed file with 20 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -26,3 +26,23 @@ rbenv rehash Postgrest: sudo apt-get -y install postgresql-9.1 libpq-dev -y Next, we need to change the password for the postgres user as follows sudo -u postgres psql \password \q The next step is to edit the pg_hba.conf file in order to change the authentication method by md5 for all the connections. we can do this with any text editor, using nano it will be: nano /etc/postgresql/9.1/main/pg_hba.conf Now we need to restart the postgres sever doing: /etc/init.d/postgresql restart Now you should be able to connect to the DB, I recommend to install PGADMIN, you can find this in the Ubuntu Software Center -
edymerchk renamed this gist
Feb 26, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
edymerchk revised this gist
Feb 26, 2014 . 1 changed file with 17 additions and 17 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,23 +5,23 @@ Open your terminal and copy and paste the following commands: This will install: git, ruby and zsh: sudo apt-get update sudo apt-get install build-essential git zlib1g-dev openssl libopenssl-ruby1.9.1 libssl-dev libruby1.9.1 libreadline-dev libcurl4-gnutls-dev librtmp-dev curl -y sudo apt-get install zsh -y curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh zsh chsh -s /bin/zsh # This will set zsh as you default shell git clone git://github.com/sstephenson/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile echo 'eval "$(rbenv init -)"' >> ~/.profile echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc echo 'eval "$(rbenv init -)"' >> ~/.zshrc git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build exit #Exit zsh zsh #Enter again to zsh rbenv install 1.9.3-p374 rbenv global 1.9.3-p374 rbenv rehash Postgrest: -
edymerchk revised this gist
Feb 26, 2014 . 1 changed file with 15 additions and 15 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,21 +7,21 @@ This will install: git, ruby and zsh: `sudo apt-get update` `sudo apt-get install build-essential git zlib1g-dev openssl libopenssl-ruby1.9.1 libssl-dev libruby1.9.1 libreadline-dev libcurl4-gnutls-dev librtmp-dev curl -y` `sudo apt-get install zsh -y` `curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh` `zsh` `chsh -s /bin/zsh # This will set zsh as you default shell` `git clone git://github.com/sstephenson/rbenv.git ~/.rbenv` `echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile` `echo 'eval "$(rbenv init -)"' >> ~/.profile` `echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc` `echo 'eval "$(rbenv init -)"' >> ~/.zshrc` `git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build` `exit #Exit zsh` `zsh #Enter again to zsh` `rbenv install 1.9.3-p374` `rbenv global 1.9.3-p374` `rbenv rehash` Postgrest: -
edymerchk revised this gist
Feb 26, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Open your terminal and copy and paste the following commands: This will install: git, ruby and zsh: `sudo apt-get update` `sudo apt-get install build-essential git zlib1g-dev openssl libopenssl-ruby1.9.1 libssl-dev libruby1.9.1 libreadline-dev libcurl4-gnutls-dev librtmp-dev curl -y` sudo apt-get install zsh -y curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh zsh -
edymerchk revised this gist
Feb 26, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Open your terminal and copy and paste the following commands: This will install: git, ruby and zsh: `sudo apt-get update` sudo apt-get install build-essential git zlib1g-dev openssl libopenssl-ruby1.9.1 libssl-dev libruby1.9.1 libreadline-dev libcurl4-gnutls-dev librtmp-dev curl -y sudo apt-get install zsh -y curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh -
edymerchk created this gist
Feb 26, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ Installation guide for Ruby stack in Ubuntu Open your terminal and copy and paste the following commands: This will install: git, ruby and zsh: sudo apt-get update sudo apt-get install build-essential git zlib1g-dev openssl libopenssl-ruby1.9.1 libssl-dev libruby1.9.1 libreadline-dev libcurl4-gnutls-dev librtmp-dev curl -y sudo apt-get install zsh -y curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh zsh chsh -s /bin/zsh # This will set zsh as you default shell git clone git://github.com/sstephenson/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile echo 'eval "$(rbenv init -)"' >> ~/.profile echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc echo 'eval "$(rbenv init -)"' >> ~/.zshrc git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build exit #Exit zsh zsh #Enter again to zsh rbenv install 1.9.3-p374 rbenv global 1.9.3-p374 rbenv rehash Postgrest: