文章目录

  • Ubuntu - 安装 Spring Tool Suite 4
    • 系统环境信息
    • 下载 Spring Tool Suite
    • 解压
    • 通过终端启动 STS
    • 设置桌面启动方式

Ubuntu - 安装 Spring Tool Suite 4

系统环境信息

Ubuntu 版本信息:

# lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:    18.04
Codename:   bionic

CPU 信息:

# more /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz
stepping    : 3
microcode   : 0x27
cpu MHz     : 798.236
cache size  : 3072 KB
physical id : 0
siblings    : 4
core id     : 0
cpu cores   : 2
apicid      : 0
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clf
lush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_p
erfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 mon
itor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_dea
dline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibr
s ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep
bmi2 erms invpcid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_m
ultihit
bogomips    : 5188.01
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:processor  : 1
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz
stepping    : 3
microcode   : 0x27
cpu MHz     : 798.436
cache size  : 3072 KB
physical id : 0
siblings    : 4
core id     : 0
cpu cores   : 2
apicid      : 1
initial apicid  : 1
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clf
lush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_p
erfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 mon
itor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_dea
dline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibr
s ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep
bmi2 erms invpcid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_m
ultihit
bogomips    : 5188.01
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:processor  : 2
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz
stepping    : 3
microcode   : 0x27
cpu MHz     : 801.740
cache size  : 3072 KB
physical id : 0
siblings    : 4
core id     : 1
cpu cores   : 2
apicid      : 2
initial apicid  : 2
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clf
lush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_p
erfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 mon
itor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_dea
dline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibr
s ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep
bmi2 erms invpcid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_m
ultihit
bogomips    : 5188.01
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:processor  : 3
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz
stepping    : 3
microcode   : 0x27
cpu MHz     : 960.518
cache size  : 3072 KB
physical id : 0
siblings    : 4
core id     : 1
cpu cores   : 2
apicid      : 3
initial apicid  : 3
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clf
lush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_p
erfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 mon
itor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_dea
dline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibr
s ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep
bmi2 erms invpcid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_m
ultihit
bogomips    : 5188.01
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

内存信息:

# more /proc/meminfo
MemTotal:        8066848 kB
MemFree:         6633836 kB
MemAvailable:    7327568 kB
Buffers:           50144 kB
Cached:           982832 kB
SwapCached:            0 kB
Active:           356924 kB
Inactive:         815312 kB
Active(anon):     238284 kB
Inactive(anon):    40788 kB
Active(file):     118640 kB
Inactive(file):   774524 kB
Unevictable:       97724 kB
Mlocked:               0 kB
SwapTotal:       9999356 kB
SwapFree:        9999356 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:        236908 kB
Mapped:           211096 kB
Shmem:            139828 kB
KReclaimable:      49796 kB
Slab:              86684 kB
SReclaimable:      49796 kB
SUnreclaim:        36888 kB
KernelStack:        5584 kB
PageTables:        19280 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    14032780 kB
Committed_AS:    1985744 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       26616 kB
VmallocChunk:          0 kB
Percpu:             2784 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:      121600 kB
DirectMap2M:     5036032 kB
DirectMap1G:     3145728 kB

Java 版本信息:

# java -version
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)

下载 Spring Tool Suite

访问 https://spring.io/tools,下载 Linux 64-bit 版本:

解压

下载完成之后,进入 Spring Tool Suite (STS) 所在目录,解压 STS:

# tar -zxvf spring-tool-suite-4-4.5.1.RELEASE-e4.14.0-linux.gtk.x86_64.tar.gz

解压之后,获得 sts-4.5.1.RELEASE:

# ls -l
-rw-r--r-- 1 root root 393504116 2月   7 20:02 spring-tool-suite-4-4.5.1.RELEASE-e4.14.0-linux.gtk.x86_64.tar.gz
drwxr-xr-x 9 root root      4096 1月  21 21:41 sts-4.5.1.RELEASE

将其复制到 /opt/ 目录下:

# cp -r sts-4.5.1.RELEASE /opt/

查看复制结果(第 5 行):

