常用软件下载
mysql8: http://test3.51kxd.com:21309/api/public/dl/jMY5MQOq/mysql-8.0.21-1.el7.x86_64.rpm-bundle.tar
caddy: http://test3.51kxd.com:21309/api/public/dl/MdQjTV3U/caddy
redis5: http://test3.51kxd.com:21309/api/public/dl/mWEXeXui/singleredis5.zip
jdk1.8: http://test3.51kxd.com:21309/api/public/dl/P3mUVBOH/jdk-8u231-linux-x64.tar.gz
maven: http://10.0.0.113:3109/api/public/dl/EwjT5huE/apache-maven-3.9.6-bin.zip
或者: http://test3.51kxd.com:21309/api/public/dl/EwjT5huE/apache-maven-3.9.6-bin.zip
minio: http://test3.51kxd.com:21309/api/public/dl/3cFpfZL0/minio
http://test3.51kxd.com:21309/api/public/dl/xjS81GpT/runminio.sh
filebrowser: http://s.51kxd.com:3037/api/public/dl/AG-aAmCr/filebrowser
http://test3.51kxd.com:21309/api/public/dl/Q4HJRIkD/singleredis7.zip
http://test3.51kxd.com:21309/api/public/dl/mWEXeXui/singleredis5.zip文本比较工具: http://test3.51kxd.com:21309/api/public/dl/j7Tq9iQb/WinMerge-2.16.32-Setup.exe
基础安装:
yum install -y gcc gcc-c++ make libxml2 libxml2 libxslt pcre-devel openssl openssl-devel
yum -y install libaio autoconf numactl openssl-devel.x86_64 openssl.x86_64 perl.x86_64 perl-devel.x86_64 perl-JSON.noarch
maven常用配置:
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"><localRepository>/home/datum/code/localjar/mavenrepo</localRepository>
<pluginGroups>
</pluginGroups><proxies>
</proxies><servers>
</servers>
<mirrors>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror><!-- 阿里云仓库镜像 -->
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
<mirror>
<id>jboss-public-repository-group</id>
<mirrorOf>central</mirrorOf>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public</url>
</mirror>
<mirror>
<id>ibiblio</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>
</mirror>
<mirror>
<id>central</id>
<name>Maven Repository Switchboard</name>
<url>http://repo1.maven.org/maven2/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>repo2</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo2.maven.org/maven2/</url>
</mirror>
</mirrors>
<profiles></profiles>
</settings>
linux的jdk环境变量设置
export JAVA_HOME=/home/datum/program/jdk1.8.0_231
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export MAVEN_HOME=/home/datum/program/apache-maven-3.6.3
或者 export MAVEN_HOME=/home/datum/program/apache-maven-3.9.6export PATH=$JAVA_HOME/bin:$MAVEN_HOME/bin:$NGINX_HOME/sbin:$REDIS_HOME/bin:$PATH
正式环境部署
export PATH=$JAVA_HOME/bin:$PATH
内网示例: wget http://10.0.0.113:3109/api/public/dl/mWEXeXui/singleredis5.zip
安装 lrzsz: wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
tar zxvf lrzsz-0.12.20.tar.gz && cd lrzsz-0.12.20
./configure && make && make install
cd /usr/bin
ln -s /usr/local/bin/lrz rz
ln -s /usr/local/bin/lsz sz