Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
| # HTTPS server | |
| # | |
| server { | |
| listen 443; | |
| server_name server_url; | |
| index index.html index.htm; | |
| root /home/deploy/cingo/public; | |
| ssl on; | |
| ssl_certificate path/to/www.example.org.crt; | |
| ssl_certificate_key path/to/www.example.org.key; |
| # | |
| # OpenSSL example configuration file. | |
| # This is mostly being used for generation of certificate requests. | |
| # | |
| # This definition stops the following lines choking if HOME isn't | |
| # defined. | |
| HOME = . | |
| RANDFILE = $ENV::HOME/.rnd |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| tell application "SystemUIServer" | |
| set actionSelected to the button returned of (display dialog "What you want to do?" buttons {"Send file", "Receive file"} default button 2) | |
| if actionSelected = "Send file" then | |
| set filepath to POSIX path of (choose file) | |
| display dialog "Please enter IP address of receiver:" default answer "" | |
| set ipAddress to text returned of result | |
| if ipAddress = "" then | |
| repeat | |
| display dialog "IP address cant be blank,Please enter IP address of receiver:" default answer "" |
| # Guide | |
| # Configure the essential configurations below and do the following: | |
| # | |
| # Repository Creation: | |
| # cap deploy:repository:create | |
| # git add . | |
| # git commit -am "initial commit" | |
| # git push origin master | |
| # | |
| # Initial Deployment: |
| Deploying a Rails 3 App with EC2 + S3 + Ubuntu + Capistrano + Passenger | |
| ======================================================================= | |
| EC2 Setup | |
| --------- | |
| 1 Launch New ec2 instance - ami-1634de7f | |
| 2 Create elastic IP [ELASTIC_IP] and associate it with instance | |
| 3 go to domain registrar DNS settings, @ and www to ELASTIC_IP | |
| 4 set the `:host` in `config/deploy.rb` to ELASTIC_IP |
Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email