Django
Django Development Environment with VSCode and Apache2
VS Code is an ideal choice when it comes to development activities and for Python / Django there are few other tools that can barely match the functionalities provided by VSCode. VS Code by default comes with Django server , Read more…
Uncategorized
MARIADB Notes
Command Usage FLUSH PRIVILEGES GRANT ALL PRIVILEGES ON *.* to ‘user_name’@’host_name’ WITH GRANT OPTION; Grant Super user Access CREATE USER ‘username’@’hostname’ IDENTIFIED BY ‘password’; Create Super User GRANT ALL PRIVILEGES ON * . * TO ‘matthew’@’%’; Grant permission References Create Read more…
Uncategorized
How to Create MariaDB User and Grant Privileges
Access MariaDB Server Enter the following command in your command-line terminal to access the MariaDB client shell:sudo mysql -u root If your root user has a predefined password, modify the command to reflect that fact:sudo mysql -u root -p Enter Read more…
Uncategorized
Apache Server Commands : Debian
Command sudo apt install apache2 Install Apache Server sudo systemctl status apache2 Server Status sudo systemctl stop apache2 Stop Server sudo systemctl start apache2 sudo systemctl restart apache2 sudo systemctl reload apache2 sudo systemctl disable apache2 sudo systemctl enable apache2 Read more…
Uncategorized
Mysqlclient cannot install via pip, cannot find pkg-config name
Solution sudo apt-get install python3-dev default-libmysqlclient-dev build-essential pip install mysqlclient https://stackoverflow.com/questions/76585758/mysqlclient-cannot-install-via-pip-cannot-find-pkg-config-name-in-ubuntu
Uncategorized
How to install .deb package in Debian
https://unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt
Uncategorized
How to activate SSL / Https for Debian Server
Step 5 – Enable HTTPS for WordPress It is always recommended to enable the HTTPS on WordPress website to encrypt the HTTP traffic. You will need to install and configure Let’s Encrypt free SSL to enable the HTTPS. First, install Read more…
Uncategorized
Debian 11 Installation issues and resolution
Install Visual Studio code https://wiki.debian.org/VisualStudioCode Note : After installation if you have logged in root the program might not execute. Login with another super user and check. How to create super user in Debian https://phoenixnap.com/kb/create-a-sudo-user-on-debian Enable mysqli script for PHP Read more…