Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions docs/installation/linux/install.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
Installation on Linux (**Ubuntu 14.04.5**\)
Installation on Linux (**Ubuntu 18.10**\)
===========================================

#### Install Docker

```bash
$ sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - # Adding GPG Docker's keys
$ sudo apt-key fingerprint 0EBFCD88
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" # Adding Docker's repository in Ubuntu repository list
$ sudo apt-get update
$ sudo apt-get install apt-transport-https ca-certificates
$ sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
$ echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" > sudo tee -a /etc/apt/sources.list.d/docker.list
$ sudo apt-get update
$ sudo apt-get install docker-engine
$ sudo usermod -aG docker $USER # You might have to logout for change to take effect
$ sudo apt-get install docker docker.io
$ sudo usermod -aG docker $USER # Ading Docker as a user
$ sudo reboot now # Ubuntu will restart, save your work
```

#### Fix Elasticsearch

```bash
echo "vm.max_map_count=262144" | sudo tee -a /etc/sysctl.conf
sudo sysctl -w vm.max_map_count=262144
sudo docker rm -f malice
```

Download Pre-Compiled Binary
Expand All @@ -31,6 +33,10 @@ Download Pre-Compiled Binary
$ wget https://github.com/maliceio/malice/releases/download/v0.3.11/malice_0.3.11_linux_amd64.tar.gz -O /tmp/malice.tar.gz
$ sudo tar -xzf /tmp/malice.tar.gz -C /usr/local/bin/
```
#### Update Malice
```bash
$ malice plugin update --all # Updating plugins
```

#### Uninstall Malice

Expand Down