Created
June 2, 2013 16:22
-
-
Save meoooh/5694017 to your computer and use it in GitHub Desktop.
This file contains 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 characters
meoooh@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ wget http://ipip.kr | |
--2013-06-03 01:19:46-- http://ipip.kr/ | |
Resolving ipip.kr... 211.189.88.59 | |
Connecting to ipip.kr|211.189.88.59|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: unspecified [text/html] | |
Saving to: `index.html.1' | |
[ <=> ] 30,877 --.-K/s in 0.006s | |
2013-06-03 01:19:46 (4.88 MB/s) - `index.html.1' saved [30877] | |
meoooh@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ cat index.html.1 |grep title | |
<title>Your IP is 14.63.162.188</title> | |
<title>++ ipip.kr ++</title> | |
meoooh@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ rm -rf * | |
meoooh@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ ll | |
total 36 | |
drwxr-xr-x 4 meoooh sudo 4096 2013-06-03 01:20 ./ | |
drwxr-xr-x 6 root root 4096 2013-05-13 20:25 ../ | |
-rw------- 1 meoooh sudo 226 2013-06-03 00:56 .bash_history | |
-rw-r--r-- 1 meoooh sudo 220 2013-05-13 20:06 .bash_logout | |
-rw-r--r-- 1 meoooh sudo 3353 2013-05-13 20:06 .bashrc | |
drwx------ 2 meoooh sudo 4096 2013-05-13 20:16 .cache/ | |
-rw-r--r-- 1 meoooh sudo 675 2013-05-13 20:06 .profile | |
drwxr-xr-x 2 meoooh sudo 4096 2013-05-13 23:01 .ssh/ | |
-rw------- 1 meoooh sudo 592 2013-05-13 23:01 .viminfo |
This file contains 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 characters
meoooh@ubuntu:~$ rm -rf myFirstRails/ | |
meoooh@ubuntu:~$ git clone git@github.com:meoooh/myFirstRails.git | |
Cloning into 'myFirstRails'... | |
remote: Counting objects: 67, done. | |
remote: Compressing objects: 100% (51/51), done. | |
remote: Total 67 (delta 2), reused 67 (delta 2) | |
Receiving objects: 100% (67/67), 28.55 KiB, done. | |
Resolving deltas: 100% (2/2), done. | |
meoooh@ubuntu:~$ cd myFirstRails/ | |
meoooh@ubuntu:~/myFirstRails$ git status | |
# On branch master | |
nothing to commit (working directory clean) | |
meoooh@ubuntu:~/myFirstRails$ cap deploy:setup | |
* 2013-06-02 09:20:37 executing `deploy:setup' | |
* executing "mkdir -p /home/meoooh/myFirstRails /home/meoooh/myFirstRails/releases /home/meoooh/myFirstRails/shared /home/meoooh/myFirstRails/shared/system /home/meoooh/myFirstRails/shared/log /home/meoooh/myFirstRails/shared/pids" | |
servers: ["14.63.162.188"] | |
Password: | |
[14.63.162.188] executing command | |
command finished in 45ms | |
* executing "chmod g+w /home/meoooh/myFirstRails /home/meoooh/myFirstRails/releases /home/meoooh/myFirstRails/shared /home/meoooh/myFirstRails/shared/system /home/meoooh/myFirstRails/shared/log /home/meoooh/myFirstRails/shared/pids" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 33ms | |
triggering after callbacks for `deploy:setup' | |
* 2013-06-02 09:20:43 executing `deploy:setup_config' | |
* executing "sudo -p 'sudo password: ' ln -nfs /home/meoooh/myFirstRails/shared/cached-copy/config/nginx.conf /etc/nginx/sites-enabled/myFirstRails" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
** [out :: 14.63.162.188] | |
command finished in 75ms | |
* executing "sudo -p 'sudo password: ' ln -nfs /home/meoooh/myFirstRails/current/config/unicorn_init.sh /etc/init.d/unicorn_myFirstRails" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
** [out :: 14.63.162.188] | |
command finished in 74ms | |
meoooh@ubuntu:~/myFirstRails$ cap deploy | |
* 2013-06-02 09:20:46 executing `deploy' | |
triggering before callbacks for `deploy' | |
* 2013-06-02 09:20:46 executing `deploy:check_revision' | |
WARNING: HEAD is not the same as origin/master | |
Run `git push` to sync changes. | |
meoooh@ubuntu:~/myFirstRails$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment