How to install CMake on CentOS 8

Welcome back to another tutorial of CentOS. In our previous CentOS tutorial we learn how to install google chrome in CentOS.
Today in this post we will see how to install CMake On CentOS.

before start this tutorial we will take a short overview of CMake and CentOS.

CMake installation on CentOS

What is CMake.?

so basically CMake is a free, opensource and cross-platform family of tools designed to build, test and package the software.
It is developed by Kitware for a powerful, cross-platform build environment for open-source projects. 

Before Installation

Before start to install the CMake on our Linux machine. we must have the non-root user account on our desktop with sudo privileges.
so just follow the below steps for easy installation.

Install Latest Version of CMake CentOS

So before installing CMake we need to download its package first, and the reason behind is that because the CentOS Global Repository  does not provide us a latest version of CMake.
so no need to worry about it we will download our latest CMake package manually.

download CMake latest version

so just follow the below steps to download the latest version of CMake.
first we open the terminal by pressing ctr+alt+t in our CentOS machine.
for downloading latest package copy the below command and run it on terminal.

after running the above command the latest package will be downloaded in .tar format. so we are extracting this package by using tar command.

after extracting our CMake package we will navigate it by using cd command.

Now we are running bootstrap file by following command.

After running the bootstrap command we need to Run make command

Now we will install CMake by below command.

Confirm installation and check version

Now confirm the installation and check the version by using below command.

So finally we learn how to install CMake in our CentOS machine. if this tutorial helps you than please support us and sharing this tutorial with your developer buddies.

How to Install google chrome web browser on CentOS

Welcome back to another tutorial of CentOS. in our previous post we learn how to install XAMPP in CentOS.
today in this CentOS tutorial we will learn how to install google chrome web browser on CentOS.
so before start this tutorial lets take an short overview regarding google chrome.

install google chrome on centos

Why Google Chrome

As we all know Google Chrome is developed by Google. Google Chrome is one of the most powerful, safest, fastest and most popular web browser in the world.
Google Chrome is not the opensource browser itself, but it is based on the Chromium browser which is also available for CentOS. It is a secure and easy to use browser.

Install Google Chrome

Before start to install the google chrome on our Linux machine. we must have the non-root user account on our desktop with sudo privileges.
so just follow the below steps for easy installation.

Step 1: Download the .rpm package of Google Chrome

so just copy the below command and run it on your terminal to download the .rpm package.

Step 2: Installation Process

so after download the .rpm package , will need to have sudo privileges. To install Google Chrome use the below command.

after running this command on your terminal it will ask for your password. so just enter the password of your system and continue.

Step 3: Start Chrome

after successfully installation of chrome , there are two way to start google chrome. first one is the universal way, go to the applications, select internet and click on the google chrome.
the another way is go to the terminal and run the below command.

Upgrade Google Chrome

so if you want to upgrade your google chrome version just copy the below command and simply run it on your terminal section.

So finally we learn how to install google chrome in our CentOS machine. if this tutorial helps you than please support us and sharing this tutorial with your developer buddies.

How to Install xampp in Linux CentOS7

Welcome back to another tutorial of CentOS.In our previous post we learn how to install Apache Web Server on CentOS 7.
today in this post we learn How to Install xampp in Linux CentOS7.
before start this CentOS tutorial we should take an overview of XAMPP.

xampp installtion in centos

What is XAMPP.?

so basically XAMPP is a local web server which is majorly used by developers to run their program on local machine.
it was developed by Apache friends and it is available on 11 different languages.

Full form of XAMPP

XAMPP is a local web server which are widely used by developer community to test their programs on local machine.
so the full form of XAMPP is
X- Cross platform
A- Apache
M- MySQL
P- PHP
P- Perl

Before start to install XAMPP on our linux machine. we must have the non-root user account on our desktop with sudo privileges.

Install XAMPP

so before installing XAMPP we need to download the latest package of XAMPP.
To download XAMPP run the below command in the terminal using wget command

Now we will give the permission to the downloaded file to make it executable by following command.

After setting up the permission run the file using the below command

after hitting the above commands we will giving some permission to XAMPP . just follow the below images for better understanding.

xampp set up on centos

Click on the next button.
Now it will ask us to select components to install, it is recommended to leave it as default and just hit on the Next button.

xampp components

In the next step it will be informed of the location where the XAMPP setup is going to be installed so simply just click on the next button again.

xampp location in linux

Now  it will ask us to install sponsored applications such as Drupal, Joomla, and WordPress so just click on the next button.

install wordpress in xampp

now the installation process is starts.

xampp installation process

after end of installing process just click on the finish button to launch.

