Install it from here, the two first lines https://get.docker.com/ curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh docker –version Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your…
Category: linux
Python as systemctl service
https://www.loggly.com/blog/new-style-daemons-python/ https://github.com/torfsen/python-systemd-tutorial This is an easy and not enough tested script, you may also enable it to start at boot. Read about systemctl: https://www.freedesktop.org/software/systemd/man/systemctl.html So create a file in /lib/systemd/system touch python_service.service sudo nano python_service.service run the script with (when it is done and has no erros): This is my test script: It prints service…
Testing Zabbix VirtualBox 6.0
https://www.virtualbox.org/wiki/Downloads If you’re looking for the latest VirtualBox 5.2 packages, see VirtualBox 5.2 builds. Please also use version 5.2 if you still need support for 32-bit hosts, as this has been discontinued in 6.0. Version 5.2 will remain supported until July 2020. Note: After upgrading VirtualBox it is recommended to upgrade the guest additions as…
MariaDb linux Python ORM
https://linuxize.com/post/how-to-install-mariadb-on-ubuntu-18-04/ MariaDB is an open source, multi-threaded relational database management system, backward compatible replacement for MySQL. It is maintained and developed by the MariaDB Foundation including some of the original developers of the MySQL. https://linuxize.com/post/how-to-create-a-sudo-user-on-ubuntu/ sudo apt update sudo apt install mariadb-server sudo mysql -V sudo systemctl status mariadb Run the mysql_secure_installation command to improve…
RabbitMQ Pika Ubuntu
AMQP 0-9-1 Model ExplainedOverview This guide provides an overview of the AMQP 0-9-1 protocol, one of the protocols supported by RabbitMQ.High-level Overview of AMQP 0-9-1 and the AMQP ModelWhat is AMQP 0-9-1? AMQP 0-9-1 (Advanced Message Queuing Protocol) is a messaging protocol that enables conforming client applications to communicate with conforming messaging middleware brokers. https://www.rabbitmq.com/tutorials/amqp-concepts.html…
Mobile App Development With Kivy & Python 3 (part 2 android release + sign and zipalign, publish)
So, folder for kivy project is zenseeker. Buildozer init (get spec and modify it) buildozer -v android debug Move the apk to the phone and debug it if needed with adb logcat (press install and check the logs) It works? Good, then get ready for keytool (save the password and alias) and signing with jarsigner….
Mobile App Development With Kivy & Python 3 – From scratch (part 1 android debug)
So I just finished the course, Mobile App Development With Kivy & Python – From scratch. I was good and covered alot, but it missed out on the method for making an android packet….I was hoping it was not. In section 54 it said ” Building an android ABK”, but just a link. So I…
Ubuntu 18.04 set up Python3 virtualenv for user (no sudo*)
Python 3 is default, type python3 or python (for v 2) https://docs.python-guide.org/dev/virtualenvs/ virtualenv is a tool to create isolated Python environments. virtualenv creates a folder which contains all the necessary executables to use the packages that a Python project would need. It can be used standalone, in place of Pipenv. sudo apt update sudo apt…
3 (Linux) Install-ubuntu-18-04-over-windows-10
Install Ubuntu over win 10 So I just went ahead and did it, loaded bootable USB drive with Ubuntu 18.04.2 LTS amd64 8 ( like picture above) and pressed install on my broken windows machine. Detect keyboard layout Updates and software-> Normal installation Installation type->Erase disk and install ubuntu Write the changes to disk->Continue Where…
2 (Linux) Running python from a windows disk via USB with Linux (with store)
Since the bootable USB drive is not persistent (yet) how to code and develop from a location to store it. First go to other locations (after booting up the machine), find the windows drive, make a new folder (I made boot_folder_2019). Download the amd file for Linux and store it in the windows drive. Then…