1:安装jdk
1):下载jdk,jdk-6u45-linux-x64.bin https://cloud.189.cn/t/6B7raeEfYBVb(访问码:4943)
2):安装:https://www.cnblogs.com/liumanghanfei/p/9818772.html
2:安装idea
1):在官网下载idea
2):创建/opt/work/idea文件夹
sudo tar -zxvf ideaIU-2019.1.3.tar.gz -C /opt/work/idea/
3):破解idea
https://cloud.189.cn/t/jYRrA3fuAZVn(访问码:1018)(破解文件,此版本idea《ideaIU-2019.1.3.tar.gz》可用,其他未知)
sudo cp /home/yang/下载/JetbrainsCrack-4.2-release-enc.jar /opt/work/idea/idea-IU-191.7479.19/bin
编辑idea.vmoptions和idea64.vmoptions,最后面插入
-javaagent:/opt/work/idea/idea-IU-191.7479.19/bin/JetbrainsCrack-4.2-release-enc.ja
Qcm9maWxlIENBMB4XDTE4MTEwMTEyMjk0NloXDTIwMTEwMjEyMjk0NlowaDELMAkGA1UEBhMCQ1oxDjAMBgNVBAgMBU51c2xlMQ8wDQYDVQQHDAZQcmFndWUxGTAXBgNVBAoMEEpldEJyYWlucyBzLnIuby4xHTAbBgNVBAMMFHByb2QzeS1mcm9tLTIwMTgxMTAxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxcQkq+zdxlR2mmRYBPzGbUNdMN6OaXiXzxIWtMEkrJMO/5oUfQJbLLuMSMK0QHFmaI37WShyxZcfRCidwXjot4zmNBKnlyHodDij/78TmVqFl8nOeD5+07B8VEaIu7c3E1N+e1doC6wht4I4+IEmtsPAdoaj5WCQVQbrI8KeT8M9VcBIWX7fD0fhexfg3ZRt0xqwMcXGNp3DdJHiO0rCdU+Itv7EmtnSVq9jBG1usMSFvMowR25mju2JcPFp1+I4ZI+FqgR8gyG8oiNDyNEoAbsR3lOpI7grUYSvkB/xVy/VoklPCK2h0f0GJxFjnye8NT1PAywoyl7RmiAVRE/EKwIDAQABo4GZMIGWMAkGA1UdEwQCMAAwHQYDVR0OBBYEFGEpG9oZGcfLMGNBkY7SgHiMGgTcMEgGA1UdIwRBMD+AFKOetkhnQhI2Qb1t4Lm0oFKLl/GzoRykGjAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBggkA0myxg7KDeeEwEwYDVR0lBAwwCgYIKwYBBQUHAwEwCwYDVR0PBAQDAgWgMA0GCSqGSIb3DQEBCwUAA4ICAQAF8uc+YJOHHwOFcPzmbjcxNDuGoOUIP+2h1R75Lecswb7ru2LWWSUMtXVKQzChLNPn/72W0k+oI056tgiwuG7M49LXp4zQVlQnFmWU1wwGvVhq5R63Rpjx1zjGUhcXgayu7+9zMUW596Lbomsg8qVve6euqsrFicYkIIuUu4zYPndJwfe0YkS5nY72SHnNdbPhEnN8wcB2Kz+OIG0lih3yz5EqFhld03bGp222ZQCIghCTVL6QBNadGsiN/lWLl4JdR3lJkZzlpFdiHijoVRdWeSWqM4y0t23c92HXKrgppoSV18XMxrWVdoSM3nuMHwxGhFyde05OdDtLpCv+jlWf5REAHHA201pAU6bJSZINyHDUTB+Beo28rRXSwSh3OUIvYwKNVeoBY+KwOJ7WnuTCUq1meE6GkKc4D/cXmgpOyW/1SmBz3XjVIi/zprZ0zf3qH5mkphtg6ksjKgKjmx1cXfZAAX6wcDBNaCL+Ortep1Dh8xDUbqbBVNBL4jbiL3i3xsfNiyJgaZ5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==
3:安装tomcat
https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz
sudo mv /home/yang/下载/apache-tomcat-7.0.94.tar.gz /opt/work/tomcat/
sudo tar -zxvf apache-tomcat-7.0.94.tar.gz -C ../tomcat/
4:安装redis
http://download.redis.io/releases/redis-2.8.24.tar.gz
sudo mv /home/yang/下载/redis-2.8.24.tar.gz /opt/work/redis/
sudo tar -zxvf redis-2.8.24.tar.gz -C ../redis/
cd redis-2.8.24
sudo make
启动: ./src/redis-server
如果安装出错,参考https://www.cnblogs.com/xyinjie/p/9444280.html