# ls -l /opt/
total 16
drwxr-xr-x 7 root root 4096 2月   7 11:33 jdk1.8.0_241
drwxr-xr-x 6 1001 1001 4096 1月   7 20:24 node-v12.14.1-linux-x64
drwxr-xr-x 9 root root 4096 2月   7 20:16 sts-4.5.1.RELEASE
drwxrwxr-x 5 mk   mk   4096 12月 26 10:31 Typora

通过终端启动 STS

须知:此时我是桌面环境下使用终端,使用普通用户。之前通过远程连接工具执行操作的,使用 root 用户。

进入 STS 所在目录:

$ cd /opt/sts-4.5.1.RELEASE/

查看该目录中的内容:

$ ll
total 1412
drwxr-xr-x  9 root root   4096 2月   7 20:16 ./
drwxr-xr-x  6 root root   4096 2月   7 20:16 ../
-rw-r--r--  1 root root 178549 2月   7 20:16 artifacts.xml
drwxr-xr-x  4 root root   4096 2月   7 20:16 configuration/
drwxr-xr-x  2 root root   4096 2月   7 20:16 dropins/
-rw-r--r--  1 root root     61 2月   7 20:16 .eclipseproduct
drwxr-xr-x 82 root root  12288 2月   7 20:16 features/
-rwxr-xr-x  1 root root 136129 2月   7 20:16 icon.xpm*
-rw-r--r--  1 root root  11522 2月   7 20:16 license.txt
drwxr-xr-x  2 root root   4096 2月   7 20:16 META-INF/
-rw-r--r--  1 root root 937589 2月   7 20:16 open-source-licenses.txt
drwxr-xr-x  4 root root   4096 2月   7 20:16 p2/
drwxr-xr-x 26 root root  61440 2月   7 20:16 plugins/
drwxr-xr-x  2 root root   4096 2月   7 20:16 readme/
-rwxr-xr-x  1 root root  61176 2月   7 20:16 SpringToolSuite4*
-rw-r--r--  1 root root    380 2月   7 20:16 SpringToolSuite4.ini

启动 STS:

$ ./SpringToolSuite4

第一次启动 STS,提示选择工作空间:

选择工作空间之后,点击 Launch 启动:

设置桌面启动方式

然而,我们不可能每次都通过终端启动 STS,这样太麻烦了。

所以,我们需要配置 STS 的桌面启动方式。

进入 /usr/share/applications/ 目录,创建一个 desktop 文件:

$ sudo vim spring-tool-suite-4.desktop

输入如下配置信息(具体配置请根据 STS 的安装情况修改):

[Desktop Entry]
Name=SpringToolSuite4
GenericName=IDE
GenericName[de]=IDE
Exec=/opt/sts-4.5.1.RELEASE/SpringToolSuite4
Terminal=false
Type=Application
Keywords=STS;IDE;
Icon=/opt/sts-4.5.1.RELEASE/icon.xpm
Categories=Utility;IDE;
StartupNotify=false

配置完成之后,就可以在 Show Applications 中找到 STS:

