You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arthas/en/_sources/manual-install.md.txt

34 lines
1.2 KiB
Plaintext

6 years ago
Manually Install Arthas
6 years ago
===================
6 years ago
1. Download the latest version
6 years ago
6 years ago
**Latest version, Click To Download**: [![Arthas](https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging.svg?style=flat-square "Arthas")](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)
6 years ago
6 years ago
If the download speed is slow, try to use [Ali cloud mirror repository](https://maven.aliyun.com/), for example, to download version `3.x.x` (you can replace `3.x.x` in the example URL if you want to download other version), the download URL is: https://maven.aliyun.com/repository/public/com/taobao/arthas/arthas-packaging/3.x.x/arthas-packaging-3.x.x-bin.zip
6 years ago
6 years ago
2. Unzip zip file
6 years ago
6 years ago
```bash
unzip arthas-packaging-bin.zip
```
6 years ago
6 years ago
3. Install Arthas
6 years ago
6 years ago
It is recommended to completely remove all old versions of Arthas before installation.
6 years ago
6 years ago
```bash
sudo su admin
rm -rf /home/admin/.arthas/lib/* # remove all the leftover of the old outdated Arthas
cd arthas
./install-local.sh # switch the user based on the owner of the target Java process.
```
6 years ago
6 years ago
4. Start Arthas
6 years ago
6 years ago
Make sure `shutdown` the old Arthas server before start.
```bash
./as.sh
```