Skip to main content

Posts

Showing posts with the label WINDOWS

Tomcat : How to start Tomcat as a service on Windows 7,8,10

Step 1 : Download and Extract tomcat Download tomcat from the link in .zip format. Once download is complete extract the tomcat in the location you want, preferably C:\Tomcat\ . Step 2 : Install Tomcat as a Service Go to the tomcat directory C:\Tomcat\bin . in the address bar write cmd . This will open the command prompt window. Now in the command prompt window type the command service.bat install <Service -Name> Here <Service-Name> can be any name that you want to assign to your Service. When you run this command you will see the following output. Check the installed Service Now, lets see if the service is created or not. For this open Services . It will give the following screen. Configure Service to Run at Startup We can make the service to run on windows startup, for this, open the Service setting by double click on the service. It will open the following screen ...

GIT : How to generate SSH key in Windows for GIT

Points to Remember Download and install Puttygen to generate the SSH key to be used in GIT. Save the Private Key in a safe location and do not miss it. STEP 1 : Open Puttygen to generate Key Puttygen is a opensource plugin of Putty and is used to create Public/Private keys for WinSCP. When you open the puttygen you will see the following screen as shown in image below Now Select the following Select SSH-2 RSA (Type of key to generate tabs) 1024 (Number of bits to use to generate key) Click Generate button to generate the key. STEP 2 : Generating Key After you click the generate button you will see the following screen Keep clicking on the empty space provided until progress bar reaches the end This is used to create randomness in the key. Once the progress bar reaches the end, it will show the generated key. STEP 3 : Save Public & Private Keys Once your key is generated you will see the public key in the text box at the top as shown in the image below. The screen shows the follow...