Lateo.net - Flux RSS en pagaille (pour en ajouter : @ moi)

🔒
☐ ☆ ✇ nixCraft

Set Up a Basic Iptables Firewall on Amazon Linux AMI

Par Vivek Gite — 10 octobre 2019 à 21:41

How do I set up a basic iptables firewall on Amazon Linux AMI running on EC2 or Lightsail instance?

The post Set Up a Basic Iptables Firewall on Amazon Linux AMI appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Modern Linux Laptops with Coreboot Firmware From System76

Par Vivek Gite — 10 octobre 2019 à 19:20

Are you looking for modern Linux laptops with coreboot? The wait is over. Coreboot is a free and open-source software. The coreboot project aimed at replacing the proprietary BIOS firmware and blobs. System76 recently announced two Intel laptops with Coreboot, which as an alternative to proprietary BIOS. These laptops are using Intel 10th Gen CPUs.

The post Modern Linux Laptops with Coreboot Firmware From System76 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to install htop on Amazon Linux AMI

Par Vivek Gite — 9 octobre 2019 à 21:38

I am a new user of Amazon Linux AMI operating system. How do I install htop on Amazon Linux AMI using the yum command?

The post How to install htop on Amazon Linux AMI appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Amazon Linux AMI install mysql client programs for RDS

Par Vivek Gite — 9 octobre 2019 à 20:10

How do I install mysql command for management Amazon RDS or Managed Databases for Amazon Lightsail on Amazon Linux AMI?

The post Amazon Linux AMI install mysql client programs for RDS appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Install LXD pure-container on Ubuntu 18.04 LTS

Par Vivek Gite — 9 octobre 2019 à 19:15

LXD is a next-generation system container manager. It offers a user experience similar to virtual machines but using Linux containers instead. It's image based with pre-made images available for a wide number of Linux distributions. Learn how to set up LXD on Ubuntu Linux 18.04 LTS server.

The post Install LXD pure-container on Ubuntu 18.04 LTS appeared first on nixCraft.
☐ ☆ ✇ nixCraft

Ubuntu 18.04 remove all unused old kernels

Par Vivek Gite — 9 octobre 2019 à 18:51

How do I remove all unused old kernels in Ubuntu Linux 18.04 LTS using the command line?

The post Ubuntu 18.04 remove all unused old kernels appeared first on nixCraft.

☐ ☆ ✇ nixCraft

21 Examples To Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors

Par Vivek Gite — 8 octobre 2019 à 17:32

In Linux and UNIX system services are configured using various text files located in /etc/ or /usr/local/etc/ directory tree. A typical server system could have dozens of configuration files. You can check your configuration files for syntax errors without starting the server and validate all settings. In some cases, it is possible to check the sanity of specific data/config options and directories. Text files are easier to manage remotely. You can use ssh and a text editor. If there is an error in configuration, the server may not start. It may result in a disaster. This post explains how to quickly find out a syntax error for popular servers and test configuration file for syntax errors.

The post 21 Examples To Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors appeared first on nixCraft.
☐ ☆ ✇ nixCraft

Change default shell to bash on Macos Catalina

Par Vivek Gite — 8 octobre 2019 à 15:51

I noticed that my default shell set to zsh on Macos Catalina. How do I change my default shell to bash on Macos Catalina using the command line or GUI options?

The post Change default shell to bash on Macos Catalina appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to find serial number of Lenovo laptop from Linux

Par Vivek Gite — 8 octobre 2019 à 07:49

I need to list serial number of Lenovo laptop to check warranty. How do I find a serial number of Lenovo laptop from Linux command line without rebooting and opening BIOS option? How do I find find serial number of Lenovo ThinkPad laptop from the Linux CLI?

The post How to find serial number of Lenovo laptop from Linux appeared first on nixCraft.
☐ ☆ ✇ nixCraft

Ubuntu Linux Remove / Delete PPAs apt-get command

Par Vivek Gite — 7 octobre 2019 à 05:04

