You are here
Home > Operating System

Docker Cheatsheet

Docker provides a way to run applications securely isolated in a container, packaged with all its dependencies and libraries.   1. docker in linux can run dotnet 2. docker in windows can run linux An image is a lightweight, stand-alone, executable package that includes everything needed to run a piece of software, including the code,

IIS: Solution for HTTP 404 of WebService api after ssl integration

All the end point are getting HTTP 404 after ssl is integrated in IIS. To fix that issue, following the steps   1.  Add new binding <binding name="uploadBindingSSL" sendTimeout="00:05:00" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" transferMode="Streamed"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> <security mode="Transport"> <transport clientCredentialType="None"/> </security> </binding> 2.  Add another endpoint in service <endpoint address="" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="uploadBindingSSL" contract="Services.IService1" />    

Installing memcache on Linux ubuntu machine for PHP

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering. Memcached is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many problems facing large data caches. from Install Memcache step 1: apt-get

Installing Varnish on Linux ubuntu machine

VARNISH IS BUILT FOR SPEED, VARNISH  BRINGS THE BEST IN WEB & MOBILE PERFORMANCE Varnish is an HTTP accelerator designed for content-heavy dynamic web sites as well as heavily consumed APIs. Varnish already powers 2.5 million websites worldwide, and never stop scoping out ways to increase its speed and performance. Varnish is used

Installing Apache, MySql and PHP on linux ubuntu machine

LAMP is an archetypal model of web service stacks, named as an acronym of the names of its original four open-source components: the Linux operating system, the Apache HTTP Server, the MySQL relational database management system (RDBMS), and the PHP programming language. The LAMP components are largely interchangeable and not

IIS: Solution for error code CS0016 on IIS 10

If the following error is generated after deployed in IIS CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.x.xxxxx\Temporary ASP.NET This could be a fix: Step 1: Give modify permission to IIS_IUSRS on "c:\Windows\Microsoft.NET\Framework64\v4.x.xxxxx\Temporary ASP.NET" folder Step 2: Give modify permission to IIS_IUSRS on "c:\Windows\Temp" folder Step 3: Restart IIS ( may required)

Linux Cheatsheet

Creating symbolic link ln -s [sourcepath] [destination] example: ls -s /tmp/webportal /var/www/mysite To search for a particular package by name or description apt-cache search package- example: apt-cache search php5- Insalling module in Ubuntu sudo apt-get install nameofthemodule Watch Process Show all the running processes within your Linux environment using following one of these top watch -n 1 "ps u -C processname1,processname2,processname3" example: watch

Windows Cheatsheet

Creating Symbolic link: Step 1: Open command prompt Step 2: mklink /d SymbolicLinkPath TargetPath example: mklink /d C:\testfolder\SymbolicLink d:\testfolder\folderorfiletobelinked   Networking related commands: Find Your IP Address: Step 1: Open command prompt Step 2: ipconfig DNS can be flushed using following command: Step 1: Open command prompt Step 2: iipconfig /flushdns Following might be helpful for checking whether the connectivity between your pc