Friday, February 1, 2013

Clone git repo from Heroku

1- Make sure you have Heroku account.
2- Install the Heroku toolbelt. Google it yourself!...
3- Open a terminal, and to login to heroku
<code>
#> heroku login
</code>
4- Generate you key
<code>
#> ssh-keygen -t rsa 
</code>
5- Add the key to your heroku 
<code>
heroku keys:add
</code>
6- Clone your existing repo.
<code>
git clone git@heroku.com:<YOUR-APPNAME>.git
</code>

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...