Over time I have added way too many PPAs using the add-apt-repository command on Ubuntu Linux 16.04/18.04 LTS server for testing purpose. How can I delete or remove those PPAs? Is there a command to list all PPAs?

The post Ubuntu Linux Remove / Delete PPAs apt-get command appeared first on nixCraft.
☐ ☆ ✇ nixCraft

How to open ssh port using ufw on Ubuntu/Debian Linux

Par Vivek Gite — 7 octobre 2019 à 05:01

How do I allow incoming SSH connections from a specific IP address or subnet on a Ubuntu or Debian Linux server using ufw? How do I open ssh port using ufw on Ubuntu or Debian server?

The post How to open ssh port using ufw on Ubuntu/Debian Linux appeared first on nixCraft.
☐ ☆ ✇ nixCraft

Change netplan renderer from networkd to NetworkManager

Par Vivek Gite — 7 octobre 2019 à 04:58

I prefer to use NetworkManager on my Ubuntu desktop, but currently, it is using networkd. As a result, I cannot set up or configure NetworkManager using GUI tools. Is there anyway to change netplan renderer from networkd to NetworkManager running on Ubuntu Linux? How can I change netplan renderer in Ubuntu Linux?

The post Change netplan renderer from networkd to NetworkManager appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Configure Ubuntu Pi-hole for Cloudflare DNS over HTTPS

Par Vivek Gite — 6 octobre 2019 à 19:57

I installed OpenVPN VPN solutions on Ubuntu for my businesses to secure all data communications. I also set up Pin-hole ad blocker on Ubuntu server along with OpenVPN. How do I force Pi-hole to use Cloudflare DNS over HTTPS (DoH) to increase my privacy and security by preventing eavesdropping and manipulation of DNS data by man-in-the-middle attacks?

The post Configure Ubuntu Pi-hole for Cloudflare DNS over HTTPS appeared first on nixCraft.
☐ ☆ ✇ nixCraft

How to check Ansible version on Linux/Unix and install the latest version for IT automation

Par Vivek Gite — 6 octobre 2019 à 19:52

How do I check Ansible version (IT automation tool) on my Linux or Unix-like server using the command prompt?

The post How to check Ansible version on Linux/Unix and install the latest version for IT automation appeared first on nixCraft.
☐ ☆ ✇ nixCraft

Linux Find Out Last System Reboot Time and Date Command

Par Vivek Gite — 6 octobre 2019 à 19:01

So, how do you find out your Linux or UNIX-like system was last rebooted? How do you display the system shutdown date and time?

The post Linux Find Out Last System Reboot Time and Date Command appeared first on nixCraft.
☐ ☆ ✇ nixCraft

Apache with Let’s Encrypt Certificates on CentOS 8

Par Vivek Gite — 2 octobre 2019 à 20:54

I read that Let's Encrypt is a free, automated, and open certificate for web server and other usages. How do I secure Apache with Let's Encrypt Certificates on CentOS 8?

The post Apache with Let’s Encrypt Certificates on CentOS 8 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How To Use tar Command Through Network Over SSH Session

Par Vivek Gite — 2 octobre 2019 à 17:35

Did you know you can use the tar command over ssh sessions to transfer archives, files, backups and hard drive images securely? Pretty handy for Linux and Unix users, sysadmins and developers. See examples and usage for more info.

The post How To Use tar Command Through Network Over SSH Session appeared first on nixCraft.
☐ ☆ ✇ nixCraft

How to install whois on RHEL 8 / CentOS 8

Par Vivek Gite — 1 octobre 2019 à 21:22

I deployed RHEL 8 in the cloud server. However, I am unable to find the whois command on my newly created RHEL 8 Linux server. It says '-bash: whois: command not found' I tried yum install whois, but it failed too. How do I install whois command on RHEL/CentOS 8 Linux using the command line?

The post How to install whois on RHEL 8 / CentOS 8 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Linux / Unix - Quickly list all available fonts

Par Vivek Gite — 1 octobre 2019 à 19:47

This article shows you how to use fc-list command in Linux to get list of available fonts.

