tar-command

File Compression with ‘tar’ command

Published on :

Common Options -c –create Create a new archive. -x –extract Extract files from an archive. -t –list List the contents of an archive. -f –file=ARCHIVE Use archive file or dir ARCHIVE. -v –verbose Verbosely list files processed. Compression Options – -a –auto-compress Use archive suffix to determine the compression program. […]

node.js

How To Install Node.js on a CentOS 7 server

Published on :

Node.js is a Javascript platform for server-side programming. It allows users to easily create networked applications that require backend functionality. By using Javascript as both the client and server language, development can be fast and consistent. In this article, we would install Node.js from the source. Before installing the Node.js […]

disable firewalld on centos7

How to Stop and Disable Firewalld on CentOS 7

Published on :

Firewalld provides a dynamically managed firewall with support fornetwork/firewall zones to define the trust level of network connectionsor interfaces. It has support for IPv4, IPv6 firewall settings and forethernet bridges and has a separation of runtime and permanentconfiguration options. It also supports an interface for services or applications to add […]

chroor in linux

Linux / Unix: chroot Command Examples

Published on :

Change root (chroot) is an operation that changes the apparent root directory for the current running process and their children. A program that is run in such a modified environment cannot access files and commands outside that environmental directory tree. Requirements 1. root privileges 2. another working Linux environment,such as […]

vexplains

Network Configuration in Linux

Published on :

This article covers TCP/IP networking, network administration, and system configuration basics. Linux can support multiple network devices. The device names are numbered and begin at zero and count upwards. Forexample, a computer with two NICs will have two devices labeled eth0 and eth1 Local DNS resolution File: /etc/hosts contains a […]

vexplains.com

Red Hat / CentOS / Ubuntu Check and List Running Services Linux Command

Published on :

To get a list of the service on your system, you may run: service –status-all The output of service –status-all lists the state of services controlled by System V. The + indicates the service is running, – indicates a stopped service. You can see this by running service SERVICENAME status […]

vexplains.com

Install Apache, MariaDB, PHP (LAMP) stack on Arch Linux

Published on :

What is LAMP Stack? LAMP (Linux Apache MySQL PHP) consists of the Linux operating system as a development environment, the Apache HTTP Server as web server, the MySQL relational database management system (RDBMS) as DB (DataBase) system, and the PHP programming language as Server-side (Back End) programming language. LAMP is […]

change your default ssh

How to change default shell in Linux

Published on :

What is a SHELL? The shell executes a program in response to its prompt. When you give a command, the shell searches for the program, and then executes it. For example, when you give the command ls, the shell searches for the utility/program named ls, and then runs it in […]

htop-command

Process monitoring and information gathering in Linux

Published on :

Overall you have two ways to monitor processes at Linux host Static monitoring Interactive monitoring Static monitoring The most widely used command is ps (i.e., process status) command is used to provide information about the currently running processes, including their process identification numbers (PIDs). Here a few useful options to […]