标签:firewalld nexus ash nal basis emc 防火墙 sel 进程
1、 wsdl生成代碼: wsdl2Java -encoding utf-8 -d /Users/ -classdir /Users/ -p http://www.travelport.com/service/air_v45_0=com.travelport.service.air_v45_0 -impl -validate -exsh true -dns true -dex true -autoNameResolution -xjc-Xts,-Xts:style:multiline,-Xlocator,-mark-generated -wsdlLocation http://localhost:8080/kestrel/ExternalCacheAccessService?wsdl -verbose -fe jaxws -db jaxb -wv 1.1 file:D:\utech-travel-port\docs\wsdl-V18.2\Air_v45_0\Air.wsdl
2、 Linux清除缓存:
echo 1 > /proc/sys/vm/drop_caches
echo 2 > /proc/sys/vm/drop_caches
echo 3 > /proc/sys/vm/drop_caches
3、 mvn打包到私服: mvn clean package install -Dmaven.test.skip=true deploy
4、 java -jar scm-data-1.0.0-SNAPSHOT.jar com.utech.agg.scmdata.ScmDataApplication --spring.profiles.active=dev
5、 docker清楚Nexus私服上包的命令:
a) docker exec -it eager_northcutt /bin/bash
b) cd /var/jenkins_home/.m2/repository/com
c) rm -rf utech
6、 需求:根據MAARRWSPHKG這個字段匹配數據庫裏“*HK#”值
SELECT t.fare_basis FROM hk_trp_commission t WHERE
‘MAARRWSPHKG‘ REGEXP CONCAT_WS(REPLACE(REPLACE(t.fare_basis,‘#‘,‘.‘),‘*‘,‘.*‘),‘^‘,‘$‘);
8、Linux關閉防火墻:
关闭firewall:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)
9、ps -aux|grep sendmail(查看进程)
10、nohup java -jar cloud-eureka-1.0.0-SNAPSHOT.jar & (後臺運行項目輸出日志到nohup.out文件内)
tail -f nohup.out(可以實時刷新查看此目錄)
netstat -anp|grep 21001(查看端口在被哪个进程使用)
ps -aux|grep 21001
11、nohup java -jar inf-eureka-1.0.0.jar --spring.profiles.active=dev1 &
nohup java -jar inf-eureka-1.0.0.jar --spring.profiles.active=dev2 &
12、Mysql安装:
软连接:ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock
修改密码:
use mysql;
UPDATE user SET password=PASSWORD(‘123456‘) WHERE user=‘root‘;
flush privileges;
exit;
13、正則:departureDate": "\S+"
标签:firewalld nexus ash nal basis emc 防火墙 sel 进程
原文地址:https://www.cnblogs.com/javallh/p/10041449.html