The post Linux / Unix - Quickly list all available fonts appeared first on nixCraft.
☐ ☆ ✇ nixCraft

How To Install MariaDB on CentOS 8

Par Vivek Gite — 1 octobre 2019 à 17:39

I am a new to MariaDB server and CentOS 8 sysadmin. How do I install MariaDB on CentOS 8 Linux server using the yum command?

The post How To Install MariaDB on CentOS 8 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

pfetch Linux and Unix hardware information tool

Par Vivek Gite — 1 octobre 2019 à 07:53

The neofetch command like utility written in a bash shell. The main purpose of neofetch is to be used in screenshots to display other users what operating system or Linux distro you are using including theme, icons, hardware config and more. Now we have another tool called pfetch. It is a pretty system information tool written in POSIX sh. Let us see how to install and use pfetch Linux and Unix hardware information tool.
pfetch Linux and Unix hardware running on Ubuntu

The post pfetch Linux and Unix hardware information tool appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How To Add Jobs To cron Under Linux or UNIX

Par Vivek Gite — 30 septembre 2019 à 18:58

Cron allows Linux and Unix users to run commands or scripts at a given date and time. You can schedule scripts to be executed periodically.

The post How To Add Jobs To cron Under Linux or UNIX appeared first on nixCraft.
☐ ☆ ✇ nixCraft

How to verify NTP is working Or not (Check Status of NTP)

Par Vivek Gite — 30 septembre 2019 à 15:04

Keeping correct time is important on a server and client system. You can use any one of the following program to verify that ntp client configuration is working correctly on Linux or Unix-like systems.

The post How to verify NTP is working Or not (Check Status of NTP) appeared first on nixCraft.
☐ ☆ ✇ nixCraft

Bash Pass Shell Variables To Awk Script

Par Vivek Gite — 28 septembre 2019 à 20:55

How do I pass shell variables to awk command or script under Linux or UNIX-like operating systems? How do I use shell variables in an awk script? How can I allow awk to use shell variables?

The post Bash Pass Shell Variables To Awk Script appeared first on nixCraft.
☐ ☆ ✇ nixCraft

CentOS 8 dig command not found – How to install dig on CentOS 8

Par Vivek Gite — 28 septembre 2019 à 11:14

I deployed minimal version of CentOS 8 in the cloud server. However, I am unable to find the dig command on my newly created CentOS 8 Linux server. It says '-bash: dig: command not found' I tried yum install dig, but it failed too. How do I install dig command on CentOS 8 Linux using the command line?

The post CentOS 8 dig command not found – How to install dig on CentOS 8 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to install wget on CentOS 8 using the yum/dnf command

Par Vivek Gite — 27 septembre 2019 à 18:10

I am a new CentOS Enterprise Linux 8 user. How do I install wget on CentOS 8 using the dnf command or yum command?

The post How to install wget on CentOS 8 using the yum/dnf command appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to set up a firewall using FirewallD on CentOS 8

Par Vivek Gite — 27 septembre 2019 à 16:36

I am a new CentOS Enterprise Linux 8 sysadmin. How do I set up a firewall using FirwallD on CentOS 8?

The post How to set up a firewall using FirewallD on CentOS 8 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Linux run a command with a time limit (timeout)

Par Vivek Gite — 26 septembre 2019 à 20:40

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?

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

☐ ☆ ✇ nixCraft

How To Protect SSH With Fail2Ban on CentOS 8

Par Vivek Gite — 26 septembre 2019 à 13:08

My ssh log file shows too many password failures. Random IP address trying to brute force my sshd server running on CentOS 8 server. How do I protect ssh with fail2ban on CentOS 8 Linux server? How do I install Fail2Ban on CentOS 8?

The post How To Protect SSH With Fail2Ban on CentOS 8 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How To Enable and Install EPEL Repo on CentOS 8.x

Par Vivek Gite — 26 septembre 2019 à 08:37

How do I install the extra repositories such as Fedora EPEL repo on a CentOS Enterprise Linux server version 8.x? How to enable EPEL repo on CentOS 8.x?

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

