mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
cf5c7decd7
commit
0687203a20
1 changed files with 9 additions and 4 deletions
13
README.md
13
README.md
|
@ -15,14 +15,19 @@
|
||||||
|
|
||||||
### TL;DR
|
### TL;DR
|
||||||
|
|
||||||
sudo apt-get install golang protobuf-compiler libpcap-dev libnetfilter-queue-dev
|
Make sure you have a correctly configured **Go >= 1.8** environment, that `$GOPATH` is defined, that `$GOPATH/bin` is in `$PATH` and then:
|
||||||
python3 -m pip install --user grpcio-tools
|
|
||||||
|
# install dependencies
|
||||||
|
sudo apt-get install protobuf-compiler libpcap-dev libnetfilter-queue-dev
|
||||||
go get github.com/golang/protobuf/protoc-gen-go
|
go get github.com/golang/protobuf/protoc-gen-go
|
||||||
go get -u github.com/golang/dep/cmd/dep
|
go get -u github.com/golang/dep/cmd/dep
|
||||||
cd /path/to/this/repo
|
go get github.com/evilsocket/opensnitch
|
||||||
|
# clone the repository (ignore the message about no Go files being found)
|
||||||
|
cd $GOPATH/src/github.com/evilsocket/opensnitch
|
||||||
|
# compile && install
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
|
# enable opensnitchd as a systemd service and start the UI
|
||||||
sudo systemctl enable opensnitchd
|
sudo systemctl enable opensnitchd
|
||||||
sudo service opensnitchd start
|
sudo service opensnitchd start
|
||||||
opensnitch-ui
|
opensnitch-ui
|
||||||
|
|
Loading…
Add table
Reference in a new issue