Recent Ubuntu Posts from Tech Monger :///feeds/ubuntu/ 2020-11-03T17:53:50.426761Z Werkzeug Linux AWS Command Line Interface Installation https://techmonger.github.io/79/aws-cli-linux 2020-11-03T17:53:50.426761Z 2020-11-02T16:52:13.370421Z Tech 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. SOLVED : Authentication refused: bad ownership or modes for directory https://techmonger.github.io/76/key-based-ssh-error 2019-12-06T17:52:58.536626Z 2019-12-06T17:49:47.662642Z Tech 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. How Password Hashing Works in Ubuntu Linux https://techmonger.github.io/74/linux-password-hashing 2019-07-06T14:12:28.378608Z 2019-07-06T12:42:06.108035Z Tech 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 Crash https://techmonger.github.io/73/crash-auto-restart 2019-06-14T13:54:00.029529Z 2019-06-10T11:20:17.800411Z Tech 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. Standalone TOR Setup in Ubuntu and Debian https://techmonger.github.io/66/standalone-tor-ubuntu 2018-12-05T10:55:18.978671Z 2018-12-05T10:08:09.408755Z Tech Monger <p class="lead"> If you want to anonymize all the traffic from your machine then TOR browser is not solution. You would need to pass traffic via socks proxy with the help of the standalone version of the TOR. In this tutorial we will install the TOR system wide on Ubuntu. However same instructions would work for all debian based distribution such as Ubuntu, Raspbian etc. So if you want to use TOR over raspberry pi then follow this guide. Host Static Website on Google Cloud for Free https://techmonger.github.io/45/static-webiste-google-cloud 2018-08-23T09:00:05.989057Z 2018-08-19T15:06:54.379329Z Tech Monger <p class="lead"> In this tutorial we will publish static website on google cloud for free. We will use f1 micro instance on google compute engine to get free hosting. Google provides 744 free hours per month for the f1 compute engine instance which will be same as one month of free hosting. We assume that you have working google account and have signed up for google cloud. Please follow these steps to host your static site on Google VM. Setup SFTP with Google Cloud https://techmonger.github.io/44/sftp-google-cloud-vm 2018-08-19T16:43:33.887726Z 2018-08-19T15:00:16.044370Z Tech Monger <p class="lead"> In this article we will configure <abbr title="Secure File Transfer Protocol">SFTP</abbr> connectivity between local linux machine and google cloud vm. However steps will be same for any other operating system like windows, mac etc. This article builds upon previous tutorial where we have established <a href="/43/ssh-google-vm/" title="Google Cloud - Key Based SSH Configuration">ssh connectivity between local machine and google cloud vm</a>. It is prerequisite to first establish ssh connection and then follow this tutorial. Public Key - SSH Google Cloud VM from Linux https://techmonger.github.io/43/ssh-google-vm 2018-08-12T17:17:09.538740Z 2018-08-11T18:38:13.231680Z Tech Monger <p class="lead"> If you have spun Linux compute engine instance on google cloud and want to connect it from some other linux machine then you can do it by configuring your public key with google cloud vm. In this article we will learn how to setup public key based ssh connection with your google compute instance and connect it using remote ubuntu machine. Install Redis without Root https://techmonger.github.io/40/redis-without-root 2018-08-08T19:02:36.603430Z 2018-08-04T08:14:36.247453Z Tech Monger <p class="lead"> If you want to install redis on Linux machine but do not have an administrative access (root access) then you can follow this installation guide. This setup will work on all linux distributions like Ubuntu, Fedora, Red Hat, Debian, Raspbian etc. This will also work on Mac as it does not make use of packet managers for installation. If you are windows users then please check <a href="/35/install-redis-windows/" title="Setup Redis on Windows with non Admin access" >redis windows installation without admin access</a>. Solution - The Volume boot has only * MB disk space remaining https://techmonger.github.io/28/boot-cleanup-ubuntu 2018-03-18T16:12:20.474390Z 2018-03-16T18:04:31.462520Z Tech Monger <p class="lead"> If you are getting message prompt in your ubuntu operating system <mark>The Volume "boot" has only * MB disk space remaining</mark> then it's time to free up some space inside <code class="bash">/boot</code> partition in your operating system. But it should be carefully handled because /boot directory contains files responsible for starting your machine which includes <code>kernel</code>, <code>initial ramdisk (initrd)</code>, <code>grub(bootloader)</code> and <code>System Map</code> among others. Host web site from Home without Static IP https://techmonger.github.io/22/rpi-web-app 2018-08-07T19:04:41.783407Z 2018-01-21T15:09:50.964577Z Tech Monger <p class="lead"> If you want to host web application from home computer or with raspberry pi then you can use free and open source software <a href="/20/httptunnel-working/" title="What is localtunnel and How it works">Localunnel</a>. Localtunnel is simple to use and works behind Network Address Translator (NAT) which means it does not require you to have Public IP. Nor it assumes you to have control over firewall configuration of router. In this tutorial we will demonstrate it by building simple python web application in <a href="/tag/flask/" title="Flask Tutorials">flask</a> and host it using Gunicorn. However if you have static website or dynamic web application running on Apache, NGNIX or Microsoft IIS locally then you can also follow along by directly jumping to the <a href="#expose" title="">exposing web app</a> section.