linux java环境

1 安装jdk
https://www.alibabacloud.com/help/zh/doc-detail/51376.html?spm=a2c5t.10695662.1996646101.searchclickresult.1e6e5608L94Tmt

2 安装tomcat
tomcat直接解压进任意目录,如果启动时报错:-bash: ./startup.sh: Permission denied
则执行 chmod u+x *.sh

3 安装mysql
https://yq.aliyun.com/articles/285398

3 ffmpeg

安装yasm
https://blog.csdn.net/aoshilang2249/article/details/48736369

安装h264模块

./configure --enable-shared --enable-static
make
make install

安装完成,检查/usr/local/lib 下是否有h264.so

安装ffmpeg
https://blog.csdn.net/fanghuainihao/article/details/85860955
安装时,配置命令改成这个

./configure --prefix=/root/ffmpeg-4.1 --enable-shared --enable-libx264 --enable-gpl

编辑 /etc/ld.so.conf.d/ffmpeg.conf 时,增加

/usr/local/lib

创建数据库
create database aaa
导入数据库文件
mysql>use aaa;
mysql>set names utf8;
mysql>source /root/aaa.sql;

//删除文件夹及底下子文件夹
rm -rf /root/apache-tomcat-8.5.38/webapps/video

//查看tomcat控制台输出
cd /root/apache-tomcat-8.5.38/logs

tail -f catalina.out

//没有权限时
sudo chmod -R 777 某一目录

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值