How to migrate website from shared hosting to VPS hosting

Introduction Here I will guide you how to migrate existing website from shared hosting to VPS hosting. I will talk about mainly PHP based website, for example, WordPress that has MySQL database for storing the information and runs on Apache web server. But this website may be based on any technology with any database as its persistent storage. The same idea may be applicable to websites built on other technologies. You want to migrate from shared to VPS server hosting when you see a potential growth in number of visitors…

Continue

How to install Linux, Apache, MySQL, PHP (LAMP) stack on CentOS 7

Introduction This guide will walk you through the installation process of LAMP stack on CentsOS 7 in VPS server. LAMP is an acronym that represents Linux operating system, Apache web server, MySQL database server and PHP scripting language, which is used to build a dynamic web application whose data are stored into MySQL server and run this web application on Apache web server in Linux environment. As we are going to install softwares on CentOS 7 environment in VPS server, so our first requirement is already fulfilled by the hosting…

Continue

Initial VPS Server setup on CentOS 7

Introduction This guide will walk through initial VPS server setup on CentOS 7. When you bought a new VPS hosting then you need to perform some initial configurations such as new user creation, restrict permissions, restrict login etc. for your VPS server. The hosting company send an email with password which is required to login with your root user. The hosting company may additionally send you another username which is a regular user. It is advisable to perform activities on your server using regular user and restrict the login for…

Continue

How to Login to Linux Server with SSH key from Windows

Introduction In this post I will show you how to login to your Linux Server with SSH key from Windows using PuTTY. PuTTY is an open source software and SSH and telnet client developed for the Windows platform. I will connect to CentOS 7 (Linux) VPS server with SSH key from Windows operating system using PuTTY client. Prerequisites In order to connect to remote server with SSH key pair using PuTTY you need to generate private/public SSH key pair. You can find the tutorial Manually SSH key generation in Windows to…

Continue

Manually SSH key generation in Windows

Introduction This guide will show you how to manually generate SSH key in Windows environment. We will use here Putty to generate private and public SSH keys in Windows. PuTTY is an open source software and SSH and telnet client developed for the Windows platform. When you install the PuTTY client, you also install the PuTTYgen utility, which is what you will use to generate your SSH key for a Windows enviroment.

Continue