查看日志 tail -f xxx.log
查看最近多少行 tail -100f xxx.log tail -200f xxx.log tail -200 wlserver-1.log
当日过大时,写入最近多少行到新
文件tail -2000f wlserver-1.log >serve-120190710.log
linux启动
jar包时写入日志到指定
文件java -jar bmwBoot-1.0.jar >>log.txt &
查看所有java进程 ps -ef |grep java
查看weblogic进程 ps -ef |grep weblogic
查看端口占用请+端口号或进程id
netstat -ntlp|grep 16082
netstat -ntlp|grep 7740
或者 ss -ntlp|grep 7740
linux测试外网
curl
www.baidu.com 会
输出百度网站html脚本
curl
weixin.qq.com 命令正常执行,不报任何异常
提示
营销测试环境启动
ps -ef|grep Server-app
kill -9 ***
cd shell/
./wlserver-1.sh
传输 从本机向49服务器的某个目录传输
scp -P 10022 ***.jar
[email protected] /home/project/myHouServie
打包并压缩 tar -zcvf wechat_20190715.tar.gz wechat
解压 tar -zxvf wechat_20190715.tar.gz
前端打war包 注:如打platform,需要进入platform,否则多了一层,weblogic无法识别
jar –cvf platform.war ./*
查找文件 如查抄
Nginx
whereis
Nginx
locate
Nginx
复制命令 复制log的
内容到log2下面,前提是log和log2
文件夹都存在

启动脚本授权 chmod 775 start_apigate.sh
文件夹授权 含下级 chown -R 775 app/
配置文件授权 chmod 664 application.properties
启动脚本 ./start_apigate.sh
查看
用户密码 可能不好使
前三行
密码 head -3 /etc/passwd
所有
用户密码 cat /etc/shadow
密码权限 ls -l /etc/passwd /etc/shadow
linux联网情况下执行 yum install lrzsz -y会下载
文件命令
功能 可代替xftp
然后rz
上传 sz 下载
该域名已使用
腾讯云DNS
f1g1ns1.dnspod.net
f1g1ns2.dnspod.net
http://f1g1ns1.dnspod.net/sublime
http://154.8.172.221/sublime/index.html
http://zlxjplus.com/sublime/index.html
https://zlxjplus.com/sublime/index.html
http://zlxjplus.com/muiApp/index.html
https://zlxjplus.com/muiApp/index.html
http://zlxjplus.com:7001/sierra/index.html
https://zlxjplus.com:7001/sierra/index.html
linux配置re
dis集群 至少要配6个节点
https://www.cnblogs.com/wuxl360/p/5920330.html
如果之前启动过,启动前
删除bin下面的
appendonly.aof,nodes-16379.conf,nodes-16380.conf,nodes-16381.conf,以及re
dis-cluster下面每个节点中的re
dis_*.log,re
dis_*.pid
启动每个节点
./re
dis-server /usr/local/re
dis/re
dis-cluster/16379/re
dis.conf
./re
dis-server /usr/local/re
dis/re
dis-cluster/16380/re
dis.conf
./re
dis-server /usr/local/re
dis/re
dis-cluster/16381/re
dis.conf
./re
dis-server /usr/local/re
dis/re
dis-cluster/16382/re
dis.conf
./re
dis-server /usr/local/re
dis/re
dis-cluster/16383/re
dis.conf
./re
dis-server /usr/local/re
dis/re
dis-cluster/16384/re
dis.conf
集群依赖
yum -y install ruby ruby-devel rubygems rpm-build
gem install re
dis
集群启动两种方式 推荐第二种
#re
dis-trib.rb create --replicas 1 172.21.0.2:16379 172.21.0.2:16380 172.21.0.2:16381 172.21.0.2:16382 172.21.0.2:16383 172.21.0.2:16384
re
dis-cli --cluster create 172.21.0.2:16379 172.21.0.2:16380 172.21.0.2:16381 172.21.0.2:16382 172.21.0.2:16383 172.21.0.2:16384 --cluster-replicas 1
登录验证 (到re
dis安装目录bin下面,有可能需要./reids-cli ***
登录)
re
dis-cli -h 172.21.0.2 -p 16379 #节点
登录
re
dis-cli -c -h 172.21.0.2 -p 16379 #集群
登录
set name 12345
get name
re
dis 清理指定缓存 name为getCode99999
re
dis-cli -h 172.16.200.208 -p 16379
get getCode99999
del getCode99999 或者 set getCode99999
uap3.0
新建微服务主项目
git 提交
git status
git add
git commit -m 'workbench'
git push origin master
域名验证
/.well-k
Nown/pki-validation/fileauth.txt 202004290402262lh3qtro9gj7nxwcp566olawsc0c8hju1b1plxf92k1vj2rzts
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。