How to Use SSH on Windows Systems

Introduction

Image result for sshSSH or Secure Shell is  a cryptographic network protocol for operating network services securely over an unsecured network (Wikipedia). If you need to access a server with SSH, you will have to use an SSH client. Linux and Mac OS systems have built-in SSH clients while Windows does not have any built in SSH clients.

In this tutorial, we will show you how to use SSH on Windows.

Use SSH on Windows

Since Windows does not have a built in SSH client, we will have to download and install an SSH client. There are few SSH clients that can be downloaded. Among these are Cygwin, Putty, FireSSH and Secure Shell App. FireSSH is a plugin for Mozilla Firefox. Secure Shell App is an extension for Google Chrome. If you prefer using browser extensions, choose between FireSSH or Secure Shell App. Cygwin is more like making your system be aware of Unix like commands. I do not prefer using Cygwin. I prefer using Putty thus the purpose of this tutorial.

We will be using the most widely used SSH client in Windows, which is Putty. Here are the steps in acquiring Putty to use SSH on Windows:

  1. All you have to do is download the MSI file (Windows Installer) in this link https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html. If you are using a 32-bit operating system, select the 32-bit link. Otherwise, use the 64-bit link.
  2. Afterwards, execute and install the downloaded file.
  3. Locate and run Putty.exe. This can be located in your Start Menu.

You should see a configuration window for Putty like this:

how to Use SSH on Windows

From the configuration window, you can set the host name or IP address of the server and click Open button.

You can read more about Putty from this link: https://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html

That’s it! That’s how you can use SSH on Windows. Let me know if you have any questions.

How to Block Advertisements Using Plugin

Introduction

There are a couple of add-ons or plugins that block advertisements. I already used a couple of those plugins that block advertisements. However, there’s one plugin that has been the most effective compared to all add-ons or plugins for Google Chrome, Mozilla Firefox, Safari and Microsoft Edge. I have only tried using it in Google Chrome, Mozilla Firefox and Microsoft Edge. It is uBlock Origin.

How to Block AdvertisementsuBlock Origin is free and open-source. It is actively developed and maintained by the founder itself. It also uses less resources compared to other add-ons or plugins which has the same functionality.

uBlock Origin does only work on desktop and does not work on mobile phones (iOS and Android).

If you use uBlock Origin, you are one step closer to having a more secure browsing experience as it blocks most of the malicious websites. It also blocks annoying pop-ups which are most of the time not safe.

Install uBlock Origin to block advertisements.

Block Advertisements Using Plugin

For Google Chrome, open this link uBlock Origin using your Google Chrome browser. Then, click the Add to Chrome button.

For Mozilla Firefox, open this link uBlock Origin using your Mozilla Firebox browser. Then, click the Add to Firefox button.

For Microsoft Edge, you can use any browsers and open this link uBlock Origin. Then, click the Get button. This should open the Microsoft Store. Once the Microsoft Store is opened, click on Get button.

For other browsers not stated above, you can go to uBlock Origin’s for more information at https://www.ublock.org/. You will see the list of browsers supported from this website.

That’s it! That’s how to block advertisements using plugin.

P.S.

We know that web sites now are overrun by advertisements. Ads are not necessarily bad but there are some advertisements that can really slow your browser which affects your browsing experience. It is better to install uBlock Origin so you can control which advertisements you want to show or block.

How to Install Webmin and Virtualmin on Ubuntu 16.04

Introduction

Before we proceed on how to install Webmin and Virtualmin on Ubuntu 16.04, let’s get to know first what are Webmin and Virtualmin.

How to Install Webmin and Virtualmin on Ubuntu 16.04Webmin is a web-based system configuration tool for Unix-like systems. With it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify and control open source apps, such as the Apache HTTP Server, PHP or MySQL.

How to Install Webmin and Virtualmin on Ubuntu 16.04

Virtualmin is a domain hosting and website control panel, which gives the ability to create and manage many domains and is available in both open source and commercial versions. It is a free alternative to cPanel.

Requirements

Before we proceed on how to install Webmin and Virtualmin on Ubuntu 16.04, we need to know if your server meets the minimum requirements.

I prefer installing Webmin and Virtualmin on a freshly installed operating system. The supported operating systems are the following:

  • CentOS/RHEL 6 and 7 on i386 and x86_64
  • Debian 7, 8, and 9, on i386 and amd64
  • Ubuntu 14.04 LTS, and 16.04 LTS on i386 and amd64 (non-LTS releases are not supported)

You can check out more information on the supported operating systems via this link: https://www.virtualmin.com/os-support.

In this tutorial, we will be installing Webmin and Virtualmin on Ubuntu 16.04 LTS.

You can check more information on this page: https://www.virtualmin.com/download.html

Install Webmin and Virtualmin

Make sure your system is up to date.

sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y

Make sure that your hostname is correctly configured. You can check this by running the following command.

hostname -f

If the above command does not show your hostname, run the following command:

sudo hostnamectl set-hostname yourfullyqualifieddomainname

Install Webmin/Virtualmin using the following commands:

wget https://software.virtualmin.com/gpl/scripts/install.sh
sudo /bin/sh ./install.sh -y

The above command will take some time to install depending on how fast your server is.

After installing, it will give you a link on how to access your newly installed Webmin and Virtualmin. Most of the time it will be https://yourfullyqualifieddomainname:10000.

Access your newly installed Webmin and Virtualmin using your browser and complete the Post-Installation Wizard.

That’s it! You have successfully installed Webmin and Virtualmin! Happy hosting!

How to Install WordPress using SSH

Before we begin on how to install WordPress using SSH, let’s have an introduction about WordPress and SSH.

WordPressHow to Install WordPress Using SSH is a free and open-source content management system based on PHP and MySQL. Features include a plugin architecture and a template system. It is most associated with blogging, but supports other types of web content including more traditional mailing lists and forums, media galleries, and online stores.

There are a couple of ways to install WordPress to your server. In this tutorial, I will show you how to install WordPress using SSH.

Image result for sshSSH, also known as Secure Socket Shell, is a network protocol that provides administrators with a secure way to access a remote computer. SSH also refers to the suite of utilities that implement the protocol.

Before you proceed with this tutorial on how to install WordPress using SSH, make sure to setup your database name, username and password.

Here are the steps:

Login to your SSH terminal and navigate to your root directory of your website. In my case, it’s under the public_html folder.

cd public_html

Download the latest WordPress using the following command:

wget http://wordpress.org/latest.tar.gz

Extract the downloaded file using this command:

tar xfz latest.tar.gz

Move the contents of the WordPress files into the root directory of your website using this command:

mv wordpress/* ./

Delete the WordPress directory using this command:

rmdir ./wordpress/

Delete the downloaded file using this command:

rm -f latest.tar.gz

Make sure to navigate to your website and complete the WordPress configuration wizard.

You’re done! That’s how you install WordPress using SSH. You can install your desired plugins and themes.

The steps above can be done in one command:

wget http://wordpress.org/latest.tar.gz && tar xfz latest.tar.gz && mv wordpress/* ./ && rmdir ./wordpress/ && rm -f latest.tar.gz

Don’t forget to navigate to your website and complete the WordPress configuration wizard.

Let me know your thoughts about on “How to Install WordPress Using SSH” by commenting below.