绿色部署总结
mysql 绿色版安装
win10 linux
解决
InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
问题,需要多增加一个--innodb_use_native_aio = 0
./bin/mysqld --user=mysql --basedir=/home/victor/tools/mysql/mysql-8.0.11 --datadir=/home/victor/tools/mysql/mysql-8.0.11/data --innodb_use_native_aio = 0 --initialize
tomcat绿色版安装
引入指定jdk和jre路径
在catalina.sh中加上
export JAVA_HOME=/home/java/jdk1.8.0_11
export JRE_HOME=/home/java/jdk1.8.0_11/jre
启动命令:nohup ./startup.sh &
redis绿色版安装
修改redis.conf中
port 6381
requirepass test
daemonize yes #后台启动
pidfile /home/test/redis.pid #指定进程路径
启动命令:
./redis-server redis.conf
查看进程
ps -ef | grep tomcat
码云上放静态文件
https://gitee.com/XXXX/XXX/raw/master/XXXX,重点是raw