mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 15:33:59 +00:00
update install-detail.md
This commit is contained in:
1 parent
00aeb9ae43
commit
27d94bf457
2 files changed
+34
-9
No files matched your search
@@ -1,6 +1,23 @@
|
|||||||
Install Arthas
|
Install Arthas
|
||||||
==============
|
==============
|
||||||
|
|
||||||
|
## All Platform (recommended)
|
||||||
|
|
||||||
|
Latest Version, Click To Download: [](http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=com.taobao.arthas&a=arthas-packaging&e=zip&c=bin&v=LATEST)
|
||||||
|
|
||||||
|
Download and unzip, find `arthas-boot.jar` in the directory. Start with `java` command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
java -jar arthas-boot.jar
|
||||||
|
```
|
||||||
|
|
||||||
|
Print help information:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
java -jar arthas-boot.jar -h
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Linux/Unix/Mac
|
## Linux/Unix/Mac
|
||||||
|
|
||||||
You can install Arthas with one single line command on Linux, Unix, and Mac. Pls. copy the following command and paste it into the command line, then press *Enter* to run:
|
You can install Arthas with one single line command on Linux, Unix, and Mac. Pls. copy the following command and paste it into the command line, then press *Enter* to run:
|
||||||
@@ -23,10 +40,6 @@ Download and unzip, then find `as.bat` from 'bin' directory. For now this script
|
|||||||
as.bat <pid>
|
as.bat <pid>
|
||||||
```
|
```
|
||||||
|
|
||||||
To have a better experience, you can start the Arthas Server locally by executing `as.bat <pid>`, then run `./as.sh <pid>@<ip>:<por>` in another Linux/Unix/Mac machine.
|
|
||||||
|
|
||||||
> If the color is not working as expect on windows, you can use [conemu](https://sourceforge.net/projects/conemu) to get it to work.
|
|
||||||
|
|
||||||
## Manual Installation
|
## Manual Installation
|
||||||
|
|
||||||
[Manual Installation](manual-install.md)
|
[Manual Installation](manual-install.md)
|
||||||
|
|||||||
@@ -2,6 +2,23 @@ Arthas Install
|
|||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
||||||
|
## 全平台通用(推荐)
|
||||||
|
|
||||||
|
最新版本,点击下载:[](http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=com.taobao.arthas&a=arthas-packaging&e=zip&c=bin&v=LATEST)
|
||||||
|
|
||||||
|
解压后,在文件夹里有`arthas-boot.jar`,直接用`java -jar`的方式启动:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
java -jar arthas-boot.jar
|
||||||
|
```
|
||||||
|
|
||||||
|
打印帮助信息:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
java -jar arthas-boot.jar -h
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Linux/Unix/Mac
|
## Linux/Unix/Mac
|
||||||
|
|
||||||
Arthas 支持在 Linux/Unix/Mac 等平台上一键安装,请复制以下内容,并粘贴到命令行中,敲 `回车` 执行即可:
|
Arthas 支持在 Linux/Unix/Mac 等平台上一键安装,请复制以下内容,并粘贴到命令行中,敲 `回车` 执行即可:
|
||||||
@@ -28,11 +45,6 @@ curl -L https://alibaba.github.io/arthas/install.sh | sh
|
|||||||
as.bat <pid>
|
as.bat <pid>
|
||||||
```
|
```
|
||||||
|
|
||||||
如果需要更好的体验,可以在本地使用 `as.bat <pid>` 启动 Arthas Server 后,然后在另外的 Linux/Mac 上使用 `as.sh pid@ip:port` 来远程诊断。
|
|
||||||
|
|
||||||
|
|
||||||
> Windows用户如果在cmd里不能正常显示颜色,可以使用[conemu](https://sourceforge.net/projects/conemu)。
|
|
||||||
|
|
||||||
## 手动安装
|
## 手动安装
|
||||||
|
|
||||||
[手动安装](manual-install.md)
|
[手动安装](manual-install.md)
|
||||||
|
|||||||
Reference in new issue
Block a user