记录一些工作中常用到的命令(windows和linux都有)

nodejs

npm config set registry https://registry.npm.taobao.org/
npm.cmd install --verbose

eureka

-Deureka.client.serviceUrl.defaultZone=http://vm1:8761/eureka/
http://10.36.30.131:8761/eureka/,http://10.36.30.132:8761/eureka/,http://10.36.30.133:8761/eureka/

redis

redis-cli -h 192.168.122.71 --raw

mysql

mysql -hvm1:3306 -uroot -p

maven

mvn clean package -Dmaven.test.skip=true
mvn -U clean install -Dmaven.test.skip=true
mvn -U clean package -Dmaven.test.skip=true -Dappname=sentinel-demo-2 -Ptesting
xx mvn clean install source:jar -Dmaven.test.skip
mvn clean source:jar install -Dmaven.test.skip
mvn -X clean package -Dmaven.test.skip
#https://www.iteye.com/blog/feitianbenyue-2429045
mvn -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 clean source:jar install -Dmaven.test.skip
mvn clean source:jar install -Dmaven.test.skip

http://10.36.30.60:8080/configs/YW01_005/default/applicationContext?ip=10.33.74.49
http://10.36.30.61:8080/configs/YW04_001/default/application?ip=10.33.74.49

http://10.36.30.90:8080/configs/YW04_001/default/application?ip=10.33.74.49
mvn dependency:tree
mvn dependency:copy-dependencies -DoutputDirectory=lib

mvn -U clean package -pl sentinel-dashboard/ -am -Dmaven.test.skip=true -DskipTests=true

while [ true ]; do date; sleep 1; done

linux shell

while [ true ]; do date; sleep 1; done

windows command

ipconfig

linux command

rm -f
find . -name *.java
grep -r -C5 “main” *

git

git bash代理设置
[user]
email = jishusc@163.com
name = jishusc@163.com
[https]
proxy = https://127.0.0.1:11080
[http]
proxy = http://127.0.0.1:11080

curl

curl -X POST localhost:9400/order/order/create --header “Content-Type: application/json” -d ‘{“name”:“张三”,“phone”:“18868822111”,“address”:“慕课网总部”,“openid”:“ew3euwhd7sjw9diwkq”,“items”:[{“productId”:“1423113435324”,“productQuantity”:2}]}’

curl -X POST http://localhost:8760/devops-auth/api/login/postLogin -d “userCode=aabb&password=123&verifyCode=&service=http%253A%252F%252F192.168.122.71%253A8080%252F”

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值