μlogger is an open-source application that tracks your location, activities, and other data on your Android device. It collects all this data and sends it to a server, where you can view and analyze it. In this tutorial, we’ll guide you through the process of installing μlogger on your Elementary OS Latest.
Before we start, make sure you have the following:
μlogger Server is built using Django, a Python web framework. Before we can install μlogger, we need to install some Python dependencies:
Ctrl + Alt + T
.sudo apt-get install python3-pip python3-dev libpq-dev postgresql postgresql-contrib
sudo systemctl start postgresql
mkdir ~/ulogger
cd ~/ulogger
git clone https://github.com/bfabiszewski/ulogger-server.git
cd ~/ulogger/ulogger-server/
sudo pip3 install -r requirements.txt
cp ulogger/settings_local.sample.py ulogger/settings_local.py
Edit the ulogger/settings_local.py
file and uncomment the lines that start with “DATABASES”.
Replace USER
with your PostgreSQL username, and PASSWORD
with your PostgreSQL password:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'ulogger_db',
'USER': 'postgres',
'PASSWORD': 'postgres',
'HOST': 'localhost',
'PORT': '',
}
}
sudo -u postgres psql -c "CREATE DATABASE ulogger_db;"
python3 manage.py migrate
python3 manage.py createsuperuser
python3 manage.py runserver
Congratulations! You’ve successfully installed μlogger on your Elementary OS Latest and Android device. You can now view and analyze the data collected by the μlogger server on a web browser by visiting http://localhost:8000
.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!