Posted by chris on: 2019-05-09, Category: Vim
Let’s start by looking at searches and doing search and replace operations within Vim. You can do a search in normal mode by using /searchstring . This will search forward through the file for searchstring . Likewise, running ?searchstring will search backwards through the file. After running a search once, you can repeat it by using n in command mode, or N to reverse direction.
When you want to search for a string of text and replace it with another string of text, you can use the syntax :[range]s/search/replace/. The range is optional; if you just run :s/search/replace/, it will search only the current line and match only the first occurrence of a term.
Posted by chris on: 2019-05-07, Category: Java
In this tutorial, we’ll be showing you how to install Oracle’s Java 8 programming language specifically onto a CentOS 7 server. This simple object-oriented language is used for many of the applications and websites you come across today. Let’s jump right in!
Pre-flight
Open the terminal and login as root.
Working on a Linux CentOS 7 server
No installations of previous Java versions
Posted by chris on: 2019-05-07, Category: PHP
CentOS 7 ships with PHP version 5.4 which has been officially EOL for quite some time and is no longer supported.
By using PHP 7 your applications will load faster and consume less system resources.
In this tutorial, we will explain how to install or upgrade to PHP 7.0. 7.1, 7.2 and 7.3 on a CentOS 7 system. We’ll also show you how to integrate PHP with Nginx and Apache.
Also prior to installing a specific PHP 7.x version make sure that it is supported by your application.
Posted by chris on: 2019-05-07, Category: Git
Git released version 2.21 on Feb 24, 2019. This tutorial is for installing the latest version release of Git 2.21 on CentOS/RHEL 7/6.
Let’s walk through the process of installing Git on CentOS 7.
Prerequisites
- A Linux-based system with a CentOS 7 installed
- A non-root user account with sudo privileges
Tools/Software
- Default package installer, Yum
- CentOS development tools and default repositories