Category Archives: CentOS

Solved firewall-cmd command not found

This short video will show you how to correct the error: This error is actually cased by not having firewalld installed on your system. In this video you will see how to install firewalld To fix this issue you need … Continue reading

Posted in CentOS | Tagged | Leave a comment

How to check MariaDB version

“MariaDB is a community-developed fork of the MySQL relational database management system intended to remain free under the GNU GPL. Development is led by some of the original developers of MySQL, who forked it due to concerns over its acquisition … Continue reading

Posted in CentOS, Computer Science, Databases, linux, mariadb, mysql | Leave a comment

How to Setup CentOS 7 on AWS

This tutorial will show you how to create a CentOS 7 instance on AWS. We assume that you already have you AWS account created and that you are logged in already. Step 1 Click Services and then EC2 Step 2 … Continue reading

Posted in AWS, CentOS, Cloud, linux | Tagged , , , | 2 Comments

How to Run Wildfly on CentOS 7

WildFly, formerly known as JBoss AS, or simply JBoss, is an application server authored by JBoss, now developed by Red Hat. WildFly is written in Java and implements the Java Platform, Enterprise Edition (Java EE) specification. It runs on multiple … Continue reading

Posted in CentOS, Computer Science, wildfly | Tagged , , | Leave a comment

How to change the hostname in CentOS 7

First edit the hostname file by typing: sudo vi /etc/hostname Delete the line that you see in the file so it our case we deleted: localhost.localdomain Now¬† enter your hostname, in our case we called it darrens centos.   We … Continue reading

Posted in CentOS, linux | Leave a comment

How to install ElasticSearch on CentOS 7

“Elasticsearch is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elasticsearch is developed in Java and is released as open source under the terms of … Continue reading

Posted in CentOS | Tagged , , , | Leave a comment

How to run a command on Startup on Linux (works on CentOS & Ubuntu)

Hi there, In this example I had a need to record boot up times in a file that i could access easily. To do so I decided to run a command on startup. This tutorial tool place on CentOS but … Continue reading

Posted in CentOS, linux | Tagged , , | 1 Comment

How to statically assign DNS in CentOS 7

You can statically assign DNS in Centos 7. In this example we will assign Googles DNS, which is: 8.8.8.8 8.8.44 To begin we will first edit the our internet adaptor, do so run the command: sudo vi /etc/sysconfig/network-scripts/ifcfg-enpXXX in our … Continue reading

Posted in CentOS | Tagged , , | Leave a comment

How to disable root ssh logins on CentOS 7

If you have a server that’s available over a network it’s generally a good idea to disable root access over ssh. The reason for this, is that, scripts run attempting to access¬† your server and these scripts use the root … Continue reading

Posted in CentOS, linux | Tagged , | Leave a comment

How to install cPanel / WHM on CentOS 7

Hi there, cPanel is an online Linux-based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. This tutorial will show you the steps involved to install cPanel … Continue reading

Posted in CentOS, cPanel | 2 Comments