Category: Linux

Linux Server Managment

Introducing NGINX 1.18 and 1.19

Today we release NGINX 1.19, the latest version of NGINX Open Source, the most popular web server on the Internet. This release signals the launch of the NGINX 1.19 development branch, following the release of the NGINX 1.18 stable branch last month. In this blog we discuss the NGINX versioning scheme, look back at what happened during the […]

Read More…

The post Introducing NGINX 1.18 and 1.19 appeared first on NGINX.

Linux run a command with a time limit (timeout)


{Updated} I want to start command called foo, and kill it if still running after given DURATION in seconds. How do I run a command a time Limit on Linux? How do I run a Linux command, and have it timeout (abort) after N seconds? Can you give timeout command examples in Linux?

The post Linux run a command with a time limit (timeout) appeared first on nixCraft.

Vi / VIM: Find And Replace All Text Substitute Command


{Updated} I am a new Linux user. I started to use vim or vi text editor. How do I find all occurrence of the word called ‘eth0’ and replace it with ‘br0’ on Linux operating systems?

The post Vi / VIM: Find And Replace All Text Substitute Command appeared first on nixCraft.

Introducing NGINX App Protect: Advanced F5 Application Security for NGINX Plus

Companies going through digital transformation have clear business imperatives. They include improving the customer experience with modern business applications, adopting agile practices to outpace competitors in the market, and leveraging market advantages to drive new revenue streams. Supporting these efforts are new application architectures that increase development efficiency and incorporate containers, microservices, and APIs. For […]

Read More…

The post Introducing NGINX App Protect: Advanced F5 Application Security for NGINX Plus appeared first on NGINX.

Linux / UNIX : Move File Starting With A Dash (-)


{Updated} In Unix or Linux operating systems, how do I move file(s) starting with a dash (e.g., /home/you/--filename.txt or /home/you/-filename.txt)? How do I copy a file whose name begins with dash/hyphen (‘-‘)?

The post Linux / UNIX : Move File Starting With A Dash (-) appeared first on nixCraft.

Ensuring Application Availability with F5 DNS Load Balancer Cloud Service and NGINX Plus

Application downtime is a big deal, costing Fortune 1000 companies between $1.25 billion and $2.5 billion annually according to an IDC report. An outage can impact customer confidence and bring your business to a standstill. To reduce downtime and mitigate its costs, you can start by removing points of failure from your existing infrastructure with a modern, scalable […]

Read More…

The post Ensuring Application Availability with F5 DNS Load Balancer Cloud Service and NGINX Plus appeared first on NGINX.

How to limit SSH (TCP port 22) connections with ufw on Ubuntu/Debian Linux


{Updated} Want to limiting SSH connections with ufw? Try the following syntax to deny connections from an IP address that has attempted to initiate 6 or more connections in the last 30 seconds.

The post How to limit SSH (TCP port 22) connections with ufw on Ubuntu/Debian Linux appeared first on nixCraft.

How to set up MariaDB SSL and secure connections from clients


{Updated} I am looking to set up MariaDB SSL (Secure Sockets Layer) and secure connections from MySQL client and PHP/Python application. How do I enable SSL for MariaDB server and client running on Linux or Unix-like system?

The post How to set up MariaDB SSL and secure connections from clients appeared first on nixCraft.

Search Multiple Words / String Pattern Using grep Command on Bash shell


{Updated} How do I search multiple strings or words using the Search Multiple Words / String Pattern Using grep Command on Bash shell appeared first on nixCraft.

How to delete KVM VM guest using virsh command


{Updated} I am a new Linux and KVM user. How do I delete a VM guest with virsh command line on Linux operating system? How do I delete a virtual machine called vps42 on Ubuntu or CentOS Linux server?

The post How to delete KVM VM guest using virsh command appeared first on nixCraft.

How to check whether AMT is enabled and provisioned under Linux


{Updated} How do I check whether Intel Active Management Technology (AMT) and Intel Standard Manageability (ISM) enabled or disabled under Linux using command line?

The post How to check whether AMT is enabled and provisioned under Linux appeared first on nixCraft.

Linux how long a process has been running?


{Updated} Explains commands to identify process IDs (PID) in Linux systems and then determine how long they have been running on your machine or cloud server using the CLI.

The post Linux how long a process has been running? appeared first on nixCraft.

How To Enable and Install EPEL Repo on CentOS 8


{Updated} How do I install the Extra Packages for Enterprise Linux (EPEL), such as Fedora EPEL repo on a CentOS Enterprise Linux server version 8.x? How to enable EPEL repo on CentOS 8?

The post How To Enable and Install EPEL Repo on CentOS 8 appeared first on nixCraft.

Linux mount an LVM volume / partition command


{Updated} I have some data on second SATA hard disk created by Fedora Linux installer with some data. How do I mount an LVM volume/partition in Linux to access my data? Can you tell me the command to mount LVM partition in Linux and access my data from another disk?

The post Linux mount an LVM volume / partition command appeared first on nixCraft.

Top 32 Nmap Command Examples For Linux Sys/Network Admins


{Updated} Nmap is short for Network Mapper. It is an open-source security tool for network exploration, security scanning, and auditing. However, the Nmap command comes with lots of options that can make the utility more robust and difficult to follow for new users. The purpose of this guide is to introduce a user to the Nmap command line tool to scan a host or network to find out the possible vulnerable points in the hosts. You will also learn how to use Nmap for offensive and defensive purposes.

The post Top 32 Nmap Command Examples For Linux Sys/Network Admins appeared first on nixCraft.

How to delete group in Linux using groupdel command


{Updated} I am a new Linux system user and sysadmin too. How can I delete a group in Linux operating system using the command line option? How do I remove a group from Linux? Can you tell us command to delete group in Linux?

The post How to delete group in Linux using groupdel command appeared first on nixCraft.

Regular expressions in grep ( regex ) with examples


{Updated} The Regular expressions in grep ( regex ) with examples appeared first on nixCraft.

Getting Started with the Ansible Collection for NGINX Controller

Recently, we announced the release of the Ansible collection for NGINX Controller. The collection contains a set of Ansible Roles that make it easy to incorporate NGINX Controller into your workflows. You can automate routine tasks such as generating ephemeral API tokens, managing certificate lifecycles, and configuring Controller objects (Gateways, Applications, and Components). If you’re an Ansible […]

Read More…

The post Getting Started with the Ansible Collection for NGINX Controller appeared first on NGINX.

Bash add pause prompt in a shell script ( bash pause command )


{Updated} Let us see how to pause our bash based shell script for a given number of times in seconds/minutes/hours before continuing to next operation/command running on a Linux or Unix-like systems.

The post Bash add pause prompt in a shell script ( bash pause command ) appeared first on nixCraft.

Bash Check If Shell Is Interactive or Not Under Linux / Unix Oses


{Updated} How do I check in GNU/Bash if a shell is running in interactive mode or not while writing shell scripts?

The post Bash Check If Shell Is Interactive or Not Under Linux / Unix Oses appeared first on nixCraft.