launch xampp

Start and verify Xampp

After the installation we are just run a simple command to verify the xampp installtion so just copy the below command and run it on your terminal.

Now go to the browser and search http://localhost to see the output of XAMPP.

Uninstall XAMPP

So if you want to uninstall this setup just copy the below commands and run it on your terminal.

Now unstall XAMPP by following command.

Now you will be prompted to confirm uninstalling XAMPP. simple Click on yes to uninstall XAMPP .
After completing the Uninstallation process run following command to remove /opt/lampp directory

Conclusion

so finally we learn how to perform installation the XAMPP on our CentOS platform.
if you have any query please ask and if this article helps you than please share it with your developer buddies.

How do I Install and enable PHP modules

Welcome back to shortlearner.com, in our previous post we learn how to install Apache Web Server on CentOS.
today in this post we will see How do I Install and enable PHP modules.

so before start this tutorial we should take an small overview about PHP IMAP Module and its advantages.

Enable IMAP extension

What is IMAP.?

so basically IMAP is a mailbox with having a powerful and open source library to connect mailbox with POP3, IMAP and NNTP using the PHP IMAP extension.

in PHP by default the IMAP extension is disabled. so we are writing a PHP script for finding that PHP IMAP is installed or not.
so we are creating a file with the name of info.php . to find the information about PHP.

so after running this info.php file ,we got some out like below image.

PHP IMAP Extension

Enable IMAP in Xampp

just follow the below steps to enable IMAP extension in xampp.
1.go to the file \xampp\php\php.ini and open php.ini in your editor.
2. find ;extension=php_imap.dll
3. Remove semicolon from ;extension=php_imap.dll.
4. Now, now it should looks like extension=php_imap.dll
5. Save your file and restart the xampp server.

Enable IMAP in Linux

so if you are a linux user and want to enable IMAP in your server. so just follow the below steps for enabling it.
1. open your terminal and run the below commands.

2. for enabling IMAP use the follow command.

3.after enable IMAP we should restart our webserver by following command.

Install IMAP on Ubuntu

after installing IMAP on PHP7.1 restart apache by below command.

hope you also install and enable the PHP module by following all the above steps. if you still having any problem ,feel free to contact us.

How to install Node JS in CentOS-7

Welcome back to shortlearner.com, in our previous post we learn how to install Apache Web server on CentOS.
today in this post we will see How to install Node JS in CentOS-7.
so before start this tutorial we take an overview about Node JS and CentOS.

What is CentOS

CentOS is a Community Enterprise Operating System. It is an open-source platform for non-productive developmental work.
For production concern, those works can be migrated to RHEL (Red Hat Enterprise Linux) Linux distribution platform.

install node js on centos

What is Node JS

The Node.js platform is a server-side runtime environment based on JavaScript.
Node.js is a super-fast, high-performance and lightweight framework, ideal for asynchronous programming. With Node.js you are able to execute multiple actions at the same time.
so basically Node JS is a platform where developers can use JavaScript for backend development.

Also Read
How to Install phpMyAdmin on CentOS 7 – Google Cloud

Before Installation

Before the installation process of Node JS make sure you have already installed these below stuff.

Apache Web Server  – We need to install Apache! Check out our article Install Apache on CentOS 7.
PHP  – Then we need to install PHP! Check out our article Install PHP on CentOS.
MySQL  – Then we need to install MySQL! Check out our article Install MySQL on CentOS 7.
follow the below steps for installation od node.js

Step 1: VM Setup

so in the very first step logged in to your google cloud account and select the Compute Engine option from the menu.
follow the below image for better understanding.
Now we can see VM instances in Compute Engine. Click on that as shown in below image

google cloud VM instance

so we just click on the open in browser window and than we will see terminal there. follow the below commands on the terminal.

Step2: Add Yum Repository

so before adding this repository we should know about what is Yum Repository.

YUM (Yellowdog Updater Modified) is an open-source command-line that creates, maintains, updates, removes and manages a high-quality set of packages on CentOS.

Step 3: Build native add-ons:

after installation of YUM repository ,we have to install native add-ons from NPM We will install a compiler.

The latest version of Node.js

The stable version of Node.js

Step4:Install Node.js

Now are having the packages of Node.js and NPM. We can install the Node.js package using the following command.
By executing below command, Node.js and NPM packages both will get install.

After installation of Node.js

Step1:Testing Node.js

To check the installation of Node.js, we need to execute the below command. This will display you the version we installed.

Step2:Testing NPM

To check the installation of NPM, we need to execute the below command. This will display you the version of NPM we installed.

So finally we learn the installation process of Node JS on CentOS 7.