Ubuntu 18.04.3 LTS - 安装 Spring Tool Suite 4相关推荐

  1. Ubuntu 18.04.1 LTS 安装网易云音乐,告别图标无法点击

    Ubuntu 18.04.1 LTS 安装网易云音乐,告别图标无法点击 今天终于找到了网易云音乐的正确安装姿势,告别玄学关机法... 参考: https://blog.csdn.net/weixin_ ...

  2. Ubuntu 18.04.5 LTS安装ROCm

    目录 一.系统支持 二.硬件支持 三.ROCm安装 1.更新系统库: 2.添加ROCm apt存储库 3.安装ROCm元软件包. 4.验证是否安装成功. 5.从Ubuntu卸载ROCm软件包 一.系统 ...

  3. ROS系统的安装 ubuntu 18.04.5 LTS

    ubuntu使用版本:ubuntu 18.04.5 LTS 安装ROS Ubuntu安装完毕后,就可以安装ROS操作系统了,大致步骤如下: 配置ubuntu的软件和更新 设置安装源 设置key 安装 ...

  4. linux看测试环境版本,最新版 EOS 在 Ubuntu 18.04.1 LTS 环境上的安装测试教程

    EOS主网上线后,本地的开发环境一直没有升级.最近要启动新项目了,所以借着这个计划,彻底重新安装一下环境. 环境安装和配置的文章,已经很多了,但基本都是针对前期版本的.这里我把新旧版本的不同之处,罗列 ...

  5. NVIDIA Jetson Nano B01 安装Ubuntu 18.04.3 LTS

    几乎完美安装! NVIDIA Jetson Nano B01 Ubuntu 18.04.3 LTS 的 ROS 安装和菜鸟的踩坑记录 NVIDIA Jetson Nano B01技术规格 Ubuntu ...

  6. 浅谈Ubuntu 18.04.1 LTS x86_64安装,美化配置及常用软件安装配置的历程

    浅谈Ubuntu 18.04.1 LTS x86_64安装,美化及常用软件安装配置的历程 这几天入坑Ubuntu,本着双系统来的却不小心把Windows玩崩了.期间各种问题各种坑,查阅了很多文章来解决 ...

  7. win10环境向移动固态硬盘安装Ubuntu 18.04.3 LTS系统(即插即用)

    win10环境向移动固态硬盘安装Ubuntu 18.04.3 LTS系统(即插即用) 一.从官网下载ubuntu18镜像 地址:https://ubuntu.com/download/desktop ...

  8. 几乎完美安装! NVIDIA Jetson Nano B01 Ubuntu 18.04.3 LTS 的 ROS 安装和菜鸟的踩坑记录【会继续完善】

    几乎完美安装! NVIDIA Jetson Nano B01 Ubuntu 18.04.3 LTS 的 ROS 安装和菜鸟的踩坑记录 NVIDIA Jetson Nano B01技术规格 Ubuntu ...

  9. linux内核更新/修补程序,Ubuntu 18.04.3 LTS无需重启即可轻松修补Linux内核

    Ubuntu 18.04.3 LTS本月早些时候推出了更新的内核和图形堆栈,以及所有最新的软件包更新和增强的Livepatch集成. 由Ubuntu 19.04(Disco Dingo)的Linux ...

  10. x-lite for linux,Linux Lite 4.6正式发布:现基于Ubuntu 18.04.3 LTS

    原标题:Linux Lite 4.6正式发布:现基于Ubuntu 18.04.3 LTS 创建者Jerry Bezencon于今天正式宣布Linux Lite 4.6系统版本更新,和上个版本4.4相隔 ...

最新文章

  1. POJ - 3160 Father Christmas flymouse tanjar缩点构图+dfs
  2. 广告条随滚动条的移动而移动
  3. 【怎样写代码】确保对象的唯一性 -- 单例模式(二):解决方案
  4. openstack创建实例报错Exceeded maximum number of retries
  5. ubuntu修改gcc版本
  6. WPF error: does not contain a static 'Main' method suitable for an entry point
  7. 汇编----连接,编译
  8. 从Go、Swift出发:语言的选择需谨慎
  9. 【传智播客】JavaWeb程序设计任务教程 第四章练习答案
  10. Oracle select 基础查询语句 day02
  11. 设计之路:如何进行软件需求分析?
  12. 【理论】数据结构----树的基本概念
  13. python import MySQLdb 解决报错 Error:Reason: image not found
  14. Newtonsoft 六个超简单又实用的特性,值得一试 【上篇】
  15. 新版jmeter图形化报告解析
  16. 用户增长 - BG/NBD概率模型预测用户生命周期LTV(二)
  17. intel32指令中文版
  18. [数字图像处理·冈萨雷斯 ] 图像文件格式
  19. 你有必要不沾计算机一段时间英语,八年级英语下册unit 1必背词组及句子(新人教版).docx...
  20. GIT上优秀的IOS框架

热门文章

  1. 计算机语言环境变量,Win7环境变量中如何切换语言
  2. 微信小程序地图导航实例讲解
  3. c语言试题答题卡,c语言题目及答题卡.docx
  4. 如何清空c盘只剩系统_电脑C盘怎么清理到最干净?高手教你清理C盘的详细步骤...
  5. Inno Setup 6.0.0+ 繁体中文语言包
  6. 弹性波波长计算公式_固体中的弹性波
  7. LAMMPS分子动力学模拟技术与应用 第一性原理计算方法及应用
  8. StretchDIBits速度测试(COLORONCOLOR)
  9. 摩托罗拉E2卸载MPKG程序的简单方法
  10. 如何VARCHART XGantt编写PDF文件