Recent articles

  • How to install yt-dlp

    yt-dlp is a fork of youtube-dl, it can be used to download videos from youtube and many other similar websites. yt-dlp is more actively developed. https://github.com/yt-dlp/yt-dlp To install yt-dlp on…

  • How to disable MySQL X Protocol (mysqlx_port)

    After installing MySQL 8 and checking listening ports with โ€œnetstat -lntpโ€, you will see MySQL is listening on ports 3306 and 33060. root@mysql:~# netstat -lntp | grep mysql tcp 0…

  • How to Migrate MySQL Users to Another Server

    I wanted to Migrate MySQL from one server to another. Usually, I could just copy over the MySQL data directory (/var/lib/mysql) to the new server, this will copy over MySQL…

  • Serve a Django application using Gunicorn

    Create systemd service file vi /usr/lib/systemd/system/backend.service Add [Unit] Description=Gunicorn instance to serve Django Application After=network.target [Service] User=www-data Group=www-data Environment=”APP=app” WorkingDirectory=/path/to/app/backend Environment=”PATH=/path/to/app/backend/venv/bin” ExecStart=/path/to/app/backend/venv/bin/gunicorn -w 3 –timeout 120 –bind 0.0.0.0:8080 backend.wsgi [Install]…

  • How to install Gearman Job Server in Docker

    Gearman is an Open Source job server. http://gearman.org/getting-started/ To install it using docker, first install docker, then run docker run –name sok-gearmand –restart=unless-stopped -p 4730:4730 -d dockage/gearmand German is now…