☐ ☆ ✇ nixCraft

How to install curl on Debian Linux 10/9/8

Par Vivek Gite — 26 septembre 2019 à 02:25

I am a new Debian Linux 10 or 9 user. I switched from Windows server and I trying to run the curl command from a shell script but getting the following error:
bash: curl: command not found
How do I fix this on a Debian Linux version 10 or 9/8?

The post How to install curl on Debian Linux 10/9/8 appeared first on nixCraft.
☐ ☆ ✇ nixCraft

CentOS 8 Change Hostname (computer name) command

Par Vivek Gite — 26 septembre 2019 à 02:20

I am a new CentOS 8 Linux user and setup a server. They setup my server name to 'li2025-143' during deployment but now I would like to change the computer name to something else. How can I remove old name and set it to 'nixcraft-centos8' on CentOS Enterprise Linux? Can you tell me how do I change the CentOS 8 computer name? How do I assign a static hostname to server running CentOS 8?

The post CentOS 8 Change Hostname (computer name) command appeared first on nixCraft.

☐ ☆ ✇ nixCraft

CentOS Linux 8 released: New Features and Download

Par Vivek Gite — 24 septembre 2019 à 20:06

CentOS Linux 8 released. It is a Linux distro derived from RHEL 8. CentOS was created when Red Hat stopped providing RHEL free. These days CentOS mostly used on servers, HPC, and desktop. CentOS is a high-quality Linux distribution. It gives complete control of its open-source software packages and is fully customized for research needs or for running a high-performance website without the need for license fees. Let us see what's new in CentOS 8.

The post CentOS Linux 8 released: New Features and Download appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to add users on FreeBSD using adduser or pw

Par Vivek Gite — 22 septembre 2019 à 22:01

I am a new FreeBSD system administrator. How do I add users on FreeBSD Unix operating systems using command line?

The post How to add users on FreeBSD using adduser or pw appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to display line number in vim

Par Vivek Gite — 22 septembre 2019 à 19:41

How do I display line numbers in vim running on Linux or Unix-like operating systems?

The post How to display line number in vim appeared first on nixCraft.
☐ ☆ ✇ nixCraft

FreeBSD Install sudo Command To Execute Commands

Par Vivek Gite — 22 septembre 2019 à 19:35

How do I install sudo command under a FreeBSD 9.x/10.x/11.x/12.x system?

The post FreeBSD Install sudo Command To Execute Commands appeared first on nixCraft.
☐ ☆ ✇ nixCraft

Amazon Linux AMI update installed packages for security

Par Vivek Gite — 22 septembre 2019 à 19:18

I would like to update installed packages for security on Amazon Linux AMI server running in the cloud. How can I update my Amazon Linux AMI system using yum command?

The post Amazon Linux AMI update installed packages for security appeared first on nixCraft.

☐ ☆ ✇ nixCraft

SUSE 15 update installed packages for security

Par Vivek Gite — 17 septembre 2019 à 21:44

Iwould like to update installed packages for security on SUSE 15 (SUSE Linux Enterprise Server) server. How can I update my SUSE 15 system using zypper command?

The post SUSE 15 update installed packages for security appeared first on nixCraft.
☐ ☆ ✇ nixCraft

OpenBSD Install BASH Shell Package Command

Par Vivek Gite — 17 septembre 2019 à 21:40

How do I install BASH shell package under OpenBSD operating system? How do I set bash as a default login shell under OpenBSD?

The post OpenBSD Install BASH Shell Package Command appeared first on nixCraft.
☐ ☆ ✇ nixCraft

CentOS Linux 7.7 released and here is how to update it

Par Vivek Gite — 17 septembre 2019 à 20:36

The CentOS Linux project has released an updated version of its stable Linux distribution CentOS Linux 7.7. You must upgrade to get corrections for security problem as this version made a few adjustments for the severe issue found in CentOS 7.6. CentOS is a Linux distro that is mainly maintained and updated through the work of many users who volunteer their time and effort. It is based upon RHEL 7.7 upstream source code.

