Created
January 6, 2018 11:03
-
-
Save tangnotes/a5994198fe8d27e227ac1df0df9989fe to your computer and use it in GitHub Desktop.
UVE Core deploy log
This file contains hidden or 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
server { | |
listen 80; | |
server_name upstream.test.uve.io; | |
default_type 'application/json'; | |
location / { | |
content_by_lua_block { | |
ngx.say('{"data":[{"uid":"123456","name":"James"}],"__tmeta":{"mkey1":"mval1","mkey2":"mval2"}}') | |
} | |
} | |
} |
This file contains hidden or 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
git clone [email protected]:uveio/uve_core.git | |
1004 cd uve_core/ | |
1005 ls | |
1006 im | |
1007 vim | |
1008 cd .. | |
1009 mkdir uveio | |
1010 mv uve_core/ uveio/ | |
1011 cd uveio/ | |
1012 cd uve_core/ | |
1013 ls | |
1014 vim | |
1015 pwd | |
1016 vim | |
1017 cp /home/james/projects/uveio/uve_core/config/nginx.conf.demo /usr/local/nginx/conf/user_core.conf | |
1018 sudo cp /home/james/projects/uveio/uve_core/config/nginx.conf.demo /usr/local/nginx/conf/user_core.conf | |
1019 mkdir nginx_root | |
1020 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /home/james/projects/uveio/uve_core/config/nginx.conf.demo -t | |
1021 ls -l | |
1022 ls nginx_root/ | |
1023 ls /home/james/projects/uveio/uve_core/nginx_root/logs/ | |
1024 mkdir -p /home/james/projects/uveio/uve_core/nginx_root/logs/ | |
1025 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /home/james/projects/uveio/uve_core/config/nginx.conf.demo -t | |
1026 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf -t | |
1027 vim /usr/local/nginx/conf/user_core.conf | |
1028 sudo vim /usr/local/nginx/conf/user_core.conf | |
1029 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf -t | |
1030 grep -rn --color=auto '\/linhua\/' config/ | |
1031 grep -r --color=auto '\/linhua\/' config/ | |
1032 grep -r --color=auto '\/linhua\/' config/ | awk -F ':' '{print $1}' | |
1033 grep -r --color=auto '\/linhua\/' config/ | awk -F ':' '{print $1}' | xargs ls | |
1034 grep -r --color=auto '\/linhua\/' config/ | awk -F ':' '{print $1}' | xargs ls -l | |
1035 grep -r --color=auto '\/linhua\/' config/ | awk -F ':' '{print $1}' | xargs -I{} sed 's/\/linhua\//\/james\//g' | |
1036 grep -r --color=auto '\/linhua\/' config/ | awk -F ':' '{print $1}' | xargs -I{} sed 's/\/linhua\//\/james\//g' {} | |
1037 grep -r --color=auto '\/linhua\/' config/ | awk -F ':' '{print $1}' | xargs -I{} sed -i 's/\/linhua\//\/james\//g' {} | |
1038 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf -t | |
1039 sudo cp config/nginx.conf.demo /usr/local/nginx/conf/user_core.conf | |
1040 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf -t | |
1041 grep -r --color=auto '\/usr\/home\/' config/ | awk -F ':' '{print $1}' | xargs -I{} sed 's/\/usr\/home\//\/home\//g' {} | |
1042 ls /home/james/projects/uveio/uve_core/core/ | |
1043 grep -r --color=auto '\/usr\/home\/' config/ | awk -F ':' '{print $1}' | xargs -I{} sed -i 's/\/usr\/home\//\/home\//g' {} | |
1044 sudo cp config/nginx.conf.demo /usr/local/nginx/conf/user_core.conf | |
1045 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf -t | |
1046 sudo vim /etc/hosts | |
1047 curl upstream.test.uve.io | |
1048 vim /usr/local/nginx/conf/nginx.conf | |
1049 ps -FC nginx | |
1050 sudo /usr/local/nginx/sbin/nginx -t | |
1051 sudo /usr/local/nginx/sbin/nginx -s reload | |
1052 curl upstream.test.uve.io | |
1053 curl upstream.test.uve.io | python -m json | |
1054 curl upstream.test.uve.io | python -m json.tool | |
1055 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf -t | |
1056 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf | |
1057 ps -FC nginx | |
1058 netstat -ntlp | |
1059 vim /usr/local/nginx/conf/user_core.conf | |
1060 curl api.uve.io | |
1061 curl http://api.uve.io/services/ | |
1062 curl http://api.uve.io/uve/service/demo | |
1063 curl http://api.uve.io:8818/uve/service/demo | |
1064 vim /usr/local/nginx/conf/nginx.conf | |
1065 sudo /usr/local/nginx/sbin/nginx -s reload | |
1066 curl upstream.test.uve.io | python -m json.tool | |
1067 curl http://api.uve.io:8818/uve/service/demo | |
1068 curl http://api.uve.io:8818/uve/service/demo?__debug__=7 | |
1069 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf t | |
1070 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf -t | |
1071 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf -s reload | |
1072 curl http://api.uve.io:8818/uve/service/demo?__debug__=7 | |
1073 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf -t | |
1074 sudo /usr/local/nginx/sbin/nginx -p /home/james/projects/uveio/uve_core/nginx_root -c /usr/local/nginx/conf/user_core.conf -s reload | |
1075 curl http://api.uve.io:8818/uve/service/demo?__debug__=7 | |
1076 vim /usr/local/nginx/conf/nginx.conf | |
1077 sudo /usr/local/nginx/sbin/nginx -s reload | |
1078 curl upstream.test.uve.io | |
1079 curl upstream.test.uve.io | python -m json.tool | |
1080 curl http://api.uve.io:8818/uve/service/demo?__debug__=7 | |
1081 curl http://api.uve.io:8818/uve/service/demo?__debug__= | |
1082 curl http://api.uve.io:8818/uve/service/demo | |
1083 curl http://api.uve.io:8818/uve/service/demo | python -mjson.tool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment