Last 10 Posts from Tech Monger:///feeds/2021-04-30T17:47:40.093035ZWerkzeugExecutable But Not Readable Script - Linuxhttps://techmonger.github.io/83/executable-but-not-readable2021-04-30T17:47:40.093035Z2021-04-30T17:20:15.805314ZTech Monger<p class="lead">Many time you want to allow other Linux users to execute your code but restrict them from reading or writing it. Below we will show you unix trick where you can make binary file <em>non readable to users but allow execution</em> by adding <code>setuid</code> to your file.</p>
Generate Executable Binary From Python Program - Pyinstallerhttps://techmonger.github.io/82/pyinstaller-script-to-binary2021-04-30T17:03:17.691104Z2021-04-30T14:40:21.328054ZTech Monger<p class="lead">
As a python developer you might want to ship your code to other platforms where python interpreter is not installed. In such event you would need to rely on the binary execution. You can use <code>pyinstaller</code> to achieve your aim; where you can convert your python code to executable binary.
Amazon Redshift ODBC Connection Linuxhttps://techmonger.github.io/81/redshift-odbc-linux2021-04-30T17:06:00.744922Z2020-11-04T13:12:52.316376ZTech Monger<p class="lead">
In this tutorial, we will download & Install ODBC driver for the Amazon Redshift Database in Redhat Linux. We will make ODBC entry which will help us connect to the AWS Redshift.
RHEL Install GIT LFS Installationhttps://techmonger.github.io/80/git-lfs-rhel2020-11-04T13:08:43.939390Z2020-11-04T12:56:17.414803ZTech Monger<p class="lead">
<abbr title="GIT Large File System">GIT LFS</abbr> may not be shipped inside redhat <abbr title="Extra Packages for Enterprise Linux ">EPEL</abbr> repository. We will learn how to install it manually using rpm package from the official release page.
Linux AWS Command Line Interface Installationhttps://techmonger.github.io/79/aws-cli-linux2020-11-03T17:53:50.426761Z2020-11-02T16:52:13.370421ZTech Monger<p class="lead">
While working with Amazon Web Services (AWS) it is essential to have command line utility installed on the machine to perform the administration or development activities. Below we will find steps for the AWS CLI Installation on Linux.
Check ODBC Connectivity from Pythonhttps://techmonger.github.io/78/odbc-test-pyodbc2020-11-03T17:08:45.194955Z2020-11-02T16:52:05.869541ZTech Monger<p class="lead">If you are connecting to the <abbr title="Open Database Connectivity">ODBC</abbr> database then it is necessary to test connection before creating ODBC data source inisde <code>ODBC.INI</code> file. Below we will create simple python script which initiate ODBC connection with details provided inside ODBC.ini file and output if connection is working or failing.</p>
Postgres ODBC with Mutual SSL in Informaticahttps://techmonger.github.io/77/odbc-ssl-postgres2020-11-02T17:50:04.895595Z2020-07-01T14:36:42.511620ZTech Monger<p class="lead">Encryption has become security norm and communicating with databases on insecure network should not be an exception to this norm. In this tutorial we will learn how to connect to postgres database using ODBC connection which is configured to use 2 way SSL connection.</p>
SOLVED : Authentication refused: bad ownership or modes for directoryhttps://techmonger.github.io/76/key-based-ssh-error2019-12-06T17:52:58.536626Z2019-12-06T17:49:47.662642ZTech Monger<p class="lead">
If you have setup key based authentication between two different servers for SSH or SFTP then you might face issues while initiating SSH connection. Below we will see how to solve these issues by considering different failure vectors. We assume that you have already setup <code>authorized_keys</code> based keyless ssh login.
Denodo VDP ODBC Driver Installation for Informaticahttps://techmonger.github.io/75/informatica-denodo2020-11-02T17:50:30.830075Z2019-08-31T11:14:56.806961ZTech Monger<p class="lead">
In this article we will learn to install ODBC Driver for Denodo VDP database. We will use installed ODBC driver to establish connectivity between Informatica Powercenter Clients and Denodo Server. You can also use <a href="/72/informatica-postgres-odbc/" title="Posgres ODBC Connection For Informatica">postgres odbc drivers to connect to the regular denodo database</a>.
How Password Hashing Works in Ubuntu Linuxhttps://techmonger.github.io/74/linux-password-hashing2019-07-06T14:12:28.378608Z2019-07-06T12:42:06.108035ZTech Monger<p class="lead">
If you ever wondered where and how user passwords are stored in linux file system then this post will answer most of your questions. Below we will discuss password hashing in ubuntu but many other linux distributions follow this pattern. Below read assumes that you have basic familiarity with hash function like md5 or sha-256.
Script to Recover Web Application After Crashhttps://techmonger.github.io/73/crash-auto-restart2019-06-14T13:54:00.029529Z2019-06-10T11:20:17.800411ZTech Monger<p class="lead">
So you have web application running in production but it goes down unexpectedly and you get midnight calls to take up application. In this post we will build simple script that will recover web application after server crash due to over resource utilization.