The post CentOS Linux 7.7 released and here is how to update it appeared first on nixCraft.

☐ ☆ ✇ nixCraft

RHEL 8 update installed packages for security

Par Vivek Gite — 16 septembre 2019 à 21:44

I would like to update installed packages for security on RHEL 8.x (Red Hat Enterprise Linux) server. How can I update my RHEL 8.x system using yum command?

The post RHEL 8 update installed packages for security appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Linux Kernel 5.3 released and here is how to install it

Par Vivek Gite — 16 septembre 2019 à 18:39

Linux kernel version 5.3 released. This version includes many improvements including support for AMD Navi GPU, support for new IPv4 addresses in the 0.0.0.0/8 range, the lightweight hypervisor ACRN for embedded IoT devices and much more.

The post Linux Kernel 5.3 released and here is how to install it appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to install htop on FreeBSD

Par Vivek Gite — 13 septembre 2019 à 07:49

I am a new user of FreeBSD operating system. How do I install htop on FreeBSD using the pkg command?

The post How to install htop on FreeBSD appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Use oathtool Linux command line for 2 step verification (2FA/TOTP)

Par Vivek Gite — 12 septembre 2019 à 22:34

I do not wish to use Google Authenticator or Authy TOTP app that generates 2 step verification (2FA) codes on my iOS/Android phone. Is there any way I can produce 2FA codes from Linux command line for popular sites such as Gmail, Twitter, Facebook, Amazon and more?

The post Use oathtool Linux command line for 2 step verification (2FA/TOTP) appeared first on nixCraft.
☐ ☆ ✇ nixCraft

FreeBSD Applying Security Updates Using pkg/freebsd-update

Par Vivek Gite — 12 septembre 2019 à 22:15

I am a new FreeBSD developer and user. I have root access to my VM running in AWS cloud. How do I update packages and apply security upgrades on FreeBSD? What is the procedure for applying security updates on FreeBSD?

The post FreeBSD Applying Security Updates Using pkg/freebsd-update appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to install Spotify application on Linux

Par Vivek Gite — 25 août 2019 à 20:26

How do I install Spotify application on Linux desktop to stream music?

The post How to install Spotify application on Linux appeared first on nixCraft.
☐ ☆ ✇ nixCraft

How to install Spotify application on Linux

Par Vivek Gite — 25 août 2019 à 20:26

How do I install Spotify application on Linux desktop to stream music?

The post How to install Spotify application on Linux appeared first on nixCraft.
☐ ☆ ✇ nixCraft

In comics: Linux celebrates 28th birthday

Par Vivek Gite — 25 août 2019 à 20:07

On 26 August 1991, Linus Torvalds announced hobby project that was supposed to better than Minix operating systems. He said I am doing a free operating system. Just a hobby and won't be big or professional like GNU. Linux turns 28 years old, and we are going to celebrate Linux's birthday by sharing comics in pop culture that made it even more popular.

The post In comics: Linux celebrates 28th birthday appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Dell announces new Linux XPS 13 developer edition 7390 laptop

Par Vivek Gite — 23 août 2019 à 20:28

Dell recently announced the new XPS 13 developer edition powered by Ubuntu Linux and Intel's 10th generation Comet Lake CPUs. The new device will soon be available in the US, Canada, and European markets. It is good news for both developers and Linux enthusiast who wants Linux laptop with preloaded Ubuntu operating systems. Let us see new Linux XPS 13 developer edition specs and other information.

The post Dell announces new Linux XPS 13 developer edition 7390 laptop appeared first on nixCraft.

☐ ☆ ✇ nixCraft

BASH Fix Display and Console Garbage and Gibberish on a Linux / Unix / macOS

Par Vivek Gite — 23 août 2019 à 17:56

This article describes how to really clear the terminal screen or reset terminal in Linux or Unix-like system. In other words, you will learn how to clear console garbage and gibberish without exiting the session on your Linux/Unix/macOS/BSD systems.

The post BASH Fix Display and Console Garbage and Gibberish on a Linux / Unix / macOS appeared first on nixCraft.
❌