update doc

This commit is contained in:
hengyunabc committed 2018-10-22 15:24:55 +08:00
1 parent 2d30d87625
commit bffd6fff8d
2 files changed
+10 -6

No files matched your search

+3 -3
View File
@@ -3,10 +3,10 @@ Manual Installation
### Download ### Download
Latest `bin.zip `: [![Arthas](https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging.svg?style=flat-square "Arthas")](http://search.maven.org/classic/#search%7Cga%7C1%7Cg%3A%22com.taobao.arthas%22%20AND%20a%3A%22arthas-packaging%22) **Latest `bin.zip`**: [![Arthas](https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging.svg?style=flat-square "Arthas")](http://search.maven.org/classic/#search%7Cga%7C1%7Cg%3A%22com.taobao.arthas%22%20AND%20a%3A%22arthas-packaging%22)
If the downloading is rather clumsy, try to download from the [repository in AliYun](https://maven.aliyun.com/); the downloading URL template is (remember to fill up the version `3.x.x` template to your needs) If the download is slow, try to download from the [repository in AliYun](https://maven.aliyun.com/); the downloading URL template is (remember to fill up the version `3.x.x` template to your needs)
`https://maven.aliyun.com/repository/public/com/taobao/arthas/arthas-packaging/3.x.x/arthas-packaging-3.x.x-bin.zip` `https://maven.aliyun.com/repository/public/com/taobao/arthas/arthas-packaging/3.x.x/arthas-packaging-3.x.x-bin.zip`
### Unzip ### Unzip
@@ -27,5 +27,5 @@ cd arthas
### Start ### Start
```bash ```bash
./as.sh # make sure the old Arthas has been shut down (using command shutdown); ./as.sh # make sure the old Arthas has been shutdown (using command shutdown);
``` ```
+7 -3
View File
@@ -3,7 +3,7 @@
1. 下载最新版本 1. 下载最新版本
最新版本:[![Arthas](https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging.svg?style=flat-square "Arthas")](http://search.maven.org/classic/#search%7Cga%7C1%7Cg%3A%22com.taobao.arthas%22%20AND%20a%3A%22arthas-packaging%22) **最新版本**:[![Arthas](https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging.svg?style=flat-square "Arthas")](http://search.maven.org/classic/#search%7Cga%7C1%7Cg%3A%22com.taobao.arthas%22%20AND%20a%3A%22arthas-packaging%22)
在`Download`栏下载最新的 `bin.zip` 包。 在`Download`栏下载最新的 `bin.zip` 包。
@@ -18,7 +18,9 @@
unzip arthas-packaging-bin.zip unzip arthas-packaging-bin.zip
``` ```
3. 安装Arthas: 安装之前最好把所有老版本的Arthas全都删掉 3. 安装Arthas
安装之前最好把所有老版本的Arthas全都删掉
``` ```
sudo su admin sudo su admin
rm -rf /home/admin/.arthas/lib/* rm -rf /home/admin/.arthas/lib/*
@@ -27,7 +29,9 @@
``` ```
> 注意,这里根据你需要诊断的Java进程的所属用户进行切换 > 注意,这里根据你需要诊断的Java进程的所属用户进行切换
4. 启动Arthas: 启动之前,请确保老版本的Arthas已经shutdown. 4. 启动Arthas
启动之前,请确保老版本的Arthas已经`shutdown`.
``` ```
./as.sh ./as.sh