create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| sudo apt-get update | |
| sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root' | |
| sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root' | |
| sudo apt-get install -y vim curl python-software-properties | |
| sudo add-apt-repository -y ppa:ondrej/php5 | |
| sudo apt-get update | |
| sudo apt-get install -y php5 apache2 libapache2-mod-php5 php5-curl php5-gd php5-mcrypt php5-readline mysql-server-5.5 php5-mysql git-core php5-xdebug |
| """ | |
| Redactorjs: http://redactorjs.com/ | |
| django-redactorjs: https://github.com/TigorC/django-redactorjs | |
| """ | |
| from django.contrib import admin | |
| from django.contrib.flatpages.models import FlatPage | |
| from django.contrib.flatpages.admin import FlatPageAdmin as OldFlatPageAdmin | |
| from django.contrib.flatpages.admin import FlatpageForm as OldFlatpageForm |
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
#Django + git + apache mod_wsgi na Kinghost
NOTE: Atualmente não é necessário tanto para fazer deploy de aplicações Django na Kinghost.
I hope you like it!
##Início
Talvez você não queira ficar digitando a senha toda vez que usar o ssh, então adicione sua chave pública ao seu host: