-
Notifications
You must be signed in to change notification settings - Fork 31
Use IPOP on Ubuntu and Raspberry Pi, Manually
Vahid Daneshmand edited this page Sep 27, 2017
·
16 revisions
| Description | |
|---|---|
| Tested on | Ubuntu 14.04 and 16.04 x64 and Raspbian Jessie and Stretch on Raspberry Pi 3 |
| Time | ~ 10 Minutes |
| Question(s) | - How to install IPOP? - How to run IPOP? - How to remove IPOP? |
| Objective(s) | - Install IPOP - Run IPOP - Stop IPOP - Remove IPOP |
sudo apt-get update -y
sudo apt-get install -y software-properties-common libssl-dev
sudo apt-get install -y python3 python-pip python-dev
sudo pip install sleekxmpp psutil pystunDownload the proper version of IPOP from our latest release.
Then go to the download directory and extract the file (Put in the actual file name):
tar -xzvf ipop-vxxx.tar.gz
cd ipop-vxxxYou will need a valid configuration file (ipop-config.json) to run IPOP. Go to the directory you have your config file and copy the file to the config directory:
cp PATH/TO/CONFIGFILE/ipop-config.json config/sudo ./ipop-tincan &python -m controller.Controller -c ./config/ipop-config.json &Now, if everything is going well, IPOP should be run.
sudo killall ipop-tincan ps aux | grep -v grep | grep controller.Controller | awk '{print $2}' | xargs sudo kill -9To uninstall IPOP, its is safe to stop it first and then remove the IPOP execution directory.
- Run IPOP:
sudo ./ipop-tincan &
python -m controller.Controller -c ./config/ipop-config.json &- Stop IPOP:
sudo killall ipop-tincan
ps aux | grep -v grep | grep controller.Controller | awk '{print $2}' | xargs sudo kill -9