rz
选择文件进行上传
sudo su -
赋权限
chmod a+x VideoTools
chmod a+x mycat
VideoTools -t convert -u /usr/local/bin/hls/c_1589874254592.mp4 -cf /usr/local/bin//config/convert.json
初始化 修改ip
vim /etc/netplan/00-installer-config.yaml
netplan apply
ifconfig
动态进入日志文件
tail -f yellow.log
tail -f glowworm.log
查看历史的
history
linux 打包的命令: mvn package
返回上一级目录:cd ..
返回根目录: cd /
查看 8089端口
netstat -tunlp|grep 8089
杀 进程 kill -9 18496
启动jar
nohup java -jar glowworm-0.0.1-SNAPSHOT.jar > yellow.log 2>&1 &
/data/software/uploadjianhuang/yellow/target
克隆dev 分支
git clone -b dev https://github.com/tao541/uploadjianhuang.git
/data/software/bin/hls/
/data/software/bin/images
/data/software/bin/downloadurl/
/data/software/bin/videotemp
SELECT * from caiji where flag<9
SELECT
*
FROM
caiji
WHERE
title IN ( SELECT title FROM caiji GROUP BY title HAVING count( title ) > 1 )
```
firewall-cmd --zone=public --add-port=8080/tcp --permanent #关闭端口
firewall-cmd --remove-port=9000/tcp --permanent # 删除
firewall-cmd --reload #重新加载防火墙
mv /u01/nginx.conf /u01/nginx/conf #移动路径
./nginx -s reload #nginx 重新加载
chown subadmin:subadmin -R /u01 #给文件夹赋用户权限
./startup.sh
./shutdown.sh
ps -ef |grep tomcat
网友评论