How can I connect to linux vps/server?

How to Connect PuTTY

  1. Download Putty ; https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html 
  2. Launch the PuTTY SSH client, then enter your server’s SSH IP and SSH Port. Click the Open button to proceed.
    The main menu of PuTTY SSH client
  3. login as: message will pop-up and asks you to enter your SSH username. For VPS and Server users, this is usually root.  After entering your username, press Enter.
  4. Type your SSH password and press Enter again. For security reasons, the screen won’t show the password but will register what you type.
    Connecting to your server via PuTTY

Congratulations! You have successfully connected to your account using the PuTTY SSH client. You can list all available SSH commands by executing help via the terminal.

How to Erase a Recovery Partition in Windows

If you’ve ever looked at your hard drive or SSD in Windows Disk Manager and seen a partition with the description “Healthy (Recovery Partition),” that’s your recovery partition. Windows or your computer manufacturer (or both) puts these partitions there so you can restore your system to its original state in case of emergency. However, if you already have a full backup image on an external drive, which is better, you might want to delete the recovery partition to save space.

Unfortunately, Windows won’t let you delete the recovery partition in Disk Manager. When you try right clicking on it, Delete Volume isn’t an option as it is on other partitions. This limitation can be particularly annoying when you have a larger disk and you want to combine too partitions, but they are separated by a recovery partition. Whether you want to combine partitions or just save some space, here’s how to delete a recovery partition in Windows 10 (instructions also work for 7 or 8).

1. Type Cmd into the Windows search box. A list of results appears.

2. Right click on Command Prompt and select “Run as Administrator.”

3. Type “diskpart” at the command prompt and hit Enter.

4. Type “list disk” and hit Enter. A list of physical drives appears. If you’re doing this on a laptop, you probably only have one drive.

5. Type “select disk” and the number of the disk. The first (or only) disk is number 0. Hit Enter.

6. Type “list partition.” A list of partitions appears.

7. Type “selection partition” and the number of the recovery partition you wish to delete. There may be more than one.

8. Type “delete partition override.”

That will erase the partition. However, you should make sure you have a full system backup on an external drive so you can do a restore if you ever need to.

How to Install Nginx on CentOS 7

Nginx pronounced engine x is a free, open-source, high-performance HTTP and reverse proxy server responsible for handling the load of some of the largest sites on the Internet.

Nginx can be used as a standalone web server, and as a reverse proxy for Apache and other web servers.

Compared to Apache, Nginx can handle a much large number of concurrent connections and has a smaller memory footprint per connection.

This tutorial will teach you how to install and manage Nginx on your CentOS 7 machine.

Prerequisites

Before starting with the tutorial, make sure you are logged in as a user with sudo privileges and you don’t have Apache or any other service running on port 80 or 443.

Installing Nginx on CentOS

Follow the steps below to install Nginx on your CentOS server:

  • Nginx packages are available in the EPEL repositories. If you don’t have EPEL repository already installed you can do it by typing:

 

sudo yum install epel-release