SSH into Root
$ ssh [email protected]
Change Root Password
| rm brew's git completion, they are conflicting with zsh | |
| ``` | |
| [ -e /usr/local/share/zsh/site-functions/git-completion.bash ] && rm /usr/local/share/zsh/site-functions/git-completion.bash | |
| [ -e /usr/local/share/zsh/site-functions/_git ] && rm /usr/local/share/zsh/site-functions/_git | |
| ``` |
| # The following packages are needed during `make` | |
| # - openssl-devel so you don't get: | |
| # ContentHash.cpp:13:10: fatal error: openssl/sha.h: No such file or directory | |
| # - redhat-rpm-config so you don't get: | |
| # gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory | |
| # - python-devel so you don't get: | |
| # pywatchman/bser.c:31:10: fatal error: Python.h: No such file or directory | |
| sudo dnf install openssl-devel redhat-rpm-config python-devel libtool | |
| # The rest is just instructions from |
| # 1) Create your private key (any password will do, we remove it below) | |
| $ cd ~/.ssh | |
| $ openssl genrsa -des3 -out server.orig.key 2048 | |
| # 2) Remove the password | |
| $ openssl rsa -in server.orig.key -out server.key |
SSH into Root
$ ssh [email protected]
Change Root Password
| { | |
| "app/router.js": { | |
| "type": "router", | |
| "template": [ | |
| "import Ember from 'ember';", | |
| "", | |
| "export default Ember.Route.extend({", | |
| "});" | |
| ] | |
| }, |
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName:'Ember Twiddle' | |
| }); |
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| layoutName: 'components/my-temp1' | |
| }); |
| <RoutingRules> | |
| <RoutingRule> | |
| <Condition> | |
| <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals > | |
| </Condition> | |
| <Redirect> | |
| <HostName>le-domain.com</HostName> | |
| <ReplaceKeyPrefixWith>#/</ReplaceKeyPrefixWith> | |
| </Redirect> | |
| </RoutingRule> |