Linux

Running Perl app in Azure App Services Webapps on linux

Azure has recently announced App Services on Linux. It supports running web apps natively on Linux. You can quickly create an app following Link and setup continuous deployment to publish the app. Web Apps on Linux is built using Docker. So you can use a Custom Docker image to deploy…

Creating SSH public key on OSX for Azure VM

open terminal and enter below command ssh-keygen -t rsa Follow prompt to provide passphrase and destination to store private, public keys. It creates two files ssh_key ssh_key.pub Use public key(*.pub content) to create Virtual Machine as in below link.. https://azure.microsoft.com/en-us/documentation/articles/…

Getting started with Linux Commands

How to Install a Package ? sudo tasksel Installs multiple related packages. It shows some popup, where we can select the number of packages. More Info : https://help.ubuntu.com/community/Tasksel Installing Apache server : Downloads and installs apache2. sudo apt-get install apache2 Deletes apache2 sudo apt-get remove apache2 Updates the…

adding users in ubuntu

sudo useradd -d /home/testuser -m testuser sudo passwd testuser make him sudoer my tweaking the following file /etc/sudoers when auto filling doesnt work using tab..... It is likely your default shell for adding users is Bourne shell, not bash. Look at /etc/defaults/useradd, and change: SHELL=/bin/…

finding for a text in files..

find . -type f -exec grep -l "cglbake" /dev/null {} +…