How to Install LAMP Server on CentOS 8

LAMP, an acronym for Linux, Apache, MySQL, and PHP, is a popular free and open-source stack used by website administrators and developers alike to test and host dynamic websites. The LAMP server comes with 4 core components: the Apache web server, MySQL or MariaDB database and PHP which is a popular scripting language that is … Read more

How to Install Arduino Software (IDE) on Linux

Arduino is a widely-used, open-source electronics platform used to create devices that interact with their environment using sensors and actuators. It consists of a programmable hardware board and a software (Integrated Development Environment(IDE)) for writing and uploading programs to the board. Before you can start building projects using Arduino, you need to set up the … Read more

A Closer Look at the First Sample Program

Although Example.java is quite short, it includes several key features that are common to  all Java programs. Let’s closely examine each part of the program. The program begins with the following lines: /* This is a simple Java program. Call this file “Example.java”. */ This is a comment. Like most other programming languages, Java lets … Read more

Compiling the Program

To compile the Example program, execute the compiler, javac, specifying the name of the source file on the command line, as shown here: C:\>javac Example.java The javac compiler creates a file called Example.class that contains the bytecode version of the program. As discussed earlier, the Java bytecode is the intermediate representation of your program that … Read more

Object-Oriented Programming

Object-oriented programming (OOP) is at the core of Java. In fact, all Java programs are to at least some extent object-oriented. OOP is so integral to Java that it is best to understand its basic principles before you begin writing even simple Java programs. Therefore, this topic begins with a discussion of the theoretical aspects … Read more

Firewalls

Firewalls A machine connected to the Internet that isn’t behind a firewall is a disaster waiting to happen. And you won’t have to wait long. A recent study by the Internet Storm Center has shown that unpatched Windows computers only lasted 20 minutes before they were infected by some malware. If you’re running Linux, you’re … Read more

How to Disable IPv6 in CentOS

An internet protocol version 6 (IPv6) is an identifier of a network interface that’s involved in an IPv6 computer network. If you don’t want to use Ipv6 addressing, you can opt to disable it either temporarily or permanently. Disabling IPv6 in CentOS First, check whether IPv6 is enabled on your CentOS 8 machine using the … Read more

How to Disable SELinux on CentOS

SELinux or Security-Enhanced Linux is a mechanism or security module that provides access control security policies. In simple terms, it’s a feature or service used for restricting users to certain policies and rules set by the systems administrator. How to Temporarily Disable SELinux on CentOS Before you start disabling SELinux on CentOS , it’s prudent … Read more

How to Install PuTTY on Linux

PuTTY is a free and open-source cross-platform SSH and telnet client that even after being around for over 20 years remains one of the most popular SSH clients being used especially on the Windows platform. PuTTY is available to install from the default official repositories in most Linux distributions. For instance, you can install PuTTY … Read more